pi-agent-browser-native 0.2.20 → 0.2.22
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 +11 -0
- package/extensions/agent-browser/index.ts +2 -2
- package/package.json +10 -10
- package/scripts/doctor.mjs +11 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 0.2.22 - 2026-05-07
|
|
6
|
+
|
|
7
|
+
### Compatibility
|
|
8
|
+
- migrated the local pi development baseline and peer metadata from deprecated `@mariozechner/*` packages to maintained `@earendil-works/*` `0.74.0`
|
|
9
|
+
- regenerated the npm lockfile against the current stable dependency graph and confirmed package verification remains green
|
|
10
|
+
|
|
11
|
+
## 0.2.21 - 2026-05-07
|
|
12
|
+
|
|
13
|
+
### Fixed
|
|
14
|
+
- fixed the published `pi-agent-browser-doctor` bin entrypoint so it runs when invoked through npm's `.bin` symlink
|
|
15
|
+
|
|
5
16
|
## 0.2.20 - 2026-05-07
|
|
6
17
|
|
|
7
18
|
### Compatibility
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
import { copyFile, mkdir, readFile, rm, stat } from "node:fs/promises";
|
|
10
10
|
import { dirname, extname, isAbsolute, join, resolve } from "node:path";
|
|
11
11
|
|
|
12
|
-
import { StringEnum } from "@
|
|
13
|
-
import { isToolCallEventType, type AgentToolResult, type ExtensionAPI } from "@
|
|
12
|
+
import { StringEnum } from "@earendil-works/pi-ai";
|
|
13
|
+
import { isToolCallEventType, type AgentToolResult, type ExtensionAPI } from "@earendil-works/pi-coding-agent";
|
|
14
14
|
import { Type } from "typebox";
|
|
15
15
|
|
|
16
16
|
import {
|
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.22",
|
|
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,20 +48,20 @@
|
|
|
48
48
|
]
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"@
|
|
52
|
-
"
|
|
53
|
-
"
|
|
51
|
+
"@earendil-works/pi-ai": "*",
|
|
52
|
+
"@earendil-works/pi-coding-agent": "*",
|
|
53
|
+
"typebox": "*"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@
|
|
57
|
-
"@
|
|
58
|
-
"@types/node": "^25.6.
|
|
56
|
+
"@earendil-works/pi-ai": "^0.74.0",
|
|
57
|
+
"@earendil-works/pi-coding-agent": "^0.74.0",
|
|
58
|
+
"@types/node": "^25.6.1",
|
|
59
59
|
"tsx": "^4.21.0",
|
|
60
|
-
"typebox": "^1.1.
|
|
60
|
+
"typebox": "^1.1.38",
|
|
61
61
|
"typescript": "^6.0.3"
|
|
62
62
|
},
|
|
63
63
|
"overrides": {
|
|
64
|
-
"basic-ftp": "
|
|
64
|
+
"basic-ftp": "6.0.1"
|
|
65
65
|
},
|
|
66
66
|
"scripts": {
|
|
67
67
|
"docs": "node ./scripts/project.mjs docs",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"verify": "node ./scripts/project.mjs verify",
|
|
71
71
|
"prepublishOnly": "npm run verify && npm pack --dry-run"
|
|
72
72
|
},
|
|
73
|
-
"packageManager": "npm@
|
|
73
|
+
"packageManager": "npm@11.14.0"
|
|
74
74
|
}
|
package/scripts/doctor.mjs
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
import { execFile as execFileCallback } from "node:child_process";
|
|
11
|
+
import { realpathSync } from "node:fs";
|
|
11
12
|
import { access, readFile } from "node:fs/promises";
|
|
12
13
|
import { homedir } from "node:os";
|
|
13
14
|
import { dirname, resolve, sep } from "node:path";
|
|
@@ -415,7 +416,16 @@ export async function main(argv = process.argv.slice(2)) {
|
|
|
415
416
|
return 0;
|
|
416
417
|
}
|
|
417
418
|
|
|
418
|
-
|
|
419
|
+
export function isDirectRun(metaUrl, argv1 = process.argv[1], resolveRealPath = realpathSync) {
|
|
420
|
+
if (!argv1) return false;
|
|
421
|
+
try {
|
|
422
|
+
return resolveRealPath(argv1) === fileURLToPath(metaUrl);
|
|
423
|
+
} catch {
|
|
424
|
+
return false;
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
if (isDirectRun(import.meta.url)) {
|
|
419
429
|
main().then((exitCode) => {
|
|
420
430
|
process.exitCode = exitCode;
|
|
421
431
|
});
|