Skip to content

ACP mode doesn't advertise model selector, session modes, or token usage — all present in the TUI but missing over ACP #765

Description

@sergiomeneses

Environment

jcode version: jcode v0.67.1 (88a19f3)
OS: Windows 10.0.19045, Zed running natively on Windows, project + jcode binary both in WSL2 (Ubuntu)
Zed: v1.13.2+stable.335.5cdb7ab9d9546db683132cfa78e68acec3064cac (Zed)
Connected via Zed's native Remote WSL (projects: open in wsl)

Description

When using jcode as a Zed External Agent via jcode acp, the Agent Panel shows none of:

  • Model selector
  • Mode selector (jcode's plan/code modes)
  • Effort selector
  • Token usage display

These all depend on the agent advertising the corresponding ACP capabilities during initialize (Zed populates AgentModelSelector/AgentSessionModes UI purely from what the agent reports). jcode acp --help also has no --mode or --effort flag, only -m/--model, suggesting mode/effort switching hasn't been wired into the ACP surface yet — these exist today only as TUI slash commands (/model, etc.).

Expected behavior

Given jcode's TUI already supports model switching, plan/code modes, and effort levels, it would be great to see these surfaced over ACP too — as session/new/session/load response capabilities plus session/set_model / session/set_mode support, and token usage in session/update notifications, so Zed (and other ACP clients) can expose them natively.

Note

This may be intentional/scoped-out for now — filing per your invitation in the ACP PR to open targeted issues for capability gaps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions