[FEATURE] Add claudes message to Notification hooks
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
It would be very useful (to me at least) to get 'what claude said' as part of the payload. I have a hook which pops up a notification and just now it's just a generic 'Claude needs you' kind of thing.
I've tried mixing it up with a call to haiku - but it's still very generic as all we get to know is 'stop' or 'notification'. If we could get the actual 'thing claude said' then I could get a more actionable notification. "Claude wants to know if it should follow this pattern or that pattern". "Claude has completed all the beads issues in epic-123", 'Hey there, dummy. Let me run git diff".
Combined with a simple say or text-to-speech model - it would be really adding a lot of value.
Currently I get a generic macos notification and an afplay of a random elevenlabs 'hey here!' mp3. But there's no way of knowing "Is this a question that will take me ten minutes of pondering?" vs. "Let me quickly tab over to the session and press enter?".
Proposed Solution
Add an extra key to the JSON payload like "body_text": "I'm looking forward to the new season of Silo. Are you?"
Alternative Solutions
_No response_
Priority
Medium - Would be very helpful
Feature Category
Interactive mode (TUI)
Use Case Example
I kick off a planning session. I tab away, go do something, whatever. I get a 'Hey there!'. Do I :
- Rush back to the terminal and pick 'Yep - sure'
- Rush back to the terminal and realise I've got a fundamental design decision to make
- Realise it's just a "Yep - sure" thing and quickly deal with it when it's convenient
- Go for a walk, talk with a colleague, then explain the new design direction.
Additional Context
_No response_
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