కంటెంట్‌కు వెళ్లండి
Cosvexa – Cosvexa హోమ్

యాప్‌లు

Cosvexa CLI

మీ టెర్మినల్‌లో కోడింగ్ ఏజెంట్: ఇన్‌స్టాల్, సైన్‑ఇన్, కమాండ్‌లు, ఆమోద మోడ్‌లు, Council రివ్యూ మరియు CI వినియోగం.

ఇన్‌స్టాల్ చేసి సైన్ ఇన్ చేయండి

Node.js 20 లేదా కొత్తది అవసరం.

bash
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 ఎన్విరాన్‌మెంట్ వేరియబుల్‌లు కూడా సపోర్ట్ చేయబడతాయి.

ప్రాథమిక వినియోగం

bash
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

మోడల్ మరియు శ్రమ స్థాయి

  • -m claude-sonnet-5-5 ఒక నిర్దిష్ట మోడల్‌ను ఎంచుకుంటుంది, ఎల్లప్పుడూ దానికే ప్రాధాన్యత.
  • --effort low|medium|high (లేదా /effort) ఎంచుకున్న మోడల్ సమాధానం ఇచ్చే ముందు ఎంత ఆలోచిస్తుందో నిర్ణయిస్తుంది; అది మోడల్‌ను ఎప్పుడూ మార్చదు. ఆలోచన స్థాయి సెట్టింగ్ లేని మోడల్‌లు దీన్ని పట్టించుకోవు.

భద్రత

  • --mode ask|auto-edit|plan|full-auto ఆమోద మోడ్‌ను సెట్ చేస్తుంది (ఇంటరాక్టివ్ సెషన్‌లో Shift+Tab). full-auto కి --yolo కూడా అవసరం.
  • --read-only read, list మరియు search టూల్స్‌ను మాత్రమే అనుమతిస్తుంది.
  • /undo ఏజెంట్ చివరిగా మార్చిన ఫైల్‌ను పునరుద్ధరిస్తుంది. ప్రమాదకర కమాండ్‌లు ప్రతి మోడ్‌లోనూ, --yes తో కూడా అడుగుతాయి.

కోడ్ రివ్యూ మరియు Council

bash
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

bash
cosvexa -p "summarise the open TODOs"
cosvexa -p --yes "fix the lint errors" --json

ఎగ్జిట్ కోడ్‌లు: 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 Cosvexa ను ప్రొవైడర్‌గా OpenCode ను కాన్ఫిగర్ చేస్తుంది (ముందుగా npm i -g opencode-ai నడపండి).