Updates
Rolling release / release (push) Failing after 1m24s

This commit is contained in:
2026-09-11 19:36:12 -04:00
parent 7604cded2c
commit a78708f8ff
26 changed files with 298 additions and 59 deletions
+13
View File
@@ -0,0 +1,13 @@
import fs from 'node:fs';
import path from 'node:path';
import os from 'node:os';
export function voiceSettings() {
let config = {};
try { config = JSON.parse(fs.readFileSync(path.join(process.env.XDG_CONFIG_HOME || path.join(os.homedir(), '.config'), 'jarvis/config.json'), 'utf8')); } catch {}
return {
command: process.env.JARVIS_WAKE_COMMAND || config.wake_command || '',
phrases: [config.wake_phrase || 'hey jarvis', 'jarvis', 'okay jarvis'],
ttsEnabled: config.tts_enabled !== false,
};
}