You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature]: Support Devin (ACP Registry / Devin CLI) in Usage → Tokens/Cost local session scanning #37974
When using Devin (acpRegistry_devin / Devin CLI 3000.12.57), the Usage → Tokens / Cost page shows nothing for Devin threads. usage-scan-cache-v10.json scans session transcripts from ~/.claude/projects, ~/.codex/sessions, ~/.grok/sessions, and ~/.pi/agent/sessions — Devin is not among the scan sources, so all Devin token/cost usage is silently omitted even though the sessions exist locally.
Devin CLI stores its sessions in ~/.local/share/devin/cli/sessions.db (SQLite): sessions, message_nodes (with chat_message / metadata JSON), tool_call_state, etc. Session usage statistics are also reported by the CLI itself via /session-stats (/stats), which renders every usage dimension the server reports — credits, ACUs, agent messages, turn continuations, and token usage.
Note: the Usage → Limits surface is separately addressed by #26381 (Manage usage link / GetUserStatus quota bars). This request is specifically about the Tokens/Cost transcript scanning side.
Expected behavior
Include Devin CLI sessions in local usage scanning so Devin threads appear in Usage → Tokens / Cost alongside Claude, Codex, Grok, and Pi. Possible sources, in order of preference:
Token/cost fields already present in sessions.db (message_nodes.chat_message / metadata) or emitted through ACP session updates, if any.
The same per-session statistics /session-stats renders (credits, ACUs, token usage), if exposed over ACP.
A dedicated scanner for ~/.local/share/devin/cli/sessions.db, respecting DEVIN_HOME/XDG overrides if the CLI supports them.
Version or commit
T3 Code server/desktop 0.1.6
Environment
Server: Linux x64 (0.1.6), Devin CLI 3000.12.57 installed via ACP Registry (~/.local/share/devin/cli/)
Client: T3 Code desktop, Devin threads via acpRegistry harness
Thanks for writing this up. It asks for new behaviour rather than reporting a defect, so it does not belong in the bug tracker and I'm closing it as not planned here. Feature ideas are discussed in Discussions: please post it there.
Activity
juliusmarminge commentedon Nov 17, 2026
Thanks for writing this up. It asks for new behaviour rather than reporting a defect, so it does not belong in the bug tracker and I'm closing it as not planned here. Feature ideas are discussed in Discussions: please post it there.