Repository navigation
Description
Summary
Claude Code >= 2.1.285 emits a new family of sdk/system plugin-UI pushes — ui_invalidate, ui_log, ui_toast, ui_status, ui_panes, ui_scroll, ui_focus. The Claude Code provider's closed allow-list (toClaudeSystemSubtype in the provider-claude-code bundle) does not include any of them, so they collapse to unknown and are surfaced as "Unhandled Claude Code event" rows. Same defect class as #2224 (background_tasks_changed, fixed by #2893 in desktop-v0.42.1).
With a few Claude Code plugins/mods that hook ui.render installed, a single one-word prompt ("test") produced ~30 unhandled rows. Codex threads are unaffected.
Versions and environment
- bb 0.45.0 (macOS, Apple Silicon), built-in
provider-claude-code0.1.0 - Claude Code 2.1.295 (
~/.local/bin/claude, spawned by bb with--output-format stream-json --input-format stream-json) - Several installed Claude Code plugins/mods hook
ui.render(e.g. catch-me-up, blast-radius, prompt-cache-control) showDiagnosticEvents = true
Steps to reproduce
- Install Claude Code >= 2.1.285 with at least one plugin/mod that hooks
ui.render. - Enable
bb settings general showDiagnosticEvents true. - Start a Claude Code thread, send
test.
Expected vs actual
- Expected:
ui_*system pushes are classified (as noise — they drive Claude's own TUI/remote surface and bb has no consumer), likehook_*,init,thinking_tokens. - Actual: each one renders as "Unhandled Claude Code event", payload:
{"jsonrpc":"2.0","method":"sdk/message","params":{"message":{"type":"system","subtype":"ui_invalidate","event":"ui.render","uuid":"…","session_id":"…"}}}Evidence
- In the 0.45.0 bundle (
server/dist/builtin-plugins/provider-claude-code/dist/host.js),toClaudeSystemSubtypeaccepts:background_tasks_changed, commands_changed, compact_boundary, elicitation_complete, files_persisted, hook_progress, hook_response, hook_started, init, local_command_output, memory_recall, mirror_error, model_fallback, model_refusal_fallback, model_refusal_no_fallback, notification, permission_denied, plugin_install, session_state_changed, status, task_notification, task_progress, task_started, task_updated, thinking_tokens— everything else becomesunknown. - The Claude CLI 2.1.295 binary itself defines
{type:"system", subtype:"ui_invalidate", event:"ui.render"}and lists the sibling subtypesui_log, ui_toast, ui_status, ui_panes, ui_scroll, ui_focus(alsocode_change_published,ui_fault-related events are nearby). - The family appeared in the 2.1.284 → 2.1.285 stream-json drift, documented by a third-party SDK: claude-codes 2.1.286: plugin UI pushes, request timing, re-pin 2.1.285 meawoppl/rust-code-agent-sdks#423
What you ruled out
- Not an env/login issue (cf. Environment variable values containing $HOME or ~ reach agents unexpanded, creating a literal $HOME/ folder in the workspace #5092): threads run and answer normally.
- Hiding diagnostics (
showDiagnosticEvents false) hides the rows, but the events are still classifiedunknown; any user with diagnostics on sees the flood. - No documented Claude Code setting/env var disables
ui_*pushes (checked the Claude Code CHANGELOG 2.1.280–2.1.295).
Suggested priority and effort (optional)
Low effort: add the ui_* subtypes (and ideally a ui_ prefix rule, since the family is growing) to the allow-list with coverage noise. Consider making unknown future sdk/system subtypes default to noise-with-debug rather than unhandled, since this is the second occurrence of this class.
Checks
- I reproduced this on the latest release or on
main— reproduced on the latest release (0.45.0), not onmain. - I searched open and closed issues for the same problem.
- If an agent wrote this, the body ends with
> AGENT GENERATEDand links the thread or report.
AGENT GENERATED (Claude Code session diagnosing the user's bb install; evidence above from the installed 0.45.0 bundle and Claude CLI 2.1.295)
Activity
bb-slop-cop commentedon Oct 9, 2026
🚨 SLOP COP 🚨 ·
new-issue-autopilotproviders,provider-claude-code.confirmed-repro.unknown, causing diagnosticprovider/unhandledevents.Classify Claude plugin UI notifications as noise (get-bb#5253)