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

Mac pictures: signing smoke checks strata-vision, docs and the 7 READMEs say the Mac reads pictures

Niko1221509466a66802
diff --git a/README.de.md b/README.de.md
index 22727337e..67c3c0f3f 100644
--- a/README.de.md
+++ b/README.de.md
@@ -282,7 +282,8 @@ Du kannst Bilder pro Modell ausschalten oder den Leser mit `--vision off`, `--vi
Die Zahlen hinter der Regel: Auf einer Radeon AI PRO R9700 brauchte der Bildleser der Karte 57 ms für ein Bild mit 260 Tokens,
der des Prozessors 3,1 s. Auf Karten mit 16 GB (Tesla P100 und RTX A4000, Linux) kostete der Bildleser der Karte 3-5 % des
-Texttempos, weil er etwa 1,4 GB belegt, die sonst das Modell nutzen würde. Der Mac hat noch keinen Bildleser.
+Texttempos, weil er etwa 1,4 GB belegt, die sonst das Modell nutzen würde. Auf dem Mac liest die GPU, egal wie viel Speicher er hat (0,45 s für ein Bild mit 260 Tokens auf einem M4 mit 32 GB, etwa 1,2 GB des gemeinsamen
+Speichers); der Prozessor braucht dort etwa 50 s pro Bild und liest deshalb nur mit `--vision cpu`.
### Gut zu wissen
diff --git a/README.es.md b/README.es.md
index 952f8d902..bdf938605 100644
--- a/README.es.md
+++ b/README.es.md
@@ -281,7 +281,8 @@ NVIDIA y AMD. Puedes desactivar las imágenes por modelo, o elegir el lector con
Las cifras detrás de la regla: en una Radeon AI PRO R9700, el lector de la tarjeta tardó 57 ms en una imagen de 260 tokens y
el del procesador 3,1 s. En tarjetas de 16 GB (Tesla P100 y RTX A4000, Linux), el lector de la tarjeta costó un 3-5 % de
-velocidad en texto, porque ocupa unos 1,4 GB que de otro modo usaría el modelo. El Mac todavía no tiene lector de imágenes.
+velocidad en texto, porque ocupa unos 1,4 GB que de otro modo usaría el modelo. En un Mac lee la GPU, tenga la memoria que tenga (0,45 s para una imagen de 260 tokens en un M4 de 32 GB, unos 1,2 GB de la memoria compartida);
+el procesador tarda unos 50 s por imagen, así que solo lee con `--vision cpu`.
### Conviene saber
diff --git a/README.fr.md b/README.fr.md
index c5fd23735..9a2e1e54c 100644
--- a/README.fr.md
+++ b/README.fr.md
@@ -283,8 +283,8 @@ règle est la même pour NVIDIA et AMD. Vous pouvez désactiver les images par m
Les chiffres derrière la règle : sur une Radeon AI PRO R9700, le lecteur de la carte a pris 57 ms pour une image de
260 tokens et celui du processeur 3,1 s. Sur des cartes de 16 Go (Tesla P100 et RTX A4000, Linux), le lecteur de la carte
-a coûté 3 à 5 % de vitesse sur le texte, parce qu'il occupe environ 1,4 Go que le modèle utiliserait sinon. Le Mac n'a pas
-encore de lecteur d'images.
+a coûté 3 à 5 % de vitesse sur le texte, parce qu'il occupe environ 1,4 Go que le modèle utiliserait sinon. Sur un Mac, le lecteur tourne sur le GPU quelle que soit la mémoire (0,45 s pour une image de 260 tokens sur un M4 de 32 Go, environ 1,2 Go de la
+mémoire partagée) ; le processeur met environ 50 s par image, il ne lit donc qu'avec `--vision cpu`.
### Bon à savoir
diff --git a/README.ja.md b/README.ja.md
index b18fd3028..93e6d942a 100644
--- a/README.ja.md
+++ b/README.ja.md
@@ -270,7 +270,7 @@ strata doctor # インストール済みのエ
このルールの根拠となる数値です。Radeon AI PRO R9700 では、カードのリーダーは260トークンの画像に57 ms、プロセッサのリーダーは3.1秒かかりました。
16 GBのカード(Tesla P100 と RTX A4000、Linux)では、カードのリーダーを使うとテキストの速度が3〜5%下がりました。
-本来モデルが使う約1.4 GBをリーダーが占めるためです。Mac にはまだ画像リーダーがありません。
+本来モデルが使う約1.4 GBをリーダーが占めるためです。Mac ではメモリ量にかかわらず GPU が読み取ります(32 GB の M4 で260トークンの画像に0.45秒、共有メモリを約1.2 GB使います)。プロセッサでは1枚あたり約50秒かかるため、`--vision cpu` を指定したときだけ使います。
### 知っておくと便利なこと
diff --git a/README.md b/README.md
index 2ebeef7d1..72dc71d81 100644
--- a/README.md
+++ b/README.md
@@ -275,7 +275,8 @@ off per model, or choose the reader with `--vision off`, `--vision gpu` or `--vi
The numbers behind the rule: on a Radeon AI PRO R9700 the card's reader took 57 ms for a 260-token picture and the
processor's took 3.1 s. On 16 GB cards (Tesla P100 and RTX A4000, Linux) the card's reader cost 3-5% of text speed,
-because it holds about 1.4 GB that the model would use otherwise. The Mac has no picture reader yet.
+because it holds about 1.4 GB that the model would use otherwise. On a Mac the reader runs on the Mac's GPU whatever its memory (0.45 s for a 260-token picture on an M4 with 32 GB, about 1.2 GB of the shared
+memory); the processor reader needs about 50 s per picture there, so it runs only when you ask for it with `--vision cpu`.
### Good to know
diff --git a/README.pt-BR.md b/README.pt-BR.md
index f43682eef..146656aeb 100644
--- a/README.pt-BR.md
+++ b/README.pt-BR.md
@@ -273,7 +273,8 @@ por modelo, ou escolha o leitor com `--vision off`, `--vision gpu` ou `--vision
Os números por trás da regra: numa Radeon AI PRO R9700, o leitor da placa levou 57 ms para uma imagem de 260 tokens e o do
processador levou 3,1 s. Em placas de 16 GB (Tesla P100 e RTX A4000, Linux), o leitor da placa custou de 3 a 5% da velocidade do texto,
-porque ocupa cerca de 1,4 GB que o modelo usaria de outra forma. O Mac ainda não tem leitor de imagens.
+porque ocupa cerca de 1,4 GB que o modelo usaria de outra forma. No Mac, a GPU faz a leitura, seja qual for a memória (0,45 s para uma imagem de 260 tokens em um M4 de 32 GB, cerca de 1,2 GB da memória compartilhada);
+o processador leva cerca de 50 s por imagem, então só lê com `--vision cpu`.
### Bom saber
diff --git a/README.zh-CN.md b/README.zh-CN.md
index 793177c13..20e7d241f 100644
--- a/README.zh-CN.md
+++ b/README.zh-CN.md
@@ -268,7 +268,7 @@ strata doctor # 检查已安装的引擎文件
这条规则背后的数据:在 Radeon AI PRO R9700 上,显卡读一张 260 token 的图片用了 57 ms,处理器用了 3.1 秒。在 16 GB 的显卡
(Tesla P100 和 RTX A4000,Linux)上,用显卡读图会让文字速度下降 3-5%,因为它占用约 1.4 GB 显存,否则这部分会被模型使用。
-Mac 目前还没有读图功能。
+在 Mac 上,无论内存多大,都由 GPU 读图(32 GB 的 M4 上读一张 260 token 的图片用 0.45 秒,占用约 1.2 GB 共享内存);处理器读一张约需 50 秒,所以只有指定 `--vision cpu` 时才用。
### 使用须知
diff --git a/apps/desktop/tester/README-mac.txt.in b/apps/desktop/tester/README-mac.txt.in
index eb604a66e..1557c16ac 100644
--- a/apps/desktop/tester/README-mac.txt.in
+++ b/apps/desktop/tester/README-mac.txt.in
@@ -27,8 +27,7 @@ START IT
Closing the window stops Strata and its engine.
-Pictures: this Mac build has no picture reader yet, so models read text only here. Picture input works on the Windows and
-Linux builds.
+Pictures: on by default. This Mac build reads them on the Mac's GPU (under a second for a small picture on an M4).
@INCLUDE:common-gatekeeper-mac.txt@
diff --git a/docs/AI_SETUP.md b/docs/AI_SETUP.md
index 3f8e9c988..ad829882d 100644
--- a/docs/AI_SETUP.md
+++ b/docs/AI_SETUP.md
@@ -130,7 +130,7 @@ Notes:
whether to allow Strata on the network if you used `--access lan`.
- **AMD on Windows:** only the AMD driver is needed. The AMD engine is a ready-made download. It has not been run with a
model on a real AMD card on Windows by us: ask the user to report how it runs ([AMD_HIP.md](AMD_HIP.md)).
-- **Mac:** the Metal engine is fetched like any other. There is no picture reader on the Mac yet.
+- **Mac:** the Metal engine is fetched like any other. Pictures are on by default and read on the Mac's GPU ([MAC.md](MAC.md)).
## 5. While it downloads, tell the user
diff --git a/docs/DETAILS.md b/docs/DETAILS.md
index 07c9b3e68..cd997377d 100644
--- a/docs/DETAILS.md
+++ b/docs/DETAILS.md
@@ -1631,11 +1631,10 @@ The model has a vision encoder: [`mmproj-Qwen3.8-Flash-Next-BF16.gguf`](https://
(0.9 GB, a 27-layer ViT plus the projector into the language model). Pictures are **on by default** wherever a model can read
them. The app, `strata launch` and setup use one rule for the reader: the **CPU reader under 24 GB** of graphics memory (nothing is
taken from the card's memory, so the experts keep their room) and the **graphics card's reader from 24 GB**, on NVIDIA and AMD
-cards. You can switch pictures off (`--vision no`, or "No" in the app and in `strata launch`) or pick the reader per model
+cards; a Mac reads on its GPU (Metal) whatever its memory. You can switch pictures off (`--vision no`, or "No" in the app and in `strata launch`) or pick the reader per model
(`--vision gpu` or `--vision cpu`). The setup downloads the encoder and puts a small helper (`strata-vision`, from llama.cpp's
`mtmd` library) beside the engine; it adds it to your start script. Nothing else changes. Where a reader is missing, pictures
-stay off and the screen says so: the Mac app and the Mac Terminal have no picture reader yet, and neither has the Intel Arc
-engine. On AMD the card's reader is `strata-vision-hip`, a second program in the engine package; if it cannot start, the server
+stay off and the screen says so: the Intel Arc engine has none yet. On AMD the card's reader is `strata-vision-hip`, a second program in the engine package; if it cannot start, the server
starts the CPU reader by itself and prints one line ([AMD_HIP.md](AMD_HIP.md)).
| Encoder on | Time per picture | Cost |
diff --git a/docs/INSTALL.md b/docs/INSTALL.md
index d917488ce..6b3426ed0 100644
--- a/docs/INSTALL.md
+++ b/docs/INSTALL.md
@@ -73,7 +73,7 @@ in `%LOCALAPPDATA%\Strata\components` (Linux and Mac: `~/.local/share/strata/com
`Strata` folder in your Documents (you can change the model folder in the app). Removing the app does not remove
them. **For a bug report:** Settings, Engine, Diagnostics, View logs, **Save logs**.
-The app has no picture reader on the Mac yet. Everything else about pictures is in [Setup's questions](#setups-questions).
+On a Mac pictures are on by default and read on the GPU ([MAC.md](MAC.md)). Everything else about pictures is in [Setup's questions](#setups-questions).
## The Terminal
@@ -282,7 +282,7 @@ These are the questions of the installer from source (`START-HERE.bat`, `./setup
from the GPU) and on the GPU from 24 GB (0.1-0.5 s per picture, ~1.4 GB of VRAM kept free for it). The rule is the
same for NVIDIA and AMD cards; `--vision gpu` and `--vision cpu` choose the reader yourself, `--vision no` turns
pictures off. On a Radeon AI PRO R9700 the GPU reader took 57 ms for a 260-token picture and the CPU reader 3.1 s.
- The Mac has no picture reader yet. [Details](DETAILS.md#images-vision).
+ A Mac reads on its GPU (0.45 s for a 260-token picture on an M4). [Details](DETAILS.md#images-vision).
- **Experimental speed projection?** Off unless you say yes - [read what it does](DETAILS.md#experimental-speed-projection-experimental-off-by-default)
first. It changes how the model answers, and only the original model offers it.
diff --git a/docs/MAC.md b/docs/MAC.md
index ce9c81116..19483ab6a 100644
--- a/docs/MAC.md
+++ b/docs/MAC.md
@@ -11,8 +11,8 @@ kernels are replaced by Metal ones (`metal/`), and the host code and the server
- **From source: `./setup.sh`.** It sets things up the way `START-HERE.bat` does on Windows and builds the engine on your Mac
(about 1-15 minutes).
-**Pictures:** the app and the Terminal have no picture reader on the Mac yet. Only the source build can read pictures
-([Limits](#limits-this-version)). The NVIDIA, AMD and Intel engines are unchanged.
+**Pictures:** on by default in the app, the Terminal and the source build. The reader (`strata-vision`) comes in the engine package
+and runs on the Mac's GPU through Metal ([Limits](#limits-this-version)). The NVIDIA, AMD and Intel engines are unchanged.
**Status:** new. It is measured on three Macs: an M5 Max with 128 GB, where the model stays in memory; and an M4 Mac mini
with 32 GB and an M1 Max with 34 GB, where the experts stream from the SSD (the M1 Max: 7.9 tok/s decode, 186 tok/s on a
@@ -188,10 +188,22 @@ The arena was 11.5-14.7 GB. Tokens per second, one token per step (no MTP), medi
## Limits (this version)
-- **Images (vision): the source build only.** `./setup.sh` asks "Should the model also read images?" (`--vision yes|no`) and
- builds the picture reader (`strata-vision`) itself. Checked on one test picture with Q2_0 and UD-Q4_K_XL: the answers equal
- the HIP engine's, and text output is unchanged with vision on. No other tests yet. The app and the Terminal have no
- picture reader on the Mac yet. They show models as text only and do not turn pictures on.
+- **Images (vision):** on by default. The app and the Terminal use the `strata-vision` that sits beside `strata` in the engine package;
+ `./setup.sh` builds it itself and asks "Should the model also read images?" (default yes). One program does both jobs: with `--gpu` it
+ reads on the Mac's GPU (ggml's Metal backend, the shaders are built into the program), without it on the CPU. A Mac always gets the GPU
+ reader, whatever its memory. The 24 GB rule of the PC cards does not apply: the Mac has no separate card memory to keep free, and the
+ reader's footprint is about the same on either side (1.18 GB on the GPU, 1.05 GB on the CPU, mostly the 0.9 GB projector file).
+ Measured on a Mac mini M4 (32 GB), Qwen3.8-Flash-Next's BF16 projector:
+
+ | Picture | GPU reader | CPU reader |
+ |---|---|---|
+ | 260 tokens (640x400) | 0.45 s | 50.7 s |
+ | 972 tokens (1600x1200) | 2.4 s | 194 s |
+
+ `--vision cpu` is still allowed and prints that note. The CPU reader is slow because ggml has no vector kernel for BF16 on ARM (a build
+ for newer chips, with the BF16 and int8 instructions, took the same 50.7 s). If the GPU reader cannot start, the server prints one line
+ and starts the same program on the CPU. With Q2_0 streaming from the SSD on that M4, the STRATA 42 test picture (red circle, blue square,
+ green triangle, the text "STRATA 42") was described correctly with both readers. Checked on one Mac only; the M5 Max is untested for pictures.
- **Context:** measured up to 32K (needles, KL). Setup recommends 32K below 96 GB and 64K from 96 GB. Up to the model's 262K can be set, but it is not measured.
- **One request at a time.** `--parallel` (batch slots) is not ported. Several clients queue.
- **Not ported:** the control vector (`--control-vector-scaled`) and the PC tuning (`--calibrate`).
diff --git a/docs/MCP_SERVER.md b/docs/MCP_SERVER.md
index a86b433ab..772919d39 100644
--- a/docs/MCP_SERVER.md
+++ b/docs/MCP_SERVER.md
@@ -128,7 +128,7 @@ Every result is JSON with a one-line `summary`. It is sent both as text and as M
- the size setup itself would pick: IQ3_XXS from 60 GB of RAM, Q2_0 from about 44 GB, the Coder from about 28 GB,
and the Coder in the low-RAM mode below that when the GPU makes up for the RAM;
- the context setup recommends for the GPU's VRAM;
-- pictures on where the model can read them (the reader runs on the CPU under 24 GB of VRAM and on the GPU from 24 GB, on NVIDIA and AMD cards; a Mac has none yet).
+- pictures on where the model can read them (the reader runs on the CPU under 24 GB of VRAM and on the GPU from 24 GB, on NVIDIA and AMD cards; a Mac reads on its GPU).
The first call returns the plan: the download size (58-111 GB), the free disk space, the RAM check, and the exact
setup command. The assistant should show you the plan and call again with `confirm: true` once you agree.
diff --git a/docs/MODELS.md b/docs/MODELS.md
index fe4c0b7c3..31a8ed6ca 100644
--- a/docs/MODELS.md
+++ b/docs/MODELS.md
@@ -107,8 +107,8 @@ read them. The picture reader runs on the CPU when the graphics card has less th
picture, nothing taken from the card) and on the graphics card from 24 GB (about 1-1.4 GB of VRAM; 0.1-0.5 s per
picture). The rule is the same on NVIDIA and AMD cards. `--vision off` (or "No" in the app and in `strata launch`) turns
pictures off; `--vision cpu` or `--vision gpu` picks the reader. On AMD, `strata-vision-hip` is the card's reader; if it
-cannot start, Strata uses the CPU reader by itself ([AMD_HIP.md](AMD_HIP.md)). The Mac app and the Mac Terminal have no
-picture reader yet ([MAC.md](MAC.md)), and neither does the Intel Arc engine ([INTEL.md](INTEL.md#not-done)). More: [Images](DETAILS.md#images-vision).
+cannot start, Strata uses the CPU reader by itself ([AMD_HIP.md](AMD_HIP.md)). The Mac reads pictures on its GPU
+([MAC.md](MAC.md)); the Intel Arc engine has no picture reader yet ([INTEL.md](INTEL.md#not-done)). More: [Images](DETAILS.md#images-vision).
### Qwen3.8-Flash-Next
diff --git a/docs/TEST_REQUESTS.md b/docs/TEST_REQUESTS.md
index 67197f6d1..806c5c00b 100644
--- a/docs/TEST_REQUESTS.md
+++ b/docs/TEST_REQUESTS.md
@@ -17,6 +17,6 @@ This list is edited by the maintainers. An item stays until a report answers it.
| A long soak (an hour or more of back-to-back requests) on a split or resident setup | Shows crashes, drift and heat that a short run does not | #848 |
| AMD RX 7000 series (RX 7900 XTX, 7900 XT, 7800 XT and similar, RDNA 3) on Linux or Windows | The RX 7000 builds have not been run on a real RX 7000 card by us; the Docker image for them is also untested on a card | none yet |
| Windows with an AMD card: the app or the Terminal, one model, one picture sent | The Windows AMD build has not been run on a real card, and neither has its picture reader (CPU under 24 GB, GPU from 24 GB) | none yet |
-| A Mac with Apple silicon (macOS 15 or newer): the app or the Terminal with a real model | Mac builds have run on very few Macs. Tell us the Mac's memory, the model, the speed, and anything that failed. The Mac app has no picture reader yet. The signing script has not been run against Apple's real notary service yet, so a first-launch warning is expected and useful to hear about | none yet |
+| A Mac with Apple silicon (macOS 15 or newer): the app or the Terminal with a real model | Mac builds have run on very few Macs. Tell us the Mac's memory, the model, the speed, and anything that failed. Pictures on the Mac (GPU reader) were run on one Mac mini M4 only: tell us if they work on yours. The signing script has not been run against Apple's real notary service yet, so a first-launch warning is expected and useful to hear about | none yet |
To add a request, open a pull request that adds a row, or tell the maintainers in an issue.
diff --git a/docs/TROUBLESHOOTING.md b/docs/TROUBLESHOOTING.md
index fbe45ca50..ac541308b 100644
--- a/docs/TROUBLESHOOTING.md
+++ b/docs/TROUBLESHOOTING.md
@@ -200,7 +200,7 @@ reader runs on the CPU under 24 GB of graphics memory and on the card from 24 GB
several seconds (about 3 s at 300 image tokens on 8 cores, more with more tokens) are read by the encoder on the CPU;
`--vision gpu` (NVIDIA and AMD, ~1.4 GB of VRAM) makes it 0.1-0.5 s. On AMD the card's reader is `strata-vision-hip`; if it
cannot start, the server prints "the GPU picture reader did not start (...); pictures are read on the CPU" and goes on with
-the CPU reader. The Mac app and the Mac Terminal have no picture reader yet. On Intel Arc, pictures are off by default for now (`--vision yes` turns them on).
+the CPU reader. On a Mac the reader runs on the GPU; `--vision cpu` takes about 50 s per picture there. On Intel Arc, pictures are off by default for now (`--vision yes` turns them on).
## AMD cards
diff --git a/packaging/README.md b/packaging/README.md
index e70a3c4fb..e85839895 100644
--- a/packaging/README.md
+++ b/packaging/README.md
@@ -16,7 +16,7 @@ A backend name alone is not a target. Each row is an OS x CPU ABI x backend tupl
| Target tuple | App artifact | Engine package | Status |
| --- | --- | --- | --- |
-| `macos-arm64-metal` | `.app` + `.dmg` (Tauri) | Metal `strata`, bundled | **built.** The app's self-test passed from inside the mounted DMG and the engine's 17 kernel-parity suites pass on an Apple M4 GPU. A large model does not fit the 16 GiB test Mac. No picture reader on Mac yet. Signing and notarising: `packaging/mac/sign-and-notarize.sh` (see [mac/README.md](mac/README.md)); it has been run with stand-ins for Apple's service, not yet against the real one. |
+| `macos-arm64-metal` | `.app` + `.dmg` (Tauri) | Metal `strata`, bundled | **built.** The app's self-test passed from inside the mounted DMG and the engine's 17 kernel-parity suites pass on an Apple M4 GPU. A large model does not fit the 16 GiB test Mac. Carries `strata-vision` (Metal), built by `packaging/build_vision_mac.sh`. Signing and notarising: `packaging/mac/sign-and-notarize.sh` (see [mac/README.md](mac/README.md)); it has been run with stand-ins for Apple's service, not yet against the real one. |
| Terminal `darwin-arm64` | self-contained `.tar.gz` | any | **built and verified.** Runs from a moved directory in a clean environment with no usable system Python. |
| `windows-x86_64-cuda` | NSIS `.exe` (Tauri) | `cuda13` and `cuda12` packages | **built and tested** on a Windows PC with an NVIDIA card: silent install with a PATH of System32 only, a real model, an agent chat. |
| `windows-x86_64-hip` | NSIS `.exe` (Tauri) | `tools/hip/build_windows.bat` | **built; never run on a real AMD card.** |
diff --git a/packaging/build_vision_mac.sh b/packaging/build_vision_mac.sh
old mode 100644
new mode 100755
diff --git a/packaging/mac/README.md b/packaging/mac/README.md
index cedaa7415..da833c886 100644
--- a/packaging/mac/README.md
+++ b/packaging/mac/README.md
@@ -50,13 +50,13 @@ updater key** here: that key never goes near the Mac, and the Mac needs no node.
## What it does
1. Copies the `.app` out of the dmg into a temporary folder (the original is never changed).
-2. Signs every Mach-O inside it, deepest first (node, python, every `.dylib`, `.so` and `.node`, the engine, `rg`, `spawn-helper`,
+2. Signs every Mach-O inside it, deepest first (node, python, every `.dylib`, `.so` and `.node`, the engine and its picture reader `strata-vision`, `rg`, `spawn-helper`,
the app's own program): hardened runtime and a secure timestamp. Then signs the `.app`.
3. Rewrites `engine-component.json` for the engine it just signed. Control checks every engine file against the SHA-256 in that file, and
signing changes the engine binary, so without this step the signed app would refuse its own engine.
4. `codesign --verify --deep --strict`, `spctl -a -vvv`.
5. Runs the signed copy before Apple sees it: the app's own `--self-test` (private node, host, UI, Control), every native addon loaded in
- the signed node, the bundled python (numpy, PIL, ctypes callbacks), the engine's `--version` (no model is loaded), and Control's own
+ the signed node, the bundled python (numpy, PIL, ctypes callbacks), the engine's and the picture reader's `--version` (no model is loaded), and Control's own
check of the engine manifest. A signing mistake shows up here, not on a tester's Mac.
6. Notarises the `.app`, staples it, rebuilds the dmg (the app, an Applications link, the volume icon, as in
`apps/desktop/scripts/make-dmg.sh`), signs the dmg, notarises and staples it, then `spctl -a -t open --context context:primary-signature -vv`.
diff --git a/packaging/mac/sign-and-notarize.sh b/packaging/mac/sign-and-notarize.sh
index f350c8c06..138c23b07 100755
--- a/packaging/mac/sign-and-notarize.sh
+++ b/packaging/mac/sign-and-notarize.sh
@@ -433,7 +433,7 @@ print("python ok", sys.version.split()[0])' >>"$LOG" 2>&1); then rec OK "smoke:
if run_timeout 30 "$f" --version >"$WORK/engine-version.txt" 2>&1; then say " $(head -n 1 "$WORK/engine-version.txt")"; else
cat "$WORK/engine-version.txt" >>"$LOG"; fails=$((fails + 1)); say " engine did not start: $f"
fi
- done < <(find "$res/engine-bundle" -mindepth 2 -maxdepth 2 -type f \( -name strata -o -name strata-device \) 2>/dev/null)
+ done < <(find "$res/engine-bundle" -mindepth 2 -maxdepth 2 -type f \( -name strata -o -name strata-device -o -name strata-vision \) 2>/dev/null)
[ "$fails" -eq 0 ] || fail "smoke: bundled engine starts" "$fails engine(s) did not start under the hardened runtime"
if [ -x "$py" ] && [ -d "$res/engine-bundle" ]; then
out="$(cd "$ctl" && env HOME="$home" "$py" -c '
@@ -473,7 +473,7 @@ smoke_terminal() { # extracted terminal folder
while IFS= read -r f; do
[ -n "$f" ] || continue
run_timeout 30 "$f" --version >>"$LOG" 2>&1 || fail "smoke: engine in the Terminal archive" "$f does not start"
- done < <(find "$root" -type f \( -name strata -o -name strata-device \) -perm -u+x 2>/dev/null | while IFS= read -r c; do file "$c" | grep -q 'Mach-O' && printf '%s\n' "$c"; done)
+ done < <(find "$root" -type f \( -name strata -o -name strata-device -o -name strata-vision \) -perm -u+x 2>/dev/null | while IFS= read -r c; do file "$c" | grep -q 'Mach-O' && printf '%s\n' "$c"; done)
}
# ----------------------------------------------------------------------------------------------------------------- the app