@@ -243,8 +243,9 @@ export default class JarvisExtension extends Extension {
|
||||
const voice = status.voice;
|
||||
this._eachView((view) => view.setConnectionStatus(voice ? 'local' : 'voice-unavailable'));
|
||||
if (voice) {
|
||||
const input = voice.asr && voice.capture;
|
||||
this._eachView((view) => view.setVoiceStatus({ tts: voice.tts, input, wake: voice.wake }));
|
||||
const input = Boolean(voice.capture);
|
||||
const tts = Boolean(voice.tts || voice.speech);
|
||||
this._eachView((view) => view.setVoiceStatus({ tts, input, wake: voice.wake }));
|
||||
}
|
||||
} catch { this._eachView((view) => view.setConnectionStatus('voice-unavailable')); }
|
||||
}
|
||||
|
||||
@@ -481,9 +481,9 @@
|
||||
"key": "wakeCommand",
|
||||
"title": "Wake detector command",
|
||||
"group": "Wake and privacy",
|
||||
"default": "",
|
||||
"default": "jarvis-wake-bridge",
|
||||
"type": "string",
|
||||
"description": "Advanced: local program that receives microphone audio. Leave empty to use Hold Talk.",
|
||||
"description": "Local program that receives microphone audio. jarvis-wake-bridge is the built-in CPU detector. Leave it unless you have openWakeWord or sherpa.",
|
||||
"aliases": [
|
||||
"wake_command"
|
||||
]
|
||||
@@ -524,6 +524,17 @@
|
||||
"max": 240,
|
||||
"step": 1
|
||||
},
|
||||
{
|
||||
"key": "freeVramOnIdle",
|
||||
"title": "Free GPU memory when idle",
|
||||
"group": "Wake and privacy",
|
||||
"default": true,
|
||||
"type": "boolean",
|
||||
"description": "Unload speech and chat models after the idle delay. Hey Jarvis stays ready on the CPU.",
|
||||
"aliases": [
|
||||
"free_vram_on_idle"
|
||||
]
|
||||
},
|
||||
{
|
||||
"key": "vadThreshold",
|
||||
"title": "Speech detection threshold",
|
||||
@@ -740,6 +751,32 @@
|
||||
"max": 20,
|
||||
"step": 1,
|
||||
"restart": true
|
||||
},
|
||||
{
|
||||
"key": "fsAccess",
|
||||
"title": "File access",
|
||||
"group": "Agent limits",
|
||||
"default": "workspace",
|
||||
"type": "choice",
|
||||
"description": "Requires restart. The agent still runs as your user account and asks before writing. Shell commands can already reach other paths.",
|
||||
"options": [
|
||||
{
|
||||
"value": "workspace",
|
||||
"label": "Jarvis workspace only"
|
||||
},
|
||||
{
|
||||
"value": "home",
|
||||
"label": "Home directory"
|
||||
},
|
||||
{
|
||||
"value": "filesystem",
|
||||
"label": "Entire filesystem"
|
||||
}
|
||||
],
|
||||
"aliases": [
|
||||
"fs_access"
|
||||
],
|
||||
"restart": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user