pi-voicekit 0.1.0

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.
Files changed (34) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +341 -0
  3. package/extensions/voice/config.ts +395 -0
  4. package/extensions/voice/deepgram.ts +33 -0
  5. package/extensions/voice/device.ts +382 -0
  6. package/extensions/voice/hold-to-talk.ts +69 -0
  7. package/extensions/voice/local.ts +1143 -0
  8. package/extensions/voice/model-download.ts +636 -0
  9. package/extensions/voice/onboarding.ts +739 -0
  10. package/extensions/voice/release-controller.ts +55 -0
  11. package/extensions/voice/settings-panel.ts +1602 -0
  12. package/extensions/voice/sherpa-engine.ts +464 -0
  13. package/extensions/voice/sherpa-loader.ts +143 -0
  14. package/extensions/voice/sherpa-onnx-node.d.ts +4 -0
  15. package/extensions/voice/speak.ts +430 -0
  16. package/extensions/voice/tts-deepgram.ts +454 -0
  17. package/extensions/voice/tts-engine.ts +653 -0
  18. package/extensions/voice/tts-install-progress.ts +257 -0
  19. package/extensions/voice/tts-local-models.ts +1255 -0
  20. package/extensions/voice/tts-onboarding-overlay.ts +186 -0
  21. package/extensions/voice/tts-onboarding.ts +87 -0
  22. package/extensions/voice/tts-playback-indicator.ts +127 -0
  23. package/extensions/voice/tts-playback.ts +675 -0
  24. package/extensions/voice/tts-text-filter.ts +404 -0
  25. package/extensions/voice/ui-aura.ts +272 -0
  26. package/extensions/voice/ui-help-overlay.ts +161 -0
  27. package/extensions/voice/ui-icons.ts +124 -0
  28. package/extensions/voice/ui-locale-labels.ts +110 -0
  29. package/extensions/voice/ui-picker.ts +209 -0
  30. package/extensions/voice/ui-render-ticker.ts +171 -0
  31. package/extensions/voice/ui-widget-base.ts +219 -0
  32. package/extensions/voice/ui-width.ts +112 -0
  33. package/extensions/voice.ts +3644 -0
  34. package/package.json +75 -0
package/package.json ADDED
@@ -0,0 +1,75 @@
1
+ {
2
+ "name": "pi-voicekit",
3
+ "version": "0.1.0",
4
+ "description": "Voice in + voice out for Pi CLI — hold-to-talk STT (Deepgram or 19 offline models) plus TTS (Kitten Nano, Piper, Kokoro, or Deepgram Aura)",
5
+ "type": "module",
6
+ "keywords": [
7
+ "pi-package",
8
+ "pi",
9
+ "pi-extension",
10
+ "voice",
11
+ "speech-to-text",
12
+ "stt",
13
+ "deepgram",
14
+ "nova-3",
15
+ "hold-to-talk",
16
+ "voice-input",
17
+ "transcription",
18
+ "streaming",
19
+ "dictation",
20
+ "waveform",
21
+ "terminal",
22
+ "cli",
23
+ "coding-agent",
24
+ "tts",
25
+ "text-to-speech",
26
+ "kitten-tts",
27
+ "piper-tts",
28
+ "kokoro",
29
+ "deepgram-tts",
30
+ "aura"
31
+ ],
32
+ "author": {
33
+ "name": "codexstar69",
34
+ "url": "https://x.com/baanditeagle"
35
+ },
36
+ "license": "MIT",
37
+ "homepage": "https://github.com/CyFeng16/pi-voicekit#readme",
38
+ "repository": {
39
+ "type": "git",
40
+ "url": "https://github.com/CyFeng16/pi-voicekit.git"
41
+ },
42
+ "bugs": {
43
+ "url": "https://github.com/CyFeng16/pi-voicekit/issues"
44
+ },
45
+ "scripts": {
46
+ "typecheck": "bunx tsc -p tsconfig.json",
47
+ "test": "bun test",
48
+ "check": "bun run typecheck && bun run test",
49
+ "release:dry": "bun run check && bun publish --dry-run",
50
+ "release": "bun run check && bun publish --access public"
51
+ },
52
+ "peerDependencies": {
53
+ "@earendil-works/pi-coding-agent": "*",
54
+ "@earendil-works/pi-tui": "*"
55
+ },
56
+ "devDependencies": {
57
+ "@earendil-works/pi-coding-agent": "^0.85.0",
58
+ "@earendil-works/pi-tui": "^0.85.0",
59
+ "@types/ws": "^8"
60
+ },
61
+ "pi": {
62
+ "extensions": [
63
+ "./extensions/voice.ts"
64
+ ]
65
+ },
66
+ "files": [
67
+ "extensions",
68
+ "README.md",
69
+ "LICENSE",
70
+ "package.json"
71
+ ],
72
+ "optionalDependencies": {
73
+ "sherpa-onnx-node": "^1.13.0"
74
+ }
75
+ }