Skip to content

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++

desktop: ship the staged Harness as resources/harness (built by stage-harness.mjs)

Niko1221945971648a23
diff --git a/.gitignore b/.gitignore
index 2de9d26c7..90bec59ad 100644
--- a/.gitignore
+++ b/.gitignore
@@ -78,6 +78,9 @@ node_modules/
# the Control component (bundled CPython + wheels + strata_control) is built by apps/desktop/scripts/stage-control.py
/apps/desktop/src-tauri/resources/control/*
!/apps/desktop/src-tauri/resources/control/.gitignore
+# the pruned DeepSeek Harness (MIT) is built by apps/desktop/scripts/stage-harness.mjs
+/apps/desktop/src-tauri/resources/harness/*
+!/apps/desktop/src-tauri/resources/harness/.gitignore
# screenshots and checkpoints from the Mac rebuild live outside git (StrataSplit\evidence-archive)
/apps/host/docs/evidence/
/apps/host/docs/checkpoints/
diff --git a/apps/desktop/src-tauri/resources/harness/.gitignore b/apps/desktop/src-tauri/resources/harness/.gitignore
new file mode 100644
index 000000000..629d28795
--- /dev/null
+++ b/apps/desktop/src-tauri/resources/harness/.gitignore
@@ -0,0 +1,3 @@
+# built by apps/desktop/scripts/stage-harness.mjs, never committed
+*
+!.gitignore
diff --git a/apps/desktop/src-tauri/tauri.conf.json b/apps/desktop/src-tauri/tauri.conf.json
index 0977bf52f..473eeeab3 100644
--- a/apps/desktop/src-tauri/tauri.conf.json
+++ b/apps/desktop/src-tauri/tauri.conf.json
@@ -34,7 +34,8 @@
"../../host/server": "host/server",
"../../host/package.json": "host/package.json",
"resources/node": "node",
- "resources/control": "control"
+ "resources/control": "control",
+ "resources/harness": "harness"
},
"macOS": {
"minimumSystemVersion": "11.0",
diff --git a/apps/host/tests/helpers/scripted-worker.mjs b/apps/host/tests/helpers/scripted-worker.mjs
index 9515fad54..c94af3ede 100644
--- a/apps/host/tests/helpers/scripted-worker.mjs
+++ b/apps/host/tests/helpers/scripted-worker.mjs
@@ -60,6 +60,8 @@ export async function startScriptedWorker({ port = 0, chunkDelayMs = 40, model =
requests.push({
at: Date.now(), model: body.model, stream: body.stream === true,
toolNames: (body.tools ?? []).map(t => t.function?.name),
+ // everything the client sent besides the conversation (sampling, limits, stream options)
+ params: Object.fromEntries(Object.entries(body).filter(([k]) => !['messages', 'tools', 'model'].includes(k))),
lastRole: last.role, directive: directive?.[1] ?? null, messageCount: messages.length,
authorization: req.headers.authorization ? 'present' : 'absent',
authSha: req.headers.authorization ? createHash('sha256').update(req.headers.authorization).digest('hex') : null,