Bump to v2.0.0: daily emote rotation + expanded sound library

- Emote face is now stable all day; /wake picks a fresh random face each
  morning instead of rotating every 5 minutes. Removes EMOTE_ROTATION_INTERVAL
  and last_emote_change entirely.
- Added 10 new synthesized sounds for /notify: doorbell, knock, ding, blip,
  siren, tada, ping, bubble, fanfare, and alarm (loops until tapped or TTL
  expires). stopAlarm() wired into tap handler and handleStateChange().
- openapi.yaml: new sound names added to enum.
- CLAUDE.md / README.md updated to reflect both changes.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-20 16:36:23 -06:00
parent dd8bf6005b
commit a074a42d40
7 changed files with 190 additions and 113 deletions

View File

@@ -177,7 +177,7 @@ automation:
- `emote`: Any ASCII emote (e.g., `( °o°)`, `\\(^o^)/`)
- `color`: Hex color (e.g., `#FF9900`)
- `animation`: `breathing`, `shaking`, `popping`, `celebrating`, `floating`, `bouncing`, `swaying`
- `sound`: `chime`, `alert`, `warning`, `critical`, `success`, `notify`, `none`
- `sound`: `chime`, `alert`, `warning`, `critical`, `success`, `notify`, `doorbell`, `knock`, `ding`, `blip`, `siren`, `tada`, `ping`, `bubble`, `fanfare`, `alarm`, `none`
## API Reference
@@ -200,8 +200,8 @@ Full API documentation available at [/docs](http://localhost:5100/docs) or in [o
The emote has personality! In optimal state it:
- Rotates through happy faces every 5 minutes
- Occasionally winks `( -_^)` or blinks `( ᵕ.ᵕ)` for a second or two
- Shows a stable face all day — set fresh each morning when `/wake` is called
- Occasionally winks `( -_^)` or blinks `( ᵕ.ᵕ)` for a second or two on wake
- Celebrates `\(^o^)/` when recovering from warnings
- Each face has its own animation (floating, bouncing, swaying)
- Reacts when tapped `( °o°)`, shows version info, and dismisses active alerts
@@ -211,6 +211,7 @@ The emote has personality! In optimal state it:
- Critical: urgent descending tone
- Notify: gentle ping
- Recovery: happy ascending chirp
- 10 additional synthesized sounds for `/notify`: `doorbell`, `knock`, `ding`, `blip`, `siren`, `tada`, `ping`, `bubble`, `fanfare`, `alarm` (alarm loops until tapped)
## License