claude-code - 💡(How to fix) Fix Stop hook error: "TabManager not available" still occurs in v2.1.133 CLI mode

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Stop hooks consistently emit a non-blocking error in plain CLI mode (no IDE attached):

Ran 3 stop hooks (ctrl+o to expand)
  Stop hook error: Failed with non-blocking status code: Error: unavailable: TabManager not available

This is the same error described in #35592 (closed 2026-05-04 by stale-bot, not_planned, no Anthropic response). Re-filing because (a) the closing bot comment explicitly invites it and (b) the bug still reproduces on the latest CLI build.

Error Message

Ran 3 stop hooks (ctrl+o to expand) Stop hook error: Failed with non-blocking status code: Error: unavailable: TabManager not available

Root Cause

This is the same error described in #35592 (closed 2026-05-04 by stale-bot, not_planned, no Anthropic response). Re-filing because (a) the closing bot comment explicitly invites it and (b) the bug still reproduces on the latest CLI build.

Code Example

Ran 3 stop hooks (ctrl+o to expand)
  Stop hook error: Failed with non-blocking status code: Error: unavailable: TabManager not available
RAW_BUFFERClick to expand / collapse

Re-filing per stale-bot's invitation on #35592 — the bug is still present in v2.1.133.

Description

Stop hooks consistently emit a non-blocking error in plain CLI mode (no IDE attached):

Ran 3 stop hooks (ctrl+o to expand)
  Stop hook error: Failed with non-blocking status code: Error: unavailable: TabManager not available

This is the same error described in #35592 (closed 2026-05-04 by stale-bot, not_planned, no Anthropic response). Re-filing because (a) the closing bot comment explicitly invites it and (b) the bug still reproduces on the latest CLI build.

Environment

  • Claude Code v2.1.133
  • macOS Darwin 25.3.0
  • Plain terminal (no VS Code / JetBrains / Cursor / Antigravity)
  • Configured Stop hooks (3 total):
    1. entire hooks claude-code stop (Entire.io session-tracking integration, project-level)
    2. node $CLAUDE_PLUGIN_ROOT/scripts/stop-review-gate-hook.mjs (Codex plugin v1.0.1)
    3. (third hook is presumably built-in/system — unidentified from user-side config)

The Codex plugin script does not reference TabManager anywhere. Grepping all plugin caches returns zero matches. The reference appears to be inside Claude Code's own hook execution / result-reporting layer.

Reproduce

  1. Run Claude Code v2.1.x in a plain terminal (no IDE).
  2. Have at least one Stop hook configured (any plugin works — Codex, Entire, etc.).
  3. End the assistant turn.
  4. The "Ran N stop hooks" UI shows the TabManager error even though the hook scripts themselves succeed.

Expected

CLI mode should not emit IDE-only errors. The hook result-reporting path should either skip TabManager when running headless, or downgrade the message to debug-level.

Impact

Cosmetic but persistent — fires on every turn that has a Stop hook, which means every turn for users with Entire, Codex, cmux, etc. installed. It also looks alarming to new users who reasonably assume something is broken.

Notes

  • non-blocking so no functional impact — confirmed hook scripts run and write data correctly.
  • Closing #35592 by stale-bot without engagement looks like a process gap, not a "won't fix" decision. The bot's own message asked re-filers to reference the original — done.
  • Suspect a missing if (TabManager) { ... } guard or equivalent in the hook result-reporting path.

References: #35592, #37316 (cmux-specific, separate root cause).

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix Stop hook error: "TabManager not available" still occurs in v2.1.133 CLI mode