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

stage-harness.mjs: the missing-imports message had raw line breaks inside a string (SyntaxError, no Harness could be staged on any OS)

Niko1221b2761df62648
diff --git a/apps/desktop/scripts/stage-harness.mjs b/apps/desktop/scripts/stage-harness.mjs
index 74d9b960b..747d64cca 100644
--- a/apps/desktop/scripts/stage-harness.mjs
+++ b/apps/desktop/scripts/stage-harness.mjs
@@ -164,9 +164,7 @@ if (keepIgnore) writeFileSync(join(out, '.gitignore'), keepIgnore);
// --- proof 1: nothing the Harness imports by name was pruned ------------------------------------------------------------
// (2026-10-17: the other-OS rule once removed @deepseek-ai/dsh-win32-process, which every platform imports; Linux/Mac agent chats died.)
const lost = missingHarnessImports(out);
-if (lost.length) { console.error('staged Harness is missing imported packages:
-' + lost.map(l => ` ${l.from} -> ${l.missing}`).join('
-')); process.exit(1); }
+if (lost.length) { console.error('staged Harness is missing imported packages:' + String.fromCharCode(10) + lost.map(l => ` ${l.from} -> ${l.missing}`).join(String.fromCharCode(10))); process.exit(1); }
console.log('import check: every @deepseek-ai package the Harness imports is staged');
// --- proof 2: the staged copy answers --version and boots the web profile once ----------------------------------------