Feature request: CompanionSpeech hook event
Feature Request
Add a CompanionSpeech hook event that fires when the companion (penguin mode) displays a speech bubble.
Use Case
I'd like to give my companion a voice via TTS. The hook system already supports PreToolUse, PostToolUse, Notification, etc. — but there's no event for companion output.
With a CompanionSpeech hook, I could pipe the bubble text through a local TTS engine (Kokoro) and have the companion actually speak aloud with its own distinct voice.
Proposed Hook Shape
{
"CompanionSpeech": [
{
"hooks": [
{
"type": "command",
"command": "koko-speak --voice am_puck --text \"$COMPANION_TEXT\""
}
]
}
]
}
The hook input would include:
companion_text— the speech bubble contentcompanion_name— e.g. "Flintcobb"
Context
The companion is a delightful UI feature. Letting users hook into its output would open up fun personalization — TTS voices, logging, notifications, etc. — using the same hook system that already exists for everything else.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