Commit Graph
386 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 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 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 7fddfd8292 Merge commit '81f7422c1' into f-0214-app 2026-11-10 01:49:20 +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 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 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 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 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 8c743a697d history/: the finished UI audit-fix campaign, the dated app design documents, the Mac-first rebuild (docs/work) and its acceptance-matrix generator, each moved with a pointer left at the old path; open requirements copied to apps/host/docs/BACKLOG.md; host module map and contracts kept in apps/host/docs/README.md 2026-11-07 23:37:50 +01:00
Niko1221 a37d0a57ef One decider: the app host's speed-switch table and Drafting families are generated from strata_control; the rules run shared vectors
strata_control/app_policy.py writes apps/host/server/policy-generated.mjs (the four app speed switches with their words, defaults and environment entries, from
speed_switches.py; the Drafting families and the model-name rule, from drafting.py).  native-settings.mjs imports it instead of carrying its own copy
(byte-identical values, checked against the old table).  tests/terminal/test_app_policy.py fails when the committed file or the vectors are out of date; the host test
runs speedSwitchApplies / resolveDrafter (host and screen) over policy-vectors.json, which the Python writes from its own answers (240 switch cases, 12 names, 7 families).
GPU roles already run shared vectors (tests/data/gpu_roles_vectors.json); the request-slot default stays the app's own (recorded in tests/snapshot/README.md).
No default changes.
2026-11-07 13:30:44 +01:00
Niko1221 93a1e18bce The app's plain Load follows Auto everywhere: it fetches whatever Control's Auto plan says is needed (standard DFlash2 drafter included)
fetchAutoDrafter and the plain-Load step gate on the plan's `needed` (the Auto decision's drafter is not on this computer) instead of `tuned_needed`, so the
stock-drafter cases (Intel Arc, UD-Q4_K_XL on NVIDIA 72 GB / 12 GB and the Spark) get the drafter the Terminal's Auto uses.  The decision stays Control's.

