This commit is contained in:
2026-09-11 14:09:04 -04:00
parent 68d7a40605
commit 5c6c94713a
16 changed files with 539 additions and 16 deletions
+14
View File
@@ -0,0 +1,14 @@
import { spawnSync } from 'node:child_process';
const commandAvailable = (command) => spawnSync('which', [command], { stdio: 'ignore' }).status === 0;
const report = {
pipewireCapture: commandAvailable('pw-cat'),
wakeEngine: Boolean(process.env.JARVIS_WAKE_COMMAND),
wakeCommand: process.env.JARVIS_WAKE_COMMAND || null,
sampleRate: 16000,
channels: 1,
ttsPlayback: commandAvailable('pw-cat'),
gpuRequired: true,
};
console.log(JSON.stringify(report, null, 2));
if (!report.pipewireCapture) process.exitCode = 1;