cmux/Resources
Lawrence Chen bfe843f0bd
Clear sidebar notification when user submits prompt (#821)
* Clear sidebar notification when user submits prompt in Claude Code

Add UserPromptSubmit hook to the Claude Code wrapper that calls
`cmux claude-hook prompt-submit`. This clears the workspace notification
and sets status back to "Running" when the user addresses Claude's question,
so the "waiting for input" preview in the sidebar goes away.

Also adds --tab support to clear_notifications socket command and
--workspace support to the clear-notifications CLI command for
per-workspace notification clearing.

Closes https://github.com/manaflow-ai/cmux/issues/799

* Address review feedback: stricter error handling

- clear-notifications CLI: error on explicit --workspace failure instead of
  falling back to global clear. Env var still gracefully degrades.
- prompt-submit hook: propagate sendV1Command errors instead of swallowing
  with try?.
- clear_notifications socket: validate --tab flag is present before resolving,
  reject malformed args instead of falling back to selected tab.

* Gate env workspace fallback on windowId == nil in clear-notifications

Matches the pattern used by other CLI commands to avoid using
CMUX_WORKSPACE_ID from the caller shell when --window targets
a different window.
2026-03-03 18:48:32 -08:00
..
bin Clear sidebar notification when user submits prompt (#821) 2026-03-03 18:48:32 -08:00
ghostty/terminfo/78 Add cmuxterm CLI and socket control modes 2026-01-28 21:19:48 -08:00
shell-integration Respect shell-integration=none in zsh wrapper (#816) 2026-03-03 16:22:38 -08:00
terminfo-overlay Release v1.23.0 (#31) 2026-02-09 15:30:43 -08:00
Info.plist Add microphone permission metadata for voice transcription 2026-02-25 18:20:10 -08:00