agentvibes 4.6.3 โ†’ 4.6.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,241 +1,237 @@
1
- ---
2
- name: agentvibes
3
- description: ๐ŸŽค AgentVibes Voice Management - Manage your text-to-speech voices across multiple providers (Piper TTS, Piper, macOS Say). Switch voices, preview audio, manage providers, add custom voices, and control TTS output.
4
- ---
5
-
6
- # ๐ŸŽค AgentVibes Voice Management
7
-
8
- Manage your text-to-speech voices across multiple providers (Piper TTS, Piper, macOS Say).
9
-
10
- ---
11
-
12
- ## Available Commands
13
-
14
- ### Voice Control
15
-
16
- #### /agent-vibes:mute
17
- Mute all TTS output (persists across sessions)
18
-
19
- - Creates a mute flag that silences all voice output
20
- - Shows ๐Ÿ”‡ indicator when TTS would have played
21
-
22
- ```bash
23
- /agent-vibes:mute
24
- ```
25
-
26
- #### /agent-vibes:unmute
27
- Unmute TTS output
28
-
29
- - Removes mute flag and restores voice output
30
-
31
- ```bash
32
- /agent-vibes:unmute
33
- ```
34
-
35
- #### /agent-vibes:list [first|last] [N]
36
- List all available voices, with optional filtering
37
-
38
- ```bash
39
- /agent-vibes:list # Show all voices
40
- /agent-vibes:list first 5 # Show first 5 voices
41
- /agent-vibes:list last 3 # Show last 3 voices
42
- ```
43
-
44
- #### /agent-vibes:preview [first|last] [N]
45
- Preview voices by playing audio samples
46
-
47
- ```bash
48
- /agent-vibes:preview # Preview first 3 voices
49
- /agent-vibes:preview 5 # Preview first 5 voices
50
- /agent-vibes:preview last 5 # Preview last 5 voices
51
- ```
52
-
53
- #### /agent-vibes:switch <voice_name>
54
- Switch to a different default voice
55
-
56
- ```bash
57
- /agent-vibes:switch en_US-amy-medium
58
- /agent-vibes:switch en_GB-alan-medium
59
- /agent-vibes:switch fr_FR-siwis-medium
60
- ```
61
-
62
- #### /agent-vibes:get
63
- Display the currently selected voice
64
-
65
- ```bash
66
- /agent-vibes:get
67
- ```
68
-
69
- #### /agent-vibes:add <name> <voice_id>
70
- Add a new custom voice from your Piper TTS account
71
-
72
- ```bash
73
- /agent-vibes:add "My Voice" abc123xyz456
74
- ```
75
-
76
- See [Getting Voice IDs](#getting-voice-ids-piper-tts) section below.
77
-
78
- #### /agent-vibes:replay [N]
79
- Replay recently played TTS audio
80
-
81
- ```bash
82
- /agent-vibes:replay # Replay last audio
83
- /agent-vibes:replay 1 # Replay most recent
84
- /agent-vibes:replay 2 # Replay second-to-last
85
- /agent-vibes:replay 3 # Replay third-to-last
86
- ```
87
-
88
- Keeps last 10 audio files in history.
89
-
90
- #### /agent-vibes:set-pretext <word>
91
- Set a prefix word/phrase for all TTS messages
92
-
93
- ```bash
94
- /agent-vibes:set-pretext AgentVibes # All TTS starts with "AgentVibes:"
95
- /agent-vibes:set-pretext "Project Alpha" # Custom phrase
96
- /agent-vibes:set-pretext "" # Clear pretext
97
- ```
98
-
99
- Saved locally in `.agentvibes/config/agentvibes.json`
100
-
101
- ---
102
-
103
- ## Provider Management
104
-
105
- #### /agent-vibes:provider list
106
- Show all available TTS providers
107
-
108
- ```bash
109
- /agent-vibes:provider list
110
- ```
111
-
112
- #### /agent-vibes:provider switch <name>
113
- Switch between providers
114
-
115
- ```bash
116
- /agent-vibes:provider switch piper # Piper TTS - Free, offline, 50+ voices
117
- /agent-vibes:provider switch macos # macOS Say - Native macOS voices (Mac only)
118
- ```
119
-
120
- #### /agent-vibes:provider info <name>
121
- Get details about a specific provider
122
-
123
- ```bash
124
- /agent-vibes:provider info piper
125
- /agent-vibes:provider info macos
126
- ```
127
-
128
- ---
129
-
130
- ## Providers
131
-
132
- | Provider | Platform | Cost | Voices | Quality |
133
- |----------|----------|------|--------|---------|
134
- | **Piper TTS** | All platforms (Linux, macOS, WSL) | Free | 50+ in 30+ languages | โญโญโญโญ |
135
- | **macOS Say** | macOS only | Free (built-in) | 100+ system voices | โญโญโญโญ |
136
-
137
- **On macOS**, the native `say` provider is automatically detected and recommended!
138
-
139
- ---
140
-
141
- ## Getting Voice IDs (Piper TTS)
142
-
143
- To add your own custom Piper TTS voices:
144
-
145
- 1. Go to https://piper.io/app/voice-library
146
- 2. Select or create a voice
147
- 3. Copy the voice ID (15-30 character alphanumeric string)
148
- 4. Use `/agent-vibes:add` to add it:
149
-
150
- ```bash
151
- /agent-vibes:add "My Custom Voice" xyz789abc123def456
152
- ```
153
-
154
- ---
155
-
156
- ## Default Voices
157
-
158
- ### Piper TTS (Free & Offline)
159
-
160
- **English (US):**
161
- - en_US-lessac-medium (default male voice)
162
- - en_US-amy-medium (friendly female)
163
- - en_US-ryan-high (high quality male)
164
- - en_US-libritts-high (multiple speakers)
165
-
166
- **English (UK):**
167
- - en_GB-alan-medium (British male)
168
- - en_GB-jenny_dioco-medium (British female)
169
-
170
- **Romance Languages:**
171
- - es_ES-davefx-medium (Spanish - Spain)
172
- - es_MX-claude-high (Spanish - Mexico)
173
- - fr_FR-siwis-medium (French female)
174
- - fr_FR-gilles-low (French male)
175
- - it_IT-riccardo-x_low (Italian male)
176
- - pt_BR-faber-medium (Portuguese - Brazilian)
177
-
178
- **Germanic Languages:**
179
- - de_DE-thorsten-medium (German male)
180
- - de_DE-eva_k-x_low (German female)
181
-
182
- **Asian Languages:**
183
- - ja_JP-ayanami-medium (Japanese female)
184
- - zh_CN-huayan-x_low (Chinese female)
185
- - ko_KR-kss-medium (Korean female)
186
-
187
- ### macOS Say (100+ Built-in)
188
- - Samantha
189
- - Alex
190
- - Daniel
191
- - Victoria
192
- - Karen
193
- - Moira
194
- - And 100+ more system voices
195
-
196
- ---
197
-
198
- ## Quick Examples
199
-
200
- ### Switch to a different voice
201
- ```bash
202
- /agent-vibes:switch en_US-lessac-medium # Clear male voice
203
- /agent-vibes:switch en_US-ryan-high # High quality male
204
- /agent-vibes:switch en_GB-alan-medium # British male
205
- ```
206
-
207
- ### Preview before choosing
208
- ```bash
209
- /agent-vibes:preview 5 # Preview first 5 voices
210
- /agent-vibes:preview last 3 # Preview last 3 voices
211
- ```
212
-
213
- ### Add your custom Piper voice
214
- ```bash
215
- /agent-vibes:add "My Voice" abc123xyz456
216
- /agent-vibes:switch My Voice
217
- ```
218
-
219
- ### Switch providers
220
- ```bash
221
- /agent-vibes:provider switch macos # Use native macOS voices
222
- /agent-vibes:provider switch piper # Switch back to Piper
223
- ```
224
-
225
- ### Mute/Unmute
226
- ```bash
227
- /agent-vibes:mute # Silent mode
228
- /agent-vibes:unmute # Restore voice
229
- ```
230
-
231
- ---
232
-
233
- ## Tips & Tricks
234
-
235
- - **Preview first**: Always use `/agent-vibes:preview` before switching to a new voice
236
- - **Provider switching**: Some voices are only available on specific providers
237
- - **Voice history**: Use `/agent-vibes:replay` to hear the last 10 TTS messages
238
- - **Custom pretext**: Set a pretext to brand all your responses (e.g., "AgentVibes:")
239
- - **Mute for focus**: Use `/agent-vibes:mute` during intensive work sessions
240
-
241
- Enjoy your TTS experience! ๐ŸŽต
1
+ ---
2
+ name: agentvibes
3
+ description: ๐ŸŽค AgentVibes TTS for Claude Code & OpenClaw โ€” Switch voices, set personality, control speed, background music, language learning mode, reverb/effects, and more. Free offline TTS with 914+ Piper voices across 30+ languages. Works on Windows (SAPI/Piper), macOS (Say/Piper), Linux, and Android/Termux. No account or API key required.
4
+ ---
5
+
6
+ # ๐ŸŽค AgentVibes Voice Management
7
+
8
+ Professional text-to-speech for Claude Code and OpenClaw. Free, offline, no account required.
9
+
10
+ **Providers:** Piper TTS (914+ voices, all platforms) ยท macOS Say (built-in) ยท Windows SAPI (zero setup) ยท Soprano (neural)
11
+
12
+ ---
13
+
14
+ ## Voice Commands
15
+
16
+ ### /agent-vibes:switch \<voice_name\>
17
+ Switch to a different voice.
18
+
19
+ ```bash
20
+ /agent-vibes:switch en_US-amy-medium
21
+ /agent-vibes:switch en_GB-alan-medium
22
+ /agent-vibes:switch fr_FR-siwis-medium
23
+ ```
24
+
25
+ ### /agent-vibes:list [first|last] [N]
26
+ List available voices.
27
+
28
+ ```bash
29
+ /agent-vibes:list # Show all voices
30
+ /agent-vibes:list first 5 # Show first 5
31
+ /agent-vibes:list last 3 # Show last 3
32
+ ```
33
+
34
+ ### /agent-vibes:preview [first|last] [N]
35
+ Preview voices with audio samples.
36
+
37
+ ```bash
38
+ /agent-vibes:preview # Preview first 3 voices
39
+ /agent-vibes:preview 5 # Preview first 5
40
+ /agent-vibes:preview last 5 # Preview last 5
41
+ ```
42
+
43
+ ### /agent-vibes:sample \<voice_name\>
44
+ Play a sample of a specific voice.
45
+
46
+ ```bash
47
+ /agent-vibes:sample en_US-ryan-high
48
+ ```
49
+
50
+ ### /agent-vibes:get
51
+ Show the currently active voice.
52
+
53
+ ### /agent-vibes:set-favorite-voice
54
+ Mark current voice as your favorite.
55
+
56
+ ---
57
+
58
+ ## Personality & Style
59
+
60
+ ### /agent-vibes:personality [name|list|add|edit|get|reset]
61
+ Set a personality style for TTS output.
62
+
63
+ ```bash
64
+ /agent-vibes:personality list # Show available personalities
65
+ /agent-vibes:personality sarcastic # Switch to sarcastic style
66
+ /agent-vibes:personality dramatic # Switch to dramatic style
67
+ /agent-vibes:personality reset # Back to default
68
+ ```
69
+
70
+ ### /agent-vibes:set-pretext \<phrase\>
71
+ Add a spoken prefix before every TTS message.
72
+
73
+ ```bash
74
+ /agent-vibes:set-pretext "AgentVibes" # Speaks "AgentVibes: ..." before each message
75
+ /agent-vibes:set-pretext "" # Clear pretext
76
+ ```
77
+
78
+ ---
79
+
80
+ ## Speed & Effects
81
+
82
+ ### /agent-vibes:set-speed \<speed\>
83
+ Control speech rate (0.5x โ€“ 3.0x).
84
+
85
+ ```bash
86
+ /agent-vibes:set-speed 1.0 # Normal speed
87
+ /agent-vibes:set-speed 1.5 # 50% faster
88
+ /agent-vibes:set-speed 0.8 # Slower
89
+ ```
90
+
91
+ ### /agent-vibes:effects [reverb|echo|pitch|eq|reset]
92
+ Configure voice effects.
93
+
94
+ ```bash
95
+ /agent-vibes:effects reverb hall # Hall reverb
96
+ /agent-vibes:effects reverb none # No reverb
97
+ /agent-vibes:effects reset # Clear all effects
98
+ ```
99
+
100
+ ---
101
+
102
+ ## Background Music
103
+
104
+ ### /agent-vibes:background-music [on|off|status|list|switch]
105
+ Toggle or change background music played under TTS.
106
+
107
+ ```bash
108
+ /agent-vibes:background-music on # Enable background music
109
+ /agent-vibes:background-music off # Disable
110
+ /agent-vibes:background-music list # Show available tracks
111
+ /agent-vibes:background-music switch jazz # Switch to jazz track
112
+ ```
113
+
114
+ ---
115
+
116
+ ## Verbosity
117
+
118
+ ### /agent-vibes:verbosity [low|medium|high]
119
+ Control how much Claude speaks while working.
120
+
121
+ ```bash
122
+ /agent-vibes:verbosity low # Brief acknowledgments only
123
+ /agent-vibes:verbosity medium # Key decisions (default)
124
+ /agent-vibes:verbosity high # Full reasoning
125
+ ```
126
+
127
+ ---
128
+
129
+ ## Mute / Replay
130
+
131
+ ### /agent-vibes:mute / /agent-vibes:unmute
132
+ Silence or restore TTS output (persists across sessions).
133
+
134
+ ### /agent-vibes:replay [N]
135
+ Replay recent audio (last 10 kept).
136
+
137
+ ```bash
138
+ /agent-vibes:replay # Replay last audio
139
+ /agent-vibes:replay 2 # Replay second-to-last
140
+ ```
141
+
142
+ ---
143
+
144
+ ## Language & Learning
145
+
146
+ ### /agent-vibes:language \<lang\>
147
+ Set your native language.
148
+
149
+ ```bash
150
+ /agent-vibes:language english
151
+ /agent-vibes:language japanese
152
+ ```
153
+
154
+ ### /agent-vibes:learn [on|off]
155
+ Enable language learning mode โ€” Claude speaks in both your native and target language.
156
+
157
+ ```bash
158
+ /agent-vibes:learn on
159
+ /agent-vibes:learn off
160
+ ```
161
+
162
+ ### /agent-vibes:translate \<text\>
163
+ Translate and speak text in the target language.
164
+
165
+ ---
166
+
167
+ ## Provider Management
168
+
169
+ ### /agent-vibes:provider [list|switch|info]
170
+
171
+ ```bash
172
+ /agent-vibes:provider list
173
+ /agent-vibes:provider switch piper # Piper TTS (free, offline, 914+ voices)
174
+ /agent-vibes:provider switch macos # macOS Say (Mac only)
175
+ /agent-vibes:provider switch sapi # Windows SAPI (Windows only, zero setup)
176
+ /agent-vibes:provider switch soprano # Soprano (neural)
177
+ ```
178
+
179
+ ---
180
+
181
+ ## Providers
182
+
183
+ | Provider | Platform | Cost | Voices |
184
+ |----------|----------|------|--------|
185
+ | **Piper TTS** | All platforms | Free, offline | 914+ in 30+ languages |
186
+ | **macOS Say** | macOS only | Free (built-in) | 100+ system voices |
187
+ | **Windows SAPI** | Windows only | Free (built-in) | System voices, zero setup |
188
+ | **Soprano** | All platforms | Free | Neural voices |
189
+
190
+ ---
191
+
192
+ ## Miscellaneous
193
+
194
+ ### /agent-vibes:whoami
195
+ Show current AgentVibes configuration.
196
+
197
+ ### /agent-vibes:version
198
+ Show installed version.
199
+
200
+ ### /agent-vibes:update
201
+ Update AgentVibes to the latest version.
202
+
203
+ ### /agent-vibes:show / /agent-vibes:hide
204
+ Show or hide the AgentVibes status indicator.
205
+
206
+ ### /agent-vibes:cleanup / /agent-vibes:clean
207
+ Remove cached audio files.
208
+
209
+ ---
210
+
211
+ ## Default Voices (Piper TTS โ€” Free & Offline)
212
+
213
+ **English (US):** en_US-lessac-medium ยท en_US-amy-medium ยท en_US-ryan-high ยท en_US-libritts-high (914 speakers)
214
+
215
+ **English (UK):** en_GB-alan-medium ยท en_GB-jenny_dioco-medium
216
+
217
+ **French:** fr_FR-siwis-medium ยท fr_FR-gilles-low
218
+
219
+ **German:** de_DE-thorsten-medium ยท de_DE-eva_k-x_low
220
+
221
+ **Spanish:** es_ES-davefx-medium ยท es_MX-claude-high
222
+
223
+ **Japanese:** ja_JP-ayanami-medium ยท **Chinese:** zh_CN-huayan-x_low ยท **Korean:** ko_KR-kss-medium
224
+
225
+ **+ 900 more** across 30+ languages. All voices are downloaded from [HuggingFace](https://huggingface.co/rhasspy/piper-voices) โ€” no account required.
226
+
227
+ ---
228
+
229
+ ## Tips
230
+
231
+ - **Preview first**: Use `/agent-vibes:preview` before committing to a voice
232
+ - **Verbosity**: Set to `low` for focused work, `high` for full narration
233
+ - **BMAD party mode**: Each agent gets their own voice, music, and personality
234
+ - **Replay**: Use `/agent-vibes:replay` to re-hear the last 10 responses
235
+ - **Speed**: Combine with personality for a fully custom TTS character
236
+
237
+ Enjoy your TTS experience! ๐ŸŽต
package/CLAUDE.md CHANGED
@@ -39,6 +39,18 @@ For changes outside story development:
39
39
  3. Test locally before pushing
40
40
  4. Exception: Changes made by `/dev-story` auto-commit
41
41
 
42
+ ### ๐Ÿšซ RELEASE: MANDATORY HUMAN APPROVAL BEFORE ANY PUSH
43
+
44
+ **NEVER run `git push`, `git push --follow-tags`, or `npm publish` during a release without first stopping and showing the user:**
45
+
46
+ 1. The full content of `RELEASE_NOTES.md` for that release
47
+ 2. The updated section of `README.md`
48
+ 3. Explicitly asking: **"Please review โ€” type 'approve' to push, or request changes."**
49
+
50
+ **Wait for explicit approval. Do NOT push speculatively.** It doesn't matter how clean the content is. The human-in-the-loop checkpoint is non-negotiable.
51
+
52
+ This rule was added after Claude pushed v4.6.5 without pausing for review.
53
+
42
54
  ## Security Requirements (SonarCloud Compliance)
43
55
 
44
56
  ### Core Security Rules (NO EXCEPTIONS)
@@ -109,6 +121,35 @@ except (PermissionError, UnicodeDecodeError, OSError) as e:
109
121
  return default_value
110
122
  ```
111
123
 
124
+ ## Blessed TUI Color Rules (CRITICAL)
125
+
126
+ Paul's terminal does **not** render hex colors โ€” they all fall back to white. Always use **named ANSI colors**.
127
+
128
+ ### Two coloring mechanisms โ€” use the right one:
129
+
130
+ **1. Content tags (`tags: true` on the widget) โ€” for text elements:**
131
+ ```js
132
+ blessed.text({
133
+ tags: true,
134
+ content: `{yellow-fg}some text{/yellow-fg} {magenta-fg}other text{/magenta-fg}`,
135
+ style: { bg: COLORS.headerBg },
136
+ });
137
+ ```
138
+ - โœ… Works: `{yellow-fg}`, `{cyan-fg}`, `{magenta-fg}`, `{white-fg}`, `{green-fg}`, `{blue-fg}`
139
+ - โŒ Broken: `{#ffff00-fg}`, `{#90a4ae-fg}` โ€” hex tags render as white
140
+
141
+ **2. Style objects โ€” for list `selected`, `item`, widget `style`:**
142
+ ```js
143
+ style: {
144
+ selected: { bg: 'blue', fg: 'yellow' }, // โœ… named only
145
+ item: { fg: 'white' },
146
+ }
147
+ ```
148
+ - โœ… Works: `'yellow'`, `'blue'`, `'cyan'`, `'magenta'`, `'green'`, `'white'`
149
+ - โŒ Broken: `'#ffff00'`, `'#4a148c'` โ€” hex in style objects renders as white
150
+
151
+ **Direct screen children render tags correctly.** Elements parented to a `blessed.box` with `tags: false` may not render tags even if the child has `tags: true` โ€” attach directly to `this.screen` instead (same pattern as tab bar items).
152
+
112
153
  ## Code Quality Standards
113
154
 
114
155
  - โœ… **Error handling:** No silent failures - always handle errors explicitly