Skip to main content
Repository edits के लिए एक केंद्रित terminal workspace शुरू करें:
TUI के अंदर:
सादे-टेक्स्ट अनुरोध plan अनुरोध के रूप में माने जाते हैं (जैसे /plan)। प्रॉम्प्ट पर plan को approve करें (y, yes, या approve) तो वह तुरंत execute हो जाएगा — अलग से /run की आवश्यकता नहीं है। पिछले approved plan को फिर से execute करने के लिए, या बिना पहले plan किए किसी goal को चलाने के लिए, /run <goal> का उपयोग करें। /plan LLM को plan-only mode में call करता है और बिना बदलाव किए एक structured plan (summary, files, steps) print करता है। जब LLM उपलब्ध नहीं होता, Arka एक local repository-aware plan पर fallback करता है।

Test commands

/test repo-appropriate test command को नियतात्मक रूप से चलाता है (pytest, npm test, cargo test, आदि — repo health से detect होता है)। Optional path run को scope करता है, जैसे /test tests/test_foo.py। Output Test run (read-only) के रूप में लेबल होता है। जब failures detected होते हैं, Arka print करता है कि कितने fail हुए और Fix pass i/N चलाता है — --max-fixes तक writable goal-agent passes (default 1) — फिर परिणाम दिखाने के लिए tests को read-only में फिर से चलाता है। automatic repair को skip करने के लिए /test --no-fix का उपयोग करें। /run tests readonly goal agent को strategy चुनने देता है — पूरा pytest, एक focused module, arka ci --changed, या repo_health-detected runner — readonly failures के बाद उसी एक auto-fix pass के साथ। auto-repair बंद करने के लिए --no-fix जोड़ें, या agent को शुरुआत से files edit करने की अनुमति देने के लिए --fix (fail हुए auto-fix के बाद एक और स्पष्ट fix round के लिए, या multi-pass repair के लिए)। एक failing test के साथ /test के बाद उदाहरण flow:
यदि सभी fix passes के बाद भी tests fail हों:

3D scaffold

/scaffold 3d एक खाली project में React + Vite + Three.js space scene लिखता है। इसके बाद Arka केवल इस trusted template के लिए स्वचालित रूप से npm install चलाता है (scaffold manifest से pinned packages — goal agent से arbitrary shell नहीं)। install के बाद Vite dev server शुरू करने के लिए --run जोड़ें, या prompt पर y का उत्तर दें।
/plan के माध्यम से approved greenfield 3D goals समान scaffold path और post-install steps का उपयोग करते हैं। यदि network offline है, तो scaffold files फिर भी बनाई जाती हैं और Arka manual next steps के साथ एक ईमानदार failure message print करता है। /status current branch, dirty file count, और code project initialized है या नहीं दिखाता है। /ci changed-only gates चलाता है; /ci preview बिना execute किए gates सूचीबद्ध करता है। /review test-gap hints के साथ staged changes का सारांश देता है। /ship commit से पहले review + CI चलाता है। /history current session से commands सूचीबद्ध करता है; /clear screen साफ़ करता है और session state reset करता है। Coding agent execution के बाद एक completion/failure summary print करता है और incremental verification के लिए arka dev test सुझाता है। Coding requests भाषा-agnostic हैं: अपने अनुरोध में language, framework, या file extension का उल्लेख करें और Arka repository के मौजूदा toolchain का उपयोग करेगा। Voice input और output भी किसी भी Edge TTS-supported BCP-47 language का उपयोग कर सकते हैं:
curated list के बाहर के locale के लिए, Arka स्वचालित रूप से मिलान करने वाली Edge voice खोजता है और केवल तभी English पर fallback करता है जब वह locale उपलब्ध नहीं हो।