Qwen3.8-Flash-Next on any consumer hardware: one-click install for Windows / Linux. Strata inference engine, OpenAI/Anthropic API on localhost, optional image input.
C++
host: internal accessors for the agent bridge (connections with keys, ready instances)
Niko1221e4da5662729d
diff --git a/apps/host/server/model-providers.mjs b/apps/host/server/model-providers.mjsindex 6d281eeac..ce4208c53 100644--- a/apps/host/server/model-providers.mjs+++ b/apps/host/server/model-providers.mjs@@ -207,5 +207,7 @@ export function createModelProviders({ directory, changed = () => {}, fetchImplconst result = { tokensIn, tokensOut, usageSource: tokensIn !== null && tokensOut !== null ? 'reported' : 'unavailable', durationMs, ttftMs: firstToken, tps: tokensOut !== null ? tokensOut / Math.max(0.001, durationMs / 1000) : null };onFrame({ type: 'done', ...result }); return result;}- return { list, save, remove, discover, resolve, stream };+ /** Connections WITH their keys, for the host's own agent bridge only; never serialised to a client. */+ function withSecrets() { return connections.map(c => ({ ...c, models: c.models.map(m => ({ ...m })) })); }+ return { list, save, remove, discover, resolve, stream, withSecrets };}diff --git a/apps/host/server/native-control.mjs b/apps/host/server/native-control.mjsindex b1324424e..f5a0f5d8e 100644--- a/apps/host/server/native-control.mjs+++ b/apps/host/server/native-control.mjs@@ -147,5 +147,5 @@ export function createNativeControl({directory,requests=()=>[],changed=()=>{},spasync function close(){closing=true;clearInterval(timer);const operations=[];for(const job of jobs.values()){job.abort?.abort();if(job.process)operations.push(stopProcess(job.process));if(job.state==='running')job.state='cancelled';}await Promise.all(operations);await Promise.all([...instances.keys()].map(id=>unload(id,true)));disconnect();}// Remove nonserializable process references from public jobs.const publicState=()=>{const value=state();value.jobs=value.jobs.map(({process,...job})=>job);return value;};- return {state:publicState,refresh,configure,setDownloadDirectory,plan,settings,save,operation,cancel,unload,resolveInstance,poll,logs:()=>logs.slice(),benchmarkReport:()=>readJson(join(directory,'native-benchmark.json'),null),setDefault(id){defaultId=resolveInstance(id).id;emit();return publicState();},hasLive:()=>[...instances.values()].some(i=>i.status==='ready'),close};+ return {state:publicState,refresh,configure,setDownloadDirectory,plan,settings,save,operation,cancel,unload,resolveInstance,poll,logs:()=>logs.slice(),benchmarkReport:()=>readJson(join(directory,'native-benchmark.json'),null),setDefault(id){defaultId=resolveInstance(id).id;emit();return publicState();},hasLive:()=>[...instances.values()].some(i=>i.status==='ready'),readyInstances:()=>[...instances.values()].filter(i=>i.status==='ready'),close};}