@actrun_ai/tastekit-voice 0.1.0 → 0.1.1

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 (2) hide show
  1. package/README.md +53 -0
  2. package/package.json +2 -2
package/README.md ADDED
@@ -0,0 +1,53 @@
1
+ # @actrun_ai/tastekit-voice
2
+
3
+ Voice-based onboarding for [TasteKit](https://github.com/philipbankier/tastekit) — speak your preferences instead of typing them.
4
+
5
+ ## Providers
6
+
7
+ | Provider | Type | Requires |
8
+ |----------|------|----------|
9
+ | **ElevenLabs Scribe v2** | STT (cloud) | `ELEVENLABS_API_KEY` |
10
+ | **ElevenLabs Streaming** | TTS (cloud) | `ELEVENLABS_API_KEY` |
11
+ | **Whisper.cpp** | STT (local) | `whisper-cpp` binary |
12
+ | **Piper** | TTS (local) | `piper` binary |
13
+
14
+ Automatic 3-layer fallback: ElevenLabs → local binaries → text input.
15
+
16
+ ## Install
17
+
18
+ ```bash
19
+ npm install @actrun_ai/tastekit-voice
20
+ ```
21
+
22
+ ## Usage
23
+
24
+ ```bash
25
+ # Via CLI (automatically loads voice package)
26
+ tastekit onboard --voice
27
+ ```
28
+
29
+ ```typescript
30
+ // Programmatic
31
+ import { createVoiceIO } from '@actrun_ai/tastekit-voice';
32
+
33
+ const voiceIO = await createVoiceIO();
34
+ const input = await voiceIO.getUserInput(); // Records mic → STT
35
+ await voiceIO.onInterviewerMessage('Hello!'); // TTS → speaker
36
+ await voiceIO.dispose();
37
+ ```
38
+
39
+ ## Requirements
40
+
41
+ - **sox** — required for microphone recording (`brew install sox`)
42
+ - **ElevenLabs API key** — for cloud STT/TTS (optional, falls back to local)
43
+ - **whisper-cpp** — for local STT (optional)
44
+ - **piper** — for local TTS (optional)
45
+
46
+ ## Part of TasteKit
47
+
48
+ - CLI: [`@actrun_ai/tastekit-cli`](https://www.npmjs.com/package/@actrun_ai/tastekit-cli)
49
+ - Core: [`@actrun_ai/tastekit-core`](https://www.npmjs.com/package/@actrun_ai/tastekit-core)
50
+
51
+ ## License
52
+
53
+ MIT
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@actrun_ai/tastekit-voice",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Voice I/O layer for TasteKit onboarding — ElevenLabs, Whisper, Piper",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "author": "TasteKit Contributors",
8
8
  "repository": {
9
9
  "type": "git",
10
- "url": "https://github.com/tastekit/tastekit.git",
10
+ "url": "https://github.com/philipbankier/tastekit.git",
11
11
  "directory": "packages/voice"
12
12
  },
13
13
  "publishConfig": {