pi-voice 0.1.1 → 0.2.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.
package/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # pi-voice
2
2
 
3
- Voice interface for the [Pi Coding Agent](https://github.com/badlogic/pi-mono). Hold a key, speak, and pi executes your instructions with voice feedback.
3
+ Headless voice interface for the [Pi Coding Agent](https://github.com/badlogic/pi-mono). Hold a key, speak, and pi executes your instructions with voice feedback.
4
+
5
+ https://github.com/user-attachments/assets/06a0c56f-76bf-48cb-9de3-f9ca48a7245d
4
6
 
5
7
  ## Installation
6
8
 
@@ -60,6 +62,16 @@ You can configure pi-voice in `.pi/pi-voice.json`:
60
62
  | `gemini` | `GOOGLE_CLOUD_PROJECT`, `GOOGLE_CLOUD_LOCATION` (optional, default `us-central1`) |
61
63
  | `openai` | `OPENAI_API_KEY` |
62
64
 
65
+ #### Logging
66
+
67
+ The daemon writes structured JSON logs to both the console and a log file. The default log file path is `$XDG_CONFIG_HOME/pi-voice/daemon.log` (falls back to `~/.config/pi-voice/daemon.log`).
68
+
69
+ To override the log file path:
70
+
71
+ ```bash
72
+ export PI_VOICE_LOG_PATH=/path/to/custom.log
73
+ ```
74
+
63
75
  #### Whisper model (local provider)
64
76
 
65
77
  The `local` provider uses [Whisper](https://github.com/openai/whisper) for STT and the macOS `say` command for TTS. On first launch, a ggml-format Whisper model (`medium-q5_0`, ~514 MB) is automatically downloaded to `~/.pi-agent/whisper/` and cached for subsequent runs.