Skip to content

turno-cli 0.6.2

Choose a tag to compare

@github-actions github-actions released this 28 Nov 11:12
· 17 commits to main since this release
8e95eb0

Every release of turno: https://turno.wimo.dev/docs/releases

Patch Changes

  • 6a2c0d1: Page snapshots are compact. Every element an agent can act on keeps its ref, and the text a reader needs stays, while wrappers without a name, the destination under a named link, separators, text that repeats a neighbouring button's name, refs on elements nobody acts on and runs of identical rows are left out. Measured with the new pnpm bench:snapshot --public: Hacker News 12,238 to 3,786 tokens, a GitHub repository page 18,879 to 7,721, Wikipedia search results 5,842 to 3,040, with every interactive ref kept and the same answers to fixed questions. A page still past about 15,000 tokens once compact (a long Wikipedia article: 128,673 tokens) comes back as a table of contents of its landmarks, headings and text fields with refs and sizes (849 tokens). The new browser_read tool reads one part by ref, the whole page compact, or with full: true the page as Playwright wrote it. TURNO_BROWSER_SNAPSHOT=full in the server's environment turns compaction off; turno help environment lists it.

  • f717317: turno-browser turns its features on by default, worked out at every launch and never written into identity.json. show, status and doctor list each value with where it came from, for example resources: low (auto: memory pressure).

    What changes for an existing identity, without touching its identity.json: the live view is on (it opens only with turno-browser live); flows and screenshots are recorded, under the 200MB cap and never of a page with a vault value (traces stay off: while tracing, Chrome loads no image or frame of another site); the vision, pdf, devtools and network tools are listed when the server has no --caps; browser_login submits the form (vault submit <id> confirm keeps the old behavior, and must be run again even if it was chosen before); the low-resource preset turns on under memory pressure; human-like input is auto; several agent sessions share the browser in their own tabs, so browser_close closes a session's tabs and the idle release closes the browser (--sharing session for one at a time; an mcp.toml block with exclusive = true keeps working, and doctor says how to change it); a headless Chrome gets the coherent user agent (once login has read that Chrome's client hints) and background throttling when the live view is off; Chrome gets the system's locale when identity.json names none; and login finds a health check when there is none. A key set in identity.json still wins over every default, and off (--health off, --locale off, --user-agent off) pins one off. A file with an auto or false value is written as format 14, which turno-browser 0.10 refuses.

    New identities created at a terminal on macOS with Google Chrome keep their cookie key in the system keychain, and add mentions Camoufox, Lightpanda and attach mode when they apply. turno prints the mcp.toml block of a new identity with exclusive = false, except in attach mode.

  • 6fbaf91: The live view is a panel now: the agent's tab next to a timeline of its steps (the time, what it did, the element or address, how long it took, and whether it failed or was not run), with the pauses, your turns and what changed when you handed the browser back. A line never shows what the agent typed, filled or selected, a script, or an address's query, and every line goes through the same redaction as the agent's results, so vault values stay hidden. When the same call on the same element fails three times in a row, the line and the status say the session looks stuck. New steps and changes of state are announced to screen readers. turno-browser live opens the view as an app window of your Chromium browser (--tab for a tab of the default browser).

    You can take the controls without pausing first: clicking, typing or scrolling on the picture while the agent works, or in the agent's Chrome window, makes the agent's next call wait. The browser goes back to the agent 5 seconds after your last input, or with the view's Hand back button (Resume before), and the waiting call is told that you used the browser and what changed. turno browser live without a running server no longer says the view is off when only no server runs.

  • 3a1482a: The last click is yours: when the agent's browser_click would place an order, make a payment, send a message or money, publish a post or confirm a deletion, turno-browser does not click. The agent is told what the click would do and to ask you with browser_request_human and requireHumanClick, and that step's banner says what the click does, from the page: the order's total, the amount, who a message goes to. The check is conservative: a word that also names a harmless step ("Buy now", "Send", "Post", "Delete") counts only when the page agrees (a checkout with an amount, a message being written, a dialog that warns it cannot be undone), and steps on the way ("Add to cart", "Proceed to checkout", "Send code") never count. turno-browser set <id> --last-click false turns it off.

    turno-browser shows a notification of the system when the agent waits for you (a person step, a passkey prompt, a captcha no solver answers) and when it is done after a long run, with osascript on macOS, notify-send on Linux and a PowerShell toast on Windows. The text is redacted like any result and is never run as a script. turno-browser set <id> --notify false or TURNO_BROWSER_NOTIFY=off turns them off. identity.json format 14 also takes the notify and lastClick keys; a file that sets one is refused by an older turno-browser.

  • 612479e: The storage tools (cookies, localStorage, sessionStorage and the storage state file) are listed by default, with session values masked: a cookie that is HttpOnly, named like a credential (session, sid, token, auth, csrf, login) or holding a random-looking value, and the tokens in stored items, read [masked]. Names, domains, paths, expiry and flags stay. After every browser call the server reads the cookies and the page's web storage, so a random-looking session value is also hidden from browser_evaluate (document.cookie), response bodies, console messages, snapshots and written files. A mask written back keeps the value it stands for, in the same cookie or item only, so browser_cookie_set with [masked] and browser_set_storage_state with a saved file keep the session. Attach mode and a policy that lists storage keep the tools off.

    Without a proxy of its own, an identity's Chrome follows the system's proxy as before; show and status now name it (macOS scutil --proxy, Windows Internet Settings, GNOME settings or the proxy variables), and "proxy": false makes Chrome connect directly. With a proxy in use, turno-browser looks up where it exits (one HTTPS request to get.geojs.io through the proxy, once a day per proxy) and warns when the identity's time zone or locale does not match; TURNO_BROWSER_EXIT_CHECK=0 turns the lookup off.

  • cbed7d4: An action that stays on the page (a click, a key, a selection, a drag) answers with what changed since the last snapshot the agent was given, by ref, when it is the same session and URL and the changes are under half the compact page. Before, the result only linked the snapshot file Playwright wrote, and an agent that wanted to see what its click did called browser_snapshot for the whole page: opening the "Code" menu on a GitHub repository page now answers with 262 tokens of changes, against 7,683 for the page. A navigation, another tab or a change that is most of the page answer as before, and browser_snapshot always returns the whole page. TURNO_BROWSER_SNAPSHOT=compact turns the changes off.

A CycloneDX SBOM is attached.