Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.
Python agent-orchestrationai-agentai-coding-assistantclaude-codecoding-agentcomputer-usedesktop-applocal-firstmcppersonal-jarvisvoice-assistantvoice-coding
fix: keep only the Cursor CLI cost excuse in cli_usage_index
rubenluetke10-beepe3c1edb71b0d
diff --git a/jarvis/costs/cli_usage_index.py b/jarvis/costs/cli_usage_index.pyindex a06e4b4a26..80307f3458 100644--- a/jarvis/costs/cli_usage_index.py+++ b/jarvis/costs/cli_usage_index.py@@ -1025,7 +1025,7 @@ def _agy_row(def _grok_row(record: Mapping[str, Any], offset: int, cand: _Candidate, cursor: _Cursor-) -> _PricedRow | None:+) -> _Row | None:params = _payload(record, "params")update = _payload(params, "update")if update.get("sessionUpdate") != "turn_completed":@@ -1047,10 +1047,6 @@ def _grok_row(session_id = str(params.get("sessionId") or cursor.session_id)prompt_id = str(update.get("prompt_id") or "")dedup = f"{session_id}:{prompt_id}" if session_id and prompt_id else f"{cand.key}:{offset}"- # xAI writes what it billed for the turn, in ticks of 1e-10 USD (verified- # against its list price to the cent, 2026-08-25). Grok Build runs on the- # user's own key, so this IS the bill, not an estimate.- cost_usd = _int(usage.get("costUsdTicks")) / 1e10return (cand.agent,dedup,@@ -1063,7 +1059,6 @@ def _grok_row(cached,cursor.cwd,cursor.label,- cost_usd,)@@ -1128,7 +1123,7 @@ def _agy_context(path: Path) -> tuple[str, str, str]:@dataclass(slots=True)class _FileScan:- rows: list[_Row | _PricedRow]+ rows: list[_Row]offset: intcursor: _Cursorbytes_read: int@@ -1352,7 +1347,7 @@ def _scan_antigravity(cand: _Candidate, start: int) -> _FileScan:with a space would stay at $0 forever."""del start- rows: list[_Row | _PricedRow] = []+ rows: list[_Row] = []session_id = cand.path.stemcwd = ""model = ""@@ -1421,7 +1416,7 @@ def _scan_antigravity(cand: _Candidate, start: int) -> _FileScan:finally:conn.close()return _FileScan(- rows=rows,+ rows=list(rows), # type: ignore[arg-type]offset=0 if failed else cand.size,cursor=_Cursor(session_id=session_id,@@ -1440,7 +1435,7 @@ def _scan_opencode(cand: _Candidate, start: int) -> _FileScan:indexed (the "offset" column holds a timestamp for this agent), so a runreads only what arrived since. A store that shrank (vacuum) re-reads fromzero and the message-id key keeps every turn counted once."""- rows: list[_Row | _PricedRow] = []+ rows: list[_PricedRow] = []newest = startfailed = Falsetry:@@ -1519,7 +1514,7 @@ def _scan(cand: _Candidate, start: int, cursor: _Cursor, deadline: float) -> _Fireturn _scan_opencode(cand, start)if cand.agent == AGENT_AGY:return _scan_antigravity(cand, start)- rows: list[_Row | _PricedRow] = []+ rows: list[_Row] = []reader = _LineReader(None, start)if cand.agent == AGENT_KIMI and not cursor.session_id:cursor.session_id, cursor.cwd, cursor.label = _agy_context(cand.path)@@ -1573,7 +1568,7 @@ def _wanted(agent: str, raw: bytes) -> bool:def _row_for(agent: str, record: Mapping[str, Any], offset: int, cand: _Candidate, cursor: _Cursor-) -> _Row | _PricedRow | None:+) -> _Row | None:if agent == AGENT_CLAUDE:return _claude_row(record, cand, cursor)if agent == AGENT_CODEX: