agentvibes 1.0.21 → 1.0.22

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.20
12
+ **Author**: Paul Preibisch ([@997Fire](https://x.com/997Fire)) | **Version**: v1.0.21
13
13
 
14
14
  ---
15
15
 
@@ -43,7 +43,7 @@
43
43
 
44
44
  ## 📰 Latest Release
45
45
 
46
- **[v1.0.20 - Release Notes](https://github.com/paulpreibisch/AgentVibes/releases/tag/v1.0.20)** 🌍
46
+ **[v1.0.21 - Release Notes](https://github.com/paulpreibisch/AgentVibes/releases/tag/v1.0.21)** 🌍
47
47
 
48
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
 
package/RELEASE_NOTES.md CHANGED
@@ -56,12 +56,22 @@ try {
56
56
  - RELEASE_NOTES.md now serves as fallback documentation
57
57
  - Better user experience for npm package installations
58
58
 
59
+ ## 📝 Recent Commits
60
+
61
+ ```
62
+ 456abb0 docs: Update version to v1.0.21 [skip ci]
63
+ 3dfdcb5 fix: Include RELEASE_NOTES.md in npm package for installer fallback
64
+ 96f8a9b docs: Update README and RELEASE_NOTES to v1.0.20 [skip ci]
65
+ 5e2e3cc chore: Bump version to 1.0.20 for npm publish
66
+ 1636b14 feat: Show release notes from RELEASE_NOTES.md when git is unavailable
67
+ ```
68
+
59
69
  ## 📊 Release Stats
60
70
 
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
71
+ - **5 commits** since v1.0.19
72
+ - **3 files changed**: .npmignore, README.md, RELEASE_NOTES.md
73
+ - **10 insertions**, **4 deletions**
74
+ - **1 bug fix**: RELEASE_NOTES.md now included in npm package
65
75
  - **0 breaking changes**
66
76
 
67
77
  ## 🎯 User Experience Improvements
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.21",
4
+ "version": "1.0.22",
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",
package/src/installer.js CHANGED
@@ -278,26 +278,34 @@ async function install(options = {}) {
278
278
  const releaseNotesPath = path.join(__dirname, '..', 'RELEASE_NOTES.md');
279
279
  const releaseNotes = await fs.readFile(releaseNotesPath, 'utf8');
280
280
 
281
- // Extract latest release section (first release in the file)
281
+ // Extract commits from "Recent Commits" section
282
282
  const lines = releaseNotes.split('\n');
283
- const releaseHeader = lines.find(line => line.startsWith('# Release v'));
284
- const summaryIndex = lines.findIndex(line => line.includes('## 🤖 AI Summary'));
285
-
286
- if (releaseHeader && summaryIndex > 0) {
287
- // Get the summary paragraph (next non-empty line after AI Summary)
288
- let summaryText = '';
289
- for (let i = summaryIndex + 1; i < lines.length; i++) {
290
- const line = lines[i].trim();
291
- if (line && !line.startsWith('#')) {
292
- summaryText = line;
293
- break;
283
+ const commitsIndex = lines.findIndex(line => line.includes('## 📝 Recent Commits'));
284
+
285
+ if (commitsIndex >= 0) {
286
+ console.log(chalk.cyan('📝 Recent Changes:\n'));
287
+
288
+ // Find the code block with commits (between ``` markers)
289
+ let inCodeBlock = false;
290
+ for (let i = commitsIndex + 1; i < lines.length; i++) {
291
+ const line = lines[i];
292
+
293
+ if (line.trim() === '```') {
294
+ if (inCodeBlock) break; // End of code block
295
+ inCodeBlock = true;
296
+ continue;
294
297
  }
295
- }
296
298
 
297
- if (summaryText) {
298
- console.log(chalk.cyan(`📰 ${releaseHeader.replace('# ', '')}\n`));
299
- console.log(chalk.white(` ${summaryText}\n`));
299
+ if (inCodeBlock && line.trim()) {
300
+ // Parse commit line: "hash message"
301
+ const match = line.match(/^([a-f0-9]+)\s+(.+)$/);
302
+ if (match) {
303
+ const [, hash, message] = match;
304
+ console.log(chalk.gray(` ${hash}`) + ' ' + chalk.white(message));
305
+ }
306
+ }
300
307
  }
308
+ console.log();
301
309
  }
302
310
  } catch {
303
311
  // No release notes available
@@ -573,26 +581,34 @@ program
573
581
  const releaseNotesPath = path.join(__dirname, '..', 'RELEASE_NOTES.md');
574
582
  const releaseNotes = await fs.readFile(releaseNotesPath, 'utf8');
575
583
 
576
- // Extract latest release section (first release in the file)
584
+ // Extract commits from "Recent Commits" section
577
585
  const lines = releaseNotes.split('\n');
578
- const releaseHeader = lines.find(line => line.startsWith('# Release v'));
579
- const summaryIndex = lines.findIndex(line => line.includes('## 🤖 AI Summary'));
580
-
581
- if (releaseHeader && summaryIndex > 0) {
582
- // Get the summary paragraph (next non-empty line after AI Summary)
583
- let summaryText = '';
584
- for (let i = summaryIndex + 1; i < lines.length; i++) {
585
- const line = lines[i].trim();
586
- if (line && !line.startsWith('#')) {
587
- summaryText = line;
588
- break;
586
+ const commitsIndex = lines.findIndex(line => line.includes('## 📝 Recent Commits'));
587
+
588
+ if (commitsIndex >= 0) {
589
+ console.log(chalk.cyan('📝 Recent Changes:\n'));
590
+
591
+ // Find the code block with commits (between ``` markers)
592
+ let inCodeBlock = false;
593
+ for (let i = commitsIndex + 1; i < lines.length; i++) {
594
+ const line = lines[i];
595
+
596
+ if (line.trim() === '```') {
597
+ if (inCodeBlock) break; // End of code block
598
+ inCodeBlock = true;
599
+ continue;
589
600
  }
590
- }
591
601
 
592
- if (summaryText) {
593
- console.log(chalk.cyan(`📰 ${releaseHeader.replace('# ', '')}\n`));
594
- console.log(chalk.white(` ${summaryText}\n`));
602
+ if (inCodeBlock && line.trim()) {
603
+ // Parse commit line: "hash message"
604
+ const match = line.match(/^([a-f0-9]+)\s+(.+)$/);
605
+ if (match) {
606
+ const [, hash, message] = match;
607
+ console.log(chalk.gray(` ${hash}`) + ' ' + chalk.white(message));
608
+ }
609
+ }
595
610
  }
611
+ console.log();
596
612
  }
597
613
  } catch {
598
614
  // No release notes available