diff --git a/.changeset/attach-tab-closed-note.md b/.changeset/attach-tab-closed-note.md deleted file mode 100644 index a2675302..00000000 --- a/.changeset/attach-tab-closed-note.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"turno-browser": patch ---- - -Attach mode: when the agent's tab closes during a step of `browser_batch` or of another of turno's tools (`browser_replay`, `browser_act`) and Chrome moves to one of your tabs that the agent has not selected, the tool's result now says so, as a single tool call's result already did. The batch result shows it under Note, where it also passes on the note a step gives when a page closes its own tab and another tab of the agent's becomes current. - -With a policy's `allowedDomains` and upstream's `--allowed-origins` (or `--blocked-origins`) together, the policy's domain check now runs first: an origin that `--allowed-origins` lets through no longer skips the policy's route, or the identity's blocking and cache. Upstream's routes are set when the browser starts instead of at the first browser tool call. - -The engines docs now say that `show`, `status` and `doctor` read `identity.json`, so they do not reflect a server started with the `--attach` flag alone. diff --git a/.changeset/browser-import-cost-bound.md b/.changeset/browser-import-cost-bound.md deleted file mode 100644 index 88943e38..00000000 --- a/.changeset/browser-import-cost-bound.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"turno-browser": patch ---- - -`turno-browser import` takes only the key derivation parameters `export` writes: scrypt `r` 8 and `p` 1, and `N` at most 2^17, so reading a `.session` file never costs more memory than writing one (about 128 MiB). A header that asks for more is refused as damaged before any key is derived. Every export written so far uses exactly these values and still imports. diff --git a/.changeset/browser-remove-reports-unchecked.md b/.changeset/browser-remove-reports-unchecked.md deleted file mode 100644 index 5f86ce85..00000000 --- a/.changeset/browser-remove-reports-unchecked.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"turno-browser": patch ---- - -`turno-browser remove` no longer reports a complete removal (exit 0) while it could not check something. What it cannot check goes under `left` with `"unchecked": true` in `--json`, as "could not check" in the plan and "not checked" afterwards, and the exit code is 1: an agent config file it cannot read or parse, a registration `init` recorded in a file Cursor's, GitHub Copilot CLI's or Gemini CLI's own command does not change (now with the step to do by hand), an identity.json or vault index it cannot read (kept, since they name the secret store items, so a later run can find them), a secret another identity's identity.json or turno's mcp.toml may use when that file cannot be read (kept), and a turno-browser-mcp started with the identity's id whose environment cannot be read (with its stop command). Agent config files are read with comments and trailing commas allowed, as Gemini CLI's settings.json allows comments, and a file that does not parse is skipped only when no quoted key in it names the identity's server. An agent file that cannot be read after the agent's `mcp remove` counts as failed, not deleted. Planning and the final check read a path with `lstat`, so a broken link is planned and checked and a path it cannot look at is not taken for gone. The final check keeps a process the plan could not tell apart when the process table cannot be read, and checks failed items again: one that is gone after all is listed as deleted. The help and the reference state the limits: vault credentials are found through the sites the vault index names, and session exports through the record kept since 0.9.0. The `--json` fields are unchanged; `unchecked` is a new field on items. diff --git a/apps/docs/content/releases/browser/0-14-2.mdx b/apps/docs/content/releases/browser/0-14-2.mdx new file mode 100644 index 00000000..05152e90 --- /dev/null +++ b/apps/docs/content/releases/browser/0-14-2.mdx @@ -0,0 +1,38 @@ +--- +title: turno-browser 0.14.2 +description: "In attach mode a batch says when the agent's tab closed onto one of yours, import takes only the key derivation parameters export writes, and remove reports what it could not check." +product: browser +version: 0.14.2 +date: 2026-12-03 +--- + +In **[attach mode](/docs/browser/engines#attach-to-your-chrome)**, a batch says when the agent's tab closed onto one of yours. **[Moving a session](/docs/browser/moving-a-session)** with `turno-browser import` takes only the key derivation parameters `export` writes, and **[`turno-browser remove`](/docs/browser/reference/cli#turno-browser-remove)** reports what it could not check. + +## More + +- **Docs**: the [engines docs](/docs/browser/engines#attach-to-your-chrome) say that `show`, `status` and `doctor` read `identity.json`, so they do not reflect a server started with the `--attach` flag alone; and the help and the [reference of `remove`](/docs/browser/reference/cli#turno-browser-remove) state its limits: vault credentials are found through the sites the vault index names, and session exports through the record kept since 0.9.0. + +## Fixes + +- **A tab that closes during a batch, in attach mode**: when the agent's tab closes during a step of `browser_batch` or of another of turno's tools (`browser_replay`, `browser_act`) and Chrome moves to one of your tabs that the agent has not selected, the tool's result says so, as a single tool call's result already did. The batch result shows it under Note, where it also passes on the note a step gives when a page closes its own tab and another tab of the agent's becomes current. +- **When upstream's routes are set**: upstream's routes (`--allowed-origins`, `--blocked-origins`) are set when the browser starts instead of at the first browser tool call. +- **What `remove` reads and checks**: agent config files are read with comments and trailing commas allowed. Planning and the final check read a path with `lstat`, so a broken link is planned and checked. The final check looks again at items that failed, and one that is gone after all is listed as deleted. + +## Changed behavior + +- **The policy's domain check comes first**: with a policy's `allowedDomains` and upstream's `--allowed-origins` (or `--blocked-origins`) together, the policy's domain check runs first, so an origin that `--allowed-origins` lets through still goes through the policy's route and the identity's blocking and cache. +- **`turno-browser import` and key derivation parameters**: import takes only the key derivation parameters `export` writes: scrypt `r` 8 and `p` 1, and `N` at most 2^17. A header that asks for more is refused as damaged before any key is derived. Every export written so far uses exactly these values and still imports. +- **`turno-browser remove` reports what it could not check**: what it cannot check goes under `left` with `"unchecked": true` in `--json`, as "could not check" in the plan and "not checked" afterwards, and the exit code is 1. These are: + - an agent config file it cannot read or parse; + - a registration `init` recorded in a file that Cursor's, GitHub Copilot CLI's or Gemini CLI's own command does not change, now with the step to do by hand; + - an identity.json or vault index it cannot read, which is kept; + - a secret another identity's identity.json or turno's mcp.toml may use when that file cannot be read, which is kept; + - a turno-browser-mcp started with the identity's id whose environment cannot be read, with its stop command. + + An agent file that cannot be read after the agent's `mcp remove` counts as failed, not deleted. The `--json` fields are unchanged, and `unchecked` is a new field on items. + +## Links + +- Full changelog: [turno-browser](https://github.com/wimo-dev/turno/blob/main/packages/browser/CHANGELOG.md). +- [Attach to your Chrome](/docs/browser/engines#attach-to-your-chrome). +- [Moving a session](/docs/browser/moving-a-session) and the [`remove` command](/docs/browser/reference/cli#turno-browser-remove). diff --git a/packages/browser/CHANGELOG.md b/packages/browser/CHANGELOG.md index 58f13e52..00baa26e 100644 --- a/packages/browser/CHANGELOG.md +++ b/packages/browser/CHANGELOG.md @@ -1,5 +1,17 @@ # turno-browser +## 0.14.2 + +### Patch Changes + +- 400e850: Attach mode: when the agent's tab closes during a step of `browser_batch` or of another of turno's tools (`browser_replay`, `browser_act`) and Chrome moves to one of your tabs that the agent has not selected, the tool's result now says so, as a single tool call's result already did. The batch result shows it under Note, where it also passes on the note a step gives when a page closes its own tab and another tab of the agent's becomes current. + + With a policy's `allowedDomains` and upstream's `--allowed-origins` (or `--blocked-origins`) together, the policy's domain check now runs first: an origin that `--allowed-origins` lets through no longer skips the policy's route, or the identity's blocking and cache. Upstream's routes are set when the browser starts instead of at the first browser tool call. + + The engines docs now say that `show`, `status` and `doctor` read `identity.json`, so they do not reflect a server started with the `--attach` flag alone. +- 3e5de71: `turno-browser import` takes only the key derivation parameters `export` writes: scrypt `r` 8 and `p` 1, and `N` at most 2^17, so reading a `.session` file never costs more memory than writing one (about 128 MiB). A header that asks for more is refused as damaged before any key is derived. Every export written so far uses exactly these values and still imports. +- 3e5de71: `turno-browser remove` no longer reports a complete removal (exit 0) while it could not check something. What it cannot check goes under `left` with `"unchecked": true` in `--json`, as "could not check" in the plan and "not checked" afterwards, and the exit code is 1: an agent config file it cannot read or parse, a registration `init` recorded in a file Cursor's, GitHub Copilot CLI's or Gemini CLI's own command does not change (now with the step to do by hand), an identity.json or vault index it cannot read (kept, since they name the secret store items, so a later run can find them), a secret another identity's identity.json or turno's mcp.toml may use when that file cannot be read (kept), and a turno-browser-mcp started with the identity's id whose environment cannot be read (with its stop command). Agent config files are read with comments and trailing commas allowed, as Gemini CLI's settings.json allows comments, and a file that does not parse is skipped only when no quoted key in it names the identity's server. An agent file that cannot be read after the agent's `mcp remove` counts as failed, not deleted. Planning and the final check read a path with `lstat`, so a broken link is planned and checked and a path it cannot look at is not taken for gone. The final check keeps a process the plan could not tell apart when the process table cannot be read, and checks failed items again: one that is gone after all is listed as deleted. The help and the reference state the limits: vault credentials are found through the sites the vault index names, and session exports through the record kept since 0.9.0. The `--json` fields are unchanged; `unchecked` is a new field on items. + ## 0.14.1 ### Patch Changes diff --git a/packages/browser/package.json b/packages/browser/package.json index 500e41a3..b91290ac 100644 --- a/packages/browser/package.json +++ b/packages/browser/package.json @@ -1,6 +1,6 @@ { "name": "turno-browser", - "version": "0.14.1", + "version": "0.14.2", "description": "A browser your agents use with your accounts. It stays light on your machine, and the model never sees your passwords.", "license": "Apache-2.0", "author": "William Frank Monroy Mamani (https://github.com/william-monroy)", diff --git a/packages/browser/server.json b/packages/browser/server.json index 16ce3907..706a6486 100644 --- a/packages/browser/server.json +++ b/packages/browser/server.json @@ -8,12 +8,12 @@ "source": "github", "subfolder": "packages/browser" }, - "version": "0.14.1", + "version": "0.14.2", "packages": [ { "registryType": "npm", "identifier": "turno-browser", - "version": "0.14.1", + "version": "0.14.2", "transport": { "type": "stdio" },