pi-agent-browser-native 0.2.13 → 0.2.14
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.
- package/CHANGELOG.md +10 -0
- package/extensions/agent-browser/index.ts +2 -1
- package/package.json +7 -4
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 0.2.14 - 2026-05-01
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
- updated the local pi development baseline to `@mariozechner/pi-coding-agent` `0.71.1`
|
|
9
|
+
- regenerated the npm lockfile against the current stable dependency graph
|
|
10
|
+
|
|
11
|
+
### Compatibility
|
|
12
|
+
- reviewed the pi `0.71.1` changelog and confirmed the extension is compatible with the current TypeBox 1.x package guidance, session-replacement safety rules, and latest package install/update behavior
|
|
13
|
+
|
|
14
|
+
|
|
5
15
|
## 0.2.13 - 2026-04-30
|
|
6
16
|
|
|
7
17
|
### Fixed
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
import { readFile, rm } from "node:fs/promises";
|
|
10
10
|
|
|
11
|
+
import { StringEnum } from "@mariozechner/pi-ai";
|
|
11
12
|
import { isToolCallEventType, type AgentToolResult, type ExtensionAPI } from "@mariozechner/pi-coding-agent";
|
|
12
13
|
import { Type } from "typebox";
|
|
13
14
|
|
|
@@ -71,7 +72,7 @@ const AGENT_BROWSER_PARAMS = Type.Object({
|
|
|
71
72
|
}),
|
|
72
73
|
stdin: Type.Optional(Type.String({ description: "Optional raw stdin content; only supported for batch and eval --stdin." })),
|
|
73
74
|
sessionMode: Type.Optional(
|
|
74
|
-
|
|
75
|
+
StringEnum(["auto", "fresh"] as const, {
|
|
75
76
|
description:
|
|
76
77
|
"Session handling mode. `auto` reuses the extension-managed pi-scoped session when possible. `fresh` switches that managed session to a fresh upstream launch so launch-scoped flags like --profile, --session-name, --cdp, --state, or --auto-connect apply and later auto calls follow the new browser.",
|
|
77
78
|
default: DEFAULT_SESSION_MODE,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-agent-browser-native",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.14",
|
|
4
4
|
"description": "pi extension that exposes agent-browser as a native tool for browser automation",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "Mitch Fultz (https://github.com/fitchmultz)",
|
|
@@ -48,13 +48,15 @@
|
|
|
48
48
|
]
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
+
"@mariozechner/pi-ai": "*",
|
|
51
52
|
"typebox": "*"
|
|
52
53
|
},
|
|
53
54
|
"devDependencies": {
|
|
54
|
-
"@mariozechner/pi-
|
|
55
|
+
"@mariozechner/pi-ai": "^0.71.1",
|
|
56
|
+
"@mariozechner/pi-coding-agent": "^0.71.1",
|
|
55
57
|
"@types/node": "^25.6.0",
|
|
56
58
|
"tsx": "^4.21.0",
|
|
57
|
-
"typebox": "^1.1.
|
|
59
|
+
"typebox": "^1.1.37",
|
|
58
60
|
"typescript": "^6.0.3"
|
|
59
61
|
},
|
|
60
62
|
"overrides": {
|
|
@@ -64,7 +66,8 @@
|
|
|
64
66
|
"docs": "node ./scripts/project.mjs docs",
|
|
65
67
|
"doctor": "node ./scripts/doctor.mjs",
|
|
66
68
|
"test": "tsx --test test/**/*.test.ts",
|
|
67
|
-
"verify": "node ./scripts/project.mjs verify"
|
|
69
|
+
"verify": "node ./scripts/project.mjs verify",
|
|
70
|
+
"prepublishOnly": "npm run verify && npm pack --dry-run"
|
|
68
71
|
},
|
|
69
72
|
"packageManager": "npm@10.9.8"
|
|
70
73
|
}
|