Commit Graph
583 Commits
Author SHA1 Message Date
Niko1221 aff3a132f5 Merge f-ds-out ac306afb2 into f-own-int
Nine conflicts, one hunk each, all of the kind "ds-out removes DeepSeek next to a line that
main's fixes bundle (c1ff07f1a) or f-agent-turn changed". Resolved by keeping the other side's
addition and ds-out's removal (resolutions a-i accepted by the coordinator):
- apps/host/src/lib/native-fit.ts FitInput, apps/host/src/lib/native.ts NativeSize: ds-out's line
  (no DeepSeek fields or note) plus main's context_fit field.
- apps/host/src/components/GuidedSetup.tsx, NativeModels.tsx imports: contextCacheGb kept,
  deepseekContexts / OLD_DEEPSEEK_CONTEXT out.
- apps/host/tests/ui-r3.test.mjs: ds-out's first assert, main's second (context_fit).
- serve/server.py READY line: f-agent-turn's can_hold kept, the DeepSeek self.multi read out.
- strata_cli/launch/cmd.py: ds-out's suppressed --speed / --full-quality, main's new --gpu help.
- strata_cli/launch/screens.py: ds-out's STEP_LABELS, main's middle_shorten kept,
  speed_choice_available out.
- data/settings-register.json: the 39 STRATA_DS4_* entries out.
The register's stale "line" values are not regenerated here.
2026-11-11 21:33:30 +01:00
Niko1221 fefaa985c1 Merge main c1ff07f1a into f-own-int 2026-11-11 16:44:44 +01:00
Niko1221 b47591e74e DeepSeek out (5b, app): a remembered DeepSeek model is skipped at the host's start, not cleared; nothing is written
Commit 5 cleared the remembered model with store.update(), which writes data/state.json. The product changes
nothing of the person's, so the rule moves into server/autostart.mjs: it reads the remembered model, and for a
DeepSeek one logs the approved refusal and returns nothing to start; the value stays in state.json as it was.
Test: tests/autostart-deepseek.test.mjs (the real store on a temporary STRATA_HOME: not started, the line logged,
state.json byte-identical; a Qwen model still starts).
plain-errors.ts: the DeepSeek refusal's sentences are marked [DRAFT] for translation (English in every language
until the owner has the wording list).
2026-11-11 12:02:53 +01:00
Niko1221 efa9d6dbed DeepSeek out (5/7): the desktop app without DeepSeek; a DeepSeek model in the list says where its files are and is not loaded
- apps/host: the DeepSeek card, note, Speed (DeepSeek) setting, context list, picture tower, engine options, the
  "DeepSeek" engine family and its update line go (server/dsv41-context.mjs, server/native-ds-args.mjs,
  src/lib/deepseek-context.ts, src/lib/deepseek-speed.ts deleted; native-control, native-settings, engine-library,
  native-vision, GuidedSetup, NativeModels, NativeSettings, VersionPicker, EngineUpdateCard, PcFitCard, engine-list,
  native-catalog, default-context, native.ts edited). withoutVisionFlag, used by the Qwen path, moves into
  native-control.mjs unchanged.
