browser-pilot-cli 0.3.0-rc.6 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,62 @@
1
+ # Browser Pilot 0.4.0
2
+
3
+ Browser Pilot 0.4.0 introduces protocol 1.3 while preserving protocol 1.0-1.2
4
+ compatibility and the extension-free browser control model.
5
+
6
+ ## Profile identity
7
+
8
+ - `browser.profiles.list` remains passive and returns neutral, connection-scoped
9
+ Profile contexts without opening or attaching to identity pages.
10
+ - New `browser.profiles.identify` explicitly creates temporary visible
11
+ `chrome://version` targets, verifies the reported Profile path against the
12
+ connected browser `userDataRoot`, reads bounded Chrome Local State metadata,
13
+ and proves cleanup before returning.
14
+ - Results distinguish `unidentified`, `verified`, and `unavailable`, with
15
+ structured Profile/account fields and stable failure codes. Identity is
16
+ cached only for one browser connection generation.
17
+ - `bp profiles --identify [--refresh]` exposes the same behavior. Profile and
18
+ tab selectors are one-based and may use a uniquely verified Profile name,
19
+ account name, or email address.
20
+
21
+ ## Agent isolation and vocabulary
22
+
23
+ - Direct one-shot CLI Agents can set a stable `BROWSER_PILOT_CLIENT_KEY` or
24
+ `--client-key`; different keys receive distinct Principal, Connection,
25
+ Workspace, and Lease state while repeated calls with one key reuse it.
26
+ - `bp disconnect` releases only its CLI namespace and cannot stop a Broker that
27
+ still has another active Lease or embedded Connection.
28
+ - Protocol 1.3 browser discovery uses `userDataRoot` instead of the ambiguous
29
+ legacy candidate field `profile`.
30
+ - Protocol 1.3 tab inventory uses `selected` for the Lease-local target instead
31
+ of `active`, which could be mistaken for Chrome foreground focus.
32
+
33
+ ## Page and target isolation
34
+
35
+ - Browser Pilot no longer injects a controller overlay or other status UI into
36
+ page DOM. Embedding Hosts may present returned controller identity in
37
+ Host-owned UI.
38
+ - Chrome and Edge extension pages are excluded from ordinary tab inventory and
39
+ Profile context evidence.
40
+ - Existing eligible user tabs remain fully controllable; managed-only cleanup
41
+ still leaves user tabs open.
42
+
43
+ ## Embedding
44
+
45
+ - The Tenon/OpenClaw-neutral reference adapter negotiates protocol 1.3 and
46
+ discovers the identity operation through the canonical runtime manifest.
47
+ - One-shot CLI, embedded stdio, local Artifact export, native image results,
48
+ and protocol 1.0-1.2 compatibility remain supported without a Native SDK,
49
+ MCP server, or browser extension.
50
+
51
+ ## CLI and distribution contract
52
+
53
+ - Every non-TTY one-shot failure now includes stable `code` and `retryable`
54
+ fields. Commander/parser and local input errors use `invalid_argument`, while
55
+ Broker errors preserve their protocol code and structured remediation.
56
+ - The versioned Agent plugin/skill records CLI `0.4.0` as its tested/minimum
57
+ version and accepts backward-compatible updates within the declared range. It
58
+ includes Codex UI metadata plus a machine-readable compatibility manifest.
59
+ - GitHub releases publish the plugin archive and checksum alongside a release
60
+ index that verifies the npm version, protocol range, and every native asset.
61
+ - Native targets are Apple Silicon macOS, x64 Linux, and x64 Windows. Intel Mac
62
+ is not supported and no `darwin-x64` asset is published.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "browser-pilot-cli",
3
- "version": "0.3.0-rc.6",
3
+ "version": "0.4.0",
4
4
  "description": "CLI tool to control your browser via Chrome DevTools Protocol",
5
5
  "repository": "https://github.com/relixiaobo/browser-pilot",
6
6
  "type": "module",
@@ -14,6 +14,11 @@
14
14
  "build:standalone:js": "tsup --config tsup.standalone.config.ts",
15
15
  "build:standalone": "npm run build:standalone:js && node scripts/build-standalone.mjs",
16
16
  "package:standalone": "node scripts/package-standalone.mjs",
17
+ "package:agent-plugin": "node scripts/package-agent-plugin.mjs",
18
+ "package:release-index": "node scripts/build-release-index.mjs",
19
+ "release:sync-version": "node scripts/sync-release-version.mjs",
20
+ "release:check-version": "node scripts/sync-release-version.mjs --check",
21
+ "version": "node scripts/sync-release-version.mjs",
17
22
  "verify:standalone": "node scripts/verify-standalone.mjs",
18
23
  "dev": "tsup --watch",
19
24
  "start": "node dist/cli.js",
@@ -44,12 +49,7 @@
44
49
  "docs/plans/profile-context-routing.md",
45
50
  "docs/plans/v0.3.0-stabilization.md",
46
51
  "docs/plans/universal-agent-integration.md",
47
- "docs/releases/v0.3.0-rc.1.md",
48
- "docs/releases/v0.3.0-rc.2.md",
49
- "docs/releases/v0.3.0-rc.3.md",
50
- "docs/releases/v0.3.0-rc.4.md",
51
- "docs/releases/v0.3.0-rc.5.md",
52
- "docs/releases/v0.3.0-rc.6.md",
52
+ "docs/releases/",
53
53
  "README.md",
54
54
  "LICENSE"
55
55
  ],