claude-phone-local 2.0.11 → 2.0.12
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/cli/lib/network.js
CHANGED
|
@@ -120,7 +120,7 @@ export async function checkClaudeApiServer(url) {
|
|
|
120
120
|
* @param {number} [opts.intervalMs=1000] - Poll interval
|
|
121
121
|
* @returns {Promise<{ready: boolean, timedOut: boolean}>}
|
|
122
122
|
*/
|
|
123
|
-
export async function waitForVoiceAppReady(url, { timeoutMs =
|
|
123
|
+
export async function waitForVoiceAppReady(url, { timeoutMs = 60000, intervalMs = 1000 } = {}) {
|
|
124
124
|
const deadline = Date.now() + timeoutMs;
|
|
125
125
|
|
|
126
126
|
while (Date.now() < deadline) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-phone-local",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.12",
|
|
4
4
|
"description": "Local/offline fork of NetworkChuck's claude-phone: talk to Claude Code over 3CX/SIP with faster-whisper STT + Piper TTS in one Docker container.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -22,7 +22,7 @@ const AUDIO_WS_HOST = new URL(AUDIO_BASE_URL).hostname;
|
|
|
22
22
|
// Audio cue URLs
|
|
23
23
|
const READY_BEEP_URL = `${AUDIO_BASE_URL}/static/ready-beep.wav`;
|
|
24
24
|
const GOTIT_BEEP_URL = `${AUDIO_BASE_URL}/static/gotit-beep.wav`;
|
|
25
|
-
const HOLD_MUSIC_URL = `${AUDIO_BASE_URL}/static/hold-music.
|
|
25
|
+
const HOLD_MUSIC_URL = `${AUDIO_BASE_URL}/static/hold-music.wav`;
|
|
26
26
|
|
|
27
27
|
// Claude Code-style thinking phrases
|
|
28
28
|
const THINKING_PHRASES = [
|