Files
gnome-jarvis/packaging/voice-runtime-smoke.js
T
snxraven 0d85553120
Rolling release / release (push) Successful in 7m31s
Updates
2026-09-11 19:39:24 -04:00

16 lines
734 B
JavaScript

import { qvacSdk } from '../daemon/qvac-master.js';
let sdk;
try {
sdk = await qvacSdk();
} catch (error) {
throw new Error(`Voice runtime could not initialize native QVAC plugins. Install libvulkan1 and a Vulkan driver on the build host. ${error.message}`, { cause: error });
}
for (const type of ['llamacpp-completion', 'whispercpp-transcription', 'tts-ggml']) {
if (!sdk.hasPlugin(type)) throw new Error(`Release is missing registered plugin: ${type}`);
}
for (const model of ['WHISPER_TINY', 'VAD_SILERO_5_1_2', 'TTS_EN_SUPERTONIC_Q8_0']) {
if (!sdk[model]) throw new Error(`Release is missing model asset: ${model}`);
}
console.log('Voice runtime: native ASR/TTS plugins and model registry verified');
await sdk.close();