Files
magpie/internal
yetone d16dcba227 routing: the stage's agent and magpie columns grow with their words, up to 15% of the stage
refeccd on Discord (#help): on the Routing page, in a full-screen
window, the stage kept the agent and magpie in columns of 124px each, so
the agent read "Claude Desk…" (and its model auto/claude-opus… was cut)
while the group's member rows ran on across the rest of the stage.

The two columns are now fit-content(max(124px, 15%)): as wide as their
words, at least 124px (min-width on .rt-srcs/.rt-hub, dropped again in
the narrow layout), at most 15% of the stage. Where 15% is no more than
124px (a stage up to ~826px) they are exactly as before, so the member
rows lose nothing on a narrow window; the narrow layout (560px and less)
is unchanged. The stage's ResizeObserver now also watches the agents'
and magpie's cards, so the wires follow a card that changes width while
the stage keeps its size (a new agent name or gateway address).

Run, on mote:
- new routing-stage-wide.test.cjs: 60/60 (chromium + webkit, en zh
  zh-TW ja de, 2560/1920/1100/800/560/390px): name, model and address
  read whole at 1920+, columns 124px..15%, exactly 124px where 15% is
  less, wires start and end at the cards, no sideways scroll.
- broken by hand: with the old routing.css the same test is red in all
  20 cases at 2560 and 1920px ("Claude Desktop" cut, columns 124/124).
- every routing-*.test.cjs + i18n-keys at 8d7583a78 (this change on
  6c201095d): 2442 tests, 2409 ok, 33 red in 12 files. The 12 files
  rerun at 6c201095d and at 8d7583a78 side by side: 29 red at the
  base, 28 with the change, the same tests (routing-folder, rule-drag,
  rule-remove, rules-line, rule-models, many-keys, row-swap, steady,
  steps-cap, story-shrinks, order-unknown); sky-under's one red in the
  whole run passed in the rerun. Filed with both outputs as #5088.
- at this tree, rebased on 4c0c6c02b (nothing new on main touches
  routing): routing-stage-wide, routing-sky-under, routing-scroll-end,
  i18n-keys: 126/126.

Not tried: the whole GUI suite (mote was down mid-run; it runs after
the push), the real Wails/WebKitGTK app, and a test of the wires
following a card that changes width with the stage's size unchanged.
2026-11-03 21:14:09 +08:00
..
…
…
…
…
…
…
…
…
…