Snapshot: the app_plain goldens are re-made (18 cells changed against the stored main goldens: the 12 tuned cells the df2ux commit fixed and the 6 stock-drafter cells
this one fixes) and test_entry_points_agree.py pins app_plain == launch and app_models == launch + `drafting: auto` in all 32 cells apart from the allow-list in
tests/snapshot/allowlist.py.  With DFlash2 the NVIDIA 72 GB plain Load writes no `parallel` and no --batch-mtp (request slots: recorded in the README).
2026-11-07 13:30:38 +01:00
Niko1221 9b02c62ab5 DFlash2 tuned drafter: plan and size follow the drafter Auto really fetches; every app load path fetches it
- drafting plan --model (+ tuned, drafter_gb, tuned_needed, file); mtp or nothing needed says so; launch --plan sees a model not installed yet and a stock pack from 0.2.11
- drafting fetch --throttle (12 h rule, silent when the feed is not there); a bare fetch uses the one installed model's run config
- app: plain load, restart of stopped models and tuning run fetch the tuned drafter when Auto resolves to it; install plan passes the model; Drafting hint number from the plan
- launch plan text shows 0.34 / 0.52 GB, not 0.3 / 0.5
2026-11-07 01:09:42 +01:00
Niko1221 ea765a5717 App gateway: an unknown model name on /v1/messages uses the one loaded model (Claude Desktop sends claude-5-5-sonnet); chat and Responses stay exact, and with several models loaded the 400 stays (#5312) 2026-11-06 19:55:58 +01:00
Niko1221 3c4afa8d78 QAGUI #2 (source): /api/native says checking until Control has answered; a failed start-time read is retried in 3 s, not held 45 s; page shows Checking, not Connect engine 2026-11-04 23:26:47 +01:00
Niko1221 8768e95f12 F12: port-denied text names the right cause on Linux and macOS (QATUI F12)
Windows keeps the Hyper-V/firewall text. serve listen_problem and the host
ports.mjs pick by platform; new locale key s9038 in 9 languages.
2026-11-04 20:21:11 +01:00
Niko1221 e82c706981 Merge f-0213-preview (68bead108) into f-0213-int 2026-11-04 18:46:17 +01:00
Niko1221 68bead1082 preview: the sidebar shows the file's current content after it changed on disk (follow-up to #5180)
The preview kept a file's first content: openPreview dropped the freshly read item when its id was already a tab, the panel's loading effect had no
content version, and the effect that re-adds a message's artifacts put the stored first copy back. All three change together, through pure rules in
lib/preview-merge.ts: opening a changed file replaces its tab in place; a message's artifact only adds a missing tab or replaces an older, different
copy (each copy carries the time it was read or made) and never overwrites a newer one; both return the same array when nothing changed, so no update
and no loop follows. The panel reloads when (id, content version) changes: a hash of the text, or the host's mtime and size for pictures and PDFs
(/api/files/preview now sends mtime). The reading view is reset by the file, not by its content. Tests: stale case, 2000 alternations without a
change, one load per real change. Real Edge 156 with the real panel: the old rules keep Version One, the new ones show Version Two through 300
sync/render alternations with 0 Markdown renders. No visible text.
2026-11-04 18:45:06 +01:00
Niko1221 85269ca155 Merge f-0213-guidata (final 1d5096beb) into f-0213-int 2026-11-04 18:43:27 +01:00
Niko1221 8ad605789b agent turn: a reloaded page takes a running turn over again; chats resume after they are read from the host
A reload does not stop an agent turn, but the page that came back showed "Network error. Try sending the message again."
with no Stop button, and a new message was refused with "This chat is still working". The host now answers GET /api/chat/active
(the chats with a turn running) and POST /api/chat/attach: a running turn sends one catch-up (the start, the text and thinking
so far as a resync frame, every tool card as it is now with the approvals waiting for a yes, the open questions) and then its
live frames; a turn that ended while the page was away is shown whole once, named by the request id of the cut-off reply.
At start the page asks for the running turns, takes each over in the reply it already has (running, Stop button, the
failure it wrote is cleared), and asks once about cut-off replies of the other recent chats; nothing to take over leaves the
reply as it was. Existing states and texts only.

The things that used to run at bootOnce from the chats in memory (follow time-skip runs, end loops the last window left running,
mark tool cards of vanished turns) now run once the chats have been read from the host (resumeSessions), because the chats are
no longer in the page at that moment. The save retry waits a little longer each time (up to a minute) and never keeps a closing
page alive. Also: tests for a second window's changes (applyChatChange) in the parallel-chats test.
2026-11-04 17:48:03 +01:00
Niko1221 9cb1dc6454 App Host: the start-up probe for the share port listens on the loopback address, not on 0.0.0.0 (it made Windows Defender Firewall ask 'allow Node.js on these networks?' on the first start of every new install path); test records every listen() of a started host 2026-11-04 17:33:27 +01:00
Niko1221 094bb3f0a3 chats are files in the profile's data folder, not browser storage: the 5 MB limit is gone (#5192)
The app host saves each chat as its own file (data/chats/<id>.json, an index, a version and a revision in
every file), written to a temporary file, flushed and renamed over the chat, so a crash or a full disk in
the middle keeps the older version whole. The folder and files are owner-only. The page talks to the host
through /api/chats (the page must name itself with x-strata-client; other sites are refused), sends only the
chats that changed, never cuts anything, and keeps a chat the host cannot write whole in memory, retries it,
and says so with the notice and the "Copy unsaved chats" button in all nine languages. A save from an older
copy (a second window) keeps the version it displaces in chats/conflicts. The browser's two older layouts
(the 0.2.10 list and the per-chat entries) are handed to the host once at start and left untouched as a
fallback for one release; a last-moment copy covers a page that is closed before the host confirmed a save.
Other windows are told by an event and take over what changed.
2026-11-04 17:15:42 +01:00
Niko1221 2204582932 settings file check: args_written, user_args and gpus_by, which setup itself writes, are known keys (a freshly set-up model showed 'args_written is not a setting Strata reads' in the settings panel); test reads SETUP_KEYS from setup.py 2026-11-04 16:00:01 +01:00
Niko1221 22a3d70688 Merge f-0213-guidata (4c4596746) into f-0213-int 2026-11-04 15:59:53 +01:00
Niko1221 f4d8688e8c merge f-0213-guidata-avail (#4397 #4535 #4221 #4878 #3750 tests) 2026-11-04 12:27:00 +01:00
Niko1221 25fe8bca8e monitor: the Windows drive-temperature reader asks NVMe drives only, starts only for the Monitor screen's own ask and not in the first minute, leaves a marker across a crash and gives up a stuck first pass (#4661) 2026-11-04 11:00:21 +01:00
Niko1221 efaa100b37 host: Stop and a timed-out command end the whole process group on Linux and macOS, as taskkill /T does on Windows (#4529 #4570) 2026-11-04 11:00:20 +01:00
Niko1221 0b5096edd4 app: a start Control stopped waiting for is kept and watched while Control says it is loading, and a ready instance whose engine Control says is gone is marked stopped (#5177 #5059 #4293 #4973) 2026-11-04 11:00:20 +01:00
Niko1221 fce58233fb App Host: a quiet chat stream carries a beat frame every 15 s so the desktop web view does not drop it; the timer ends with the response; a response that already began ends in the outer catch (#4878) 2026-11-04 10:56:28 +01:00
Niko1221 ac944fc1f8 chats sharing a folder: a turn reports only the files its own tools wrote (#5008)
Two chats in one workspace folder: the end-of-turn sweep of chat A listed the files chat B had just written as
chat A's deliverables, and the other way round. A registry shared by the turns of the host (FolderClaims) now
records which chat's file tool wrote which file; the sweep skips files another chat claimed, and for turns that
overlapped in the same folder it also leaves out files nobody claimed (a script's output cannot be told apart),
rather than give them to the wrong chat. A turn that ran alone behaves as before. Chat records, tool cards and
approvals were already keyed by chat id and session id; a store-level test with two interleaved live chats and
the same call id in both pins that down. The per-folder bucket, the shared model cache and the approval-policy
notice described in the issue are Harness and engine behaviour, not changed here.
2026-11-04 10:38:45 +01:00
Niko1221 16ff27af85 App Host: an empty or malformed Host header (or a request target that is not a path) gets a 400 and the host keeps running (#4397); the shared listener compares the API key in constant time over SHA-256 digests, as do the other two header secrets (#4535) 2026-11-04 10:38:41 +01:00
Niko1221 a3a10b90af owner decisions: plan cards keep the screens' count and add "(--gpu N)"; refusal says "free"; app tells the plan which engine it will unload
- gpu_roles.describe(card_numbers=True) prints "GPU <n+1> (--gpu <n>)"; the two test_launch.py assertions are back on the old digits plus the hint. The Terminal has no translation catalog for this line.
- split_engine: the refusal sentence ends "has 7 GiB free)" when the free memory was read (the size, as before, when it was not).
- the desktop app asked `drafting plan` / `drafting fetch` before it unloads the running model, so its own engine counted as busy memory on a model switch and the plan could pick DFlash2 and fetch the 1.2 GB drafter. New flag --engines-unloading (hidden from --help), sent by native-control.mjs for a load that unloads the running instances (not for a model added beside them); same effect as Runner.card_probe. Logic only, no text.
- tests: python (drafting plan with and without the flag), node split-app.test.mjs (flag on the argv, a 2-card model switch, a model added beside).
2026-11-04 09:32:34 +01:00
Niko1221 dbdd81a675 Merge f-0212-strix (final 8b98b6f1c) into f-0212-int 2026-11-03 19:14:15 +01:00
Niko1221 8b98b6f1ca Strix Halo: an oversized prompt chunk is refused at the start instead of killing the engine after the prefill
An integrated GPU cannot report how much room is left (the pool reads 0 MiB free on a start that works). With a chunk above the 16384 default that the person or the environment names (STRATA_PREFILL_AUTO_MAX=32768, --prefill auto:32768) and a UD-Q4_K_XL cache that fills the pool, the driver could not create a stream (PAL failed to submit CMD) and the first launch after the prompt buffers died with HIP 719. Once the prompt path's own buffers are in place the engine now tries one stream, fill and wait; if that fails it prints one line naming the chunk, the cache and the 16384 alternative and ends with exit code 2, before any prompt is read (HIP builds, integrated GPU, own buffers, chunk above 16384 only; the 16384 default, CUDA and Metal are untouched; STRATA_PF_OWN_PROBE_OFF=1 skips it). The failed context cannot be reused, so the engine cannot step down in the same process.

The #1630 warning about a named chunk of 8192 or more no longer prints on gfx1151 (it said a bare --prefill auto stops at 6144, stale since 0.2.8); it is printed once the device is known. STRATA_TRACE marks around the prompt path and the buffer size of the chunk.

setup: the bench tip for --prefill auto:32768 is not said on an APU (apu_hides_chunk_tip). The tuner's prefill_32k arm needs a discrete GPU. The app's saferStart does not retry a start that ended with the chunk refusal (the same chunk would fail again, and a memory setting is not the cause). Tests for all three.
2026-11-03 19:11:00 +01:00
Niko1221 181b668e5a app: a named DFlash2 with a number of requests passes Expert mode's batch-mtp wish on as in 0.2.10, so the Metal fallback to the MTP keeps its --batch-mtp
The server drops --batch-mtp when DFlash2 runs and keeps it when the MTP runs; a test pins the Metal fallback arguments equal to the MTP's.
2026-11-03 17:52:57 +01:00
Niko1221 ae5e73de20 drafting: a DFlash2 the person chose by name keeps the number of requests they chose (DFlash2 with N requests); Auto and the MTP unchanged
- drafting.blocked_by(named=True): only --pipeline-windows still blocks; Metal keeps the old rule (no per-request drafters there)
- apply/launcher/plan pass the choice; the all-cards split engine runs --draft dflash2 --draft-model PACK only for DFlash2 by name AND --split-engine on
- the split engine's own DFlash2 start line counts as "DFlash2 on"; a split run config with --draft dflash2 is left as it is
- app Drafting hint and Terminal --drafting help say it (owner-approved wording, English only)
- tests: terminal drafting/single/split-parallel, split engine, serve parallel, node parallel-default
2026-11-03 16:28:14 +01:00
Niko1221 73dabf548d 0.2.10.1 App: Auto uses the all-cards split engine wherever Control says the Terminal does
Host: draftingPlan/draftingFetch no longer pass --no-split (only when told noSplit, after the draft layer for the split could not be downloaded); the start asks Control
(splitEngine) to turn the run config into the split engine's before the profile is saved, the second try after a failed start is never split, the load waits at least 10 minutes
for a split start, and the Details line says what runs (or that the server started the layer split). A failed MTP layer fetch ends in one plain note and the 0.2.10 layer split
plan. Screen: the split word counts with two or more cards; the download note and the Drafting hint say Auto is the split with the MTP draft layer (text only, two new strings in nine languages).
Tests: tests/split-app.test.mjs (fake Control, 13 tests); drafting.test.mjs and ui-r3.test.mjs updated.
2026-11-03 04:06:55 +01:00
Niko1221 ffa80d7313 App: a layer split runs DFlash2 alone, one request at a time. chooseParallel kept the app's default of 4 slots on two or more cards, so the Python plan (drafting.blocked_by) refused DFlash2 for slots > 1, the MTP layer was not on the disk (a DFlash2 install leaves it out) and the start ran with no drafter. The one-request rule for DFlash2 no longer asks for one card; a number the person chose still stays, and the MTP keeps its slots. Test: two cards with DFlash2 give one slot and the note, two cards with the MTP keep more than one. 2026-11-02 23:37:27 +01:00