Aplikasi
Cosvexa CLI
Agen coding ing terminal panjenengan: instalasi, mlebu, prentah, mode persetujuan, review Council lan panggunaan CI.
Instal lan mlebu
Butuh Node.js 20 utawa luwih anyar.
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 statusSetelan disimpen ing %APPDATA%\cosvexa\config.json ing Windows lan ~/.config/cosvexa/config.json ing macOS lan Linux. Variabel lingkungan COSVEXA_API_KEY, COSVEXA_MODEL lan COSVEXA_BASE_URL uga didhukung.
Panggunaan dhasar
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 useModel lan effort
-m claude-sonnet-5-5milih model tartamtu lan tansah menang.--effort low|medium|high(utawa/effort) nemtokake sepira jero model sing dipilih mikir sadurunge mangsuli; ora tau ngowahi modele. Model sing ora duwe setelan tingkat mikir ora nggatekake.
Keamanan
--mode ask|auto-edit|plan|full-autonyetel mode persetujuan (Shift+Tabing sesi interaktif).full-autouga butuh--yolo.--read-onlymung ngidini tool maca, dhaptar lan nggoleki./undombalekake file sing pungkasan diowahi agen. Prentah mbebayani takon dhisik ing saben mode, uga nganggo--yes.
Review kode lan 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"Proses Council lan tim nuduhake perkiraan biaya wates ndhuwur dhisik lan njaluk konfirmasi panjenengan.
Script lan CI
cosvexa -p "summarise the open TODOs"
cosvexa -p --yes "fix the lint errors" --jsonExit code: 0 rampung, 1 error, 2 panggunaan salah, 3 mandheg ing wates langkah utawa output.
Prentah interaktif
/model, /mode, /undo, /compact, /context, /init, /review, /team, /cost, /clear, /exit. Tambahake prentah panjenengan dhewe minangka file .cosvexa/commands/<name>.md; @path nglampirake file. Konteks diringkes kanthi otomatis nalika wis kebak 80%.
MCP lan OpenCode
cosvexa mcp ngatur server MCP (--no-mcp mateni). cosvexa opencode nyetel OpenCode kanthi Cosvexa minangka provider (lakokake npm i -g opencode-ai dhisik).