Documentation
¶
Overview ¶
Package chime filters provider hook events and plays the local notification sound.
Index ¶
Constants ¶
View Source
const ( // ProviderClaude identifies the Claude hook event schema. ProviderClaude = "claude" // ProviderCodex identifies the Codex hook event schema. ProviderCodex = "codex" // ProviderAntigravity identifies the Antigravity hook event schema. ProviderAntigravity = "antigravity" // ProviderGrok identifies the Grok hook event schema. ProviderGrok = "grok" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SoundRunner ¶
type SoundRunner interface {
Play() error
}
SoundRunner starts the configured notification sound.
type SystemSoundRunner ¶
type SystemSoundRunner struct{}
SystemSoundRunner starts the supported system notification sound asynchronously.
func (SystemSoundRunner) Play ¶
func (SystemSoundRunner) Play() error
Play selects the operating system sound command, discards its standard streams, and releases it without waiting.
Click to show internal directories.
Click to hide internal directories.