From 36f6663c25e60abdfc626abe48e0e8fa3a9fe762 Mon Sep 17 00:00:00 2001 From: Niko1221 Date: Thu, 29 Oct 2026 17:25:43 +0100 Subject: [PATCH] Version 0.2.8: Terminal and app 0.2.8, engine and Control 0.1.54 (every Qwen and DeepSeek package, Metal and SYCL included) --- .github/ISSUE_TEMPLATE/bug_report.yml | 2 +- AGENTS.md | 4 ++-- CMakeLists.txt | 2 +- README.de.md | 2 +- README.es.md | 2 +- README.fr.md | 2 +- README.ja.md | 2 +- README.md | 2 +- README.pl.md | 2 +- README.pt-BR.md | 2 +- README.zh-CN.md | 2 +- apps/desktop/package.json | 2 +- apps/desktop/src-tauri/Cargo.lock | 2 +- apps/desktop/src-tauri/Cargo.toml | 2 +- apps/host/package-lock.json | 4 ++-- apps/host/package.json | 2 +- apps/host/src/components/SettingsUpdates.tsx | 2 +- apps/host/tests/qa1-storage.test.mjs | 2 +- docs/AI_REFERENCE.md | 4 ++-- docs/AI_SETUP.md | 4 ++-- docs/AMD_HIP.md | 4 ++-- docs/INSTALL.md | 6 ++--- docs/STRIX_HALO.md | 4 ++-- docs/TROUBLESHOOTING.md | 2 +- metal/CMakeLists.txt | 4 ++-- packaging/UPDATES.md | 8 +++---- packaging/build_hip_linux.sh | 4 ++-- packaging/mac/build_dsv41_engine.sh | 4 ++-- strata_cli/__init__.py | 2 +- tests/terminal/test_tui2_023_old_launcher.py | 2 +- tests/terminal/test_tui2_023_versions.py | 23 ++++++++++---------- 31 files changed, 56 insertions(+), 55 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index a24d6d01..02efd09d 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -66,7 +66,7 @@ body: attributes: label: Strata version description: "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.7 · engine 0.1.52" + placeholder: "Strata 0.2.8 · engine 0.1.54" validations: required: true - type: input diff --git a/AGENTS.md b/AGENTS.md index 06355e46..07c6d398 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,6 +1,6 @@ # AGENTS.md -Version 0.2.7, engine 0.1.52. The public model families are DeepSeekV4.1-Flash-1017, +Version 0.2.8, engine 0.1.54. The public model families are DeepSeekV4.1-Flash-1017, Qwen3.8-Flash-Next and Qwen3.6-35B-A3B. DeepSeek V4.1-Flash runs in the app and in the Terminal (`strata launch --family deepseek41 --model ist-das-2.00bpw`; sets in [docs/MODELS.md](docs/MODELS.md#deepseek-v41-flash)). Read **[docs/AI_REFERENCE.md](docs/AI_REFERENCE.md)** for model availability, APIs, hardware limits and @@ -15,7 +15,7 @@ Strata has three parts: - **The app** (`apps/desktop`, the Tauri shell; `apps/host`, the Node host and the web UI). It is for people who do not want a terminal. One installer per system ([latest release](https://github.com/Niko1221/Strata/releases/latest)): - `Strata-0.2.7-windows-x64-setup.exe`, `Strata-0.2.7-linux-x86_64.AppImage`, `Strata-0.2.7-macos-arm64.dmg`. + `Strata-0.2.8-windows-x64-setup.exe`, `Strata-0.2.8-linux-x86_64.AppImage`, `Strata-0.2.8-macos-arm64.dmg`. The Windows and Linux installers carry no engine: the app downloads the engine for the graphics card on first start, or installs a file the user already has. The Mac dmg keeps its small Metal engine inside. - **The Terminal** (`strata.py`, `strata_cli/`, `strata_control/`): the `strata` command. It sets up a model, serves diff --git a/CMakeLists.txt b/CMakeLists.txt index ffe87bc0..ee7e9f1b 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.53 LANGUAGES CXX) +project(strata VERSION 0.1.54 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/README.de.md b/README.de.md index e5b4cd55..153cdb59 100644 --- a/README.de.md +++ b/README.de.md @@ -95,7 +95,7 @@ Unsicher, was passt? [Wähle ein Modell für deinen Computer](docs/MODELS.md#pic Installiere die App, wähle ein Modell und leg mit dem Chat los. Es gibt einen Installer pro System. Beim ersten Start lädt die App die Engine für deine Grafikkarte herunter. [Hilfe zum Installer](docs/INSTALL.md#the-app). -Dateien: `Strata-0.2.7-windows-x64-setup.exe` · `Strata-0.2.7-linux-x86_64.AppImage` · `Strata-0.2.7-macos-arm64.dmg` +Dateien: `Strata-0.2.8-windows-x64-setup.exe` · `Strata-0.2.8-linux-x86_64.AppImage` · `Strata-0.2.8-macos-arm64.dmg`

