Run daemon on packaged Bare runtime
Rolling release / release (push) Canceled after 14m9s
CI / verify (push) Canceled after 14m18s

This commit is contained in:
2026-09-11 15:52:53 -04:00
parent 562f1a6316
commit a3314db1e9
30 changed files with 2953 additions and 65 deletions
+9 -1
View File
@@ -74,7 +74,15 @@ async function ensureInit() {
paths.ensureQvacRoot();
let mod;
try {
mod = await import('@qvac/sdk');
if (typeof Bare !== 'undefined') {
// @qvac/sdk's Bare RPC client is intentionally a stub. Bare hosts use
// the in-process inference surface and register the engines they own.
mod = await import('@qvac/inference');
const { llmPlugin } = await import('@qvac/inference/llamacpp-completion/plugin');
mod.registerPlugin(llmPlugin);
} else {
mod = await import('@qvac/sdk');
}
} catch (err) {
initError = flattenError(err);
log('sdk import failed: ' + initError);