Skip to content

[Feature]: Support Devin (ACP Registry / Devin CLI) in Usage → Tokens/Cost local session scanning #37974

Closed as not planned

Description

@wangdada8208

Before submitting

Area

apps/server (local usage scanning / Usage → Tokens & Cost)

Problem

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:

  1. Token/cost fields already present in sessions.db (message_nodes.chat_message / metadata) or emitted through ACP session updates, if any.
  2. The same per-session statistics /session-stats renders (credits, ACUs, token usage), if exposed over ACP.
  3. 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

Activity

  1. juliusmarminge commented on Nov 17, 2026

    @juliusmarminge
    Member

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions