Skip to content

turno-browser 0.12.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 19:06
· 4 commits to main since this release
0e31678

What's new in turno-browser 0.12.0: https://turno.wimo.dev/releases/browser/0-12-0

Minor Changes

  • a41a13e: The live view shows each action on a stage: a layer of pixels over the agent's tab, drawn by the view's own WebGL2 shader, gives every kind of action its own look and color. A box converges on the element the agent clicks or types into and a ripple marks where a click lands, a band scans the page while the agent reads it, the picture dissolves as it opens a page, a trail follows a scroll or a drag, and in Full the field around the window breathes while the agent thinks. Typing is violet, reading cyan, a failure red (with its code when it has one), a click the last-click rule leaves to you amber ("Handed to you", not a failure), a step that waits for you amber (the "Now" card says what to do and has the "I am done" button, so nothing covers the page's banner), and the end of a run green. The panel has a header with the state and the identity, a "Now" card, and a timeline with an icon and a color per kind of step, the time the agent thought between calls and a line for each site it moved to. An Effects control in the header (kept in that browser) has three modes: Full (with a field of pixels around the window that is denser near the target), Balanced (the default: pixels only where the agent acts, nothing drawn between actions) and Calm (plain boxes and ripples, no pixels, where a laptop on battery starts). An effect over the page ends with its step. The effects run only while something moves and the view is visible, at most 30 frames a second; with reduced motion or without WebGL2 the view is Calm. They never say what the agent typed, only how many characters.

    Chrome's own highlight of the element (the default agent cursor) is blue for a click, violet while the agent types and red for a moment when the call fails, and while the agent waits for you the step's target gets an amber box, or the page an amber outline, all drawn by Chrome with nothing in the page. The person step's banner in the page is amber too, the color of a step that waits for you.

  • ec49252: The agent's own Chrome window shows what it does in Chrome's side panel, next to the page: the state, a "Now" card with the step it runs and how long it has run, its steps with an icon and a color per kind, "Thought for N s" between calls and a line per site, Pause and Hand back, an amber card with "I am done" when the agent waits for you, and a button that opens the live view. It is on by default for a Chrome with a window that turno starts, with the live view on (not headless, not in attach mode, not with Lightpanda or Camoufox); turno-browser set <id> --side-panel false (identity.json "sidePanel": false, format 14) turns it off. The panel is a small extension shipped in the package and loaded at each start over the DevTools protocol (--enable-unsafe-extension-debugging), with the sidePanel permission only: no content scripts, no host permissions, no web accessible resources. It reads the live view's server on 127.0.0.1 with a code handed over the protocol to its service worker and a token of its own, never through a page. A page sees the narrower window the panel leaves (innerWidth, and a resize when it opens), as with a person's side panel; the reputation bench's probe shows no element and no main world call, and its new extension-resources check that no page can load a file of the extension. See the side panel.

  • 41a901d: Teach mode: show the agent a task once in its own Chrome window, from the side panel's "Teach a flow" or turno-browser teach <id> --name <flow>, and it is saved as a normal flow that browser_replay and turno-browser replay run again. Clicks, typing, choices, checkboxes, Enter, Escape and Tab, uploads, new tabs and typed addresses are written down with the recorder's rules: typed text is a parameter, a password or one-time field keeps no value, and a vault sign-in is one browser_login step. The panel lists the steps as they come and, on Stop, a review to rename a step, choose how each value is kept, drop steps and save. It listens from an isolated world over the DevTools protocol, so the page sees no element and no call of it. The API goes to 1.15 with liveTeach.

A CycloneDX SBOM is attached.