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" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SoundRunner ¶
type SoundRunner interface {
Play() error
}
SoundRunner starts the configured notification sound.
type SoundRunnerFunc ¶
type SoundRunnerFunc func() error
SoundRunnerFunc adapts a function to SoundRunner.
func (SoundRunnerFunc) Play ¶
func (f SoundRunnerFunc) Play() error
Play starts the function-backed 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.