What #1446 asked for that #1445's draft API didn't cover:
- `zeron.compose(text, { replace = true, session? })` ("compose"): the
words put in place of the draft's (its chips stay, so a rewrite keeps
what it carries), and in another chat's draft (`session`). Words alone
are added after what's there, as ever. Nothing is sent.
- `zeron.draft_of(session)` ("draft"): a promise of any chat's draft as it
is, as `zeron.draft()` says it (text, chat, chips by kind and name,
never a path), read once in the host where the app keeps it.
The composer's handling of a plugin's words is one path now (words alone
come as a string). Consent: "compose" says it may replace what you wrote;
"draft" says it sees your words in any chat. Docs, SDK (and its copies).
Tests: src/plugins `compose_takes_words_alone_or_with_replace_and_a_chat`,
`a_chats_draft_is_read_where_it_is_kept_without_paths`;
ui/tests/plugin_compose_replace.test.luau. Full UI suite (1422) and
plugins:: (248) pass.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
zgx's chimes rang done.wav whenever a chat's sidebar status turned
"done", but that status is only unseen activity, and your own message
makes it too, so every send played the completion chime (#1437).
Chat rows now carry the session's finished-turn mark (`turn`, from
lastCompletedTurn) and whether that row was fresh. The chime rings
"done" when the mark moves, as the shipping app and the engine's
banners decide it: never when the next turn is already running (a
steer, a queued message taken), never for an old row a sync brings
back or a session row returning, and only once a finish has stood for
two seconds, so a send that replaces the runtime (old turn's end, then
your turn a moment later) stays quiet. Questions and failures still
ring at once. Sends stay silent, as the sound design has it.
Fixes#1437
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
`zeron.draft` was written on every key typed, the whole draft copied each
time, whether or not any plugin may read it. It's written now only while a
plugin that's on has "draft", and cleared when none does.
ui/tests/plugin_draft_read.test.luau: none written with no such plugin (or
one off); written as typed with one on; cleared as it goes off. Both fail
without this.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
0.3.4 plus main since (#1331–#1440):
- Per-provider accounts for Pi, OpenCode and Hermes, API keys and Claude
for Pi; every model in the picker says its provider (#1425).
- A Codex chat's / lists Codex's commands and skills (#1403).
- A tool's result pictures show in its row (#1103, #1186).
- The composer's layout and focus hold steady through moves and resizes
(#1420); Settings reopens on the page shown last (#1416).
- A prompt the opening tail brings shows once: no frozen transcript from
the duplicate-key panic (#1433).
- Windows: messages have their time and Copy again (#1440); microphones
listed by name (#1334).
- macOS: chimes no longer trigger a kernel deadlock that hangs the Mac
(#1333).
- Edge: chat rooms can offer the relay layer (Wing's account only;
#1331, #1335).
Version 0.3.5.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A new "draft" permission lets a plugin read what's being typed in the message box (zeron.draft) and take the whole draft out and put it back later (take_draft, put_draft, swap_draft, drop_draft). Zeron keeps a taken draft itself, so a plugin never sees file paths. This is what a prompt stash needs: write in the wrong chat, set it aside, restore it in the right one.
On Windows every message's time was missing: the timestamp formatter had a
Unix implementation only (localtime_r) and returned nothing elsewhere. The
hover strip under a message showed only when it had a time, so Copy and the
plugins' message actions vanished with it there.
- stamp() on Windows: FileTimeToSystemTime + SystemTimeToTzSpecificLocalTime
in the machine's time zone, formatted as on macOS and Linux (shared clock()).
- The strip shows for a settled message with a time or something to copy, so
a missing time can never take Copy with it again.
Tests: clock()/stamp() on every platform; a settled reply with no time shows
Copy on hover (fixture command reply_without_time).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A reopened chat's opening tail (historyPending) took the engine's copy of
a prompt sent from here into its entries without letting go of the copy
pending here, so the transcript published two rows with one id. Its
virtual list is keyed by id and panicked ("duplicate virtual list child
key", seen on Linux, 0.2.139-beta.6 and still in 0.3.4's zgx); the panic
was contained but the transcript stopped updating until reopened.
The tail now drops arrived prompts as every other frame does, and the
published list keeps one row per id (the first, so the engine's copy over
the pending one) whatever else might repeat one.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The zgx bump to 88f45fb16 left transcript_paint_tests::a_long_chat_come_back_to_mid_scroll
one pixel off a whole repaint: zgx-gpu decided how to draw a view's fade bands
from the bands a frame repainted, so a scroll repainting only the top band faded
a glyph's overlap twice. Fixed in zgx#2177; at this pin all transcript paint
tests pass (app suite 709 passed, zgx UI suite 1402 tests, 0 failed).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A failure reported after the page's own document committed (WebView2
calls a page with an HTTP error status, such as Google's 429 "unusual
traffic" check, a failed navigation; WebKit's didFailNavigation) no longer
covers the page with "Couldn't load this page". A real failure (one that
never committed, or the page's process ending) still shows it, now with
Dismiss beside Try again (Escape too), for that navigation only.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
After a send that carried a pick (model, effort, fast, options), the
composer cleared the chat's pick only if `shared.picks:peek()[id]` was
the very table read at send time. A state's snapshot read again needn't
be the same table: after the composer metrics change it wasn't (no write
to the picks in between; the effect's reads changed), and chat_actions
"a pick goes with the message, and the session takes it then" failed
with the pick left behind. Compare the drafted fields instead. (Main has
the same identity check; it happens to hold there.)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs/composer.md: the API comes from zeronsh/zgx main (zgx#2148), not
the fork; long drafts are estimated, metrics follow width only while a
line wraps, targets publish only bound changes, side chats publish
through Dock.Dock, and a send eases the composer's size as it glides.
composer_transition_preview.luau wrote the persisted motion_reduce
setting (and the theme) at load, changing a dev build's own settings.
It no longer writes Reduce motion at load; its button still toggles it,
and leaving the preview (a reload, the preview unmounted) puts back the
setting and theme it found.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The send's move to its session bumped the composer's snap twice (the page
mode's effect and the routed chat's), so the pill dropped to its docked
size at once and only its place glided. The send now records the session
it opens (`slide_to`), kept until the route moves anywhere else, and both
effects read it, so neither depends on running first or on
session_id:peek() already being the new id: the place glides and the
form and size ease with it, no snap. Any other move still snaps.
(Main snapped both in the chat fixture: its routed-chat effect opened a
400 ms snap window on the send too, and the place effect re-ran inside it.)
Test: a_send_from_a_new_chat_slides_the_composer_down_and_eases_it_docked
samples y and height each frame against a reduced-motion shell. It fails
on main (both snap) and on the PR before this (height snaps).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Typing in a long draft: the composer queried text_metrics on every edit,
which walks every line twice, past the editor's 4,096-line span cache, so
each keystroke re-ran every line's highlighting. A draft with enough hard
lines to fill the text box is open (it has a newline) and capped whatever
it wraps to, so Layout.estimate stands in for the measure there (it looks
for at most a dozen newlines); an equal estimate is the same request and
publishes nothing. Per key in the shell fixture (probe, 20 keys):
5,000 lines main 11.5 ms / 15 calls PR 37 ms / 10,034 now 3.6 ms / 14
30,000 lines main 67 ms / 15 calls PR 221 ms / 60,034 now 21 ms / 14
Resizing: every pill width change rebuilt the target geometry (its width
made a new destination), woke the motion, its frame and every binding,
and ran the metrics, settlement and on_sizes chain in each pane. Now the
target is published only when a field a view binds or the motion reads
changes (Layout.same_target); metrics follow the width only while the
widest line doesn't fit it; layout reads the sample's size alone, so a
new revision of an equal size wakes nothing; on_sizes is called only when
a field changes, its rest height no longer reads the draft; and side
chats no longer write dock_h through on_sizes as well as Dock.Dock's
on_resize. Script calls per frame of a dragged sidebar edge, one and four
chats: main 122/211, PR 121/251, now 121/217. Split resize, 1-4 chats:
main [120,444,600,756], PR [120,684,972,1260], now [120,480,660,840].
Tests: typing_in_a_long_draft_costs_what_a_short_one_does (10,034 calls
a key in 5,000 lines before, 14 now), geometry cases for the estimate
and same_target, and the width-only metrics test split into a draft
that fits (asks nothing) and one that wraps (follows at once).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The composer's editor metrics came from a fork pin; zgx#2148 landed the
same Element:text_metrics API on zeronsh/zgx main, with the memory-floor
work.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Brings in #1425's provider accounts. The only conflict was zeron-v2's
.base.json; both sides already carry account_group into v2's copies, so
the record takes the merged default files' hashes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Keep width and measurement metadata out of view binding invalidations, and let geometry follow the complete measured sample independently of readiness. A width-only query of the same acknowledged editor revision publishes immediately; text, typography, mount and IME changes retain deferred validation. Avoid starting a motion run when only layout-owned width changes.
The unchanged sidebar resize gate now measures 121 calls/frame with one chat and 251 with four, down from 336 with four. The marginal cost is 130 against the existing limit of 135. Add coverage for width-only metrics, editor replacement and resizing during a height transition.
Validation: 692 Rust unit tests, composer tray and 11 dictation integration tests pass; 35 focused composer Rust tests and 89 composer Luau tests pass. Beta check and metric/layout type checks pass.
- A key's name is judged on its own: anything that looks like a key is
refused whatever key it's for, so Rename can't be used to test guesses
- Previews can't add a key, rename an account or forget a GitHub login;
a test checks every action the code refuses is blocked
- A Pi switch over a Claude login it can't identify is refused, and the
live entry is compared before it's written
- Hermes key add: the child dies with the request; the name goes as --label
- Switching from the composer reloads the agent's models
- changed_logins dedups through a sorted set
- Hermes model names: plain files up to 64 MB, naming waits at most 5 s;
Hermes .env read is bounded
- The API key dialog's Cancel waits while a key is checked
- stores.rs module docs match what each store does
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Pi signed in to Claude kept listing only its ChatGPT models until the app
restarted: the catalog was looked up once, before the sign-in landed. When
an agent's logins on a device change (an account come or gone, another in
use; usage alone doesn't count), that agent's models are looked up again:
here, that agent's alone, forced; on another device, its catalog while the
composer runs on it.
The model picker's account menu drew its actions' rule and inset under
the last account even when every action was hidden (Claude Code, which
Zeron adds no account to from there): now only while one shows.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- A key row says its last four exactly once: named, "Work" over
"OpenRouter · API key"; unnamed, "API key ···a1b2" over "OpenRouter".
The name, when set, is kept apart (display_name); the title is derived
otherwise. Rename opens empty for an unnamed key and says which key.
- Hermes keys read the same; one seeded from an environment variable is
never titled by it ("API key ···a1b2" over "OpenRouter · from
environment"), and Hermes' own "api-key-N" labels count as unnamed.
- A key row's face is its provider's mark in the add rows' round well;
logins keep their avatars. The add dialog's name field: "Name
(optional)".
- Test servers ignore the `HEAD /` probes a preview scan in the test
process sends to every local listener: the cause of the occasional
extra hit in the GHES, spent-Claude and Pi key tests.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Per-provider agents (Pi, OpenCode, Hermes) now look and act like every
other agent's card, take API keys in the app, and behave across devices.
Card: the same rows, rules and "In use" as Claude Code's and Codex's — a
provider's accounts together, each provider with its own one in use, the
plan line saying whose ("ChatGPT Plus", "OpenRouter · API key ···a1b2") —
and every add row at the foot (Add ChatGPT / Claude / GitHub Copilot
account, Add API key). No section chrome, no CLI hints. "Switch to this
account" only on a switchable row not in use; a refused switch says why
in a toast instead of doing nothing.
API keys: "Add API key" opens a dialog (provider select with each
provider's mark, masked key field with its placeholder shape shown plain,
optional name, Save disabled until typed, spinner and locked inputs while
the provider checks the key, the provider's refusal under the field).
Stored as each agent's CLI stores it: Pi's auth.json api_key entry,
OpenCode 1.x's api entry (OpenCode 2.x keeps keys in its own database:
refused with what to do, and a warning on the list), Hermes through
`hermes auth add <provider> --type api-key` with the key on stdin in a
session without a terminal. Keys are named (default "<Provider>
···<last4>", renamable from the row's menu; a name holding any of the key
is refused). The key is never logged, never in an error or the snapshot,
never on argv or in a child's environment, files 0600, and
AddAgentApiKey is local IPC only (refused, never forwarded, when it names
another device; refused by the relay host if a peer sends one).
Claude for Pi: Pi's own Claude Pro/Max sign-in, saved as pi saves it, a
fresh grant, swapped under pi's lock; a switch keeps a refresh the agent
made since the last list (single-use refresh tokens). OpenCode has no
Claude sign-in (verified in 2.1.2): refused with the API-key alternative.
Hermes: lists only pool entries Hermes itself uses (its
_pool_entry_is_explicit: device_code, loopback_pkce, hermes_pkce,
manual[:*], env:<VAR> while the variable holds a key) — a borrowed
gh_cli Copilot token is no longer offered.
Also: provider marks (one mono set), Select options with marks, Dialog
confirm `disabled`, TextField draws a password's placeholder unmasked,
Groq/Mistral dropped from key providers (no marks in the set).
Tests: engine agent_accounts 118 (keys stored/refused/never shown or
logged/stdin-only/0600, OpenCode 2.x refusal, names and rename, two keys
one provider, Pi Claude local and for another device, rotation kept,
Hermes explicit-only); device_routing remote per-provider list/switch,
provider refusal routed, remote key refused with no relay frame and no
file holding it; rpc routing asserts; app Rust and UI tests updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- A model row's name and provider read as one line: where it runs past
the row its right edge fades (as FadeText's), and while the row is
highlighted (pointer or keys) it glides left until its end shows,
rests and glides back. Reduce motion keeps it still; a row that fits
never moves. Test: `a line past its row fades at its right edge, and
glides to its end while highlighted`.
- The saved model catalog's schema is 2: models name their provider and a
Hermes `<Provider> · <model>` label is split. A catalog an older engine
saved has neither, so it is fetched again rather than served as it was
(Hermes showed "Anthropic · claude-fable-5.1" from its old cache).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Agents that keep a login per model provider now show and switch them per
provider, everywhere:
- Settings → Providers (and setup's Your agents): such an agent's accounts
sit under a heading per provider ("ChatGPT", "Claude", "GitHub Copilot"),
each group with its own "In use" and its own "Add <provider> account"; a
provider with none yet is a "Connect <provider>" row at the card's foot,
and a sign-in shows in its own provider's row. A provider Zeron can't
sign in to (Pi's Claude) says how the agent adds one. Hermes' pool is
grouped the same way, read-only (no actions), adding through
`hermes auth add <provider>`. Single-login agents look as before.
- Model picker: the Account row is the chosen model's provider's
("ChatGPT account" / "Claude account"), listing and switching that
provider's accounts alone, so a ChatGPT switch never touches the Claude
login; a provider with none yet says None and offers "Add <provider>
account" (Settings → Providers, its sign-in started on the composer's
device); a provider with neither has no row.
- Engine: Pi gains GitHub Copilot sign-in (GitHub device code with pi's own
Copilot app, exchanged for a Copilot session at copilot_internal/v2/token,
unconfigured models enabled and availableModelIds recorded as pi's
/login does; an account without Copilot is refused, nothing written).
Hermes gains xAI (`hermes auth add xai-oauth`, device code). Hermes
marks each provider's first pool entry in use (a model of that provider
runs on it), the active provider's rows still first. Switching and new
sign-ins already rewrite one provider's entry alone; tests now pin it.
- Proto: login_options adds Pi github-copilot and Hermes xai-oauth;
groups_by_provider, login_option, account_group_label and
account_group_hint name the groups for every app.
All serde-additive: no field renamed, older apps read the same snapshot.
Tests: proto providers (3 new); engine agent_accounts (5 new: Pi Copilot
sign-in, no-Copilot refusal, per-provider switch isolation, Hermes xAI,
Copilot session/model parsing; Hermes in-use updated); app Rust (2 new:
grouping, device rows + logins); UI (provider_groups 6, model_accounts
_providers 5).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merged main into the provider-hint branch, and:
- A model whose agent names its provider (Pi, OpenCode, Hermes) says it on
every row, not only beside a namesake: where a model comes from is part
of which it is, even with one provider signed in.
- Hermes labels a model `<Provider> · <model>` with id `<provider>:<model>`
("Anthropic · claude-fable-5.1"): its label is now the model, and the
provider rides apart, named as Pi's are (openai-codex → Codex), else as
Hermes wrote it. `provider_name` is shared from Pi's catalog.
- Tests: ACP `a_provider_glued_to_a_models_label_rides_apart`; the picker's
provider tests updated for the rule (7 passed).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Keep the centralized composer geometry, transitions and size publication while integrating main's dictation bindings, native placeholder and focus fixes. Pass Dock's shared hero anchor into placement, update both v2 consumers and refresh their base hashes.
Pin the refreshed ZGX fork at 9a6b6754 and have CI install the CLI from the declared repository. Adapt main's motion tests to the existing frame-clock harness, and wait for the alert's visible enter frame before clicking it.
Validation: 32 composer Rust tests, 89 composer Luau tests, 5 v2 tests, 11 dictation tests, composer tray and beta check pass. The resize script-call gate still fails at 121/336 calls with one/four chats; the archived pre-merge interface also fails at 119/358 on the same host. Its threshold is unchanged.
Opening Settings without naming a page (footer gear, Cmd+comma, /settings) always landed on General, so stepping out to try a change meant finding the page again. route.settings() now reopens the page shown last, kept under shell_settings_page. Account is never remembered; a page that's gone falls back to General.
The default's screens/chat/composer.luau and lane_tab.luau ask
`Completions.agent_of` for the chat's agent; v2's copies already make the
same change in this PR, so it is recorded as brought over.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The composer found a chat's agent only by its model in the local catalog.
A Codex chat on its default model (none set) or hosted on another device
matched nothing, so `/` asked no agent and listed Zeron's commands alone.
Each session now carries the agent its config records, and every
composer falls back to it.
Codex reports its skills apart from its commands (Claude Code reports
them as slash commands), so with "Separate / commands" on by default they
showed only under `$`. Codex now lists them in `/` by default; the
per-agent setting still turns that off.
c1539061b changed the default's screens/panel/init.luau (a tab's wash read
its ref again once the tab's node mounted) without looking at v2's copy,
and the v2 guard has failed since. v2's panel needs nothing from it: it
draws each tab's wash inside the tab, not from the strip's refs, so the
change is recorded as looked at.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
0.3.3 plus:
- Windows terminal tabs (#1219's three from Daniel, and three more): the
bridge gets a console (cmd.exe) and runs it raw (one echo, no `>>`,
Ctrl+C reaches the program), follows the tab's size, opens PowerShell
without its banner; `~` is the user's profile on Windows (zgx pinned
at 0ca78b2cb, zeronsh/zgx zeron/pin-0.3.3); the engine lets Ctrl+C
through to a terminal's shell.
- With Reduce motion on, a switch built on stands its knob on the right.
Version 0.3.4.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With Reduce motion on, `motion.spring`/`motion.tween` handed back their
target as it was, so a part built after the setting changed landed at
once. A switch's target is its boolean, with `from`/`to` for the knob's
travel: reduced, the knob stood at `x = true`, the left, whatever the
switch said, while its tweened track showed it on. Leaving Settings and
coming back after turning Reduce motion on showed exactly that, and the
knob never moved until motion was allowed again and the page rebuilt.
Reduced, a boolean target with `from` and `to` now lands on the end it
says; every other target is as before.
The knob carries an id (`switch-knob`) so a test can see where it stands.
New test in ui/tests/reduce_motion.test.luau: it fails without the fix
(knob at 4, not 19) and passes with it. zgx test ui: 1359 passed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The bridge read the console it attaches to (cmd.exe's, on the tab's
pseudoconsole) in cooked mode, as only Unix had raw mode: each typed line
was echoed by the console and again by PowerShell, its CR LF made
PowerShell show a continued line (`>>`), and Ctrl+C was a signal that
ended cmd.exe and the bridge, leaving the tab dead. Raw now, as
`cfmakeraw` puts a Unix one: no echo, no lines, no Ctrl+C signal, keys as
VT sequences; output VT and UTF-8; all put back as the bridge ends.
Its size wasn't read on Windows (`window_size` was None), so the shell
stayed 80x24 whatever the panel's width, and wrapped over itself. The
bridge now reads its console's visible window each turn and tells the
engine as it changes, as SIGWINCH does on Unix.
Win32_System_Console is now named among apps/zgx's windows-sys features
(`attach_console` used it already, through another crate's features).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
zeronsh/zgx zeron/pin-0.3.3: 0.3.2's pin (ac935c6f8) plus one commit.
`ui.term` expanded `~` from HOME alone, which Windows doesn't set for an
app started from Explorer, so every terminal tab failed: "The directory
name is invalid. (os error 267)". `~` is now USERPROFILE there.
(zeronsh/zgx#2114 carries the same commit to main.)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Windows beta is a GUI program (windows_subsystem = "windows"), and
Windows attaches no GUI program to the pseudoconsole it's started on. A
terminal tab's bridge (this exe, `terminal-bridge`) had no console: it
opened the engine's shell, read EOF from its stdin and ended at once,
leaving the tab an empty screen with a cursor.
On the Windows beta the bridge's line now runs under cmd.exe (a console
program, which waits for it), and the bridge attaches to cmd's console
when it has none of its own. The open parameters go in base64, so every
word on cmd's line is quoted with no quote inside and cmd reads none of it
as its own syntax. Other builds and platforms run the line as before.
(cherry picked from commit df015114db)
Review follow-ups for #1186:
- A local chat's pictures are read straight from disk, so a tool row
shows only the engine's stored copies (`tool-<chat>-<sha256>-image.<ext>`,
#1103). One on this computer must also be a plain file inside the
engine's data and no bigger than a picture can be: a doc naming
`/dev/zero`, a picture elsewhere, a huge file or a link out of uploads is
never opened. Another device's copy is still read there, through its
engine's jail.
- The call's file names its one picture; several each keep their own name.
- A user entry is hidden only when it is exactly the CLI's image note (one
line, `[Image: source: <path>]` or `[Image: original WxH, displayed at
WxH…]`), the rule #1103's engine uses: `[Image: source: shot.png] why is
button [x]` shows.
- Zeron v2 in step: its lane_tab reads a subagent lane's pictures through
the parent chat, and its tokens carry the thumbnail size. Its panel copy
needs nothing from c1539061b (v2 draws each tab's wash in the tab, not
from the strip's refs), so it is recorded as looked at.
Tests: cargo test --locked --bin zeron-zgx 676 passed 0 failed (the v2
guard included); zgx test ui 1361 passed 0 failed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Conflicts: ds/activity's rows are now built in a virtualized list and open
to a lazily mounted Opened component, so a tool's pictures are passed to
row() and shown by Opened; lane_tab reads sessions.here; ds/transcript's
Activity uses keep pictures alongside the new window and thought props;
chat.rs keeps the image-note check beside the agent-message sender split.
0.3.2 plus 56c3be088: whoever finished setup without signing in no
longer gets the intro and setup on every launch.
Version 0.3.3.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A launch skipped the intro only when a session was kept, so whoever
finished setup without signing in (the main window works without an
account) saw the intro and setup again on every launch, though finishing
setup had written the `onboarded` marker. Where a launch opens is now
`opening`: signed in, as before (the welcome once, else setup, else the
main window once setup was finished here); without an account, the main
window once setup was finished here, else the intro.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
zgx pinned at ac935c6f8 (zeronsh/zgx zeron/pin-0.3.2): 0.3.1's pin
plus, cherry-picked:
- zeronsh/zgx#2107: a window on Linux draws on the GPU its display
server composites with (linux-dmabuf main device / DRI3, matched by
PCI address), else the low-power adapter as before. Zeron 0.3.0
opened black on Hyprland with an RTX card beside a Ryzen iGPU, and
panicked under Xwayland.
- zeronsh/zgx#2108: a window covering its display on Wayland asks for
the output's logical size (xdg-output), so the intro fits a scaled
display instead of opening half as large again.
- #2104's rustfmt-only follow-up.
Version 0.3.2.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
zgx pinned at 3651e8d27 (zeronsh/zgx zeron/pin-0.3.1): 0.3.0's
06c6d56ac with only zeronsh/zgx#2104 cherry-picked on top. On
Hyprland at fractional scales, a transcript scrolled while a frame
waited kept its old pixels, torn against its freshly drawn fades.
Version 0.3.1.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mimalloc v2 maps its regions with the VM tag in its os_tag option,
100 by default (options.c:147, prim/unix/prim.c:307), and on macOS tag
100 is VM_MEMORY_IOACCELERATOR. footprint, vmmap and Activity Monitor
showed the whole Rust heap of the app and the background engine as
GPU memory: a live engine read "819 MB IOAccelerator" for what was its
own heap, and its purged pages as 4.5 GB of reclaimable GPU memory.
An A/B on an isolated engine with a known 256 MiB allocation moved all
of it from tag 100 to tag 254 with the same footprint.
The global allocator now sets os_tag to 254 (Apple's application range,
mimalloc's own fallback) before its first allocation, so the heap reads
as "Memory Tag 254". Accounting only: no allocation changes. A test
reads the region tag of a small and a large allocation back through
mach_vm_region (100 without the fix, 254 with it).
Refs #1369
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The chosen tab's wash waits until the tabs up to it are measured, reading
each tab's node from a plain table. Looked up before the tab's node mounted
(the tab for a chat alone replaced by one as wide: both titles at the most a
tab shows), nothing it read changed afterwards, so it never looked again:
the active tab showed bright text on no wash. Each tab's node mounting now
bumps a count that every lookup follows. The panel's tabs keep their nodes
the same way and get the same fix.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: zeronsh[bot] <346184242+zeronsh[bot]@users.noreply.github.com>
Sending in a Cloud chat showed only the message, and an "Alerts 1" pill
over the composer saying "Starting a Cloud machine…": since the chat page
came to zgx (08f067961), a machine coming up was the deck's notice, and a
notice is an alert. The shipping app shows it in the transcript instead:
the machine's first setup step under the message the moment it's sent, its
own steps taking its place as it boots (push_cloud_setup_echo).
Now the same. A prompt on its way to a machine asleep, starting or waking
(or not known yet, a new chat's) has, in its reply's place, ds/activity's
tool row: "Waking its Cloud machine…" / "Starting a Cloud machine…", then
its stage ("— cloning the repository…", "taking longer than usual",
"Updating…"), under "Woke the Cloud machine" / "Set up the Cloud machine".
While a send waits the deck leaves that to the row: no pill. A machine that
can't wake, a wake that failed, files gone, a send still uploading its
files: no row, the deck says why as before. Woken from the deck with
nothing sent, the deck still says it's waking.
The machine's own setup entry draws as what happened to the machine too:
each step by its name, the machine's glyph (git's for clone and branch),
opening to its command, never the step's JSON; its group "Woke the Cloud
machine" / "Set up the Cloud machine" (src/chat.rs, as zeron_proto's).
A prompt the engine still lists as on its way stays "sending" past the
send's grace: a cold start can take longer than a minute.
A new chat on Cloud opens at once, as the shipping app's does: the chat
page under the id it's made with, the message in it, sending, the starting
row under it, while Cloud makes it (`chat.creating`: known to the host as
a chat on Cloud, kept through the engine's lists until they have it,
watched once made, `chat.created`). Then the message goes, nothing on the
page moving. Refused, back to the new chat with the words and why
(`chat.create_failed`). The new-chat page's own "Starting a Cloud
machine…" notice is gone. Zeron v2's composer gets the same.
While Cloud makes it, a message sent to it shows, sending, and goes right
after the first; a whole chat list (a reconnect) keeps it; refused after
you've gone to another chat, that chat's composer is left alone.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: zeronsh[bot] <346184242+zeronsh[bot]@users.noreply.github.com>