You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
claude_command desktop still arms /desktop on Linux, unlike the action and the tab menu #585
On Linux, where Claude Desktop does not run, the send-to-desktop action
answers inert / no-surface and the tab menu leaves out Send to Claude
Desktop. Both read CLAUDE_DESKTOP_EXISTS in crates/app/src/shell/claude_command.rs (#346).
The MCP tool claude_command with command: "desktop" does not: it goes
through arm_claude_command, which never reads that constant, so it still arms
the confirmation for /desktop there. One rule, enforced on two of its three
paths. docs/src/mcp/live-bridge.md states the current behaviour (#583).
Expected
The tool refuses desktop on Linux with a typed reason, read from the same
constant, so the keymap, the menu and the tool cannot disagree.
Steps
Run termherd on Linux with an idle Claude pane.
Call claude_command with command: "desktop".
The confirmation for /desktop opens; pressing send-to-desktop instead
answers no-surface.
Not reproduced on Linux: the path is read from the code.
Activity