* 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. |
||
|---|---|---|
| .. | ||
| cmux.swift | ||