[FEATURE] Add attention_reason to Notification hooks

Status Fixed / completed
Maintainer reply None cached
Activity 4 comments · opened Jan 22, 2026 · closed Jan 22, 2026

Problem

Determining if a session needs user attention requires parsing the message field with regex. notification_type alone isn't reliable.

Proposal

Add structured fields:

{
  "hook_event_type": "Notification",
  "attention_reason": "permission_request",
  "requires_user_attention": true
}

Enum values: permission_request, needs_input, error, completed, info

Why

This would make external tools more reliable. Example:
https://github.com/usedhonda/cc-status-bar

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