Skip to content

[Zed ACP] Tool call panel doesn't display actual terminal commands #14034

@mateocovacho

Description

@mateocovacho

Description

When using OpenCode via Zed's Agent Client Protocol (ACP) integration, the tool call panel only shows the description of terminal commands (e.g., "Typecheck with mypy") instead of the actual command being executed (e.g., uv run ty check).

This makes debugging difficult as users have to dig through ACP logs to see what commands are actually running.

Related Discussion

This was initially reported in Zed's discussions: zed-industries/zed#47259

Example

Current behavior:

  • Tool call panel shows: "Run command: Typecheck with mypy"
  • Actual command in ACP logs: uv run ty check

Expected behavior:

  • Tool call panel should show the actual command: uv run ty check
  • Or at least provide an option to toggle command visibility

ACP Log Reference

{
  "sessionId": "ses_422065d92ffeW42Fca1w1fTCPY",
  "update": {
    "sessionUpdate": "tool_call_update",
    "toolCallId": "call_ab2d2bb2ddbe4459a0652b34",
    "kind": "execute",
    "status": "in_progress",
    "title": "bash",
    "locations": [],
    "rawInput": {
      "command": "uv run ty check",
      "description": "Typecheck with mypy"
    }
  }
}

The command field is available in the protocol but not being displayed in Zed's UI.

Environment

  • OpenCode: Latest via Zed extension
  • Zed: Latest stable
  • OS: macOS/Linux/Windows (all affected)

Impact

  • Reduced transparency when debugging failed commands
  • Harder to learn from AI-generated commands
  • Workflow interruption to check logs

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions