agentvibes 2.9.5 → 2.9.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.
- package/.claude/github-star-reminder.txt +1 -1
- package/.test-bmad-config +1 -1
- package/BMAD_PR_TESTING_INSTRUCTIONS.md +5 -5
- package/package.json +1 -1
- package/src/installer.js +72 -0
- package/test-bmad-pr.sh +18 -29
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
20251120
|
package/.test-bmad-config
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
SAVED_MODE="1"
|
|
2
|
-
SAVED_TEST_DIR="/home/fire/claude/tests/
|
|
2
|
+
SAVED_TEST_DIR="/home/fire/claude/tests/test47"
|
|
@@ -13,7 +13,7 @@ We've made testing super simple with a single command:
|
|
|
13
13
|
### One-Line Install
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
|
-
npx agentvibes@latest test-bmad-pr
|
|
16
|
+
npx -p agentvibes@latest test-bmad-pr
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
That's it! This command will automatically:
|
|
@@ -26,12 +26,12 @@ That's it! This command will automatically:
|
|
|
26
26
|
### Testing a Different PR
|
|
27
27
|
|
|
28
28
|
```bash
|
|
29
|
-
npx agentvibes@latest test-bmad-pr <PR_NUMBER>
|
|
29
|
+
npx -p agentvibes@latest test-bmad-pr <PR_NUMBER>
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
For example:
|
|
33
33
|
```bash
|
|
34
|
-
npx agentvibes@latest test-bmad-pr 935
|
|
34
|
+
npx -p agentvibes@latest test-bmad-pr 935
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
### Alternative: Manual Download
|
|
@@ -74,8 +74,8 @@ Once setup is complete, the script will tell you exactly how to test party mode:
|
|
|
74
74
|
# Navigate to the test project
|
|
75
75
|
cd ~/bmad-pr-test-*/bmad-project
|
|
76
76
|
|
|
77
|
-
# Start Claude
|
|
78
|
-
claude
|
|
77
|
+
# Start Claude
|
|
78
|
+
claude
|
|
79
79
|
|
|
80
80
|
# Test party mode!
|
|
81
81
|
/bmad:core:workflows:party-mode
|
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": "2.9.
|
|
4
|
+
"version": "2.9.6",
|
|
5
5
|
"description": "Now your AI Agents can finally talk back! Professional TTS voice for Claude Code and Claude Desktop (via MCP) with multi-provider support.",
|
|
6
6
|
"homepage": "https://agentvibes.org",
|
|
7
7
|
"keywords": [
|
package/src/installer.js
CHANGED
|
@@ -580,6 +580,33 @@ async function copyPersonalityFiles(targetDir, spinner) {
|
|
|
580
580
|
return personalityMdFiles.length;
|
|
581
581
|
}
|
|
582
582
|
|
|
583
|
+
/**
|
|
584
|
+
* Copy output style files to target directory
|
|
585
|
+
* @param {string} targetDir - Target installation directory
|
|
586
|
+
* @param {Object} spinner - Ora spinner instance
|
|
587
|
+
* @returns {Promise<number>} Number of files copied
|
|
588
|
+
*/
|
|
589
|
+
async function copyOutputStyles(targetDir, spinner) {
|
|
590
|
+
spinner.start('Installing output styles...');
|
|
591
|
+
const srcOutputStylesDir = path.join(__dirname, '..', 'templates', 'output-styles');
|
|
592
|
+
const outputStylesDir = path.join(targetDir, '.claude', 'output-styles');
|
|
593
|
+
|
|
594
|
+
await fs.mkdir(outputStylesDir, { recursive: true });
|
|
595
|
+
|
|
596
|
+
const outputStyleFiles = await fs.readdir(srcOutputStylesDir);
|
|
597
|
+
console.log(chalk.cyan(`📝 Installing ${outputStyleFiles.length} output styles:`));
|
|
598
|
+
|
|
599
|
+
for (const file of outputStyleFiles) {
|
|
600
|
+
const srcPath = path.join(srcOutputStylesDir, file);
|
|
601
|
+
const destPath = path.join(outputStylesDir, file);
|
|
602
|
+
await fs.copyFile(srcPath, destPath);
|
|
603
|
+
console.log(chalk.gray(` ✓ ${file}`));
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
spinner.succeed(chalk.green('Installed output styles!\n'));
|
|
607
|
+
return outputStyleFiles.length;
|
|
608
|
+
}
|
|
609
|
+
|
|
583
610
|
/**
|
|
584
611
|
* Copy plugin files to target directory
|
|
585
612
|
* @param {string} targetDir - Target installation directory
|
|
@@ -615,6 +642,39 @@ async function copyPluginFiles(targetDir, spinner) {
|
|
|
615
642
|
return pluginFiles.length;
|
|
616
643
|
}
|
|
617
644
|
|
|
645
|
+
/**
|
|
646
|
+
* Copy BMAD config files to target directory
|
|
647
|
+
* @param {string} targetDir - Target installation directory
|
|
648
|
+
* @param {Object} spinner - Ora spinner instance
|
|
649
|
+
* @returns {Promise<number>} Number of files copied
|
|
650
|
+
*/
|
|
651
|
+
async function copyBmadConfigFiles(targetDir, spinner) {
|
|
652
|
+
spinner.start('Installing BMAD config files...');
|
|
653
|
+
const srcConfigDir = path.join(__dirname, '..', '.claude', 'config');
|
|
654
|
+
const destConfigDir = path.join(targetDir, '.claude', 'config');
|
|
655
|
+
|
|
656
|
+
await fs.mkdir(destConfigDir, { recursive: true });
|
|
657
|
+
|
|
658
|
+
let fileCount = 0;
|
|
659
|
+
|
|
660
|
+
// Copy bmad-voices.md if it exists
|
|
661
|
+
const bmadVoicesFile = 'bmad-voices.md';
|
|
662
|
+
const srcPath = path.join(srcConfigDir, bmadVoicesFile);
|
|
663
|
+
|
|
664
|
+
try {
|
|
665
|
+
await fs.access(srcPath);
|
|
666
|
+
const destPath = path.join(destConfigDir, bmadVoicesFile);
|
|
667
|
+
await fs.copyFile(srcPath, destPath);
|
|
668
|
+
console.log(chalk.gray(` ✓ ${bmadVoicesFile}`));
|
|
669
|
+
fileCount++;
|
|
670
|
+
spinner.succeed(chalk.green('Installed BMAD config files!\n'));
|
|
671
|
+
} catch (error) {
|
|
672
|
+
spinner.info(chalk.yellow('No BMAD config files found (optional)\n'));
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
return fileCount;
|
|
676
|
+
}
|
|
677
|
+
|
|
618
678
|
/**
|
|
619
679
|
* Configure SessionStart hook in settings.json
|
|
620
680
|
* @param {string} targetDir - Target installation directory
|
|
@@ -1091,6 +1151,12 @@ async function updateAgentVibes(targetDir, options) {
|
|
|
1091
1151
|
console.log(chalk.green(`✓ Updated ${pluginFileCount} BMAD plugin files`));
|
|
1092
1152
|
}
|
|
1093
1153
|
|
|
1154
|
+
// Update BMAD config files
|
|
1155
|
+
const bmadConfigFileCount = await copyBmadConfigFiles(targetDir, { start: () => {}, succeed: () => {}, info: () => {}, fail: () => {} });
|
|
1156
|
+
if (bmadConfigFileCount > 0) {
|
|
1157
|
+
console.log(chalk.green(`✓ Updated ${bmadConfigFileCount} BMAD config files`));
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1094
1160
|
// Update settings.json
|
|
1095
1161
|
spinner.text = 'Updating AgentVibes hook configuration...';
|
|
1096
1162
|
await configureSessionStartHook(targetDir, { start: () => {}, succeed: () => {}, info: () => {}, fail: () => {} });
|
|
@@ -1247,7 +1313,9 @@ async function install(options = {}) {
|
|
|
1247
1313
|
const commandFileCount = await copyCommandFiles(targetDir, spinner);
|
|
1248
1314
|
const hookFileCount = await copyHookFiles(targetDir, spinner);
|
|
1249
1315
|
const personalityFileCount = await copyPersonalityFiles(targetDir, spinner);
|
|
1316
|
+
const outputStyleCount = await copyOutputStyles(targetDir, spinner);
|
|
1250
1317
|
const pluginFileCount = await copyPluginFiles(targetDir, spinner);
|
|
1318
|
+
const bmadConfigFileCount = await copyBmadConfigFiles(targetDir, spinner);
|
|
1251
1319
|
|
|
1252
1320
|
// Configure hooks and manifests
|
|
1253
1321
|
await configureSessionStartHook(targetDir, spinner);
|
|
@@ -1275,9 +1343,13 @@ async function install(options = {}) {
|
|
|
1275
1343
|
console.log(chalk.white(` • ${commandFileCount} slash commands installed`));
|
|
1276
1344
|
console.log(chalk.white(` • ${hookFileCount} TTS scripts installed`));
|
|
1277
1345
|
console.log(chalk.white(` • ${personalityFileCount} personality templates installed`));
|
|
1346
|
+
console.log(chalk.white(` • ${outputStyleCount} output styles installed`));
|
|
1278
1347
|
if (pluginFileCount > 0) {
|
|
1279
1348
|
console.log(chalk.white(` • ${pluginFileCount} BMAD plugin files installed`));
|
|
1280
1349
|
}
|
|
1350
|
+
if (bmadConfigFileCount > 0) {
|
|
1351
|
+
console.log(chalk.white(` • ${bmadConfigFileCount} BMAD config files installed`));
|
|
1352
|
+
}
|
|
1281
1353
|
console.log(chalk.white(` • Voice manager ready`));
|
|
1282
1354
|
|
|
1283
1355
|
if (selectedProvider === 'elevenlabs') {
|
package/test-bmad-pr.sh
CHANGED
|
@@ -216,7 +216,7 @@ echo ""
|
|
|
216
216
|
|
|
217
217
|
# Step 1: Clone repository
|
|
218
218
|
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
|
219
|
-
echo "📥 Step 1/
|
|
219
|
+
echo "📥 Step 1/6: Cloning repository"
|
|
220
220
|
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
|
221
221
|
echo ""
|
|
222
222
|
mkdir -p "$TEST_DIR"
|
|
@@ -229,7 +229,7 @@ echo ""
|
|
|
229
229
|
|
|
230
230
|
# Step 2: Checkout branch (different logic for PR vs fork)
|
|
231
231
|
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
|
232
|
-
echo "🔀 Step 2/
|
|
232
|
+
echo "🔀 Step 2/6: Checking out branch"
|
|
233
233
|
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
|
234
234
|
echo ""
|
|
235
235
|
|
|
@@ -251,7 +251,7 @@ echo ""
|
|
|
251
251
|
|
|
252
252
|
# Step 3: Install BMAD CLI
|
|
253
253
|
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
|
254
|
-
echo "📦 Step 3/
|
|
254
|
+
echo "📦 Step 3/6: Installing BMAD CLI"
|
|
255
255
|
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
|
256
256
|
echo ""
|
|
257
257
|
cd tools/cli
|
|
@@ -263,7 +263,7 @@ echo ""
|
|
|
263
263
|
|
|
264
264
|
# Step 4: Create test project
|
|
265
265
|
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
|
266
|
-
echo "📁 Step 4/
|
|
266
|
+
echo "📁 Step 4/6: Creating test project"
|
|
267
267
|
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
|
268
268
|
echo ""
|
|
269
269
|
cd "$TEST_DIR"
|
|
@@ -273,41 +273,30 @@ echo -e "${GREEN}✓ Test project directory created${NC}"
|
|
|
273
273
|
echo " Location: $TEST_DIR/bmad-project"
|
|
274
274
|
echo ""
|
|
275
275
|
|
|
276
|
-
# Step 5: Run BMAD installer
|
|
276
|
+
# Step 5: Run BMAD installer (includes AgentVibes setup)
|
|
277
277
|
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
|
278
|
-
echo "⚙️ Step 5/
|
|
278
|
+
echo "⚙️ Step 5/6: Running BMAD installer with AgentVibes"
|
|
279
279
|
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
|
280
280
|
echo ""
|
|
281
|
-
echo -e "${YELLOW}Important:
|
|
282
|
-
echo -e "
|
|
283
|
-
echo -e "
|
|
281
|
+
echo -e "${YELLOW}Important: The BMAD installer will prompt for:${NC}"
|
|
282
|
+
echo -e " 1. ${CYAN}Enable TTS for agents?${NC} → ${GREEN}Yes${NC}"
|
|
283
|
+
echo -e " 2. ${CYAN}Assign unique voices for party mode?${NC} → ${GREEN}Yes${NC}"
|
|
284
284
|
echo ""
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
echo ""
|
|
289
|
-
echo -e "${GREEN}✓ BMAD installation complete${NC}"
|
|
290
|
-
echo ""
|
|
291
|
-
|
|
292
|
-
# Step 6: Install AgentVibes
|
|
293
|
-
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
|
294
|
-
echo "🎙️ Step 6/7: Installing AgentVibes"
|
|
295
|
-
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
|
296
|
-
echo ""
|
|
297
|
-
echo -e "${YELLOW}Recommended: Choose Piper (free) for testing${NC}"
|
|
285
|
+
echo -e "${YELLOW}Then AgentVibes installer will start automatically.${NC}"
|
|
286
|
+
echo -e "${YELLOW}Recommended TTS settings:${NC}"
|
|
298
287
|
echo -e " • Provider: ${GREEN}Piper${NC} (free, local TTS)"
|
|
299
288
|
echo -e " • Download voices: ${GREEN}Yes${NC}"
|
|
300
289
|
echo ""
|
|
301
|
-
read -p "Press Enter to start
|
|
302
|
-
|
|
290
|
+
read -p "Press Enter to start BMAD installer..."
|
|
291
|
+
bmad install
|
|
303
292
|
|
|
304
293
|
echo ""
|
|
305
|
-
echo -e "${GREEN}✓ AgentVibes installation complete${NC}"
|
|
294
|
+
echo -e "${GREEN}✓ BMAD and AgentVibes installation complete${NC}"
|
|
306
295
|
echo ""
|
|
307
296
|
|
|
308
|
-
# Step
|
|
297
|
+
# Step 6: Verification
|
|
309
298
|
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
|
310
|
-
echo "✅ Step
|
|
299
|
+
echo "✅ Step 6/6: Verifying installation"
|
|
311
300
|
echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━"
|
|
312
301
|
echo ""
|
|
313
302
|
|
|
@@ -371,8 +360,8 @@ echo ""
|
|
|
371
360
|
echo " 1. Navigate to test project:"
|
|
372
361
|
echo -e " ${GREEN}cd $TEST_DIR/bmad-project${NC}"
|
|
373
362
|
echo ""
|
|
374
|
-
echo " 2. Start Claude
|
|
375
|
-
echo -e " ${GREEN}claude
|
|
363
|
+
echo " 2. Start Claude session:"
|
|
364
|
+
echo -e " ${GREEN}claude${NC}"
|
|
376
365
|
echo ""
|
|
377
366
|
echo " 3. Test party mode:"
|
|
378
367
|
echo -e " ${GREEN}/bmad:core:workflows:party-mode${NC}"
|