Repository navigation
chore: merge train 20261107-1551 - #5415
Merged
Merged
Conversation
Camoufox 152.0.4-beta.30 does every mouse event, wheel turn and tab switch of a browser one after the other, and a mouse event's turn ends only when the page's renderer acknowledges it. A mouse event that reaches a tab while it moves to another process is never acknowledged: Firefox gives some sites a process of their own (google.com, any page that sends Cross-Origin-Opener-Policy), so a new tab whose start page is Google, a link from Google to another site and the tabs a session opens again all move. The browser then waited until the tab closed, with every later mouse event of every tab behind it, and the live view's Enter and + behind those. v0.5.103 kept the pointer off the edge rows that lose an event the same way; it could not reach this one. Holding the mouse while a tab navigates does not either: leaving Google, events are lost for one to three seconds after the new page has come. Before the first browser starts, the app now changes the installed build's Juggler (omni.ja), as later Camoufox builds that camoufox-js cannot run yet do themselves: the renderer's answer and the compositor flush before an event are waited for one second at most, a whole turn of input 30 seconds. The file as it came stays next to it as omni.ja.orig. Firefox runs compiled copies of these scripts from each profile's startupCache instead of the changed files, so those are deleted first. A build whose files are not the ones the change was written for starts as it is, with a warning; v0.5.103's notice still covers it. Measured in the Linux image with a Windows fingerprint: new tabs loading Google while the pointer moved froze 9 times in 10 before, 0 in 10 after; tabs going from Google to example.com and back 2 in 10 before, 0 in 20 after. Each lost event now costs one second. The real-browser lane reproduces it offline with a Cross-Origin-Opener-Policy page: the build as it came stops at the first move, the changed one goes on.
A session whose system is left on Random drew Windows 60 %, macOS 20 % and Linux 20 % of the time. So few people browse the web on Linux that a Linux fingerprint stands out, and one session in five got one without anybody asking for it. Random now draws Windows three times as often as macOS (75 % and 25 %, the old ratio of the two) and never Linux; Linux stays a choice of its own in the dialog and over MCP. The option says what it draws: "Random (Windows or macOS)", in English, German and French.
Every value of the form to add or change a secret had a "Keep hidden" checkbox under it: three for a login, six for personal details, and each one asked something the app already knows. The server hides a password, a card number and a CVC, and any value whose label names something private (PIN, token, API key, recovery codes, …) or that is a payment card number. The form now asks nothing about it. A starting row is hidden as its kind has it; a row the person adds is masked as soon as its label sounds private, with the same pattern the server uses (moved to `lib/private-label.ts` so the two cannot drift); a value that merely looks like a card number is hidden by the server once it is saved. A stored value keeps whether it is hidden, as it was stored. A hidden value in the form keeps its Show button; Copy is offered only for a stored value, not for one typed a moment ago. The rest of the form loses what said the same twice: the hint under the type (its fields show what it holds) and the sentence about hidden values above the values, which a thin rule now sets apart from the title and the scope.
The dialog that imports a list of proxies said what it wanted three
times: a two-line description ("Paste one proxy per line, or choose a
.txt file. Blank lines and lines starting with # are skipped."), the
label of the list ("Proxies, one per line") and a row of Choose file
and the shortcut hint wedged between the list and the type.
The dialog is now the list and the type of the lines that name none.
Choose file and "⌘ Enter to import" sit in the footer beside Cancel and
Import, the row the platform's task dialog has; the name of a loaded file
and its number of lines stay under the list. An import opened for an
action (a session that needs a proxy) still says why it opened. What the
description told of blank lines and comments is in the README.
`FormDialog` of `@tale/ui` gains `footerStart` for it: what it is given
goes at the start of the footer, before Cancel and the submit button,
and a custom footer replaces it with the rest of the row. The dialog
guide says when to use it.
Opening the app painted it three times. First the frame the build bakes into the page (the rail masked, the page empty), then the page itself a tenth of a second later, then the highlight of the rail and of a panel's row fading in over 150 ms: a flash of an empty frame on every load, even from a server on the same computer (measured: frame at 67 ms, page at 167 ms, highlight still fading at 330 ms; on sessions.tale.dev frame at 490 ms, page at 733 ms). A heading also drew in the fallback face for a frame before its weight of Inter came. - The frame shows only once a load takes longer than 0.4 s (`locals.css`): a page that is ready sooner paints once, and a slow one still shows the frame meanwhile. - Nothing transitions in the first frame: `main.tsx` marks the document as opening and the root route lets transitions run again once that frame is painted (`useOpeningDone`), so the highlights stand where they are instead of fading in. - The first frame also waits for the lists the page asks for and does not hold a navigation back for (`readsSettled`, a second at most), so it opens with its rows. - The build names the Latin Inter faces of the first frame (400, 500, 600) as preloads in the page's head (`scripts/font-preloads.ts`). Measured locally after: the page background at 60 ms, then the page, finished, at 155-200 ms, and no animation running after it. `first-paint.spec.ts` holds that the frame is never shown before 0.4 s.
The first start downloads the Camoufox browser, about 1.3 GB, and no session can start until it is in. The page said only "The browser is being installed", for a minute or more, with nothing that moved. The install now reads the progress bar `camoufox-js fetch` prints (one line every two seconds without a terminal) and keeps how far it has come: downloading with its percentage, then the archive being checked and unpacked once all of it is in. `/api/meta` carries it as `browserInstallProgress`, the banner draws it as a bar named "Download of the browser" with the percentage beside it, then says the browser is being unpacked, and the MCP overview reports it too. The page already asks for the state every 1.5 s while the download runs.
The browser of a session is now a Camoufox window on the screen of the
computer the manager runs on, where the person uses it as any browser.
The in-page live view is gone: its WebSocket, the picture, and the tab
strip, address bar, lists and dialogs the page drew.
- Camoufox launches with a window (headless only for the real-browser
tests). A start, restart or rotation asked for over HTTP brings the
window to the front once it is up (`window.ts`, AppKit by process id on
macOS); a start over MCP leaves the screen as it is.
- POST /api/sessions/{id}/show and /type: the page's Show window, and a
value of a secret typed into the field the person clicked in the window.
New refusals: `no_field_focused`, `browser_error` (with `reason`) and
`browser_not_responding`. MCP gains `show_window`, 43 tools in all.
- Camoufox shows every tab of a window to Playwright as visible and
focused, so the remote follows the tab where a mouse button or a key
was last pressed (an init script in Camoufox's isolated world), unless
a tool chose another tab since; the tabs saved at a close use it too.
- Juggler opens every page Playwright asks for in a window of its own. A
second change of the installed build (`openPagesInTabs`, on only for a
browser with a window) adds a tab to the window instead, so the tabs a
session reopens come back as tabs.
- The screen of a new fingerprint is at most the room for windows on the
largest display (macOS), so that the window fits.
- The page of a running session is a card with Show window, Secrets and
the details; the session menu leads with Show window.
- Gone with the live view: SHUTDOWN_MARKER_PATH, the https origin of a
TLS-terminating proxy, the dev fleet's Bun floor and WebSocket proxy.
The e2e suite drops viewer.spec.ts for window.spec.ts, and the manual
layer replaces the viewer suite with windows.md (WIN-).
Pi ran without Tale's MCP channel (`capabilities.mcp: false`): its
adapter staged no MCP configuration, so an agent on Pi reached none of
the workspace tools that ride the capability bridge (the task tools, the
knowledge pair, the heavy-phase leases, image generation), while its
instructions still named them. Pi 1.0.1 is an MCP client itself: it
reads the servers of `<agent dir>/mcp.json` without asking for project
trust and starts them with its own environment.
- The harness stages that file as a third document: the browser and the
bridge, each with `exposure: direct` (Pi's default keeps a server's
tools inside its code-mode scripts, where an agent told to call the
workspace tools by name never finds them), the bridge key as
`${TALE_GATEWAY_TOKEN}`, which Pi resolves from its environment. No
call timeout: Pi asks every call for progress, and the bridge's
reports on a long one restart Pi's 60 s timer.
- The `mcpServers` doc fragment takes `serverFields`, merged into every
mounted server. `tale-pi-run` writes `mcp.json` only when the turn
mounts a server.
- Hermes and Cursor are now the harnesses without the channel: the
tests that used Pi as their example of one use Hermes, and Pi joins
the harnesses the leases and image generation are offered on. The
runtime docs (en, de, fr) and the manual reference say so.
The runtime image test gains two proofs: Pi calls workspace_status over
the bridge against a loopback model and platform, which checks the
session key, and reads the answer; and every harness the platform runs
on a managed credential, run as a task turn runs it (a model and the
bridge, through runnerd), gets the bridge's tools to its model, declared
or found by its tool search (OpenClaw), and Hermes gets none.
Contributor
Author
|
Release lease released: v0.5.104 is published
Receipt (RELEASING.md, "A release that has to go out", step 4):
Holds, read again before the tag at 18:15 UTC: only the lease comment on the hub's Decide task; no comment or open issue names a hold. Other checks:
A published version is not a deployment elsewhere; Ops adopts it with its release adopter. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cut: 4ab1a0e
The stable line's merge train for v0.5.104: agents on Pi get Tale's tools, the Session Manager work of today, and the release notes. It departs ahead of its 8-hour slot because the owner asked for this release today, so that agents.tale.dev can run its agents on Pi.
Commits:
bf238c3ddfix(session-manager): stop a lost mouse event from freezing the browser. A mouse event that reached a tab while Firefox moved it to another process was never acknowledged, and Camoufox then took no mouse input in any tab. Before the first browser starts, the app changes the installed build's Juggler so that the renderer's answer is waited for one second at most (the original file stays beside it asomni.ja.orig).979df1085fix(session-manager): pick only Windows or macOS for a random system (75 % and 25 %); Linux stays a choice of its own.631418d5ffix(session-manager): hide secret values without a checkbox, as their kind or label calls for, with the server's pattern shared inlib/private-label.ts.a2b19b9c2fix(session-manager): keep the proxy import to the list and its type;FormDialogof@tale/uigainsfooterStart.57a2424b0fix(session-manager): paint the first page once, finished.211c8941cfix(session-manager): show how far the browser download has come (browserInstallProgressin/api/meta).2c334d749feat(session-manager): open each session in a window of its own. A session's browser is a Camoufox window on the screen of the computer the manager runs on; the in-page live view is gone, and Session Manager needs a screen from this release. Afeaton the stable train: the owner pushed it totrainthis morning, and it travels as pushed.86d6cf840fix(sandbox): give agents on Pi Tale's tools. Pi ran without Tale's MCP channel, so an agent on Pi reached none of the workspace tools that ride the capability bridge (task tools, knowledge, heavy-phase leases, image generation) while its instructions named them. Pi 1.0.1 reads<agent dir>/mcp.jsonitself: the harness now stages the browser and the bridge there withexposure: direct, the key as${TALE_GATEWAY_TOKEN}from Pi's environment; the doc fragment gainsserverFields; Hermes and Cursor are the harnesses left without the channel.4ab1a0e95docs: write the v0.5.104 release notes, last, so that the rebase merge's merge commit is the release candidate.Checked before departure (on this tree, on a Linux host):
container-sandbox-runtime-test.ts, 107 of 107, with two new proofs: Pi callsworkspace_statusover the bridge against a loopback model and a loopback platform that checks the session key, and reads the answer; and every harness the platform runs on a managed credential, run as a task turn runs it (a model and the bridge, through runnerd), gets the bridge's tools to its model: Claude Code, Codex, Gemini CLI, OpenCode, Pi and Qwen Code declared, OpenClaw found by its tool search, Hermes none.turbo run typecheck build28 of 28;oxfmt --check; the ruff format check;turbo run linton@tale/platform,@tale/sharedand@tale/sandbox-runtime-daemon; the platform's server unit project, 1524 of 1527 files before the three tests that used Pi as their harness without a bridge moved to Hermes, and those three green after;lib/harnesseswith the re-frozen Pi golden execs; the wrapper exec tests (mcp.jsonstaged only when a server is mounted).bun tools/cli/scripts/release-notes.ts --version v0.5.104validates (no migration; API contract unchanged at3.53.0).It rebase-merges when green (auto-merge). While it is open, no other stable-line train departs. After it lands, v0.5.104 is validated and tagged from the merge commit of the notes commit.