ऐप्स
Cosvexa CLI
आपके टर्मिनल में कोडिंग एजेंट: इंस्टॉल, साइन-इन, कमांड, अप्रूवल मोड, Council रिव्यू और CI इस्तेमाल।
इंस्टॉल करें और साइन इन करें
Node.js 20 या नया वर्ज़न चाहिए।
npm i -g https://cosvexa.ai/downloads/cosvexa-cli-0.1.0.tgz
cosvexa --version
cosvexa login --browser # device code, approve in your browser
cosvexa login # or paste an API key that starts with cvx_
cosvexa statusसेटिंग्स Windows पर %APPDATA%\cosvexa\config.json में और macOS व Linux पर ~/.config/cosvexa/config.json में रहती हैं। COSVEXA_API_KEY, COSVEXA_MODEL और COSVEXA_BASE_URL एनवायरनमेंट वेरिएबल भी सपोर्ट होते हैं।
बुनियादी इस्तेमाल
cd my-project
cosvexa "make the failing date test pass" # one task
cosvexa # interactive session
cosvexa -c "now add tests" # continue the last session
cosvexa sessions # list sessions
cosvexa init # draft COSVEXA.md project instructions
cosvexa models # models you can useमॉडल और effort
-m claude-sonnet-5-5एक खास मॉडल चुनता है और हमेशा प्राथमिकता पाता है।--effort low|medium|high(या/effort) तय करता है कि चुना हुआ मॉडल जवाब देने से पहले कितना सोचे; यह मॉडल कभी नहीं बदलता। जिन मॉडलों में थिंकिंग-लेवल सेटिंग नहीं है, वे इसे अनदेखा करते हैं।
सुरक्षा
--mode ask|auto-edit|plan|full-autoअप्रूवल मोड सेट करता है (इंटरैक्टिव सेशन मेंShift+Tab)।full-autoके लिए--yoloभी चाहिए।--read-onlyसिर्फ़ पढ़ने, लिस्ट करने और खोजने वाले टूल की अनुमति देता है।/undoवह फ़ाइल वापस लाता है जिसे एजेंट ने सबसे आख़िर में बदला था। खतरनाक कमांड हर मोड में पूछती हैं,--yesके साथ भी।
कोड रिव्यू और Council
cosvexa review # review local changes
cosvexa review --base main # review the diff against main
cosvexa "add input validation" --council
cosvexa --team "refactor the payments module"Council और टीम जॉब पहले लागत का अधिकतम अनुमान दिखाते हैं और आपसे पुष्टि माँगते हैं।
स्क्रिप्ट और CI
cosvexa -p "summarise the open TODOs"
cosvexa -p --yes "fix the lint errors" --jsonExit codes: 0 पूरा, 1 एरर, 2 गलत इस्तेमाल, 3 स्टेप या आउटपुट सीमा पर रुका।
इंटरैक्टिव कमांड
/model, /mode, /undo, /compact, /context, /init, /review, /team, /cost, /clear, /exit। अपनी कमांड .cosvexa/commands/<name>.md फ़ाइलों के रूप में जोड़ें; @path एक फ़ाइल जोड़ता है। कॉन्टेक्स्ट 80% भरने पर अपने-आप सारांशित हो जाता है।
MCP और OpenCode
cosvexa mcp MCP सर्वर मैनेज करता है (--no-mcp उन्हें बंद करता है)। cosvexa opencode OpenCode को Cosvexa को प्रोवाइडर बनाकर कॉन्फ़िगर करता है (पहले npm i -g opencode-ai चलाएँ)।