From ac669f199d380ea80958207da9c351c50e4c8674 Mon Sep 17 00:00:00 2001 From: Niko1221 Date: Sat, 24 Oct 2026 06:29:42 +0200 Subject: [PATCH] Terminal 0.2.4.2 / Control 0.1.49.2: version bump for the DeepSeek launch and install fixes (app stays 0.2.3, engine packages unchanged); release notes --- CMakeLists.txt | 2 +- docs/release-notes-0.2.4.2.md | 24 ++++++++++++++++++++ tests/terminal/test_tui2_023_old_launcher.py | 2 +- tests/terminal/test_tui2_023_versions.py | 10 ++++---- 4 files changed, 31 insertions(+), 7 deletions(-) create mode 100644 docs/release-notes-0.2.4.2.md diff --git a/CMakeLists.txt b/CMakeLists.txt index acc76446..68892aea 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.1 LANGUAGES CXX) +project(strata VERSION 0.1.49.2 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/docs/release-notes-0.2.4.2.md b/docs/release-notes-0.2.4.2.md new file mode 100644 index 00000000..a90d9cc5 --- /dev/null +++ b/docs/release-notes-0.2.4.2.md @@ -0,0 +1,24 @@ +# Strata 0.2.4.2: DeepSeek launch and install fixes + +Fixes for `strata launch` with DeepSeek and for the one-line installer. Only the Terminal's Control (0.1.49.2) and `install.sh` changed. The app stays 0.2.3 and every engine package stays as it was, so there is nothing new to download for them. + +## What is fixed + +- **The right DeepSeek engine runs when you have more than one Strata install.** Launch now picks the newest DeepSeek engine package of the install that is running, and of the install your model's settings came from, instead of an old path saved in the model's settings. +- **A plain message when GitHub cannot be reached.** DeepSeek setup checks for 10 seconds before it downloads anything and says in one line that GitHub is not reachable, instead of retrying for minutes. +- **DeepSeek no longer downloads the Qwen engine.** A DeepSeek launch does not fetch or test-start the Strata (Qwen) engine, the llama.cpp source or CUDA libraries it never uses. `strata launch --plan` no longer promises that download. +- **The disk check counts only what is still to download.** If most of the model files are already in your models folder (also under the first release's file names), the model list no longer says "tight: needs more disk space". The room for the prepared model is still counted. +- **Smaller wording fixes.** A setup message that ended with a full stop no longer gets a second one ("engine.."), and the second sentence of "The model could not be installed. The model does not answer sensibly after the preparation: ..." starts with a capital. +- **The install one-liners keep your terminal open on an error.** `install.sh` is now a function that returns an error instead of closing the shell it runs in, and the commands in the README and docs download it first: `curl -fsSL https://github.com/Niko1221/Strata/releases/latest/download/install.sh -o install.sh && sh install.sh`. + +## Updating + +- **From 0.2.4 or 0.2.4.1:** run `strata update` in the Terminal. It fetches Control 0.1.49.2 and the next `strata` command runs it (`strata --version` says 0.2.4.2). +- **New installs:** use the command in the README (download `install.sh`, then run it). +- **Mac:** the Mac Terminal gets Control 0.1.49.2 too. DeepSeek is not on the Mac yet. + +--- + +Strata is free and open source. If it runs well on your PC, a coffee keeps the work on it going: + +Buy Me A Coffee diff --git a/tests/terminal/test_tui2_023_old_launcher.py b/tests/terminal/test_tui2_023_old_launcher.py index 1693df06..0f7edaf7 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.1 (build "), done.stdout) + self.assertTrue(done.stdout.startswith("strata 0.2.4.2 (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 9517eda2..5f27c4db 100644 --- a/tests/terminal/test_tui2_023_versions.py +++ b/tests/terminal/test_tui2_023_versions.py @@ -20,12 +20,12 @@ def first(path, pattern): class VersionBump(unittest.TestCase): - def test_the_terminal_is_0_2_4_1_and_control_is_0_1_49_1_while_the_app_stays_0_2_3(self): + 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.1") - self.assertEqual(strata_cli.version(), "0.1.49.1") # the CMake project version: Control - self.assertEqual(first("CMakeLists.txt", r"^project\(strata VERSION ([0-9.]+) "), "0.1.49.1") + 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")) def test_every_place_the_app_version_lives_says_0_2_3(self): @@ -49,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.4.1 (build 0.1.49.1;"), done.stdout) + self.assertTrue(done.stdout.startswith("strata 0.2.4.2 (build 0.1.49.2;"), done.stdout) class UpdateFromTheLastRelease(test_updater.UpdaterCase):