claude-code - 💡(How to fix) Fix Notification hook should fire when agent is blocked waiting for tool approval (VSCode extension) [1 comments, 2 participants]

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…
GitHub stats
anthropics/claude-code#46115Fetched 2026-04-11 06:28:38
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Timeline (top)
labeled ×4commented ×1subscribed ×1

Fix Action

Fix / Workaround

Current workaround

RAW_BUFFERClick to expand / collapse

Feature Request

When running multiple agents in parallel in the VSCode extension, there's no way to know when one has paused waiting for tool approval. The Notification hook exists but does not fire in this scenario — approvals appear inline in the Claude panel with no external signal.

Proposed behavior

Fire the Notification hook event when an agent is blocked waiting for user approval on a tool call. Ideally include agent context in the payload so the notification can identify which agent needs attention.

Current workaround

None effective for multi-agent workflows. The Notification hook works for headless/terminal use but not for the interactive VSCode extension approval flow.

Why it matters

With multiple parallel agents, users have no visibility into which agent is waiting without actively watching the panel. A hook event would allow desktop notifications (e.g. via terminal-notifier on macOS) to surface this automatically.

extent analysis

TL;DR

Modify the VSCode extension to fire the Notification hook event when an agent is blocked waiting for user approval on a tool call.

Guidance

  • Review the VSCode extension's approval flow to identify why the Notification hook is not firing in this scenario.
  • Consider adding agent context to the Notification hook payload to enable identification of the agent needing attention.
  • Investigate potential modifications to the Claude panel to emit an external signal when an agent is waiting for approval.
  • Evaluate the feasibility of integrating desktop notifications (e.g., via terminal-notifier on macOS) to surface waiting agents.

Notes

The current implementation of the VSCode extension's approval flow may require significant changes to support the proposed behavior.

Recommendation

Apply a workaround by modifying the VSCode extension to fire the Notification hook event when an agent is blocked, as this would provide the necessary visibility into waiting agents.

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