browser-pilot 0.0.8 → 0.0.9
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/README.md +61 -1
- package/dist/actions.cjs +465 -6
- package/dist/actions.d.cts +22 -3
- package/dist/actions.d.ts +22 -3
- package/dist/actions.mjs +5 -3
- package/dist/browser.cjs +1350 -14
- package/dist/browser.d.cts +3 -3
- package/dist/browser.d.ts +3 -3
- package/dist/browser.mjs +2 -2
- package/dist/{chunk-JN44FHTK.mjs → chunk-7OSR2CAE.mjs} +1429 -14
- package/dist/chunk-KKW2SZLV.mjs +741 -0
- package/dist/cli.mjs +6150 -103
- package/dist/index.cjs +2026 -23
- package/dist/index.d.cts +142 -6
- package/dist/index.d.ts +142 -6
- package/dist/index.mjs +357 -10
- package/dist/providers.d.cts +2 -2
- package/dist/providers.d.ts +2 -2
- package/dist/{types-D_uDqh0Z.d.cts → types--wXNHUwt.d.cts} +1 -1
- package/dist/{types-D_uDqh0Z.d.ts → types--wXNHUwt.d.ts} +1 -1
- package/dist/{types-DklIxnbO.d.cts → types-CYw-7vx1.d.cts} +244 -1
- package/dist/{types-Pv8KzZ6l.d.ts → types-DOGsEYQa.d.ts} +244 -1
- package/package.json +3 -3
- package/dist/chunk-ZIQA4JOT.mjs +0 -226
- package/dist/chunk-ZTQ37YQT.mjs +0 -283
- package/dist/cli.cjs +0 -6377
- package/dist/cli.d.cts +0 -25
- package/dist/cli.d.ts +0 -25
package/dist/cli.d.cts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bun
|
|
2
|
-
/**
|
|
3
|
-
* browser-pilot CLI - Browser automation for AI agents
|
|
4
|
-
*
|
|
5
|
-
* Key workflow:
|
|
6
|
-
* 1. bp snapshot --format text → Get page with element refs [ref=e4]
|
|
7
|
-
* 2. bp exec '{"selector":"ref:e4",...}' → Use refs for reliable targeting
|
|
8
|
-
*
|
|
9
|
-
* Commands:
|
|
10
|
-
* quickstart Getting started guide
|
|
11
|
-
* connect Create browser session
|
|
12
|
-
* exec Execute actions (supports --dialog accept|dismiss)
|
|
13
|
-
* snapshot Get page snapshot with element refs
|
|
14
|
-
* text Extract text content
|
|
15
|
-
* screenshot Take screenshot
|
|
16
|
-
* close Close session
|
|
17
|
-
* list List sessions
|
|
18
|
-
* clean Clean up old sessions
|
|
19
|
-
* actions Complete action reference
|
|
20
|
-
*
|
|
21
|
-
* Run 'bp quickstart' for getting started guide.
|
|
22
|
-
*/
|
|
23
|
-
declare function output(data: unknown, format?: 'json' | 'pretty'): void;
|
|
24
|
-
|
|
25
|
-
export { output };
|
package/dist/cli.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bun
|
|
2
|
-
/**
|
|
3
|
-
* browser-pilot CLI - Browser automation for AI agents
|
|
4
|
-
*
|
|
5
|
-
* Key workflow:
|
|
6
|
-
* 1. bp snapshot --format text → Get page with element refs [ref=e4]
|
|
7
|
-
* 2. bp exec '{"selector":"ref:e4",...}' → Use refs for reliable targeting
|
|
8
|
-
*
|
|
9
|
-
* Commands:
|
|
10
|
-
* quickstart Getting started guide
|
|
11
|
-
* connect Create browser session
|
|
12
|
-
* exec Execute actions (supports --dialog accept|dismiss)
|
|
13
|
-
* snapshot Get page snapshot with element refs
|
|
14
|
-
* text Extract text content
|
|
15
|
-
* screenshot Take screenshot
|
|
16
|
-
* close Close session
|
|
17
|
-
* list List sessions
|
|
18
|
-
* clean Clean up old sessions
|
|
19
|
-
* actions Complete action reference
|
|
20
|
-
*
|
|
21
|
-
* Run 'bp quickstart' for getting started guide.
|
|
22
|
-
*/
|
|
23
|
-
declare function output(data: unknown, format?: 'json' | 'pretty'): void;
|
|
24
|
-
|
|
25
|
-
export { output };
|