Loading...
Loading...
Upgrade Kokoro model, bot dependencies, or TTS components. TRIGGERS - upgrade kokoro, update model, upgrade bot, update dependencies, version bump, component update.
npx skill4agent add terrylica/cc-skills component-version-upgradePlatform: macOS (Apple Silicon)
tts_generate.pyuvbrew install uvmisefull-stack-bootstrap| Component | Command | What It Does |
|---|---|---|
| Kokoro TTS engine | | Upgrades Python deps, re-downloads model, updates version.json |
| Bot dependencies | | Updates Bun packages per package.json |
| tts_generate.py | Re-copy from plugin | Updates the TTS generation script |
| Bun runtime | | Updates the Bun version in mise.toml |
# Run health check to establish baseline
~/.local/share/kokoro/../../eon/cc-skills/plugins/tts-telegram-sync/scripts/kokoro-install.sh --health
# Record current versions
cat ~/.local/share/kokoro/version.json# Health check again
kokoro-install.sh --health
# Generate test audio to verify TTS still works
~/.local/share/kokoro/.venv/bin/python ~/.local/share/kokoro/tts_generate.py \
--text "Upgrade verification test" --voice af_heart --lang en-us --speed 1.0 \
--output /tmp/kokoro-tts-upgrade-test.wavpkill -f 'bun.*src/main.ts' || true
cd ~/.claude/automation/claude-telegram-sync && bun --watch run src/main.ts1. [Identify] Present upgradeable components via AskUserQuestion
2. [Preflight] Run health check on target component
3. [Backup] Note current versions (version.json, package.json)
4. [Upgrade] Execute upgrade command
5. [Verify] Run post-upgrade health check
6. [Test] Generate test audio to verify TTS still works
7. [Restart] Restart bot if needed
8. [Report] Show before/after versions| Problem | Likely Cause | Fix |
|---|---|---|
| Upgrade fails | No internet or PyPI issue | Check connectivity, retry |
| Model download slow | First-time ~400MB, subsequent cached | Wait for download to complete |
| Version mismatch | Stale version.json | Re-run |
| MPS unavailable after upgrade | torch version incompatibility | |
| Bot won't start after upgrade | Dependency conflict | |