cmux-next: one palette; Cmd-K only clears the terminal
Closed
TE
2mo ago+1693+1693+0123456789012345678901234567890123456789-2434-2434-0123456789012345678901234567890123456789
Section E of the 2026-10-06 call decisions: Cmd-Shift-P is the only palette, and Cmd-K clears the terminal and does nothing else. Stacked on #18089, which adds the command palette's Search Chats page (agentChats.search); this diff shows its commits until it lands.
What
- Cmd-K is "Clear Screen and Scrollback" (
terminal.clear) while a terminal has focus. "Clear Screen (Keep Scrollback)" stays on Cmd-Shift-K. - The agent pane's chat-only Search chats palette (
agentPane.searchChats, Cmd-K in a chat) is removed: action, handler, page overlay, CSS, strings and tests. The page's "Show all chats" buttons now open the command palette's Search Chats. - Markdown "Insert Link" and Simulator "Toggle Software Keyboard" lose their Cmd-K default. Both stay in the command palette (the simulator action is newly listed there).
- The agent pane web bundle is rebuilt (
build-agent-pane-web.sh --checkpasses).
Verification
- Red,
OnePaletteShortcutTestscommitted first in b1bcb26. The fleet runs are fail-fast, and the first two stopped on failures inherited from #18089 before reaching this suite: its catalog count and its stale generated contracts. A third run with only those inherited checks disabled is in progress; its result will go in a comment. - Locally: webviews typecheck and lint are clean, and all 1057 agent-pane web tests pass.
- Generated
plans/cmux-next/actions.mdandaction-surfaces.jsonare left to the generated-autofix job. The docs shortcut copy will be regenerated from them after it runs. - Localization: no new strings; the removed overlay's strings are deleted from both catalogs.
Changelog
- Changed: Cmd-K now only clears the terminal; chat search lives in the command palette (Cmd-Shift-P).
🤖 Generated with Claude Code
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.
Summary by cubic
Makes Cmd-Shift-P the only palette: Cmd-K now clears the terminal and does nothing else.
- While a terminal is focused, Cmd-K runs "Clear Screen and Scrollback"; "Clear Screen (Keep Scrollback)" stays on Cmd-Shift-K.
- Removes the agent pane's chat-only Search chats palette (previously Cmd-K in a chat); "Show all chats" buttons now open the command palette's Search Chats.
- Markdown Insert Link and Simulator Toggle Software Keyboard lose their Cmd-K default and remain in the command palette.