Slash commands through ACP doesn't work #2577

Closed
opened 2026-02-16 17:36:17 -05:00 by yindo · 14 comments
Owner

Originally created by @klonuo on GitHub (Nov 4, 2025).

Originally assigned to: @rekram1-node on GitHub.

Description

In the docs (https://opencode.ai/docs/acp/#support) it is mentioned that custom tools and slash commands should be available which doesn't seem to be:

Image

OpenCode version

1.0.20

Steps to reproduce

Set ACP in zed, and start new thread

Screenshot and/or share link

No response

Operating System

Windows

Terminal

wt

Originally created by @klonuo on GitHub (Nov 4, 2025). Originally assigned to: @rekram1-node on GitHub. ### Description In the docs (https://opencode.ai/docs/acp/#support) it is mentioned that custom tools and slash commands should be available which doesn't seem to be: <img width="666" height="210" alt="Image" src="https://github.com/user-attachments/assets/e95f5f3d-f0f9-4c36-9627-c2bdde5a11c1" /> ### OpenCode version 1.0.20 ### Steps to reproduce Set ACP in zed, and start new thread ### Screenshot and/or share link _No response_ ### Operating System Windows ### Terminal wt
yindo added the bug label 2026-02-16 17:36:17 -05:00
yindo closed this issue 2026-02-16 17:36:17 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Nov 4, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #3730: Both involve ACP functionality issues with Zed - while this focuses on slash commands not appearing, that issue deals with connection errors that might be preventing the same functionality
  • #3792: Missing /details command in opencode v1 - deals with missing slash commands in v1.x versions

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Nov 4, 2025): This issue might be a duplicate of existing issues. Please check: - #3730: Both involve ACP functionality issues with Zed - while this focuses on slash commands not appearing, that issue deals with connection errors that might be preventing the same functionality - #3792: Missing /details command in opencode v1 - deals with missing slash commands in v1.x versions Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Nov 4, 2025):

really none of them work? If you do a “/“ nothing comes up?

There isnt a /help btw there are only slash commands that trigger actions

@rekram1-node commented on GitHub (Nov 4, 2025): really none of them work? If you do a “/“ nothing comes up? There isnt a /help btw there are only slash commands that trigger actions
Author
Owner

@klonuo commented on GitHub (Nov 4, 2025):

Yes, none of them as zed reported Available commands: none

I tried /init now, just in case, but same output

@klonuo commented on GitHub (Nov 4, 2025): Yes, none of them as zed reported `Available commands: none` I tried `/init` now, just in case, but same output
Author
Owner

@rekram1-node commented on GitHub (Nov 4, 2025):

Huh weird, the only people i heard say this use windows....

@rekram1-node commented on GitHub (Nov 4, 2025): Huh weird, the only people i heard say this use windows....
Author
Owner

@rekram1-node commented on GitHub (Nov 4, 2025):

I can't replicate at all so im curious what causes it, will need to investigate more

Image
@rekram1-node commented on GitHub (Nov 4, 2025): I can't replicate at all so im curious what causes it, will need to investigate more <img width="985" height="468" alt="Image" src="https://github.com/user-attachments/assets/d4bad0f1-ee8d-4cac-9ce1-5981e51963ae" />
Author
Owner

@klonuo commented on GitHub (Nov 4, 2025):

Yes I'm on Windows. ACP logs are empty and the only error printed in main log is:

[agent_client_protocol::rpc] failed to handle notification: Error { code: -32603, message: "Internal error", data: Some(String("Failed to get session")) }
@klonuo commented on GitHub (Nov 4, 2025): Yes I'm on Windows. ACP logs are empty and the only error printed in main log is: ``` [agent_client_protocol::rpc] failed to handle notification: Error { code: -32603, message: "Internal error", data: Some(String("Failed to get session")) } ```
Author
Owner

@rekram1-node commented on GitHub (Nov 4, 2025):

lovely, welp ill take a look

Do the other coding agents like claude or gemini work for u? In zed acp? Maybe just try the "/" and see if a slash command option bar pops up

@rekram1-node commented on GitHub (Nov 4, 2025): lovely, welp ill take a look Do the other coding agents like claude or gemini work for u? In zed acp? Maybe just try the "/" and see if a slash command option bar pops up
Author
Owner

@klonuo commented on GitHub (Nov 4, 2025):

Yes, Claude works fine:

Image
@klonuo commented on GitHub (Nov 4, 2025): Yes, Claude works fine: <img width="407" height="714" alt="Image" src="https://github.com/user-attachments/assets/cc950203-e531-4b4a-b4b7-670ed2f35522" />
Author
Owner

@rekram1-node commented on GitHub (Nov 4, 2025):

well ig im just doing something wrong there then, Ill take a look, that's helpful

@rekram1-node commented on GitHub (Nov 4, 2025): well ig im just doing something wrong there then, Ill take a look, that's helpful
Author
Owner

@klonuo commented on GitHub (Nov 4, 2025):

I also tried setting zed to use opencode from WSL, with same result:

    "opencode": {
      "command": "wsl",
      "args": ["--shell-type", "login", "--",  "opencode",  "acp"]
    }

So it's some kind of a problem between opencode and windows version of zed, instead just opencode windows version it seems...

@klonuo commented on GitHub (Nov 4, 2025): I also tried setting zed to use opencode from WSL, with same result: ``` "opencode": { "command": "wsl", "args": ["--shell-type", "login", "--", "opencode", "acp"] } ``` So it's some kind of a problem between opencode and windows version of zed, instead just opencode windows version it seems...
Author
Owner

@rekram1-node commented on GitHub (Nov 5, 2025):

I think I figured out what it is, do you have an MCP server configured in your zed editor, there was a timing issue, next release will fix it

@rekram1-node commented on GitHub (Nov 5, 2025): I think I figured out what it is, do you have an MCP server configured in your zed editor, there was a timing issue, next release will fix it
Author
Owner

@rekram1-node commented on GitHub (Nov 5, 2025):

should be fixed by https://github.com/sst/opencode/commit/1e0596bc46fcd130257174e6691c74484391f905

@rekram1-node commented on GitHub (Nov 5, 2025): should be fixed by https://github.com/sst/opencode/commit/1e0596bc46fcd130257174e6691c74484391f905
Author
Owner

@klonuo commented on GitHub (Nov 5, 2025):

Image
@klonuo commented on GitHub (Nov 5, 2025): <img width="499" height="175" alt="Image" src="https://github.com/user-attachments/assets/fd01d05f-82d1-496f-bf56-ba87beb1f4c7" />
Author
Owner

@rekram1-node commented on GitHub (Nov 5, 2025):

yep thats expected lets go

@rekram1-node commented on GitHub (Nov 5, 2025): yep thats expected lets go
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2577