claude-voice 1.4.1 → 1.4.2

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.
@@ -48,7 +48,7 @@
48
48
  "enabled": true,
49
49
  "provider": "sherpa-onnx",
50
50
  "keyword": "jarvis",
51
- "sensitivity": 0.5,
51
+ "sensitivity": 1.0,
52
52
  "playSound": true,
53
53
  "keywords": {
54
54
  "jarvis": [
@@ -57,7 +57,13 @@
57
57
  "J AR VI S",
58
58
  "J A R VI S",
59
59
  "J A R V I S",
60
- "▁JA R V IS"
60
+ "▁JA R V IS",
61
+ "▁JAR VIS",
62
+ "JAR VIS",
63
+ "▁J AR VIS",
64
+ "J AR VIS",
65
+ "▁JAR V IS",
66
+ "JAR V IS"
61
67
  ],
62
68
  "claude": [
63
69
  "▁C L A U DE",
@@ -124,8 +130,8 @@
124
130
  "recording": {
125
131
  "sampleRate": 16000,
126
132
  "channels": 1,
127
- "silenceThreshold": 2500,
128
- "silenceAmplitude": 500,
133
+ "silenceThreshold": 3500,
134
+ "silenceAmplitude": 300,
129
135
  "maxDuration": 60000
130
136
  },
131
137
  "server": {
@@ -172,10 +172,14 @@ async function main() {
172
172
  const wakeWordEnabled = config.wakeWord?.enabled !== false;
173
173
  const keyword = config.wakeWord?.keyword || 'jarvis';
174
174
  const capitalizedKeyword = keyword.charAt(0).toUpperCase() + keyword.slice(1);
175
+ const wakeWordProvider = config.wakeWord?.provider || 'sherpa-onnx';
176
+ const picovoiceTip = wakeWordProvider === 'sherpa-onnx'
177
+ ? ' Tip: For better wake word detection, use Picovoice (free API key at picovoice.ai).'
178
+ : '';
175
179
 
176
180
  if (isRunning) {
177
181
  if (wakeWordEnabled) {
178
- additionalContext = `[Voice Extension] Voice interface active. Say "${capitalizedKeyword}" to start speaking.`;
182
+ additionalContext = `[Voice Extension] Voice interface active. Say "${capitalizedKeyword}" to start speaking.${picovoiceTip}`;
179
183
  } else {
180
184
  additionalContext = '[Voice Extension] Voice interface active.';
181
185
  }
@@ -184,7 +188,7 @@ async function main() {
184
188
  const started = await startDaemon();
185
189
  if (started) {
186
190
  if (wakeWordEnabled) {
187
- additionalContext = `[Voice Extension] Voice interface started. Say "${capitalizedKeyword}" to start speaking.`;
191
+ additionalContext = `[Voice Extension] Voice interface started. Say "${capitalizedKeyword}" to start speaking.${picovoiceTip}`;
188
192
  } else {
189
193
  additionalContext = '[Voice Extension] Voice interface started.';
190
194
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-voice",
3
- "version": "1.4.1",
3
+ "version": "1.4.2",
4
4
  "description": "Voice interface extension for Claude Code - TTS, STT, and wake word detection",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",