- A model Control lists as retired (strata_control/models.py, commit 2) shows on the Models screen with its line
  (the owner's D2) and cannot be loaded: loadEngine stops with Control's refusal (D1) before any fetch, file write or
  start; the Manage list and Settings > Storage leave it out (their delete removes files). plain-errors.ts shows the
  refusal as Control wrote it, with the approved next step (English; translations come with the owner's word).
  The host's autostart clears a remembered DeepSeek model and logs the refusal instead of trying to load it.
- The "DeepSeek speed-ups" switch leaves strata_control/speed_switches.py (a DeepSeek config gets no switch);
  app_policy.py loses the DeepSeek rows; policy-generated.mjs and tests/data/policy-vectors.json regenerated with
  `python -m strata_control.app_policy`.
- Locales: the 16 DeepSeek-only keys leave all nine languages (fx62-fx69, fx72, fx75, fx77, fx78, fx80, fx81,
  vp03). DeepSeek as a cloud provider / search key and the DeepSeek Harness are untouched (owner).
- Tests: the six DeepSeek-only app test files go; the DeepSeek cases of the shared ones become "listed as retired,
  refused, nothing saved or started"; test_speed_switches.py loses the DeepSeek switch rows.
2026-11-11 11:42:22 +01:00
Niko1221 c7ea3ac6a9 Merge f-own-3v 6ccf276d2 into f-own-int (round 16: our picture reader as the default, llama.cpp's selectable)
Conflict: serve/server.py Vision.__init__, f-own-int's cpu_note line and f-own-3v's reader line:
both kept.
2026-11-11 10:21:39 +01:00
Niko1221 4972c0b4eb Merge f-gh5715 (Qwen3.6 context fitted to the card, #5715) into f-main-1111b 2026-11-11 10:20:16 +01:00
Niko1221 087454e9be apps/host tests: the host-level switch tests account for the picture reader row (the fixture's run configs read pictures), and one more host test: choosing llama.cpp's reader writes STRATA_VISION_TOWER=mtmd and Strata's own again gives back the same file
p1006 job p1006-20261111-0822-fc74: speed-switches.test.mjs + policy-generated.test.mjs 24 / 24 pass (the run before this fix, -0758-e745, failed the host-level lists; python 55 passed, tsc 0).
2026-11-11 08:23:16 +01:00
Niko1221 92a2d99c87 settings: "Picture reader" in Expert settings (app: Native engine settings > Image reading; Terminal: the Advanced table): Strata's own (recommended) or llama.cpp's
- one more switch in strata_control/speed_switches.py (picture_reader): llama.cpp's writes STRATA_VISION_TOWER=mtmd into the model's run config "env", the default writes nothing; the server hands that env to strata-vision, and an older reader ignores it
- shown for a Qwen run config that reads pictures (a "vision" section), never for DeepSeek (its pictures are read inside its own engine)
- a switch can name its group and its two options: the app shows this one inside the existing Image reading group with the two option names; the other switches stay in Speed with On / Off, unchanged
- label, options and help line approved by the owner 11-11 morning (par/OWNER-WORDING-1111.md); the help line is 275 characters, so the 260 limit of the switch texts is 300 for this one row
- [DRAFT] the Terminal row's frame "Picture reader (Strata's own by default; set mtmd to use llama.cpp's). <help line>" (not yet seen by the owner); its Default cell says auto
- policy-generated.mjs and policy-vectors.json regenerated (python -m strata_control.app_policy; vectors gain Qwen, Qwen3.6 and DeepSeek configs with pictures); English strings in fix-en.json; the other eight languages in the next commit
- tests: tests/terminal/test_speed_switches.py (PictureReader: where it shows, the group and words, one entry written and none by default, --set and off, the Terminal row), apps/host/tests/speed-switches.test.mjs and policy-generated.test.mjs
2026-11-11 07:57:31 +01:00
Niko1221 1fea75a425 App: Qwen3.6's context estimate from the catalog's own figures (#5715)
The Models page and the first-run page priced Qwen3.6's conversation
memory with the Flash-Next int8 formula: 1.9 GB at 128K where the engine
allocates 5.8 GB. On a 12 GB card the warning under the context chooser
never showed, and the This computer card counted too little.

- The catalog row of each Qwen3.6 size (tools/strata_mcp.py model_table)
  carries `context_fit`: bytes per token and the card's fixed share, from
  strata_control/own_path_fit.py, the rule setup's menu uses. Other models
  have no such field and keep the Flash-Next figures.
- native-fit.ts: ContextFit, ownPathCacheGb, ownPathFits, contextCacheGb;
  fitOn counts the real cache for such a row.
- default-context.ts contextIsTight: for such a row, "does not fit the card
  by that rule"; otherwise unchanged.
- NativeModels.tsx / GuidedSetup.tsx pass the row's figures; the warning is
  the existing translated sentence ("This much context takes about {0} GB
  ..."), now with the right number. No new text.

apps/host/tests/own-path-fit.test.mjs runs the Python rule and the app's on
8 to 32 GB cards and contexts from 8K to 256K and needs them to agree.
2026-11-11 01:07:29 +01:00
Niko1221 ebe1fcc9bb Qwen3.6: one figure for the conversation memory per token and the card's fixed share (#5715)
strata_control/own_path_fit.py holds the inputs of the context-fit rule for
Qwen3.6-35B-A3B, in one place:

- 47,104 bytes per token, derived from the engine's allocations (not
  measured): each session's fp32 K and V of the 10 attention layers and the
  MTP block (45,056 B, alloc_session; setup.py's kv_bytes_per_token) plus
  the fp16 copy of K and V the engine keeps at the full context (2,048 B,
  Engine::init k16 / v16), which setup's figure left out.
- base 8.55 GiB before the context: derived from the #5715 log (RTX 5070
  12 GB, Windows, engine 0.1.59, UD-Q4_K_XL at 64K: 0.45 GiB free after the
  session). One field log, the strict end against 7.2-7.65 GiB in the other
  logs. A measured start replaces this one number.
- the hybrid mode's minimum after the session: UD-Q4_K_XL 1256 MiB (#5715
  log), UD-Q6_K_XL 1760 MiB (#3687 log), Q8_0 taken as UD-Q6_K_XL.

The app's design catalog said 20 KB per token for Qwen3.6; it is 46.

Tests: tests/terminal/test_own_path_fit.py (the figure against the engine
source, the field logs) and apps/host/tests/own-path-fit.test.mjs.
2026-11-11 00:22:36 +01:00
Niko1221 e77c407b83 net: the first-run screen shows the waiting line in the stage text's element (lane 15)
While setup waits for a server (phase "waiting"), GuidedSetup shows the line "Waiting for <host> to answer (<n> s so far)" in place of the stage
text, in the same element and with no style change (download-eta.ts waitingText); the app translates it with the net01 string. A longer
language may wrap to a second line while it waits. Approved by the owner as option (a).

Tests: apps/host/tests/net-waiting.test.mjs (the screen takes the line only while setup waits).
2026-11-10 19:44:31 +01:00
Niko1221 fd40eb0fd8 net: setup's downloads and launch's model step say what they wait for, and a silent host fails in about 44 s, not 320 s (lane 15, item 1)
setup.py's size request (HEAD) for a download used to run 5 times with a 60 s limit and a 5 s sleep, silently: about 320 s per file, and
launch printed nothing meanwhile. Now every setup request on the download path goes through strata_control/netpolicy.py:
- the connection phase (lookup, connect, TLS, proxy CONNECT, the server's headers) gets 12 s, then one retry with 30 s, 2 s apart;
  no lookup answer, a refused port, an unreachable network, a refused certificate and HTTP 4xx fail at once;
- after 5 s a line "  Waiting for <host> to answer (<n> s so far) ..." is printed, then every 10 s;
- a host that failed after the whole window is not asked again for 10 minutes in the same process (memory only, never on disk);
- the failure names the host and says what to check and what still works offline (W3/W4/W5); the proxy and ModelScope hints follow.
Launch: the heartbeat also runs in the download phase, the waiting line becomes the status sentence (phase "waiting", W2), a new sentence is
always printed by the non-terminal printer (a second download's first figure was hidden), and a cancelled or stopped launch writes
"(you stopped it: <status>)" to the setup log. The app string "Waiting for {0} to answer ({1} s so far)" is added in nine languages
(translations are first drafts). conftest.py: every test starts with an empty host memory.

Tests: tests/terminal/test_netpolicy.py, test_net_launch_waits.py (local black hole, refusing port, a normal server), test_tls_trust.py,
test_no_acquisition.py, tools/test_setup_*.py (the fakes now patch the netpolicy.urlopen seam), apps/host/tests/net-waiting.test.mjs.
2026-11-10 19:44:31 +01:00
Niko1221 8bbd64e971 parallel-chats test: the scratch folder's removal retries (a chat save that landed while it was being removed failed the teardown with ENOTEMPTY on a macOS runner) 2026-11-10 13:17:10 +01:00
Niko1221 50c753f5d5 host tests: assert-private reads the DACL through .NET File.GetAccessControl and compares it by SID (Get-Acl's module did not load in Windows PowerShell under a PowerShell 7 parent; SDDL writes the runner's built-in Administrator as the alias LA) 2026-11-10 13:17:10 +01:00
Niko1221 0abb4f869e Merge f-clean-fix: CI fixes and tests that no longer depend on the box they run on 2026-11-10 06:47:31 +01:00
Niko1221 1eac64cd5d Merge commit '8cf002e1b' into f-0214-app 2026-11-10 02:38:04 +01:00
Niko1221 8cf002e1b0 test: drafting.test.mjs's second source check reads the first-load condition too
af9b832fd made the load's MTP condition `(drafts.split===true||args.firstLoad===true)&&(config.drafting...)`; e481f3b6b updated the
first regex in drafting.test.mjs but not the one at line 252, which the full check on f-0214-app found. Test only.
2026-11-10 02:37:28 +01:00
Niko1221 c8d1d73122 Merge commit '95e9b7341' into f-0214-app 2026-11-10 01:51:44 +01:00
Niko1221 e481f3b6b9 Control: a model whose draft layer is off keeps the server's own "without the draft layer" step; the app's first-load test shape
Follow-up to 519c7e8c0 and af9b832fd, found by tools/check on Boston (compared with main there):
- drafting.apply took --mtp out itself for a model DFlash2 is not for when "mtp" is false, so serve/server.py's draft-layer step had
  nothing left to remove and its line ("mtp": false - starting without the draft layer) was gone (serve/test_draft_layer). With
  "mtp": false the server's step takes the layer out again; "drafting": "off" alone is still taken out in apply.
- apps/host/tests/drafting.test.mjs reads the load's MTP condition from the source; it now includes the first load after a setup.
2026-11-10 01:49:32 +01:00
Niko1221 7fddfd8292 Merge commit '81f7422c1' into f-0214-app 2026-11-10 01:49:20 +01:00
Niko1221 8cfd842c72 tests: pass on GitHub's macOS runners
- tools/conftest.py: on macOS only, setup.py sees platform 'linux' in its tests (they describe Linux and Windows PCs; setup.main() on
  a Mac goes to the Metal installer). The rest of the process still sees darwin; test_setup_mac sets darwin itself as before.
- test_docker_entrypoint runs on Linux only: the container entry point needs GNU tools.
- model-directory and request-flow start their host with ROOMY_HOST (STRATA_TEST_HARDWARE): on a 7 GB runner the demo model did not load.
- test_setup_download Resume keeps the runner's stderr and exit state and names them when the piece list is missing (failed once on
  Linux and macOS in CI run 42699343686).
2026-11-10 00:15:52 +01:00
Niko1221 7937614e34 Desktop (Linux) + App: after the in-app update the update job reads done, and no old AppImage runtime is kept alive
Found by the item 1 gate on l620 (0.2.13 TEST app -> 0.2.14 TEST app): the app came back by itself in 9 s, but
- the update job read "cancelled": the old host's close() marks running jobs cancelled when its shell stops it, and the new host
  settled only "running" records. A job with appUpdateFrom saved as cancelled is now settled the same way ("Strata is updated to
  <v>", or the "did not finish" error when the same version came back), and this host's close() leaves such a job running.
- each restarted AppImage runtime inherited an fd (1023) into the previous /tmp/.mount_*, so the old runtime and mount stayed until
  the app quit. The restarter now closes inherited fds before it starts Strata again.
2026-11-09 23:43:01 +01:00
Niko1221 75a75e1a87 Settings > Engine, shape group Use dialog: keep the two reassurance sentences after the new first one
Owner 11-09: only the first sentence is replaced; the dialog reads "{0} runs on engine {1} from its next start. Your models and settings
stay as they are. You can switch back at any time." The two sentences are the existing translations, taken word for word from the Strata
engine's Use sentence by the generator, so only the first sentence is new text in every language.
2026-11-09 23:22:04 +01:00
Niko1221 b130a479dc Settings > Engine: the Use dialog of a Qwen4 model shape's engine says "{model} runs on engine {version} from its next start."
Owner decision 11-09: {model} is the group's title (the model's own catalog name, the shape's name without one), e.g. "Qwen4 runs on
engine 0.1.60 from its next start." The Strata and DeepSeek groups keep "Models you start from now on run on engine {0}. ...".
One new string (engine catalog et44, nine languages).
2026-11-09 23:21:05 +01:00
Niko1221 b473875485 App: the first-run engine card also takes a newer Strata Control from the feed, and the app switches to it
An Arc user who had just installed the AppImage needed Control 0.1.59.1 and had to find Settings > Updates (ARCFIX 0213). The card's
size line says " (with the Strata setup update)" when the download includes the Control; the job updates the engine, then the
Control, then switches the host to it at once while nothing else runs (no model, job or Control call). Any failure keeps today's
behaviour (it takes effect at the next start). Wording owner-approved 11-09.
2026-11-09 22:49:42 +01:00
Niko1221 af9b832fd3 App: the setup prepares the drafter Control's Auto picks for this card; the first load after it fetches a missing MTP layer
The install used the host's own rule (DFlash2 wherever it is served), so on a card where Auto means the MTP (a 12 GB CUDA card
streaming IQ3_S, gfx1201) setup skipped the MTP layer and the first load ran undrafted (QAGUI 0213). One decider now: Control's
drafting plan, at the install and the load; the load right after a setup fetches a still-missing layer. Tests pin that the setup,
the first load and the start agree on 12 GB (MTP) and 24 GB (DFlash2).
2026-11-09 22:49:42 +01:00
Niko1221 06f3beb0ca App: an engine version that failed its test start is not "up to date"; Update engine tries it again
Control reports failed-before for a version that failed its test start here (held back a day); the app showed "The engine is up to
date." Now: "Engine <v> didn't start correctly on this computer, so Strata kept engine <old>. Press Update engine to try again."
(the reason behind Details), and the app's Update engine passes --force. Wording owner-approved 11-09.
2026-11-09 22:49:41 +01:00
Niko1221 fdfb2db6de App + Control: run-config paths into a gone Control folder (AppImage /tmp/.mount_*) are repaired before updates and loads
Setup writes the bundled Control's absolute paths (cwd, --expert-profile) into the run config; the AppImage mounts its Control at a new
/tmp/.mount_<random> at every start. The host repaired them only at a status read, so the engine update's test start ran first with a
dead path, failed, and marked the new engine failed (QAGUI-LIN 0213). The host now repairs before every component job and every load,
and Control's update test start repoints such paths to its own folder (strata_control/control_paths.py).
2026-11-09 22:49:41 +01:00
Niko1221 9c09f839c3 App: exit 7 from Control's update lock is "an update is already running", and the update waits for the lock
Control exits 7 both when an engine serves and when another update or check holds the update lock; the app read every exit 7 as
"A model is running" (QAGUI 0213 finding 3: the first-run Download met the app's own start-up check). The lock is now told by its text
(code update_busy), and a component job waits up to 60 s for the lock ("Waiting for the update check to finish…") before it says so.
Control's consent refusal says "the update needs it stopped" instead of "an engine update" (only Control may be pending, ARCFIX E5).
Wording owner-approved 11-09.
2026-11-09 22:49:41 +01:00
Niko1221 28d6695774 Settings > Engine and strata components engines list the engine of a Qwen4 model shape as its own group, with Use and Delete
Item 6 (owner 11-08, after 0.2.13). engine_library.list_engines adds one family per installed shape engine (shape:<shape>, an id never
shown; title None), after the Qwen and DeepSeek families; a PC without one lists what it did before. use_engine pins within the shape's
own folder (engine.pinned in its .updates/state.json, which every start of that shape's model reads), the newest unpinned;
delete_engine refuses the one in use and one a running program uses with the existing lines and drops a stale pin. The Strata engine's
files and state are untouched. The app titles the group with the model's catalog title (qwen4exp_<shape>), the shape's name without
one; the Terminal prints the shape's name. --family takes shape:<shape> (help and errors unchanged). No new words.
2026-11-09 22:31:43 +01:00
Niko1221 afe6c8bc14 Strix reserve, follow-up: with no setup reserve in the run config the app takes the one setup would write (Control's setup_reserve_mib), else the floor of before
ecccc359d left no reserve on a uma card whose config had none of setup's. On Windows the engine then applies its own 2560 MiB floor,
which hung UD-Q4_K_XL on Strix Halo (G16). The hardware report (tools/strata_mcp.py) now carries setup_reserve_mib on a Windows gfx1151
unified-memory chip, from strata_control/setup_config.UMA_WIN_RESERVE_MIB under setup's own condition; the app uses it on a one-card
run, and without it (Linux, an older Control) keeps 1024 / 2048 with pictures as before (#3510 host test back to 2048).
2026-11-09 22:23:00 +01:00
Niko1221 ecccc359dd A Models-page Load on a unified-memory chip (Strix Halo) keeps the reserve setup wrote, as strata launch does
QAGUI-STRIX 11-09: the app's resource profiles rewrote setup's --vram-reserve-mib 700 to 1024 (2048 with pictures): the display-card
floor (#2065, a card whose driver pages its memory to RAM) was applied to a chip whose memory is the RAM. On a uma card the reserve
is now the one setup wrote (the profile baseline), on both profiles and with pictures on or off; none when setup wrote none (the
engine's default). --pool-workers stays with "Leave room for my work".
tests/snapshot/test_strix_app_reserve.py: the Models-screen Load (work and performance) and strata launch start the same engine line
on Windows Strix Halo from setup's config, apart from --pool-workers. app_driver.mjs takes STRATA_SNAPSHOT_APP_ARGS for it (goldens unchanged).
2026-11-09 22:17:46 +01:00
Niko1221 731b40fedc The This computer card places a unified-memory chip's model with the label's rule (carve-out only beside the RAM)
Display only (the PcFitCard numbers and the loaded models' rows): on Strix Halo it counted carve-out + shared (95.8 GB) beside the
63.6 GB RAM and said Q8_0 all fits while the label says it may run slower. The context warning (contextIsTight) keeps the GPU's
whole pool: the cache does live there.
2026-11-09 22:14:57 +01:00
Niko1221 db35f76272 test: Settings > About still shows an interrupted or failed update with no later finished one (also while a retry runs) 2026-11-09 22:14:57 +01:00
Niko1221 1eec11bd85 Read pictures unticked holds across a restart on a model set up without the picture files: a choice made with a reader present carries a marker
QAGUI-STRIX 11-09 finding 4: the off was saved (ui_vision_enabled false), but the page honoured a saved off only when the picture
files were prepared (the guard for the off 0.2.9 saved while the engine had no reader), so the box came back ticked and Load
fetched the 866 MB picture reader. A load with a picture choice now also writes ui_vision_chosen (not when the engine has no
reader); the host reports it as visionChosen; openingVision() honours an off when the files are prepared or the marker is there.
A file without the marker behaves exactly as before. server/native-control.mjs: two short edits (visionPreferences, installedInfo),
run-config-check.mjs: the key.
2026-11-09 22:13:44 +01:00
Niko1221 fb721c37d8 The version list's fit word counts a unified-memory chip (Strix Halo) only for its carve-out, as Control's fit_label does
QAGUI-STRIX 11-09: Q8_0 (133.8 GB without the table) said nothing on Strix Halo: the app added the chip's carve-out + shared pool
(64 + 31.8 = 95.8 GB) to the 63.6 GB RAM, while the catalog and the Terminal (fit_label.card_room_gb) count the carve-out only
(127.6 GB): "may run slower". cardRoomGb() is that rule; the Models page and the first-run page give it to the label.
tests/fit-label-rule.test.mjs runs the Python rule and the app's on Strix, an APU, a 12 GB card, two cards and no card.
2026-11-09 22:12:38 +01:00
Niko1221 87ec2e7734 Settings > About checks for updates again after an in-app Strata or engine update finished, so the row no longer keeps "Update available"
Lane 3 finding 6 (11-09): the shown check was the one from before the update, and its cache is keyed to the Control version that runs
until a restart. updateFinishedAfter(): a done update-strata/update-engine job that ended after the shown check's checkedAt; About
runs the check once per such job. No check without a shown one, so opening Settings still touches no network.
2026-11-09 22:11:18 +01:00
Niko1221 8c98f9fdb9 Settings > About no longer shows an update failure that a later finished update of the same component made right
QAGUI-STRIX 11-09 finding 2: the first-run card's "A model is running, so nothing was changed. Unload the model in Models, then press
Continue." stayed under About after Continue installed the engine and after restarts (jobs persist in native-jobs.json).
currentUpdateFailure(): per component, the last failed update with no later finished one; the record stays in Diagnostics.
2026-11-09 22:11:07 +01:00
Niko1221 0a6a5ad254 Menus stay inside the window on WebView2 before 128 at Interface size 125% and up: the window's size is measured like the rectangles (a fixed box), not taken from innerWidth/innerHeight
QAGUI-STRIX 11-09: on WebView2 122 the sidebar More menu opened off the window (y 915-1022 in a 920 px window) at 125/150/175%.
Chromium before 128 reports rectangles in the page's own pixels under a zoomed root while innerWidth/innerHeight stay screen pixels,
so the room below an anchor looked a zoom too large. measureFrame() returns the scale and the window in the rectangles' units;
FloatingMenu, Select, Popover, the sidebar tooltip, the version tooltip and the quote button use it.
Real engine check (Edge with --disable-blink-features=StandardizedBrowserZoom = the old model): base 14/20, fix 20/20
(phaseA-tests/par/appwin/menus.mjs).
2026-11-09 22:10:41 +01:00
Niko1221 beed8a5174 tests: pass on GitHub's Windows runners (CRLF, PowerShell 7 module path, classic console, coarse clocks)
- ui-do.test.mjs reads the sources with CRLF turned into LF (an autocrlf checkout)
- conftest.py and the host test runner drop PowerShell 7's folders from PSModulePath, so the Windows PowerShell 5.1 children
  that tests start (fetch-node.ps1, install.ps1, Get-Acl) can load their own modules
- tests/terminal draws the full look by default on Windows when no modern-terminal marker is set (STRATA_GLYPHS=unicode)
- PresetStore, bench_standard and the image-model rescan no longer depend on two events landing on different ~15.6 ms ticks
- test_runtime retries removing its temp folder while the stopped host lets go of its log
2026-11-09 22:07:36 +01:00
Niko1221 1130d824aa App: set up a model on an Intel Arc card (Linux, SYCL engine)
The app's install job ran setup.py with no --backend, so on an Arc PC it
stopped with "no NVIDIA GPU found (nvidia-smi did not answer)" while the
Terminal worked. tools/strata_mcp.py knew only cuda and hip.

- strata_mcp: the hardware report lists an Intel Arc when the PC has no
  usable NVIDIA or AMD card and Control's own engine choice is SYCL;
  recommend() and install_plan() pick sycl, pass --backend sycl, force
  pictures off, send no --drafter, and refuse (plain words) when the model's
  files are not on the computer, as Intel cards do not download models;
  the tool schema enum gains sycl.
- setup.py: --backend sycl in CONTROL mode (the app and the Terminal's
  installer mode) prepares the pack and writes the run config the way
  strata launch does (strata_cli/launch/adopt.py). A checkout keeps the
  from-source sycl_setup.
- strata_control/intel_app.py: the shared card rule and the wording.
- Tests: tests/terminal/test_intel_app_install.py (vendor choice, args,
  NVIDIA/AMD requests unchanged, the setup path, the dispatch) and
  apps/host/tests/arcfix-updated-control.test.mjs (the app runs a
  feed-updated Control for model setup).
2026-11-09 13:33:12 +01:00
Niko1221 712fec6b42 Version 0.2.13 / engine 0.1.59: Terminal and app 0.2.13, Control and every engine package 0.1.59 (the 0.2.12 bump list, plus the v0.1.59 line in the setup.py version history and docs/data/release.json for v0.2.13) 2026-11-08 23:22:26 +01:00
Niko1221 f16e297e5e Fit label: size is the download minus the lookup table's file; DeepSeek shows its whole size; no card or a small Mac says "may run slower"
Owner's answers of 11-08 evening:
- size = the model's download minus the n-gram / PLE / Engram table's file (28.8 GB for most sets, 54.4 GB for UD-Q5_K_XL / UD-Q6_K_XL / Q8_0, 51.2 GB for NVFP4, the stated
  memory figure for Gyro, the plan's Engram file for DeepSeek), against VRAM + RAM. UD-IQ4_XS and UD-IQ4_XS-v31 are 64.9 GB.
- the Terminal's "Needs" column and the app's version line show that same figure (DeepSeek: the whole size, not the CPU's share).
- no graphics card, or a Mac with too little memory: "may run slower" instead of "too big" / "Doesn't fit"; the app's "Doesn't fit" state and its "Uses SSD N GB" figure are gone.
  DeepSeek's "tight: needs more disk space" and the feed's "not available on this engine" rows are unchanged.
- docs/UNSLOTH_Q4.md names the rule instead of a 48 GB minimum.
2026-11-08 20:52:43 +01:00
Niko1221 a16f3fe39e One fit label for every model: "fits" or "may run slower" (a V100 32 GB with 31 GB of RAM no longer says "too big" for the Unsloth sets)
On a Tesla V100-PCIE-32GB with 31 GB of RAM every Unsloth set said "too big (can still try)" while IQ3_S, with the same 50 GB of experts, said "fits, a bit slower". The
catalog compared an Unsloth set's 48 GB RAM floor with the RAM alone and never counted the card. Not a hardware limit: UD-IQ4_XS is measured on that card.

Owner's rule (11-08): the model's weight files WITHOUT the n-gram / PLE lookup table (the "Needs (RAM + VRAM)" figure) against the graphics memory plus the RAM, nothing
taken off either side: "fits", else "may run slower". strata_control/fit_label.py holds it; the Terminal model menu, `setup.py --check`, the catalog's `on_this_pc` (tools/strata_mcp.py),
the install plan's RAM line, setup's size menus and the app's version list use it. Replaced: "fits, a bit slower", "too big (can still try)", "does not fit", the SSD-GB suffix,
the RAM-floor menu line ("<- needs 48 GB RAM, you have 31") and the install's RAM-floor warning where the set fits. Kept: "(recommended)" / "(installed)", DeepSeek's
"tight: needs more disk space" and "needs one or more graphics cards", a Mac's "too little memory", the feed's "not available on this engine", NVFP4's AMD notes in --check.
2026-11-08 20:52:43 +01:00
Niko1221 a1b9cc89ac A data folder on an external drive is no longer refused as a system folder (Linux)
/run/media/<user>/<drive> (udisks) sat inside /run, which was refused whole, so the AppImage, the Terminal and the AI-tool installer all said "is a system folder" for a
drive the person plugged in. A path strictly inside /run/media is not a system folder now (strata_control/folders.py, tools/strata_mcp.py, the chat project folder in
apps/host/server/chat-files.mjs); whether the drive is theirs is the existing write test. /run, /run/media itself, /run/user, /run/systemd, /usr, /etc, /var/lib and the
rest are still refused, /media/<user> and /mnt stay allowed when writable.

The refusal from setup's data folder said "Nothing was downloaded or changed." twice (the folder words end with it and setup added its own sentence); the first is dropped
for that caller only.
2026-11-08 20:52:43 +01:00
Niko1221 0fdfa40b47 Merge f-q4-feedmodels (d4b72bc90): the signed feed's optional models member (strata_control/feed.py, feed_models.py), setup tables and prescan, tools/strata_mcp.py catalog, packaging/feed_tool.py --models/model-files/verify-feed, the app family menu (Qwen4 prep) 2026-11-08 11:50:30 +01:00
Niko1221 2b36e8a027 Merge f-clean-3 (321794636): docs and history (cleanup step 3, items 3.0-3.10); release manifest and capability table with checks, history/ with pointers, link check, tools/ split, bench index; owner OK'd the wording 11-08 2026-11-08 08:35:12 +01:00
Niko1221 cb73b620a2 host: ending a child that never started no longer signals the caller's own process group on macOS
On macOS (Node 24.12) child.kill() on a child whose spawn failed (no pid, the 'error' event not yet delivered) sends the signal to pid 0, which is the
caller's whole process group. folder-dialog.test.mjs's Linux case let the real portalFolder spawn a missing gdbus and end it, so on a Mac the SIGTERM
reached the test runner and every file after it was cancelled ('Promise resolution is still pending'). Linux and Windows do nothing for such a child.

- process-tree.endTree only calls child.kill() when the child has a pid; a new test runs a never-started child through endTree/endTreeThenKill in a
  group of its own and checks the caller survives (fails on the Mac without the fix, passes with it).
- folder-dialog.test.mjs: the Linux cases pass portal: async () => null like external-env.test.mjs does, so no real gdbus is started.
- load-pictures, packaged-control and the native fixture build their temp folders under the resolved temp path (/private/var on a Mac), as chat-files
  already does; the host reports resolved paths.

m1001 (M4 Mini, macOS 27.2, Node 24.12.0): npm test went from killed after 2 s (722 of 1632 run, 172 cancelled) to 1632 tests, 1522 pass, 0 fail, 110 skipped.
The time-skip tests (timeskip-real, time-skip, timeskip-fork, timeskip-compare-server, tune-and-timeskip-routes, process-tree) passed 20 of 20 runs
before the change and 20 of 20 after.
2026-11-08 01:41:16 +01:00
Niko1221 c9e9f133ef app: load a language's strings when that language is used, not all nine at start
English stays in the main file (the English text is the key of every string). Each of the other eight languages is its own file (src/lib/catalog-<lang>.ts: the same 14 locale files merged in the same order as before).
The saved language is fetched while the rest of the code loads and the first screen is drawn once it is in; picking another language in Settings or on the first screen switches everything together once its file is here.
The 17 tests that read translations right after setTranslationLanguage now load the catalogs first (loadCatalog); no test expectation changed.
Main JS file 2,736,232 -> 844,062 bytes (gzip 875 -> 278 kB). Screens are pixel-identical in all nine languages apart from the preview's live telemetry.
2026-11-08 00:22:38 +01:00
Niko1221 bcee5f92c4 apps/host: remove the broken sync:kit command (its source folder is not in the repository); the checked-in kit styles and sprite are the source; a test keeps the two components.css copies equal 2026-11-07 23:37:50 +01:00