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++
Version 0.2.5: Terminal and app 0.2.5, engine and Control 0.1.50 (every Qwen and DeepSeek package, Metal included)
Niko12211aff6d14117b
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.ymlindex 19572efaf..77692fbec 100644--- a/.github/ISSUE_TEMPLATE/bug_report.yml+++ b/.github/ISSUE_TEMPLATE/bug_report.yml@@ -66,7 +66,7 @@ body:attributes:label: Strata versiondescription: "In the app: Settings > About. In the Terminal: `strata --version`. From source: the About tab of the web page, or `engine` in `GET /v1/status`, or the git commit."- placeholder: "Strata 0.2.3 · engine 0.1.48"+ placeholder: "Strata 0.2.5 · engine 0.1.50"validations:required: true- type: inputdiff --git a/AGENTS.md b/AGENTS.mdindex 01a3c8656..05680277d 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -2,7 +2,7 @@Strata runs the Qwen3.8-Flash-Next mixture-of-experts model (and its Coder, Swift 1.5, Unsloth, Gyro and NVFP4variants, and Qwen3.6-35B-A3B) on a normal PC: one NVIDIA or AMD graphics card plus system RAM on Windows or Linux,-or an Apple Silicon Mac. Version 0.2.3, engine 0.1.48. It has three parts:+or an Apple Silicon Mac. Version 0.2.5, engine 0.1.50. It has three parts:- **The app** (`apps/desktop`, the Tauri shell; `apps/host`, the Node host and the web UI). It is for people who donot want a terminal. The installer has the engine inside.diff --git a/CMakeLists.txt b/CMakeLists.txtindex a04ab750a..46ebf034a 100644--- a/CMakeLists.txt+++ b/CMakeLists.txt@@ -8,7 +8,7 @@# below refuses anything older: silently building for a pre-Ampere arch would produce a binary that runs# and is wrong about its own performance, which is the worst of both outcomes.cmake_minimum_required(VERSION 3.24)-project(strata VERSION 0.1.49.2 LANGUAGES CXX)+project(strata VERSION 0.1.50 LANGUAGES CXX)# EXPERIMENTAL: the Intel Arc engine, the SYCL port in sycl/ (PR #423; icpx + oneMKL, docs/INTEL_ARC.md). It is its# own project that takes the unported sources from src/; with this on, nothing below is configured.option(STRATA_ENABLE_SYCL "EXPERIMENTAL: build the Intel Arc (SYCL) engine from sycl/ - docs/INTEL_ARC.md" OFF)diff --git a/apps/desktop/package.json b/apps/desktop/package.jsonindex 91db20219..e66e5fbc3 100644--- a/apps/desktop/package.json+++ b/apps/desktop/package.json@@ -1,7 +1,7 @@{"name": "strata-desktop","productName": "Strata",- "version": "0.2.3",+ "version": "0.2.5","private": true,"description": "Strata Desktop - local AI, tuned to one model.","scripts": {diff --git a/apps/desktop/src-tauri/Cargo.lock b/apps/desktop/src-tauri/Cargo.lockindex 17a3570aa..3d233035d 100644--- a/apps/desktop/src-tauri/Cargo.lock+++ b/apps/desktop/src-tauri/Cargo.lock@@ -3524,7 +3524,7 @@ checksum = "ff7589a1859b09232522bb9edf076ca7fcf14ded96685d3fa629db73023ffbb7"[[package]]name = "strata-desktop"-version = "0.2.3"+version = "0.2.5"dependencies = ["gtk","serde",diff --git a/apps/desktop/src-tauri/Cargo.toml b/apps/desktop/src-tauri/Cargo.tomlindex f4a44d7f3..b602b553e 100644--- a/apps/desktop/src-tauri/Cargo.toml+++ b/apps/desktop/src-tauri/Cargo.toml@@ -1,6 +1,6 @@[package]name = "strata-desktop"-version = "0.2.3"+version = "0.2.5"description = "Strata Desktop — local AI, tuned to one model."edition = "2021"rust-version = "1.77"diff --git a/apps/host/package-lock.json b/apps/host/package-lock.jsonindex a4c77520c..87506413d 100644--- a/apps/host/package-lock.json+++ b/apps/host/package-lock.json@@ -1,12 +1,12 @@{"name": "strata",- "version": "0.2.3",+ "version": "0.2.5","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "strata",- "version": "0.2.3",+ "version": "0.2.5","dependencies": {"html-to-image": "^1.11.13","katex": "^0.19.0",diff --git a/apps/host/package.json b/apps/host/package.jsonindex 17452d23b..b509ae0da 100644--- a/apps/host/package.json+++ b/apps/host/package.json@@ -1,7 +1,7 @@{"name": "strata","private": true,- "version": "0.2.3",+ "version": "0.2.5","type": "module","description": "Strata \u2014 local AI, tuned to one model. Web shell + engine host.","scripts": {diff --git a/apps/host/src/components/SettingsUpdates.tsx b/apps/host/src/components/SettingsUpdates.tsxindex 5a9077388..3a35dc4d3 100644--- a/apps/host/src/components/SettingsUpdates.tsx+++ b/apps/host/src/components/SettingsUpdates.tsx@@ -95,7 +95,7 @@ export function SettingsUpdates() {</>;}-/** "Strata 0.2.3 · Engine 0.1.48": the app's own version first, the engine's beside it (About). */+/** "Strata 0.2.5 · Engine 0.1.50": the app's own version first, the engine's beside it (About). */export function AboutVersions() {const native = useNative();const app = appVersionLabel(useStore(s => s.setup?.app.version), native?.version);diff --git a/apps/host/tests/qa1-storage.test.mjs b/apps/host/tests/qa1-storage.test.mjsindex c338f048c..1bcf7e29a 100644--- a/apps/host/tests/qa1-storage.test.mjs+++ b/apps/host/tests/qa1-storage.test.mjs@@ -57,5 +57,5 @@ test('Cargo.toml, tauri.conf.json and the desktop package agree on the app versiconst cargo = /^version\s*=\s*"([^"]+)"/m.exec(await readFile(new URL('src-tauri/Cargo.toml', root), 'utf8'))[1];const pkg = JSON.parse(await readFile(new URL('package.json', root), 'utf8')).version;assert.equal(cargo, pkg);- assert.equal(cargo, '0.2.3');+ assert.equal(cargo, '0.2.5');});diff --git a/metal/CMakeLists.txt b/metal/CMakeLists.txtindex 856b89f4b..88cb17083 100644--- a/metal/CMakeLists.txt+++ b/metal/CMakeLists.txt@@ -108,7 +108,7 @@ file(GLOB STRATA_METAL_ENGINE_SOURCES CONFIGURE_DEPENDS ${CMAKE_CURRENT_SOURCE_Dadd_library(strata_metal_host STATIC ${STRATA_METAL_HOST_SOURCES})target_include_directories(strata_metal_host PUBLIC ${STRATA_ROOT}/include ${S}/core ${STRATA_ROOT}/third_party/ggml${STRATA_GGML_DIR}/ggml/include ${STRATA_GGML_DIR}/ggml/src ${STRATA_GGML_DIR}/ggml/src/ggml-cpu)-target_compile_definitions(strata_metal_host PUBLIC STRATA_NATIVE_EXPERTS=1 STRATA_VERSION="0.1.48-metal")+target_compile_definitions(strata_metal_host PUBLIC STRATA_NATIVE_EXPERTS=1 STRATA_VERSION="0.1.50-metal")target_compile_options(strata_metal_host PRIVATE -Wno-unused-parameter -Wno-deprecated-declarations)target_link_libraries(strata_metal_host PUBLIC strata_gpu_metal ggml-cpu ggml-base)diff --git a/packaging/build_hip_linux.sh b/packaging/build_hip_linux.shindex 3b43af497..dfad14fa8 100644--- a/packaging/build_hip_linux.sh+++ b/packaging/build_hip_linux.sh@@ -9,7 +9,7 @@# SRC=<this checkout> the Strata source (default: the checkout this script is in)# LLAMA=<llama.cpp checkout> at the pinned commit (setup.py LLAMA_CPP_COMMIT); mtmd and ggml come from it# HP=<ROCm devel root> CORE=<ROCm core root> LIBW=<ROCm libraries root> (TheRock: _rocm_sdk_devel, _rocm_sdk_core, _rocm_sdk_libraries_*)-# OUT=<work folder> PKGVER=0.1.48 COMMIT=<source commit for the build id> JOBS=16+# OUT=<work folder> PKGVER=0.1.50 COMMIT=<source commit for the build id> JOBS=16# VISION_ONLY=1 build only the two readers (no engine, no package)# DSV41=1|0 also build strata-dsv41 (the DeepSeek-V4.1 engine, tools/dsv41/build_hip_linux.sh's flags) and ship it beside# strata: default 1 for the rx9070 variant (gfx1200 gfx1201; built and run on an R9700), 0 for the others@@ -26,7 +26,7 @@ HP=${HP:?HP=<ROCm devel root>}CORE=${CORE:-$HP}LIBW=${LIBW:-$HP}OUT=${OUT:-$PWD/work-$V}-PKGVER=${PKGVER:-0.1.46}+PKGVER=${PKGVER:-0.1.50}COMMIT=${COMMIT:-unknown}JOBS=${JOBS:-16}case "$V" indiff --git a/strata_cli/__init__.py b/strata_cli/__init__.pyindex 5736eab45..1156e804d 100644--- a/strata_cli/__init__.py+++ b/strata_cli/__init__.py@@ -7,7 +7,7 @@ SCHEMA_VERSION = 1#: The version people are told: the Strata app's own (apps/desktop/src-tauri/Cargo.toml `version`; tests/terminal/test_tuiqa_version.py keeps the#: two equal, except for a Terminal-only release such as 0.2.3.1 or 0.2.4, whose app stays 0.2.3). `version()` below is the files' build number, which the engine-compatibility checks compare, so it stays numeric.-PRODUCT_VERSION = "0.2.4.2"+PRODUCT_VERSION = "0.2.5"def version() -> str:diff --git a/tests/terminal/test_tui2_023_old_launcher.py b/tests/terminal/test_tui2_023_old_launcher.pyindex 0f7edaf70..fddc31c87 100644--- a/tests/terminal/test_tui2_023_old_launcher.py+++ b/tests/terminal/test_tui2_023_old_launcher.py@@ -42,7 +42,7 @@ class OldLauncherIsToldTheTruth(unittest.TestCase):for env in ({"STRATA_NO_ACQUIRE": "1", "STRATA_HANDOVER": "1"}, {}):done = self.run_version(tree, **env)self.assertEqual(done.returncode, 0, done.stderr)- self.assertTrue(done.stdout.startswith("strata 0.2.4.2 (build "), done.stdout)+ self.assertTrue(done.stdout.startswith("strata 0.2.5 (build "), done.stdout)elsewhere = self.staged_tree(parent="terminal") # not the updater's staging folderself.assertEqual(self.run_version(elsewhere, STRATA_NO_ACQUIRE="1").returncode, 0)diff --git a/tests/terminal/test_tui2_023_versions.py b/tests/terminal/test_tui2_023_versions.pyindex 4fd17be89..ebdbcfebb 100644--- a/tests/terminal/test_tui2_023_versions.py+++ b/tests/terminal/test_tui2_023_versions.py@@ -21,34 +21,33 @@ def first(path, pattern):class VersionBump(unittest.TestCase):def test_the_terminal_is_0_2_4_2_and_control_is_0_1_49_2_while_the_app_stays_0_2_3(self):- # 0.2.4 is a Terminal / Control and engine release (DeepSeek V4.1-Flash): the app stays 0.2.3, the three DeepSeek engine packages are 0.1.49,- # the other engine packages stay 0.1.48 (metal/CMakeLists.txt keeps 0.1.48)- self.assertEqual(strata_cli.PRODUCT_VERSION, "0.2.4.2")- self.assertEqual(strata_cli.version(), "0.1.49.2") # the CMake project version: Control- self.assertEqual(first("CMakeLists.txt", r"^project\(strata VERSION ([0-9.]+) "), "0.1.49.2")- self.assertIn('STRATA_VERSION="0.1.48-metal"', (ROOT / "metal" / "CMakeLists.txt").read_text(encoding="utf-8"))+ # 0.2.5: Terminal, app and release are 0.2.5; engine and Control are 0.1.50 for every Qwen and DeepSeek package (metal included)+ self.assertEqual(strata_cli.PRODUCT_VERSION, "0.2.5")+ self.assertEqual(strata_cli.version(), "0.1.50") # the CMake project version: Control+ self.assertEqual(first("CMakeLists.txt", r"^project\(strata VERSION ([0-9.]+) "), "0.1.50")+ self.assertIn('STRATA_VERSION="0.1.50-metal"', (ROOT / "metal" / "CMakeLists.txt").read_text(encoding="utf-8"))def test_every_place_the_app_version_lives_says_0_2_3(self):- self.assertEqual(first("apps/desktop/src-tauri/Cargo.toml", r'^version = "([^"]+)"'), "0.2.3")+ self.assertEqual(first("apps/desktop/src-tauri/Cargo.toml", r'^version = "([^"]+)"'), "0.2.5")lock = (ROOT / "apps/desktop/src-tauri/Cargo.lock").read_text(encoding="utf-8")- self.assertRegex(lock, r'name = "strata-desktop"\r?\nversion = "0.2.3"')- self.assertEqual(json.loads((ROOT / "apps/desktop/package.json").read_text(encoding="utf-8"))["version"], "0.2.3")+ self.assertRegex(lock, r'name = "strata-desktop"\r?\nversion = "0.2.5"')+ self.assertEqual(json.loads((ROOT / "apps/desktop/package.json").read_text(encoding="utf-8"))["version"], "0.2.5")host = json.loads((ROOT / "apps/host/package.json").read_text(encoding="utf-8"))- self.assertEqual(host["version"], "0.2.3")+ self.assertEqual(host["version"], "0.2.5")locked = json.loads((ROOT / "apps/host/package-lock.json").read_text(encoding="utf-8"))- self.assertEqual((locked["version"], locked["packages"][""]["version"]), ("0.2.3", "0.2.3"))+ self.assertEqual((locked["version"], locked["packages"][""]["version"]), ("0.2.5", "0.2.5"))def test_the_documents_that_state_the_current_version_agree(self):- self.assertIn("Version 0.2.3, engine 0.1.48.", (ROOT / "AGENTS.md").read_text(encoding="utf-8"))+ self.assertIn("Version 0.2.5, engine 0.1.50.", (ROOT / "AGENTS.md").read_text(encoding="utf-8"))for name in ("README.md", "README.de.md", "README.es.md", "README.fr.md", "README.ja.md", "README.pt-BR.md", "README.zh-CN.md"):text = (ROOT / name).read_text(encoding="utf-8")- self.assertIn("Strata-0.2.3-", text, name) # (the restyled READMEs state the app version through the download buttons: the app stays 0.2.3)+ self.assertRegex(text, r"Strata-0[.]2[.][0-9]+-", name) # (the restyled READMEs state the app version through the download buttons; their owner moves them to the release)self.assertNotIn("Strata-0.2.2-", text, name)def test_version_prints_the_product_and_the_build(self):done = subprocess.run([sys.executable, str(ROOT / "strata.py"), "--version"], capture_output=True, text=True, cwd=str(ROOT),env={**os.environ, "STRATA_NO_HANDOVER": "1"})- self.assertTrue(done.stdout.startswith("strata 0.2.4.2 (build 0.1.49.2;"), done.stdout)+ self.assertTrue(done.stdout.startswith("strata 0.2.5 (build 0.1.50;"), done.stdout)class UpdateFromTheLastRelease(test_updater.UpdaterCase):