Copilot CLI provider: slash commands not recognized by Paseo command palette
Description
When using the Copilot CLI provider, Paseo's command palette shows "No commands found" when typing slash commands (e.g. /agent). The agent itself responds to commands correctly when sent as plain text, but Paseo's UI command picker does not discover or list them.
Steps to Reproduce
- Start Paseo daemon with Copilot CLI provider available
- Create a new agent session using the
copilotprovider - Type
/in the input field to trigger the command palette - Observe "No commands found" in the command picker
Expected Behavior
Paseo should discover and list the Copilot CLI's available commands (/agent, /commands, [[PLAN]]) in the command palette, similar to how it handles commands from other providers.
Actual Behavior
- The command palette shows "No commands found"
- Typing
/agentand sending it as a message does work — the agent responds with its command list - But there's no UI integration for command discovery/autocomplete
Screenshot
Environment
- Paseo: v0.1.54 (CLI + Desktop)
- OS: Fedora Linux 43 (Workstation Edition)
- Node: v22.22.2
- Provider: copilot (via ACP)
This remains a current bug. I reproduced it on main at 710851c with Copilot CLI 1.0.76: the first command-list request returns no commands, then Copilot publishes its commands asynchronously within three seconds. Copilot still uses the ACP default that returns immediately instead of waiting for initial commands, and the app caches that empty session result for 60 seconds.
Keeping this open as p2: command discovery is broken, but typing and sending the command manually still works.
I couldn't reproduce the empty command picker in an existing Copilot agent with packaged Paseo 0.11.0-beta.1 and Copilot CLI 1.0.89 on Linux. Typing / listed commands including /compact, /permissions, and /add-dir; a separate check on current main also returned commands on its first request.
I did see “No commands found” in a new draft before sending its first message. That differs from the reported existing-session steps. Sending /agent also differed: Copilot replied “What would you like me to do?” rather than listing commands.
No fix or pull request from this run. The issue stays open with cannot-reproduce for the reported path, and the draft result is recorded here so it isn't lost. Updates will appear on this issue.
Another report of this, from @apple-ouyang in #5961 (filed as #7058). Their read is that Copilot answers the first command request before it has published its commands, and the app then caches that empty list for 60 seconds. #5961 is their proposed fix and is still open.
I've removed cannot-reproduce so diagnosis tries again with this report.
Priority stays p2, with @apple-ouyang's report from #7058 counted. Both reports are on the Copilot provider, and typing the command and sending it still works. #5961 is open and not merged.
Updates go on this issue.
Thanks for the report. I'm closing this because it has been quiet for a month. If this still happens on v0.16.2, please open a new issue.