Strata-Desktop-App mit Chat und Live-Codevorschau nebeneinander diff --git a/README.es.md b/README.es.md index 18653c4a..f4db5d97 100644 --- a/README.es.md +++ b/README.es.md @@ -95,7 +95,7 @@ Medido con el conjunto de 2.00 bpw en Strata 0.2.5. «Salida» es la velocidad d Instala la aplicación, elige un modelo y empieza a chatear. Hay un instalador por sistema. En el primer arranque, la aplicación descarga el motor para tu tarjeta gráfica. [Ayuda con el instalador](docs/INSTALL.md#the-app). -Archivos: `Strata-0.2.7-windows-x64-setup.exe` · `Strata-0.2.7-linux-x86_64.AppImage` · `Strata-0.2.7-macos-arm64.dmg` +Archivos: `Strata-0.2.8-windows-x64-setup.exe` · `Strata-0.2.8-linux-x86_64.AppImage` · `Strata-0.2.8-macos-arm64.dmg`

Aplicación de escritorio de Strata con un chat y una vista previa del código en vivo, una junto a otra diff --git a/README.fr.md b/README.fr.md index 995be853..fbea2b81 100644 --- a/README.fr.md +++ b/README.fr.md @@ -95,7 +95,7 @@ Vous ne savez pas ce qui tient ? [Choisir un modèle pour votre ordinateur](docs Installez l'application, choisissez un modèle et commencez à discuter. Il y a un seul installateur par système. Au premier lancement, l'application télécharge le moteur de votre carte graphique. [Aide pour l'installateur](docs/INSTALL.md#the-app). -Fichiers: `Strata-0.2.7-windows-x64-setup.exe` · `Strata-0.2.7-linux-x86_64.AppImage` · `Strata-0.2.7-macos-arm64.dmg` +Fichiers: `Strata-0.2.8-windows-x64-setup.exe` · `Strata-0.2.8-linux-x86_64.AppImage` · `Strata-0.2.8-macos-arm64.dmg`

Application de bureau Strata avec une discussion et un aperçu du code en direct côte à côte diff --git a/README.ja.md b/README.ja.md index 77c0c754..aa2006b6 100644 --- a/README.ja.md +++ b/README.ja.md @@ -95,7 +95,7 @@ Strata 0.2.5 で 2.00 bpw のセットを使って測定しました。「出力 アプリをインストールし、モデルを選んで、チャットを始めましょう。インストーラーはシステムごとに1つです。初回起動時に、アプリがお使いのグラフィックスカード用のエンジンをダウンロードします。[インストーラーのヘルプ](docs/INSTALL.md#the-app)。 -ファイル: `Strata-0.2.7-windows-x64-setup.exe` · `Strata-0.2.7-linux-x86_64.AppImage` · `Strata-0.2.7-macos-arm64.dmg` +ファイル: `Strata-0.2.8-windows-x64-setup.exe` · `Strata-0.2.8-linux-x86_64.AppImage` · `Strata-0.2.8-macos-arm64.dmg`

チャットとライブのコードプレビューを並べて表示した Strata デスクトップアプリ diff --git a/README.md b/README.md index 0befffce..33e03f0f 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,7 @@ Not sure what fits? [Choose a model for your computer](docs/MODELS.md#pick-by-me Install the app, choose a model, and start chatting. There is one installer for each system. On first start the app downloads the engine for your graphics card. [Help with the installer](docs/INSTALL.md#the-app). -Files: `Strata-0.2.7-windows-x64-setup.exe` · `Strata-0.2.7-linux-x86_64.AppImage` · `Strata-0.2.7-macos-arm64.dmg` +Files: `Strata-0.2.8-windows-x64-setup.exe` · `Strata-0.2.8-linux-x86_64.AppImage` · `Strata-0.2.8-macos-arm64.dmg`

Strata desktop app with a chat and live code preview side by side diff --git a/README.pl.md b/README.pl.md index cd8c5ec3..57c61795 100644 --- a/README.pl.md +++ b/README.pl.md @@ -99,7 +99,7 @@ Nie wiesz, co się zmieści? [Wybierz model do swojego komputera](docs/MODELS.md Zainstaluj aplikację, wybierz model i zacznij rozmawiać. Dla każdego systemu jest jeden instalator. Przy pierwszym uruchomieniu aplikacja pobiera silnik dla twojej karty graficznej. [Pomoc z instalatorem](docs/INSTALL.md#the-app). -Pliki: `Strata-0.2.7-windows-x64-setup.exe` · `Strata-0.2.7-linux-x86_64.AppImage` · `Strata-0.2.7-macos-arm64.dmg` +Pliki: `Strata-0.2.8-windows-x64-setup.exe` · `Strata-0.2.8-linux-x86_64.AppImage` · `Strata-0.2.8-macos-arm64.dmg`

Aplikacja Strata na komputer: czat i podgląd kodu na żywo obok siebie diff --git a/README.pt-BR.md b/README.pt-BR.md index 6b604b61..4d735269 100644 --- a/README.pt-BR.md +++ b/README.pt-BR.md @@ -95,7 +95,7 @@ Não sabe o que cabe? [Escolha um modelo para o seu computador](docs/MODELS.md#p Instale o aplicativo, escolha um modelo e comece a conversar. Há um instalador por sistema. Na primeira vez que abre, o aplicativo baixa o motor da sua placa de vídeo. [Ajuda com o instalador](docs/INSTALL.md#the-app). -Arquivos: `Strata-0.2.7-windows-x64-setup.exe` · `Strata-0.2.7-linux-x86_64.AppImage` · `Strata-0.2.7-macos-arm64.dmg` +Arquivos: `Strata-0.2.8-windows-x64-setup.exe` · `Strata-0.2.8-linux-x86_64.AppImage` · `Strata-0.2.8-macos-arm64.dmg`

Aplicativo de desktop do Strata com um chat e uma prévia do código ao vivo lado a lado diff --git a/README.zh-CN.md b/README.zh-CN.md index d093303a..c642313a 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -95,7 +95,7 @@ strata launch --family deepseek41 --model ist-das-2.00bpw --plan 安装应用,选择模型,就可以开始聊天。每个系统只有一个安装程序。首次启动时,应用会下载适合你显卡的引擎。[安装程序帮助](docs/INSTALL.md#the-app)。 -文件: `Strata-0.2.7-windows-x64-setup.exe` · `Strata-0.2.7-linux-x86_64.AppImage` · `Strata-0.2.7-macos-arm64.dmg` +文件: `Strata-0.2.8-windows-x64-setup.exe` · `Strata-0.2.8-linux-x86_64.AppImage` · `Strata-0.2.8-macos-arm64.dmg`

Strata 桌面应用,聊天和实时代码预览并排显示 diff --git a/apps/desktop/package.json b/apps/desktop/package.json index 6e12b7fd..31175077 100644 --- a/apps/desktop/package.json +++ b/apps/desktop/package.json @@ -1,7 +1,7 @@ { "name": "strata-desktop", "productName": "Strata", - "version": "0.2.7", + "version": "0.2.8", "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.lock index e6a39985..3ca36d59 100644 --- a/apps/desktop/src-tauri/Cargo.lock +++ b/apps/desktop/src-tauri/Cargo.lock @@ -3625,7 +3625,7 @@ checksum = "ff7589a1859b09232522bb9edf076ca7fcf14ded96685d3fa629db73023ffbb7" [[package]] name = "strata-desktop" -version = "0.2.7" +version = "0.2.8" dependencies = [ "gtk", "serde", diff --git a/apps/desktop/src-tauri/Cargo.toml b/apps/desktop/src-tauri/Cargo.toml index d36480c2..030e0c38 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.7" +version = "0.2.8" 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.json index 349744da..60cecbfb 100644 --- a/apps/host/package-lock.json +++ b/apps/host/package-lock.json @@ -1,12 +1,12 @@ { "name": "strata", - "version": "0.2.7", + "version": "0.2.8", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "strata", - "version": "0.2.7", + "version": "0.2.8", "dependencies": { "html-to-image": "^1.11.13", "katex": "^0.19.0", diff --git a/apps/host/package.json b/apps/host/package.json index 7b7b76da..1ce845b5 100644 --- a/apps/host/package.json +++ b/apps/host/package.json @@ -1,7 +1,7 @@ { "name": "strata", "private": true, - "version": "0.2.7", + "version": "0.2.8", "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.tsx index 9bbb371c..4acc6b12 100644 --- a/apps/host/src/components/SettingsUpdates.tsx +++ b/apps/host/src/components/SettingsUpdates.tsx @@ -96,7 +96,7 @@ export function SettingsUpdates() { ; } -/** "Strata 0.2.7 · Engine 0.1.52": the app's own version first, the engine's beside it (About). */ +/** "Strata 0.2.8 · Engine 0.1.54": 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.mjs index 40bacc7a..d84e4b5c 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 versi const 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.7'); + assert.equal(cargo, '0.2.8'); }); diff --git a/docs/AI_REFERENCE.md b/docs/AI_REFERENCE.md index afc13f7a..d52fcdbd 100644 --- a/docs/AI_REFERENCE.md +++ b/docs/AI_REFERENCE.md @@ -10,8 +10,8 @@ holds the technical context behind the short [README](../README.md). Use [AI_SET - Strata runs supported language models locally, with a desktop app, a terminal app, and an inference engine. - The engine uses the GPU, system RAM and, for applicable models and memory modes, SSD storage. See [how it works](HOW_IT_WORKS.md) and [engine details](DETAILS.md). -- There is one app installer per system (`Strata-0.2.7-windows-x64-setup.exe`, `Strata-0.2.7-linux-x86_64.AppImage`, - `Strata-0.2.7-macos-arm64.dmg`). The Windows and Linux installers carry no engine: the app downloads the engine for the +- There is one app installer per system (`Strata-0.2.8-windows-x64-setup.exe`, `Strata-0.2.8-linux-x86_64.AppImage`, + `Strata-0.2.8-macos-arm64.dmg`). The Windows and Linux installers carry no engine: the app downloads the engine for the graphics card on first start, or installs a file the user already has. The Mac dmg keeps its Metal engine inside. The Terminal's `strata launch` downloads the appropriate engine and model. See [installation](INSTALL.md) and [Terminal launch](TERMINAL_LAUNCH.md). diff --git a/docs/AI_SETUP.md b/docs/AI_SETUP.md index 928551ef..c429c059 100644 --- a/docs/AI_SETUP.md +++ b/docs/AI_SETUP.md @@ -4,8 +4,8 @@ Use this guide when a user asks an AI agent to install Strata (version 0.2.5). T one; do not start from a source checkout. - **The Terminal and `strata launch`** (below). This is the route for an agent that has a shell. -- **The desktop app.** One installer per system: `Strata-0.2.7-windows-x64-setup.exe`, - `Strata-0.2.7-linux-x86_64.AppImage`, `Strata-0.2.7-macos-arm64.dmg`, from the +- **The desktop app.** One installer per system: `Strata-0.2.8-windows-x64-setup.exe`, + `Strata-0.2.8-linux-x86_64.AppImage`, `Strata-0.2.8-macos-arm64.dmg`, from the [latest release](https://github.com/Niko1221/Strata/releases/latest). The Windows and Linux installers carry no engine: on first start the app shows the engine for the user's graphics card and downloads it, or installs a file the user already has ("I already have the file"). Details: [INSTALL.md](INSTALL.md). diff --git a/docs/AMD_HIP.md b/docs/AMD_HIP.md index af46cdb2..4426ab7d 100644 --- a/docs/AMD_HIP.md +++ b/docs/AMD_HIP.md @@ -49,7 +49,7 @@ carries it but it is untested. Details: [MODELS.md](MODELS.md#deepseek-v41-flash ## Ready-made packages The Terminal one-liner and `strata update` pick the package whose GPU code covers the card. The app installer -(`Strata-0.2.7-windows-x64-setup.exe`, `Strata-0.2.7-linux-x86_64.AppImage`) has no engine inside: on its first start the app +(`Strata-0.2.8-windows-x64-setup.exe`, `Strata-0.2.8-linux-x86_64.AppImage`) has no engine inside: on its first start the app downloads the matching package for the card. You can also press **Update engine** in Settings (or run `strata update`). | Package (variant) | OS | GPU code inside | ROCm | @@ -131,7 +131,7 @@ reused. The Monitor shows the card's load, VRAM, temperature and power from Linu ## Windows -Install the [app](INSTALL.md) (`Strata-0.2.7-windows-x64-setup.exe` from the +Install the [app](INSTALL.md) (`Strata-0.2.8-windows-x64-setup.exe` from the [release page](https://github.com/Niko1221/Strata/releases/latest); it downloads the engine for the card), or install the [Terminal](INSTALL.md#the-terminal) and run `strata launch`. You need Windows 10 or 11 (64-bit), a supported card and a current AMD driver. No ROCm or HIP SDK, no compiler, no admin rights. `START-HERE.bat --backend hip` is a diff --git a/docs/INSTALL.md b/docs/INSTALL.md index 377b0569..b9cfcccd 100644 --- a/docs/INSTALL.md +++ b/docs/INSTALL.md @@ -38,10 +38,10 @@ hardware drivers. Models and updates need an internet connection to download. 1. Open the [latest release](https://github.com/Niko1221/Strata/releases/latest). 2. Download the one installer for your system. There is one per system, not one per graphics card: - - **Windows:** run `Strata-0.2.7-windows-x64-setup.exe`. It installs for your user and needs no administrator rights. - - **Linux:** make `Strata-0.2.7-linux-x86_64.AppImage` executable, then open it. If FUSE is unavailable, run the + - **Windows:** run `Strata-0.2.8-windows-x64-setup.exe`. It installs for your user and needs no administrator rights. + - **Linux:** make `Strata-0.2.8-linux-x86_64.AppImage` executable, then open it. If FUSE is unavailable, run the downloaded file with `--appimage-extract-and-run`. [Linux help](TROUBLESHOOTING.md). - - **Mac:** open `Strata-0.2.7-macos-arm64.dmg`, drag Strata into Applications, then open it. [Mac help](MAC.md). + - **Mac:** open `Strata-0.2.8-macos-arm64.dmg`, drag Strata into Applications, then open it. [Mac help](MAC.md). 3. On Windows and Linux the installer has no engine inside. On first start the app shows the engine for your graphics card with its size and one **Download** button, with progress and resume. If you already downloaded the engine file, choose **I already have the file** and it installs without internet. The Mac file keeps its small diff --git a/docs/STRIX_HALO.md b/docs/STRIX_HALO.md index b113096a..e35adb5d 100644 --- a/docs/STRIX_HALO.md +++ b/docs/STRIX_HALO.md @@ -23,8 +23,8 @@ Use the [current release](https://github.com/Niko1221/Strata/releases/latest). Y | System | What to install | Engine variant | | --- | --- | --- | -| Linux | `Strata-0.2.7-linux-x86_64.AppImage` (it downloads the engine on first start), or `strata launch` | `linux-x86_64-hip-halo` | -| Windows | `Strata-0.2.7-windows-x64-setup.exe` (it downloads the engine on first start), or `strata launch` | `windows-x86_64-hip-rdna3` | +| Linux | `Strata-0.2.8-linux-x86_64.AppImage` (it downloads the engine on first start), or `strata launch` | `linux-x86_64-hip-halo` | +| Windows | `Strata-0.2.8-windows-x64-setup.exe` (it downloads the engine on first start), or `strata launch` | `windows-x86_64-hip-rdna3` | Packaged engines carry the matching hipBLASLt tuning table for gfx1151 and select it on their own. Setup recognizes `gfx1151` and PCI ID `1002:1586`; other integrated Radeon chips have separate support limits. Unified memory is counted once. Setup does not diff --git a/docs/TROUBLESHOOTING.md b/docs/TROUBLESHOOTING.md index cffc7114..bf5f7562 100644 --- a/docs/TROUBLESHOOTING.md +++ b/docs/TROUBLESHOOTING.md @@ -18,7 +18,7 @@ strata launch --status **I cannot find `START-HERE.bat` or `SETUP.bat`.** Open the installed Strata app, or run `strata launch`. Those wrappers are in the source repository and are not the startup path for the app. For a fresh desktop install, download the one installer for your system -(`Strata-0.2.7-windows-x64-setup.exe`, `Strata-0.2.7-linux-x86_64.AppImage` or `Strata-0.2.7-macos-arm64.dmg`), not a +(`Strata-0.2.8-windows-x64-setup.exe`, `Strata-0.2.8-linux-x86_64.AppImage` or `Strata-0.2.8-macos-arm64.dmg`), not a `strata-engine-…` archive. **`strata` is not found.** diff --git a/metal/CMakeLists.txt b/metal/CMakeLists.txt index b8ac13f5..c6f7fab8 100644 --- a/metal/CMakeLists.txt +++ b/metal/CMakeLists.txt @@ -109,7 +109,7 @@ file(GLOB STRATA_METAL_ENGINE_SOURCES CONFIGURE_DEPENDS ${CMAKE_CURRENT_SOURCE_D add_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.52-metal") +target_compile_definitions(strata_metal_host PUBLIC STRATA_NATIVE_EXPERTS=1 STRATA_VERSION="0.1.54-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) @@ -176,7 +176,7 @@ if(NOT STRATA_BUILD_ID) set(STRATA_BUILD_ID unknown) endif() set_source_files_properties(${DS4}/ds4_main.cpp PROPERTIES COMPILE_DEFINITIONS "DS4_BUILD_ID=\"${STRATA_BUILD_ID}\"") -# -DSTRATA_DS4_VERSION=0.1.53-metal: the version this DeepSeek engine reports, when its package is released apart from the Qwen engine's +# -DSTRATA_DS4_VERSION=0.1.54-metal: the version this DeepSeek engine reports, when its package is released apart from the Qwen engine's if(STRATA_DS4_VERSION) set_source_files_properties(${DS4}/ds4_main.cpp PROPERTIES COMPILE_OPTIONS "-USTRATA_VERSION;-DSTRATA_VERSION=\"${STRATA_DS4_VERSION}\"") endif() diff --git a/packaging/UPDATES.md b/packaging/UPDATES.md index 131c013e..3e1156da 100644 --- a/packaging/UPDATES.md +++ b/packaging/UPDATES.md @@ -37,7 +37,7 @@ Comments are for this document only; actual feed files must be strict JSON. "generated_at": "2026-10-20T10:00:00Z", "expires_at": "2027-10-20T10:00:00Z", // expires_at may be null "app": { // exactly Tauri's static updater JSON, plus sha256/size per platform "version": "0.2.5", "notes": "...", "pub_date": "2026-10-20T10:00:00Z", - "platforms": {"windows-x86_64": {"url": "app/Strata-0.2.7-windows-x64-setup.exe", "signature": "", "sha256": "...", "size": 71000000}} + "platforms": {"windows-x86_64": {"url": "app/Strata-0.2.8-windows-x64-setup.exe", "signature": "", "sha256": "...", "size": 71000000}} }, "control": {"version": "0.1.50", "packages": [{"platform": "linux-x86_64", "format": "tar.gz", "url": "control/...tar.gz", "size": 0, "sha256": "...", "installed_bytes": 0, "entry": "strata.py"}]}, @@ -131,7 +131,7 @@ All signing happens on the release PC, on the finished files. **What is built (per OS)** * *The installer*, one per OS (0.2.5). The Windows and Linux ones have no engine inside: built with `--config src-tauri/tauri.update.conf.json`, which drops `engine-bundle`. The Mac dmg keeps its small Metal engine (one Mac variant). - Windows: `Strata-0.2.7-windows-x64-setup.exe`; Linux: `Strata-0.2.7-linux-x86_64.AppImage`; Mac: `Strata-0.2.7-macos-arm64.dmg` for people and + Windows: `Strata-0.2.8-windows-x64-setup.exe`; Linux: `Strata-0.2.8-linux-x86_64.AppImage`; Mac: `Strata-0.2.8-macos-arm64.dmg` for people and `Strata.app.tar.gz` as the updater archive (the updater cannot install from a dmg). The Windows and Linux files are both the first download and the file `latest.json` names; the first start of the app downloads the engine for the card (the first-run card), or installs a file the person already has. Why: an app update must not carry an engine, and the right engine depends on the card. Engines come per card from the signed feed @@ -149,8 +149,8 @@ All signing happens on the release PC, on the finished files. # Linux: tauri build --bundles appimage (no engine inside) is the AppImage # on the release PC, per updater artifact (Windows setup .exe, Linux .AppImage, Mac Strata.app.tar.gz): npx tauri signer sign -f # writes .sig - python packaging/feed_tool.py set-app-platform --app-json RELEASE/tauri-latest.json --target windows-x86_64 --version 0.2.5 --archive Strata-0.2.7-windows-x64-setup.exe --sig Strata-0.2.7-windows-x64-setup.exe.sig --notes "..." - python packaging/feed_tool.py set-app-platform --app-json RELEASE/tauri-latest.json --target linux-x86_64 --version 0.2.5 --archive Strata-0.2.7-linux-x86_64.AppImage --sig Strata-0.2.7-linux-x86_64.AppImage.sig + python packaging/feed_tool.py set-app-platform --app-json RELEASE/tauri-latest.json --target windows-x86_64 --version 0.2.5 --archive Strata-0.2.8-windows-x64-setup.exe --sig Strata-0.2.8-windows-x64-setup.exe.sig --notes "..." + python packaging/feed_tool.py set-app-platform --app-json RELEASE/tauri-latest.json --target linux-x86_64 --version 0.2.5 --archive Strata-0.2.8-linux-x86_64.AppImage --sig Strata-0.2.8-linux-x86_64.AppImage.sig python packaging/feed_tool.py set-app-platform --app-json RELEASE/tauri-latest.json --target darwin-aarch64 --version 0.2.5 --archive Strata.app.tar.gz --sig Strata.app.tar.gz.sig python packaging/feed_tool.py build-feed --out RELEASE --sequence N --key --engine RELEASE/engine --control RELEASE/control --app-json RELEASE/tauri-latest.json [--dsv41 RELEASE/dsv41] python packaging/feed_tool.py verify-feed RELEASE --pub diff --git a/packaging/build_hip_linux.sh b/packaging/build_hip_linux.sh index 3744484b..7c1e51c1 100644 --- a/packaging/build_hip_linux.sh +++ b/packaging/build_hip_linux.sh @@ -9,7 +9,7 @@ # SRC= the Strata source (default: the checkout this script is in) # LLAMA= at the pinned commit (setup.py LLAMA_CPP_COMMIT); mtmd and ggml come from it # HP= CORE= LIBW= (TheRock: _rocm_sdk_devel, _rocm_sdk_core, _rocm_sdk_libraries_*) -# OUT= PKGVER=0.1.52 COMMIT= JOBS=16 +# OUT= PKGVER=0.1.54 COMMIT= 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=} CORE=${CORE:-$HP} LIBW=${LIBW:-$HP} OUT=${OUT:-$PWD/work-$V} -PKGVER=${PKGVER:-0.1.52} +PKGVER=${PKGVER:-0.1.54} COMMIT=${COMMIT:-unknown} JOBS=${JOBS:-16} case "$V" in diff --git a/packaging/mac/build_dsv41_engine.sh b/packaging/mac/build_dsv41_engine.sh index 6c71b604..a4361e63 100644 --- a/packaging/mac/build_dsv41_engine.sh +++ b/packaging/mac/build_dsv41_engine.sh @@ -1,7 +1,7 @@ #!/bin/bash # Build the DeepSeek-V4.1-Flash engine component for Apple Silicon (strata-dsv41, backend metal). # -# bash packaging/mac/build_dsv41_engine.sh [--version 0.1.53] [--build DIR] [--out DIR] [--build-id ID] +# bash packaging/mac/build_dsv41_engine.sh [--version 0.1.54] [--build DIR] [--out DIR] [--build-id ID] # # Run it in the source tree on the Mac. It configures and builds the `strata_ds4` target (metal/CMakeLists.txt) when the binary is # missing, stages it as `strata-dsv41` beside the kernel sources the engine compiles at start-up, packages them with @@ -18,7 +18,7 @@ # /metal/ggml-common.h set -u ROOT=$(cd "$(dirname "$0")/../.." && pwd) -VERSION=0.1.53 +VERSION=0.1.54 BUILD="$ROOT/build-metal" OUT="$ROOT/pkg/engine" BUILD_ID="" diff --git a/strata_cli/__init__.py b/strata_cli/__init__.py index a3db1cc1..066fea85 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.7" +PRODUCT_VERSION = "0.2.8" def version() -> str: diff --git a/tests/terminal/test_tui2_023_old_launcher.py b/tests/terminal/test_tui2_023_old_launcher.py index f021c8e2..00ef41fd 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.7 (build "), done.stdout) + self.assertTrue(done.stdout.startswith("strata 0.2.8 (build "), done.stdout) elsewhere = self.staged_tree(parent="terminal") # not the updater's staging folder self.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.py index 39200e50..98b2a293 100644 --- a/tests/terminal/test_tui2_023_versions.py +++ b/tests/terminal/test_tui2_023_versions.py @@ -21,25 +21,26 @@ 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.8: Terminal and app are 0.2.8; Control and every engine package (Qwen, DeepSeek, Metal, SYCL, aarch64) are 0.1.54 (both engines changed since 0.2.7.1). # 0.2.7.1 (DGX Spark): Control and the linux-aarch64 engine packages are 0.1.53 (the CMake project version); the app and the Terminal stay 0.2.7, the Metal engine 0.1.52. # 0.2.7: Terminal and app are 0.2.7; Control and every engine package (Qwen, DeepSeek, Metal) are 0.1.52 (the CMake project version; the Qwen and DeepSeek C++ both changed since 0.2.6) - self.assertEqual(strata_cli.PRODUCT_VERSION, "0.2.7") - self.assertEqual(strata_cli.version(), "0.1.53") # the CMake project version: Control - self.assertEqual(first("CMakeLists.txt", r"^project\(strata VERSION ([0-9.]+) "), "0.1.53") - self.assertIn('STRATA_VERSION="0.1.52-metal"', (ROOT / "metal" / "CMakeLists.txt").read_text(encoding="utf-8")) + self.assertEqual(strata_cli.PRODUCT_VERSION, "0.2.8") + self.assertEqual(strata_cli.version(), "0.1.54") # the CMake project version: Control + self.assertEqual(first("CMakeLists.txt", r"^project\(strata VERSION ([0-9.]+) "), "0.1.54") + self.assertIn('STRATA_VERSION="0.1.54-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.7") + self.assertEqual(first("apps/desktop/src-tauri/Cargo.toml", r'^version = "([^"]+)"'), "0.2.8") lock = (ROOT / "apps/desktop/src-tauri/Cargo.lock").read_text(encoding="utf-8") - self.assertRegex(lock, r'name = "strata-desktop"\r?\nversion = "0.2.7"') - self.assertEqual(json.loads((ROOT / "apps/desktop/package.json").read_text(encoding="utf-8"))["version"], "0.2.7") + self.assertRegex(lock, r'name = "strata-desktop"\r?\nversion = "0.2.8"') + self.assertEqual(json.loads((ROOT / "apps/desktop/package.json").read_text(encoding="utf-8"))["version"], "0.2.8") host = json.loads((ROOT / "apps/host/package.json").read_text(encoding="utf-8")) - self.assertEqual(host["version"], "0.2.7") + self.assertEqual(host["version"], "0.2.8") locked = json.loads((ROOT / "apps/host/package-lock.json").read_text(encoding="utf-8")) - self.assertEqual((locked["version"], locked["packages"][""]["version"]), ("0.2.7", "0.2.7")) + self.assertEqual((locked["version"], locked["packages"][""]["version"]), ("0.2.8", "0.2.8")) def test_the_documents_that_state_the_current_version_agree(self): - self.assertIn("Version 0.2.7, engine 0.1.52.", (ROOT / "AGENTS.md").read_text(encoding="utf-8")) + self.assertIn("Version 0.2.8, engine 0.1.54.", (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.pl.md", "README.pt-BR.md", "README.zh-CN.md"): text = (ROOT / name).read_text(encoding="utf-8") 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) @@ -48,7 +49,7 @@ class VersionBump(unittest.TestCase): 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.7 (build 0.1.53;"), done.stdout) + self.assertTrue(done.stdout.startswith("strata 0.2.8 (build 0.1.54;"), done.stdout) class UpdateFromTheLastRelease(test_updater.UpdaterCase):