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

install progress step as a sentence; Model files label; ui-flows details check

Niko1221bfe0798660ad
diff --git a/apps/desktop/scripts/ui-flows.mjs b/apps/desktop/scripts/ui-flows.mjs
index a25fb40cd..cdb47b53a 100644
--- a/apps/desktop/scripts/ui-flows.mjs
+++ b/apps/desktop/scripts/ui-flows.mjs
@@ -323,7 +323,7 @@ await scenario('fail', { installed: true, env: { FAKE_ENGINE_FAIL: '1' } }, asyn
await delay(500);
await shot(page, '2-tune-error-details');
const details = await page.locator('.error-notice pre').first().innerText();
- check(/server_exited/.test(details) && /memory guard: 5\.1 GiB/.test(details), 'Details holds the code and the last engine line', details.replace(/\s+/g, ' ').slice(0, 120));
+ check(/server_exited/.test(details) && /exited before/.test(details), 'Details holds the code and the reason the server logged', details.replace(/\s+/g, ' ').slice(0, 120));
const badOpen = await noScroll(page);
check(badOpen.length === 0, 'and the pop-up still does not scroll with Details open', badOpen.join('; '));
await page.setViewportSize({ width: 1280, height: 700 });
diff --git a/apps/host/src/components/NativeModels.tsx b/apps/host/src/components/NativeModels.tsx
index 3de86f6ce..f635d82bf 100644
--- a/apps/host/src/components/NativeModels.tsx
+++ b/apps/host/src/components/NativeModels.tsx
@@ -110,6 +110,13 @@ export function NativeModels({ onOtherModels, onReady, onImport, onConnectEngine
<NativeBenchmark open={benchmark} onClose={() => setBenchmark(false)}/>
</Screen>;
}
+/** setup's "5/7: downloading …" as a sentence a person can read. */
+function installStepLabel(step?: string): string {
+ const n = Number(step?.match(/^(\d+)\//)?.[1]);
+ if (!n)
+ return step ? 'Getting things ready…' : 'Downloading and preparing model files…';
+ return n <= 2 ? 'Checking your computer…' : n <= 4 ? 'Getting things ready…' : n === 5 ? 'Downloading your model…' : n === 6 ? 'Preparing your model for Strata…' : 'Finishing up…';
+}
export function NativeProgress({ job }: {
job: NativeJob;
}) { const download = installProgress(job.result?.install); const detailsText = [job.details, job.result?.install?.engine?.details].filter(Boolean).join('\n'); const eta = useDownloadEta(job.kind === 'install' ? download : undefined, job.id); const [stopping, setStopping] = useState(false), [error, setError] = useState(''); async function stop() { setStopping(true); setError(''); try {
@@ -120,4 +127,4 @@ catch (e) {
}
finally {
setStopping(false);
-} } return <section className="st-card native-progress" aria-live="polite"><div className="section-toolbar"><h2 className="h4">{tr(job.kind === 'install' ? 'Preparing your model' : job.kind === 'load' ? 'Loading model' : 'Engine operation')}</h2>{tr(job.kind === 'install' || job.kind === 'load' ? <div className="onboard-progress-actions">{tr(eta ? <span className="small muted">{eta}</span> : null)}<Btn size="sm" disabled={stopping} onClick={() => void stop()}>{tr(stopping ? 'Stopping…' : 'Stop')}</Btn></div> : null)}</div><p className="small">{tr(job.kind === 'install' ? (job.result?.install?.step ?? 'Downloading and preparing model files…') : job.summary)}</p>{tr(download ? <><progress max={100} value={download.percent ?? 0}/><p className="xs muted">{tr(download.file)} · {tr(download.percent ?? 0)}%{tr(Number.isFinite(download.done_gb) && Number.isFinite(download.total_gb) ? ` · ${download.done_gb!.toFixed(1)} / ${download.total_gb!.toFixed(1)} GB` : '')}</p></> : null)}<details><summary className="small">{tr("Details")}</summary><p className="small muted">{tr("Completed files are retained. Downloading, packing and loading are separate stages; readiness is confirmed by the engine.")}</p>{tr(detailsText ? <pre className="small muted error-detail-text">{detailsText}</pre> : null)}</details>{tr(error ? <ErrorNotice message={error}/> : null)}</section>; }
+} } return <section className="st-card native-progress" aria-live="polite"><div className="section-toolbar"><h2 className="h4">{tr(job.kind === 'install' ? 'Preparing your model' : job.kind === 'load' ? 'Loading model' : 'Engine operation')}</h2>{tr(job.kind === 'install' || job.kind === 'load' ? <div className="onboard-progress-actions">{tr(eta ? <span className="small muted">{eta}</span> : null)}<Btn size="sm" disabled={stopping} onClick={() => void stop()}>{tr(stopping ? 'Stopping…' : 'Stop')}</Btn></div> : null)}</div><p className="small">{tr(job.kind === 'install' ? installStepLabel(job.result?.install?.step) : job.summary)}</p>{tr(download ? <><progress max={100} value={download.percent ?? 0}/><p className="xs muted">{tr(download.file === 'model files' ? 'Model files' : download.file)} · {tr(download.percent ?? 0)}%{tr(Number.isFinite(download.done_gb) && Number.isFinite(download.total_gb) ? ` · ${download.done_gb!.toFixed(1)} / ${download.total_gb!.toFixed(1)} GB` : '')}</p></> : null)}<details><summary className="small">{tr("Details")}</summary><p className="small muted">{tr("Completed files are retained. Downloading, packing and loading are separate stages; readiness is confirmed by the engine.")}</p>{tr(detailsText ? <pre className="small muted error-detail-text">{detailsText}</pre> : null)}</details>{tr(error ? <ErrorNotice message={error}/> : null)}</section>; }
diff --git a/apps/host/src/locales/de.json b/apps/host/src/locales/de.json
index 5ade6d0d9..a794146f2 100644
--- a/apps/host/src/locales/de.json
+++ b/apps/host/src/locales/de.json
@@ -2590,5 +2590,9 @@
"s2589": "Strata konnte seine eigenen Komponenten nicht lesen.",
"s2590": "Schließen Sie Strata und öffnen Sie es erneut. Tritt das Problem weiterhin auf, installieren Sie die App neu.",
"s2591": "Etwas ist schiefgelaufen.",
- "s2592": "Versuchen Sie es erneut. Tritt das Problem weiterhin auf, öffnen Sie „Details“ und geben Sie diese bei einer Supportanfrage an."
+ "s2592": "Versuchen Sie es erneut. Tritt das Problem weiterhin auf, öffnen Sie „Details“ und geben Sie diese bei einer Supportanfrage an.",
+ "s2593": "Ihr Computer wird geprüft …",
+ "s2594": "Alles wird vorbereitet …",
+ "s2595": "Ihr Modell wird heruntergeladen …",
+ "s2596": "Ihr Modell wird für Strata vorbereitet …"
}
diff --git a/apps/host/src/locales/en.json b/apps/host/src/locales/en.json
index de1c65cd1..349372d56 100644
--- a/apps/host/src/locales/en.json
+++ b/apps/host/src/locales/en.json
@@ -2590,5 +2590,9 @@
"s2589": "Strata couldn’t read its own components.",
"s2590": "Close and reopen Strata. If this keeps happening, reinstall the app.",
"s2591": "Something went wrong.",
- "s2592": "Try again. If it keeps happening, open Details and share them when you ask for help."
+ "s2592": "Try again. If it keeps happening, open Details and share them when you ask for help.",
+ "s2593": "Checking your computer…",
+ "s2594": "Getting things ready…",
+ "s2595": "Downloading your model…",
+ "s2596": "Preparing your model for Strata…"
}
diff --git a/apps/host/src/locales/es.json b/apps/host/src/locales/es.json
index 9be5f93db..55cffb0d0 100644
--- a/apps/host/src/locales/es.json
+++ b/apps/host/src/locales/es.json
@@ -2590,5 +2590,9 @@
"s2589": "Strata no pudo leer sus propios componentes.",
"s2590": "Cierra y vuelve a abrir Strata. Si sigue ocurriendo, reinstala la aplicación.",
"s2591": "Algo salió mal.",
- "s2592": "Inténtalo de nuevo. Si sigue ocurriendo, abre «Detalles» y compártelos cuando pidas ayuda."
+ "s2592": "Inténtalo de nuevo. Si sigue ocurriendo, abre «Detalles» y compártelos cuando pidas ayuda.",
+ "s2593": "Revisando tu equipo…",
+ "s2594": "Preparando todo…",
+ "s2595": "Descargando tu modelo…",
+ "s2596": "Preparando tu modelo para Strata…"
}
diff --git a/apps/host/src/locales/ja.json b/apps/host/src/locales/ja.json
index 7a9adc0f3..b2b582edd 100644
--- a/apps/host/src/locales/ja.json
+++ b/apps/host/src/locales/ja.json
@@ -2590,5 +2590,9 @@
"s2589": "Strata が自身のコンポーネントを読み取れませんでした。",
"s2590": "Strata を閉じて開き直してください。それでも改善しない場合は、アプリを再インストールしてください。",
"s2591": "問題が発生しました。",
- "s2592": "もう一度お試しください。それでも解決しない場合は「詳細」を開き、サポートに問い合わせる際に共有してください。"
+ "s2592": "もう一度お試しください。それでも解決しない場合は「詳細」を開き、サポートに問い合わせる際に共有してください。",
+ "s2593": "お使いのコンピューターを確認しています…",
+ "s2594": "準備をしています…",
+ "s2595": "モデルをダウンロードしています…",
+ "s2596": "Strata 用にモデルを準備しています…"
}
diff --git a/apps/host/src/locales/ko.json b/apps/host/src/locales/ko.json
index 5f683a473..f305210a1 100644
--- a/apps/host/src/locales/ko.json
+++ b/apps/host/src/locales/ko.json
@@ -2590,5 +2590,9 @@
"s2589": "Strata가 자체 구성 요소를 읽지 못했습니다.",
"s2590": "Strata를 닫았다가 다시 여세요. 계속되면 앱을 다시 설치하세요.",
"s2591": "문제가 발생했습니다.",
- "s2592": "다시 시도하세요. 계속되면 “세부 정보”를 열어 도움을 요청할 때 함께 알려 주세요."
+ "s2592": "다시 시도하세요. 계속되면 “세부 정보”를 열어 도움을 요청할 때 함께 알려 주세요.",
+ "s2593": "컴퓨터를 확인하는 중…",
+ "s2594": "준비하는 중…",
+ "s2595": "모델을 다운로드하는 중…",
+ "s2596": "Strata용으로 모델을 준비하는 중…"
}
diff --git a/apps/host/src/locales/pt.json b/apps/host/src/locales/pt.json
index 8b5e61804..bed56fe32 100644
--- a/apps/host/src/locales/pt.json
+++ b/apps/host/src/locales/pt.json
@@ -2590,5 +2590,9 @@
"s2589": "O Strata não conseguiu ler seus próprios componentes.",
"s2590": "Feche e abra o Strata novamente. Se o problema continuar, reinstale o aplicativo.",
"s2591": "Algo deu errado.",
- "s2592": "Tente novamente. Se o problema continuar, abra “Detalhes” e compartilhe-os ao pedir ajuda."
+ "s2592": "Tente novamente. Se o problema continuar, abra “Detalhes” e compartilhe-os ao pedir ajuda.",
+ "s2593": "Verificando seu computador…",
+ "s2594": "Preparando tudo…",
+ "s2595": "Baixando seu modelo…",
+ "s2596": "Preparando seu modelo para o Strata…"
}
diff --git a/apps/host/src/locales/ru.json b/apps/host/src/locales/ru.json
index 466e49084..7690de781 100644
--- a/apps/host/src/locales/ru.json
+++ b/apps/host/src/locales/ru.json
@@ -2590,5 +2590,9 @@
"s2589": "Strata не удалось прочитать собственные компоненты.",
"s2590": "Закройте и снова откройте Strata. Если проблема повторяется, переустановите приложение.",
"s2591": "Что-то пошло не так.",
- "s2592": "Повторите попытку. Если проблема остаётся, откройте «Подробности» и приложите их, когда будете обращаться за помощью."
+ "s2592": "Повторите попытку. Если проблема остаётся, откройте «Подробности» и приложите их, когда будете обращаться за помощью.",
+ "s2593": "Проверяем ваш компьютер…",
+ "s2594": "Подготовка…",
+ "s2595": "Загружаем вашу модель…",
+ "s2596": "Готовим вашу модель для Strata…"
}
diff --git a/apps/host/src/locales/zh.json b/apps/host/src/locales/zh.json
index 724688022..b99805b73 100644
--- a/apps/host/src/locales/zh.json
+++ b/apps/host/src/locales/zh.json
@@ -2590,5 +2590,9 @@
"s2589": "Strata 无法读取自身的组件。",
"s2590": "请关闭并重新打开 Strata。如果问题持续出现,请重新安装该应用。",
"s2591": "出了点问题。",
- "s2592": "请重试。如果问题持续出现,请展开“详情”,并在求助时一并提供。"
+ "s2592": "请重试。如果问题持续出现,请展开“详情”,并在求助时一并提供。",
+ "s2593": "正在检查你的电脑…",
+ "s2594": "正在做准备…",
+ "s2595": "正在下载你的模型…",
+ "s2596": "正在为 Strata 准备你的模型…"
}