Add full Inkling-2-Mini (SQ-20, SQ-15, SQ-10, Vision) support across Terminal TUI, Desktop GUI, setup.py, strata_control (inkling_fit, inkling_family, shape_engine component strata-inkling, pictures, discovery, doctor, transfer HF_TOKEN auth), serve (inkling_dialect, inkling_kind, InklingOutputParser, 6-level reasoning_effort none..max, parallel 1..64), tools/packaging, and Docker shape bundling. Includes unit and end-to-end tests for Python and Desktop host.
- Keep Hy4-Flash pictures enabled on Intel Arc (SYCL) and without Qwen strata-vision reader; show accurate 0.9 GB strata-hy4 vision wording
- Fetch only missing Hy4-Flash-Vision.strata on partial folders without re-downloading existing SQ-64/Engram-Q8 shards
- Streamline Hy4-Flash TUI launch flow to 6 screens (omitting Qwen-only cards/drafting/parallel/tuning/advanced) and clean Save/Start/plan/list-presets summaries
- Add clear 1-line explanations for strata tune auto, strata engine calibrate, and strata drafting on Hy4-Flash
- Fix strata connect display name in OpenCode and thinking effort levels ([high, max], default high) in omp and pi
- Clamp external OpenAI/Responses/Anthropic reasoning_effort and thinking_mode values server-side so unsupported levels never crash Hy4-Flash chat_template.jinja
- Fix multi-turn image temp-file race in hy4_kind.write_images when cancelling/stopping a stream before sending a follow-up message
- Recognize shape_title in SETUP_KEYS and GUI run-config-check.mjs so Expert settings shows no unknown-key warning on Hy4-Flash
The move of apps/ to app/ in 0.2.16 left the old names in comments, docstrings, usage lines of scripts ("python apps/desktop/scripts/stage-control.py ...", "cd apps/host") and in a few READMEs. A search of every code path (string literals, join() arguments, imports, workflows, build files) found none still pointing at apps/: the only code use of "apps" left are the Harness's own apps/cli folder and tools/layout (the move scripts, kept as they were). So this changes text only: 131 replacements in 88 files. history/apps/..., @tauri-apps/... and apps/cli are left alone. terminal/strata_control/app_policy.py writes a header line that is also in app/host/server/policy-generated.mjs; both changed together (tests/terminal/test_app_policy.py passes).
GitHub's windows-2022 runner checks out with core.autocrlf=true, so every source file has CRLF line ends there. Four tests read a source file and match it with \n and failed only there since the 0.2.16 push (main run 44412709932 and later):
- app/host/tests/agent-mcp-model-timeout.test.mjs, "the host hands the model's setting to the agent" (server/index.mjs, server/native-control.mjs)
- app/host/tests/monitor-gpu-load-hint.test.mjs, "the web Monitor shows the same sentence on its GPU load label" (terminal/serve/web/app.js)
- app/host/tests/shell-languages.test.mjs (src-tauri/src/shell.rs)
- terminal/serve/test_web_history.js, run by serve.test_web_history.HistoryInNode (serve/web/app.js)
They now read the file with CRLF turned into LF. Reproduced on the owner PC with a checkout made under core.autocrlf=true: the same three host tests and the same history case fail there and pass with LF and, after this change, with CRLF. The product code is not involved; it is the same text.
.github/workflows/check.yml: the diagnostic step imported ./apps/host/server/hardware.mjs (ERR_MODULE_NOT_FOUND since the layout move); it is app/host now.
Context 128K (owner, 2026-11-19): hy4_fit budgets the KV (HY4-STRIX measured 66.3 GiB at 128K against 62.2 GiB at 4K on SQ-64: 34.7 KB a token beyond the author's 20K, +3.84 GB at 128K),
the 0.93 GB Vision shard in RAM when images are on, and notes that the 0.44 GB drafter is inside every build's dense weights. The author's 7 cases still hold at their own 20K
(AUTHOR_CONTEXT); at 128K the 12 GiB + 64 GiB home PC keeps SQ-64 resident (1.25 GB experts in the card, 54.79 GB in RAM). context_fits / recommend_context pick the largest context a
card holds the cache of; setup says so and keeps a larger one the person asks for. DEFAULT_CONTEXT is 131072 in the family, setup, launch, the catalog and the app.
Drafter on by default (DEFAULT_DRAFTER = dfly2): serve asks the engine `--info` (drafter=none|dfly2) before a start and passes `--draft dfly2` only when it says dfly2; otherwise
one log line and a start without it. Any word but off means the default (Qwen's drafting words included).
Images on by default: the Vision shard is in the default download set (setup, catalog, expected files), `--vision <shard>` is in the config, and `--vision no/off` leaves it out.
Image protocol (design note section 1.6b): `image=<path>` keys on the GEN line (one per picture, prompt order, %20 / %25 for space and percent), one placeholder pad token per
picture in the ids, `IMG i n` lines back, INFO / --info `images=1`. serve writes the pictures (JPEG, PNG, BMP, GIF after normalisation) and deletes them after the request; an engine
without an image reader gets `--vision` taken out with one line and a request with a picture answers 400 with a plain sentence. The runner's --info and INFO now say drafter=none images=0.
The mock engine implements both (HY4_MOCK_CAPS). Tests updated and added; design note and TEXT-PENDING updated.
App, Terminal and the desktop shell 0.2.17; Control and every engine package 0.1.63. The release manifest (docs/data/release.json, published 2026-11-20,
the aarch64 DeepSeek package no longer an asset of the release: its feed entry names the v0.2.13 file, #6267), the version lines and installer names of the
current pages, the capability table, the settings register (line numbers), and the two tests that pin the versions follow. MIN_ENGINE stays (0, 1, 46).
Owner rule: the Terminal always uses the new number. The work-mode swap is no longer part of resourceSettings (what every write of the run config takes): it is
launchBudgetArgs(cfg, profile), applied by buildConfig to the config of the start being made, after the person's options are merged in. The saved args keep setup's
--resident-budget-gib (47 on 64 GB), args_written is unchanged, and ui_resource_baseline carries no budget bookkeeping (nothing is saved, so nothing is put back).
"Full performance" and a load with no preference leave args as they are. The same rules as before: the person's budget (user_args, an edit of args), a --ram-keep-gib, and a
STRATA_RAM_KEEP_GIB / STRATA_RESIDENT_HEADROOM_GIB in the env keep their value; no work number (a 0.2.16 config not yet moved, a budget asked of setup, unified memory) leaves the
budget alone; a config moved by strata_cli/ram_budget_move.py works as a new one.
Tests: app/host/tests/resource-rammode.test.mjs now loads through the host (a work load starts with 40, the file read afterwards has 47, performance 47, the person's value in both),
terminal/tools/test_setup_rammode.py: a Terminal start (engine_args) of the config the app saved gets 47. Docs (UNSLOTH_Q4.md, DETAILS.md) say the swap is not saved.
The host test that compares setup's SETUP_KEYS with the check's known keys failed on the first gate run (p1006-20261119-1657-5bfb, owner-20261119-1657-b3cc).
Owner decisions 11-19. Setup writes both numbers in the run config: --resident-budget-gib in args is the new rule (47 on 64 GB), and "ui_budget_work_gib" is the old
rule (40) from the same function (resident_budget_gib(work=True)). The app's "Leave 20% for my work" swaps the second one into args and records what it replaced in the
resource baseline (setupBudget); "Full performance" runs with setup's number and puts it back after a work load. The app holds no copy of the rule. The key is left out when
setup was asked for a budget, when the config keeps one of the person's (user_args, an edit of args), and where the two rules agree (a unified-memory GPU, 24 in both; every
expert in RAM). A budget, --ram-keep-gib, STRATA_RAM_KEEP_GIB or STRATA_RESIDENT_HEADROOM_GIB of the person's wins in every mode.
A 0.2.16 config (setup's old number, args_written equal, no second number) moves once at the first command of the new Control (strata.py -> strata_cli/ram_budget_move.py,
setup.migrate_ram_budget): 40 -> 47 on 64 GB, 24 -> 31 on 48 GB, 8 -> 15 on 32 GB, with the old number as the work number. A number the person set, a unified-memory PC
and a layer split are not touched; the earlier file is kept as .bak, a second run changes nothing, and a config with nothing to move is not written.
The RAM reading is rounded up to the size the PC is sold with (16/24/32/48/64/96/128/192/256, then a multiple of 8) where it reads within 3% under it, only in the budget rule:
a 64 GB Windows PC (63.1) gets 47 like Linux, a PC with 60 GB gets 43.
Tests: terminal/tools/test_setup_rammode.py, app/host/tests/resource-rammode.test.mjs, goldens regenerated with the repo's generators, docs (UNSLOTH_Q4.md, DETAILS.md).
On the owner PC (Ryzen 5 7600 with its built-in "AMD Radeon(TM) Graphics", 0.5 GB, and an RTX 5070) the Welcome flow said
"VRAM · 2 GPUs 12 GB" and "2 GPUs connected", while the Terminal and the Models page count one card. listedGpus() leaves out a card with a known
size under 1 GB when another card has 4 GB or more; a size of 0 (not read) is kept. Test: onboarding-memory.test.mjs.
- Terminal, Model step at 80x24: for a model that does not fit, the explanation box (four lines) ended with the cut sentence "The n-gram table
stays on your SSD and is". That general sentence now shows only for a model that fits or in a window of 30 rows or more; the help (?) keeps it.
Test: terminal/tests/terminal/test_guitui_0217.py (fails before, 3 passed after).
- App, Models page: the "Model files" card showed C:\...\Strata\Models before a model was loaded and C:\...\Strata (the data folder) after.
It now always names the models folder, the same one Settings > Storage shows. Test: guitui-0217.test.mjs.
Seen in the QA pass: after a chat with a picture, the same host opened in another browser profile (or after the browser data was cleared)
answered every new message of that chat with "red-square.png is no longer in browser storage. Attach it again. Try sending the message again.",
and an earlier message cannot get its picture back, so the chat was stuck.
- lib/history-pictures.ts: readHistoryPictures reads what it can; a picture it cannot read is left out of the history, named to the model
in the earlier message's text, and the page shows a toast (gtui03, gtui04 in 10 languages).
- app.css: at 360 px the Version row and the Computer use switch of the Models page wrap instead of running past the card.
- Tests: guitui-0217-pictures.test.mjs.
`strata launch` serves on 8080 and answers /api/health with 200, like the App Host. The shell's health wait and the Linux session check
(live_session) took any 200 as "Strata is running", so a stale app session (old process id reused) or a port the person had chosen in
Settings (8080) showed the Terminal model server's own web page in the app window, which asks for that server's API key.
- identity.rs: classify_health tells the App Host ("uptimeSec") from a Strata model server ("service": "strata").
- wait_for_health and live_session accept only the App Host.
- When the wanted port is busy and a Terminal model server holds it, the notice is busy:<wanted>:<used>:terminal and the page says so
in plain words (new gtui locale family, 10 languages); the old busy-port text stays for any other holder.
- Tests: identity.rs unit tests, a main.rs test with a stub server on a loopback port, guitui-0217.test.mjs.
From PR #6193 (FluxNimbusAi; its commit f13232ead), author kept. A client that asks the app for /v1/models got rows
without the status object, the input and output kinds and the alias rows that the engine's own list gives; a client
that decides from those fields saw a different model list through the app. Each ready instance now has a row with
status {value: "loaded"}, architecture (text, plus image when the instance has vision) and the context fields it had
before; each alias that differs from the model id is a row of its own with alias_of naming the model id.
Applies as posted (the author rebased it on the 0.2.16 layout). The PR's tests are kept: native-models-meta.test.mjs
(new) fails on the old code (it expects the alias row between the two instances' rows) and passes with the change;
native-models.test.mjs and native-models-context.test.mjs are updated to the new rows. 16 of 16 pass.
On a Windows AMD card the host has no power sensor, so the energy meter (fed only with the host's own readings) stayed at 0.0 Wh
while the Power tile, which takes the engine's reading, showed 235 to 285 W (reported on RX 9070 XT, RX 7900 GRE). The host's poll
of an engine's /metrics now notes the watts it reports (hardware.gpus[].power, else hardware.gpu_power) per instance, and the
meter adds the larger of the host's sum and the engines' sum (the same card in both is not added twice); a reading older than 6 s
counts for nothing. Tests: app/host/tests/energy-engine-power.test.mjs; energy-partial-power.test.mjs follows the new call.
materializeSkills() wrote one file per skill, a regenerated SKILL.md, into <data>/agent/skills-live/<name>/ and never copied the
rest of the skill's folder, so a skill that says "run scripts/build.py" or "use the template in assets/" pointed at nothing (one
worksheet request took 48.6 minutes and 244 tool calls in the report). A skill that comes from a folder of its own (the app's
written skills and the workspace's skills folder) now brings the files beside its SKILL.md: same places, links and dot folders
and node_modules left out, limits of 500 files / 64 MB / 6 levels / 16 MB a file, an unchanged file not rewritten (the agent
treats every write as a change), a file taken out of the skill taken out of the copy too (a note .strata-copied.json lists what
was copied; files the person put there by hand are never touched). The skill id -> folder map stays in the host; the page does
not receive it. Tests: app/host/tests/skill-extras.test.mjs.
native-fb5.test.mjs matches the NativeModels.tsx expression that picks the shown card roles; it now includes the roles the run config holds, between the running model's cards and the recommendation. Test only.
The models folder follows XDG_DOCUMENTS_DIR (Dokumente on a German desktop) and the default workspace was hard-coded to <home>/Documents, so one install had two Strata folders. workspaceBases puts the system's Documents folder first on Linux; a workspace already made in <home>/Documents is kept while the system folder has none, and Windows and macOS are unchanged. Test: app/host/tests/fixapp-0217-workspace-documents.test.mjs.
The shared listener answered 404 for the Responses API in 0.2.13; the host now starts it with allowResponses. The test covers the allow-list in both directions and that index.mjs passes the flag. Test only.
A Load that asks for the recommendation keeps the cards the model's run config names (the #3256 rule), but the box showed the recommendation, so it said Recommended on two cards and the Load ran on the one saved card, then flipped to Your choice. The server now hands over the run config's gpu_roles with the installed model; the page shows them (savedRoles in lib/gpu-roles.ts) while the person has not picked roles, and Back to recommended, or a pick equal to the recommendation, is sent as a choice (gpuRoles) that replaces the saved ones. No text changes. Tests: app/host/tests/fixapp-0217-saved-roles.test.mjs.