Skip to Content

turno-browser releases

turno-browser 0.14.0

An export now carries the identity's settings next to its session, and in attach mode turno leaves your downloads, file dialogs and tab settings as they are.

View source

turno-browser now takes an identity's settings along when you move its session to another machine. In attach mode, where the agent works in your own Chrome, it leaves more of that Chrome as it is: your downloads, your tabs' media settings, and the file dialogs and console messages of tabs the agent has not selected. It came out with turno 0.7.0.

Upgrade

One command

turno upgrade

Updates turno with the tool that installed it (npm, pnpm, yarn, bun, Volta, Homebrew or a git checkout), then rewrites the launchers.

Or with your package manager

npm install --global turno-cli@latest

Then run turno upgrade --finish: it rewrites the launchers, checks the config and shows what changed.

Highlights

Browser

An export carries the identity's settings

turno-browser export now writes the identity's settings (identity.json: locale, languages, region, time zone, humanize level, resources, sharing and the rest) next to its session, and turno-browser import restores them, keeping the importing identity's own creation date.

turno-browser export school --out school.session
# list the changes first
turno-browser import school.session --as school-laptop --dry-run

Before anything changes, import lists each setting it changes, with the old and the new value, and what it leaves out and why:

  • Settings of the machine: browser, attach, keychain and an engine other than chrome keep this identity's values.
  • Secret store items: a setting that uses keychain:<item> references is left out, since the export never holds them. Store the items on the new machine, then set it again.
  • The policy: the identity keeps its own unless you pass --take-policy, and an export without one never removes it.
  • A value this release does not accept is left out alone.

Exports made by older releases still import, and say that they hold no settings.

Moving a session

Browser

Attach mode leaves your own tabs alone

In attach mode turno changes less in your own Chrome:

  • Downloads: Chrome keeps its own download settings, so a file you download goes to your download folder under its own name. The agent's downloads go there too, and the tool result that started one names the file and says that chrome://downloads lists it.
  • Media settings: your tabs keep their color scheme and other media settings.
  • Your tabs the agent has not selected: a "Choose file" dialog opens for you as usual, and their console messages stay out of the agent's console log.

One thing turno still changes while it is connected: every tab reports that it has focus, even in the background, so a chat or mail site may treat new messages there as seen. Attach to your Chrome says so too.

Attach to your Chrome

More

  • turno-browser add <id> --dry-run on an identity that exists says that it exists and that there is nothing to create, instead of "would create".
  • The API goes to 1.16: a host of the identity commands can offer serve <id> (turno-cli's turno browser serve), which checks that the identity exists and passes the identity's sharing on.

Fixes

  • Prompts in a terminal an agent opened: where only an agent's session variable (inherited by a terminal an agent opened) keeps turno from asking, the message names that variable and the way out: a person at that terminal can run the command with TURNO_NO_INPUT=0. When turno asks, and when it does not, is unchanged.
  • turno-browser doctor on Linux without a display: it suggests a virtual display (xvfb-run -a, or Xvfb :99 with DISPLAY=:99), and when an X server of yours, such as Xvfb, is already running but DISPLAY is unset, it names the DISPLAY to set.
  • The export passphrase: the first prompt says the rule ("Passphrase, 12 characters or more"), the length is checked right after the first entry, and turno asks again when the passphrase is too short or the second entry differs (three tries in all). A passphrase on stdin is still read once, and a short one stops the export before Chrome opens.
  • A page that closes its own tab: an action whose page closed its own tab while the action ran is reported as done, not as failed, on every system.

Changed behavior

  • Whole-browser tools in attach mode: the devtools tools (browser_start_tracing, browser_start_video, browser_start_recording and the rest of that capability) and the network tools (browser_route, browser_route_list, browser_unroute, browser_network_state_set) are off by default, like the storage tools, since they act on every tab of your Chrome. They are left out of the tool list, a call to one is refused with the reason before the browser connects, and show, status and doctor say why each is off.
  • --caps in attach mode: a server started with --caps that names devtools or network does not start in attach mode, and one that lists them because it started before attach was set refuses to connect until it starts again. Start it without them in --caps. --caps storage still lists the storage tools.
  • A tool the server leaves out: a call to a tool of any capability the server leaves out is refused with the reason, instead of failing as an unknown tool.
  • Your tab after the agent's tab closes: in attach mode, when the agent's own tab closes during a call and Chrome moves to one of your tabs that the agent has not selected, the result says once that the agent's tab closed, and no result shows anything of that tab (no snapshot, page section or dialog). It says so again when this happens after a tab of the agent's was current. A tab of the agent's own, or one of yours it selected, is shown as before.
  • browser_batch with a step the policy refuses: the batch is refused before any step runs when one of its steps would be refused by the identity's policy because of its arguments (a blocked host for browser_navigate or a new tab, an isolated context, a file inside turno's folders).
  • turno-browser import in a script: importing changes the identity's settings too. A change to lastClick, proxy, act, live, record, policy or sharing, or sidePanel or notify set to false or cursor to "off", is shown whole with the same warnings as set, and needs a yes from a person, or --yes, even for a new identity.

On this page