@protolabsai/proto 0.15.0 → 0.16.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.
- package/README.md +34 -2
- package/cli.js +7504 -9521
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -311,9 +311,41 @@ Use `/skills` to list available skills in a session.
|
|
|
311
311
|
| `Ctrl+D` | Exit (on empty line) |
|
|
312
312
|
| `Up/Down` | Navigate command history |
|
|
313
313
|
|
|
314
|
-
##
|
|
314
|
+
## Voice Integration
|
|
315
315
|
|
|
316
|
-
proto
|
|
316
|
+
proto supports push-to-talk voice input. Press the mic button in the footer or use `/voice` to toggle.
|
|
317
|
+
|
|
318
|
+
### Requirements
|
|
319
|
+
|
|
320
|
+
Voice capture requires a system audio backend:
|
|
321
|
+
|
|
322
|
+
| OS | Backend | Install |
|
|
323
|
+
| ----- | ------- | ------------------------------------- |
|
|
324
|
+
| macOS | sox | `brew install sox` |
|
|
325
|
+
| Linux | sox | `apt install sox` / `dnf install sox` |
|
|
326
|
+
| Linux | arecord | `apt install alsa-utils` (fallback) |
|
|
327
|
+
|
|
328
|
+
Verify detection: `/voice status`
|
|
329
|
+
|
|
330
|
+
### STT backend
|
|
331
|
+
|
|
332
|
+
Voice input transcribes audio via a Whisper-compatible `/v1/audio/transcriptions` endpoint. Self-host one (e.g. [faster-whisper-server](https://github.com/fedirz/faster-whisper-server)):
|
|
333
|
+
|
|
334
|
+
```bash
|
|
335
|
+
docker run --gpus all -p 8000:8000 fedirz/faster-whisper-server:latest-cuda
|
|
336
|
+
```
|
|
337
|
+
|
|
338
|
+
```json
|
|
339
|
+
// ~/.proto/settings.json
|
|
340
|
+
{
|
|
341
|
+
"voice": {
|
|
342
|
+
"enabled": true,
|
|
343
|
+
"sttEndpoint": "http://localhost:8000/v1/audio/transcriptions"
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
```
|
|
347
|
+
|
|
348
|
+
The default endpoint is `http://localhost:8000/v1/audio/transcriptions` if none is configured.
|
|
317
349
|
|
|
318
350
|
## Architecture
|
|
319
351
|
|