agentvibes 1.0.20 β†’ 1.0.21

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.
package/README.md CHANGED
@@ -9,7 +9,7 @@
9
9
  [![Publish](https://github.com/paulpreibisch/AgentVibes/actions/workflows/publish.yml/badge.svg)](https://github.com/paulpreibisch/AgentVibes/actions/workflows/publish.yml)
10
10
  [![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
11
11
 
12
- **Author**: Paul Preibisch ([@997Fire](https://x.com/997Fire)) | **Version**: v1.0.19
12
+ **Author**: Paul Preibisch ([@997Fire](https://x.com/997Fire)) | **Version**: v1.0.20
13
13
 
14
14
  ---
15
15
 
@@ -43,9 +43,9 @@
43
43
 
44
44
  ## πŸ“° Latest Release
45
45
 
46
- **[v1.0.19 - Release Notes](https://github.com/paulpreibisch/AgentVibes/releases/tag/v1.0.19)** 🌍
46
+ **[v1.0.20 - Release Notes](https://github.com/paulpreibisch/AgentVibes/releases/tag/v1.0.20)** 🌍
47
47
 
48
- Multilingual support is here! Speak with Claude in 30+ languages including Spanish, French, German, Italian, Portuguese, Chinese, Japanese, and more. Added 6 multilingual voices and fixed slash command discovery.
48
+ Multilingual support is here! Speak with Claude in 30+ languages including Spanish, French, German, Italian, Portuguese, Chinese, Japanese, and more. Added 6 multilingual voices, fixed slash command discovery, and improved update experience with release notes fallback.
49
49
 
50
50
  [β†’ View All Releases](https://github.com/paulpreibisch/AgentVibes/releases)
51
51
 
@@ -0,0 +1,324 @@
1
+ # Release v1.0.20
2
+
3
+ ## πŸ€– AI Summary
4
+
5
+ This patch release improves the user experience when installing or updating via npx by adding a fallback to display release notes from RELEASE_NOTES.md when git is unavailable. Users running `npx agentvibes update` will now see the latest release summary instead of git errors, making it clear what's new in each version.
6
+
7
+ ## πŸ› Bug Fixes
8
+
9
+ ### Installer Release Notes Fallback
10
+ - **Fixed**: Update/install commands showing "fatal: not a git repository" error
11
+ - **Root Cause**: npx cache doesn't include .git directory
12
+ - **Impact**: Users now see release notes even when git is unavailable
13
+ - **Solution**: Added fallback to read RELEASE_NOTES.md and extract latest release summary
14
+ - **Benefit**: Better transparency about what's being installed/updated
15
+
16
+ ## πŸ“ Technical Changes
17
+
18
+ ### Modified Files
19
+
20
+ **src/installer.js** (+56 lines)
21
+ - Added RELEASE_NOTES.md fallback for both install and update commands
22
+ - Extracts latest release header and AI summary
23
+ - Displays formatted release notes when git log fails
24
+ - Graceful degradation when neither git nor release notes available
25
+
26
+ ### Key Implementation Details
27
+
28
+ **Release Notes Fallback:**
29
+ ```javascript
30
+ try {
31
+ // Try git log first
32
+ const gitLog = execSync('git log --oneline --no-decorate -5', {...});
33
+ // ... show git commits
34
+ } catch (error) {
35
+ // Fallback to RELEASE_NOTES.md
36
+ const releaseNotes = await fs.readFile('RELEASE_NOTES.md', 'utf8');
37
+ // Extract and display latest release summary
38
+ console.log(chalk.cyan(`πŸ“° ${releaseHeader}`));
39
+ console.log(chalk.white(` ${summaryText}`));
40
+ }
41
+ ```
42
+
43
+ ## πŸ”„ Migration Notes
44
+
45
+ ### For Users
46
+
47
+ **No action required** - This is an installer improvement:
48
+ - Next time you run `npx agentvibes update` you'll see release notes
49
+ - Works even when installing from npm cache without git
50
+ - Shows latest release summary automatically
51
+
52
+ ### For Package Maintainers
53
+
54
+ **Benefits:**
55
+ - Users always see what's new, even via npx
56
+ - RELEASE_NOTES.md now serves as fallback documentation
57
+ - Better user experience for npm package installations
58
+
59
+ ## πŸ“Š Release Stats
60
+
61
+ - **2 commits** since v1.0.19
62
+ - **1 file changed**: src/installer.js
63
+ - **56 insertions**, **4 deletions**
64
+ - **1 bug fix**: Release notes display in npx installations
65
+ - **0 breaking changes**
66
+
67
+ ## 🎯 User Experience Improvements
68
+
69
+ 1. **Transparency**: See what's new even when installing via npx
70
+ 2. **No Errors**: Graceful fallback instead of git errors
71
+ 3. **Consistent**: Same release info whether from git or npm
72
+ 4. **Informative**: Latest release summary shown in all scenarios
73
+
74
+ ## πŸ’‘ Example Output
75
+
76
+ When running `npx agentvibes update`:
77
+
78
+ **Before (v1.0.19):**
79
+ ```
80
+ ✨ Update complete!
81
+ fatal: not a git repository (or any of the parent directories): .git
82
+ πŸ’‘ Changes will take effect immediately!
83
+ ```
84
+
85
+ **After (v1.0.20):**
86
+ ```
87
+ ✨ Update complete!
88
+
89
+ πŸ“° Release v1.0.19
90
+
91
+ This release brings powerful multilingual support to AgentVibes! Users can now make Claude speak in 30+ languages including Spanish, French, German, Italian, Portuguese, Chinese, Japanese, and many more...
92
+
93
+ πŸ’‘ Changes will take effect immediately!
94
+ ```
95
+
96
+ ## πŸ™ Credits
97
+
98
+ Thanks to users who reported the confusing git error messages when updating via npx!
99
+
100
+ ---
101
+
102
+ # Release v1.0.19
103
+
104
+ ## πŸ€– AI Summary
105
+
106
+ This release brings powerful multilingual support to AgentVibes! Users can now make Claude speak in 30+ languages including Spanish, French, German, Italian, Portuguese, Chinese, Japanese, and many more. The system automatically selects optimal multilingual voices and seamlessly integrates with existing personalities and the BMAD plugin. Additionally, this release includes critical bug fixes for slash command discovery and comprehensive documentation updates.
107
+
108
+ ## ✨ New Features
109
+
110
+ ### 🌍 Multilingual Language Support
111
+
112
+ **Speak in 30+ Languages**
113
+ - Added `/agent-vibes:set-language <language>` command
114
+ - Support for Spanish, French, German, Italian, Portuguese, Chinese, Japanese, Korean, and 20+ more languages
115
+ - Automatic multilingual voice selection based on language
116
+ - Works seamlessly with personalities and BMAD plugin
117
+ - Language settings persist across sessions
118
+
119
+ **Language Manager System**
120
+ - New `language-manager.sh` script handles language switching
121
+ - Intelligent voice recommendations per language:
122
+ - Spanish β†’ Antoni/Matilda
123
+ - French β†’ Rachel/Charlotte
124
+ - German β†’ Domi/Charlotte
125
+ - Italian β†’ Bella
126
+ - Portuguese β†’ Matilda
127
+ - Stores language preference in `.claude/tts-language.txt`
128
+
129
+ **New Multilingual Voices Added**
130
+ - **Antoni** - Optimized for Spanish, general multilingual (30+ languages)
131
+ - **Rachel** - Optimized for French, professional multilingual
132
+ - **Domi** - Optimized for German, strong confident voice
133
+ - **Bella** - Optimized for Italian, soft engaging voice
134
+ - **Charlotte** - European languages specialist
135
+ - **Matilda** - Latin languages specialist
136
+
137
+ ### πŸ“š Documentation Enhancements
138
+
139
+ **Updated README**
140
+ - Added comprehensive "Change Language" section with examples
141
+ - New "Language Commands" table in Commands Reference
142
+ - Added "🌍 Multilingual Support" to Table of Contents
143
+ - Documented all 30+ supported languages
144
+ - Included multilingual voice recommendations and usage tips
145
+
146
+ **New Language Command Documentation**
147
+ - Created `.claude/commands/agent-vibes/set-language.md`
148
+ - Detailed usage examples and language list
149
+ - Explains how language system works
150
+ - Voice recommendations per language
151
+
152
+ ## πŸ› Bug Fixes
153
+
154
+ ### Slash Command Discovery Fix
155
+ - **Fixed**: Commands in `.claude/commands/agent-vibes/` were not appearing in autocomplete
156
+ - **Root Cause**: Missing `commands.json` registration file
157
+ - **Impact**: All `/agent-vibes:*` subcommands are now discoverable
158
+ - **Added**: Proper `commands.json` with all 13 subcommands registered:
159
+ - list, preview, switch, whoami, sample, replay
160
+ - personality, sentiment, set-pretext, set-language
161
+ - add, get
162
+
163
+ ### Installer File Filtering
164
+ - **Fixed**: Project-specific files being included in installer
165
+ - **Impact**: Cleaner installations without unnecessary local files
166
+ - **Changed**: Added filters to exclude `.claude/tts-*.txt` and other session files
167
+
168
+ ## πŸ“ Technical Changes
169
+
170
+ ### New Files Added
171
+
172
+ **Language Management System**
173
+ - `.claude/commands/agent-vibes/set-language.md` - Command documentation
174
+ - `.claude/hooks/language-manager.sh` - Language switching logic
175
+ - `.claude/commands/agent-vibes/commands.json` - Command registration
176
+
177
+ **Voice Configuration**
178
+ - Added 6 multilingual voices to `voices-config.sh`:
179
+ - Antoni (ErXwobaYiN019PkySvjV)
180
+ - Rachel (21m00Tcm4TlvDq8ikWAM)
181
+ - Domi (AZnzlk1XvdvUeBnXmlld)
182
+ - Bella (EXAVITQu4vr4xnSDxMaL)
183
+ - Charlotte (XB0fDUnXU5powFXDhCwa)
184
+ - Matilda (XrExE9yKIg1WjnnlVkGX)
185
+
186
+ ### Modified Files
187
+
188
+ **Output Style Updates** (`agent-vibes.md`)
189
+ - Enhanced language detection logic
190
+ - Added multilingual voice fallback system
191
+ - Priority order: Language β†’ Sentiment β†’ Personality β†’ Default
192
+ - Improved BMAD integration with language support
193
+
194
+ **Installer Improvements** (`src/installer.js`)
195
+ - Enhanced file filtering to exclude session-specific files
196
+ - Better validation of ElevenLabs voice IDs
197
+ - Improved installation messaging
198
+
199
+ ### Key Implementation Details
200
+
201
+ **Language Priority System:**
202
+ ```bash
203
+ # Check order:
204
+ 1. Language setting (.claude/tts-language.txt)
205
+ 2. Sentiment setting (.claude/tts-sentiment.txt)
206
+ 3. Personality setting (.claude/tts-personality.txt)
207
+ 4. Default voice
208
+ ```
209
+
210
+ **Multilingual Voice Mapping:**
211
+ ```bash
212
+ declare -A LANGUAGE_VOICES=(
213
+ ["spanish"]="Antoni"
214
+ ["french"]="Rachel"
215
+ ["german"]="Domi"
216
+ ["italian"]="Bella"
217
+ # ... 20+ more languages
218
+ )
219
+ ```
220
+
221
+ **BMAD + Language Integration:**
222
+ - When BMAD agent is active AND language is set:
223
+ - Tries agent's assigned voice first
224
+ - Falls back to multilingual voice if agent's voice doesn't support language
225
+ - Maintains agent's personality style in chosen language
226
+
227
+ ## πŸ”„ Migration Notes
228
+
229
+ ### For Users
230
+
231
+ **To Start Using Multilingual Features:**
232
+ ```bash
233
+ # Set your preferred language
234
+ /agent-vibes:set-language spanish
235
+
236
+ # Claude will now speak in Spanish!
237
+ # To go back to English:
238
+ /agent-vibes:set-language english
239
+ ```
240
+
241
+ **Recommended Voices for Languages:**
242
+ - Use `/agent-vibes:set-language list` to see all supported languages
243
+ - System auto-selects best voice for your language
244
+ - Can manually switch voices with `/agent-vibes:switch <voice>`
245
+
246
+ ### For Existing AgentVibes Users
247
+
248
+ **No Breaking Changes:**
249
+ - Existing voice/personality settings preserved
250
+ - Language defaults to English
251
+ - All previous commands work exactly the same
252
+ - New language feature is opt-in
253
+
254
+ ## πŸ“Š Release Stats
255
+
256
+ - **7 commits** since v1.0.18
257
+ - **8 files changed**:
258
+ - 3 new files (set-language.md, language-manager.sh, commands.json)
259
+ - 5 modified files (README.md, agent-vibes.md, voices-config.sh, installer.js)
260
+ - **467 insertions**, **45 deletions**
261
+ - **2 major features**: Multilingual support, Command registration fix
262
+ - **2 bug fixes**: Slash commands, Installer filtering
263
+ - **0 breaking changes**
264
+
265
+ ## 🎯 User Experience Improvements
266
+
267
+ 1. **Global Language Support**: Speak with Claude in your native language
268
+ 2. **Automatic Voice Selection**: System picks best multilingual voice
269
+ 3. **Seamless Integration**: Works with all existing features
270
+ 4. **Better Discovery**: All commands now show in autocomplete
271
+ 5. **Comprehensive Docs**: Complete guide to using languages
272
+
273
+ ## πŸ’‘ Usage Examples
274
+
275
+ ### Basic Language Switching
276
+ ```bash
277
+ # Switch to Spanish
278
+ /agent-vibes:set-language spanish
279
+
280
+ # Claude responds in Spanish
281
+ "Β‘Voy a hacer esa tarea para ti!"
282
+
283
+ # Switch back to English
284
+ /agent-vibes:set-language english
285
+ ```
286
+
287
+ ### Language + Personality
288
+ ```bash
289
+ # Set language to French
290
+ /agent-vibes:set-language french
291
+
292
+ # Use pirate personality
293
+ /agent-vibes:personality pirate
294
+
295
+ # Get French pirate responses!
296
+ "Arr, je vais conquΓ©rir ce code pour toi, moussaillon!"
297
+ ```
298
+
299
+ ### Language + BMAD
300
+ ```bash
301
+ # Set language to German
302
+ /agent-vibes:set-language german
303
+
304
+ # Activate BMAD PM agent
305
+ /BMad:agents:pm
306
+
307
+ # PM speaks in German with professional voice
308
+ "Ich werde diese Anforderungen fΓΌr Sie analysieren"
309
+ ```
310
+
311
+ ## 🌍 Supported Languages
312
+
313
+ **Complete List (30+ languages):**
314
+ Spanish, French, German, Italian, Portuguese, Chinese, Japanese, Korean, Polish, Dutch, Turkish, Russian, Arabic, Hindi, Swedish, Danish, Norwegian, Finnish, Czech, Romanian, Ukrainian, Greek, Bulgarian, Croatian, Slovak, and more!
315
+
316
+ ## πŸ™ Credits
317
+
318
+ Special thanks to the ElevenLabs team for their amazing multilingual voice technology! The new Multilingual v2 model makes it possible to provide natural-sounding TTS in 30+ languages.
319
+
320
+ ---
321
+
322
+ # Release v1.0.18
323
+
324
+ [Previous release notes preserved below...]
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "agentvibes",
4
- "version": "1.0.20",
4
+ "version": "1.0.21",
5
5
  "description": "Beautiful ElevenLabs TTS voice commands for Claude Code - Add professional narration to your AI coding sessions",
6
6
  "keywords": [
7
7
  "elevenlabs",