⛰️ LifeOS — The AI-powered Life Operating System that helps you hill climb to wherever you're going.
fix(pai-voice-system): v1.0.1 - Documentation fixes for file references
Daniel Miessler368b8569fff2
diff --git a/Packs/pai-voice-system/INSTALL.md b/Packs/pai-voice-system/INSTALL.mdindex 75e663b4..e25a641f 100644--- a/Packs/pai-voice-system/INSTALL.md+++ b/Packs/pai-voice-system/INSTALL.md@@ -235,24 +235,21 @@ PAI_DIR="${PAI_DIR:-$HOME/.claude}"# Copy voice servercp "$PACK_DIR/src/voice/server.ts" "$PAI_DIR/VoiceServer/"-cp "$PACK_DIR/src/voice/voices.json" "$PAI_DIR/VoiceServer/"-# Copy management scripts+# Copy voice personalities configuration+cp "$PACK_DIR/config/voice-personalities.json" "$PAI_DIR/VoiceServer/"++# Copy management scriptcp "$PACK_DIR/src/voice/manage.sh" "$PAI_DIR/VoiceServer/"-cp "$PACK_DIR/src/voice/start.sh" "$PAI_DIR/VoiceServer/"-cp "$PACK_DIR/src/voice/stop.sh" "$PAI_DIR/VoiceServer/"-cp "$PACK_DIR/src/voice/restart.sh" "$PAI_DIR/VoiceServer/"-cp "$PACK_DIR/src/voice/status.sh" "$PAI_DIR/VoiceServer/"# Make scripts executablechmod +x "$PAI_DIR/VoiceServer/"*.sh```**Files copied:**-- `server.ts` - ElevenLabs TTS HTTP server-- `voices.json` - Agent voice configurations-- `manage.sh` - Start/stop/restart/status management-- `start.sh`, `stop.sh`, `restart.sh`, `status.sh` - Individual control scripts+- `server.ts` - ElevenLabs TTS HTTP server (port 8888)+- `voice-personalities.json` - Agent voice configurations with stability/similarity settings+- `manage.sh` - Unified management script (start/stop/restart/status/test)**Mark todo as completed.**@@ -384,7 +381,7 @@ echo "=== PAI Voice System Verification ==="# Check VoiceServer filesecho "Checking VoiceServer files..."[ -f "$PAI_DIR/VoiceServer/server.ts" ] && echo "✓ server.ts" || echo "❌ server.ts missing"-[ -f "$PAI_DIR/VoiceServer/voices.json" ] && echo "✓ voices.json" || echo "❌ voices.json missing"+[ -f "$PAI_DIR/VoiceServer/voice-personalities.json" ] && echo "✓ voice-personalities.json" || echo "❌ voice-personalities.json missing"[ -x "$PAI_DIR/VoiceServer/manage.sh" ] && echo "✓ manage.sh (executable)" || echo "❌ manage.sh not executable"# Check hook files@@ -542,16 +539,12 @@ afplay /System/Library/Sounds/Ping.aiff| File | Purpose ||------|---------|-| `VoiceServer/server.ts` | ElevenLabs TTS HTTP server |-| `VoiceServer/voices.json` | Agent voice configurations |-| `VoiceServer/manage.sh` | Start/stop/restart/status script |-| `VoiceServer/start.sh` | Start voice server |-| `VoiceServer/stop.sh` | Stop voice server |-| `VoiceServer/restart.sh` | Restart voice server |-| `VoiceServer/status.sh` | Check server status |+| `VoiceServer/server.ts` | ElevenLabs TTS HTTP server (port 8888) |+| `VoiceServer/voice-personalities.json` | Agent voice configurations with stability/similarity settings |+| `VoiceServer/manage.sh` | Unified management script (start/stop/restart/status/test) || `hooks/stop-hook-voice.ts` | Session stop voice hook || `hooks/subagent-stop-hook-voice.ts` | Subagent stop voice hook |-| `hooks/lib/prosody-enhancer.ts` | SSML prosody enhancement |+| `hooks/lib/prosody-enhancer.ts` | Prosody enhancement with 13 emotional markers |---@@ -608,7 +601,7 @@ curl -X POST http://localhost:8888/notify \## Voice Personalities-The voice system supports multiple agent voices via `voices.json`:+The voice system supports multiple agent voices via `voice-personalities.json`:| Agent | Voice Style ||-------|-------------|@@ -617,7 +610,7 @@ The voice system supports multiple agent voices via `voices.json`:| Architect | Measured, thoughtful pace || Engineer | Clear, technical tone |-Configure voices in `$PAI_DIR/VoiceServer/voices.json`.+Configure voices in `$PAI_DIR/VoiceServer/voice-personalities.json`.---diff --git a/Packs/pai-voice-system/README.md b/Packs/pai-voice-system/README.mdindex ec8f9e0c..cccd7aef 100644--- a/Packs/pai-voice-system/README.md+++ b/Packs/pai-voice-system/README.md@@ -1,7 +1,7 @@---name: PAI Voice System-pack-id: danielmiessler-pai-voice-system-v1.0.0-version: 1.0.0+pack-id: danielmiessler-pai-voice-system-v1.0.1+version: 1.0.1author: danielmiesslerdescription: Voice notification system with ElevenLabs TTS, prosody enhancement for natural speech, and agent personality-driven voice deliverytype: feature@@ -195,6 +195,13 @@ Configure multiple voices in `voice-personalities.json` for multi-agent conversa## Changelog+### 1.0.1 - 2026-01-09+- **Documentation fixes**: INSTALL.md and VERIFY.md now correctly reference actual files+- Fixed: References to non-existent `start.sh`, `stop.sh`, `restart.sh`, `status.sh` → use `manage.sh`+- Fixed: `voices.json` → `voice-personalities.json`+- Fixed: `voice-server/` → `VoiceServer/` directory paths+- Clarified: Full voice server IS included at `src/voice/server.ts` (553 lines)+### 1.0.0 - 2026-01-08- Initial release with complete voice server implementation- ElevenLabs TTS voice server (`src/voice/server.ts`)diff --git a/Packs/pai-voice-system/VERIFY.md b/Packs/pai-voice-system/VERIFY.mdindex e44edba8..ce43e8a4 100644--- a/Packs/pai-voice-system/VERIFY.md+++ b/Packs/pai-voice-system/VERIFY.md@@ -7,15 +7,16 @@### Directory Structure- [ ] `$PAI_DIR/hooks/lib/` directory exists-- [ ] `$PAI_DIR/voice-server/` directory exists+- [ ] `$PAI_DIR/VoiceServer/` directory exists### Core Files- [ ] `$PAI_DIR/hooks/lib/prosody-enhancer.ts` exists- [ ] `$PAI_DIR/hooks/stop-hook-voice.ts` exists- [ ] `$PAI_DIR/hooks/subagent-stop-hook-voice.ts` exists-- [ ] `$PAI_DIR/voice-server/server.ts` exists-- [ ] `$PAI_DIR/voice-server/manage.sh` exists+- [ ] `$PAI_DIR/VoiceServer/server.ts` exists+- [ ] `$PAI_DIR/VoiceServer/manage.sh` exists+- [ ] `$PAI_DIR/VoiceServer/voice-personalities.json` exists### Configuration@@ -39,7 +40,7 @@ PAI_CHECK="${PAI_DIR:-$HOME/.config/pai}"ls -la $PAI_CHECK/hooks/lib/# Expected: prosody-enhancer.ts-ls -la $PAI_CHECK/voice-server/+ls -la $PAI_CHECK/VoiceServer/# Expected: server.ts, manage.shls -la $PAI_CHECK/hooks/@@ -81,7 +82,7 @@ grep -A5 "stop-hook-voice" ~/.claude/settings.json### Test 6: Test Management Script```bash-$PAI_DIR/voice-server/manage.sh status+$PAI_DIR/VoiceServer/manage.sh status# Expected: Shows server running status```@@ -107,13 +108,13 @@ In a Claude Code session:```bash# Stop the voice server-$PAI_DIR/voice-server/manage.sh stop+$PAI_DIR/VoiceServer/manage.sh stop# In Claude Code, complete a task# Should complete without errors (silent, no crash)# Restart voice server-$PAI_DIR/voice-server/manage.sh start+$PAI_DIR/VoiceServer/manage.sh start```---@@ -129,7 +130,7 @@ echo ""# Check filesecho "📁 Files:"-for file in "hooks/lib/prosody-enhancer.ts" "hooks/stop-hook-voice.ts" "hooks/subagent-stop-hook-voice.ts" "voice-server/server.ts" "voice-server/manage.sh"; do+for file in "hooks/lib/prosody-enhancer.ts" "hooks/stop-hook-voice.ts" "hooks/subagent-stop-hook-voice.ts" "VoiceServer/server.ts" "VoiceServer/manage.sh"; doif [ -f "$PAI_CHECK/$file" ]; thenecho " ✓ $file"else