Skip to content

ACP permission prompts show tool name instead of the command #33949

Description

@bcdady

When opencode runs as an ACP server (I'm using it in Zed IDE Agent panel), permission prompts show the tool name / kind instead of anything specific.

packages/opencode/src/acp/permission.ts line 60:

title: permission.permission,

Approval prompt for rm -rf foo shows "bash", an edit prompt shows "edit", a webfetch prompt shows "webfetch" instead of the shell command(s) being asked to approve.

I'll follow up with a PR that falls back through those metadata fields so the title reflects the actual context.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions