@ulpi/browse 0.10.0 → 1.0.1
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 +6 -6
- package/dist/browse.mjs +6756 -0
- package/package.json +17 -13
- package/skill/SKILL.md +2 -3
- package/bin/browse.ts +0 -11
- package/src/auth-vault.ts +0 -196
- package/src/browser-manager.ts +0 -976
- package/src/buffers.ts +0 -81
- package/src/bun.d.ts +0 -65
- package/src/chrome-discover.ts +0 -73
- package/src/cli.ts +0 -783
- package/src/commands/meta.ts +0 -986
- package/src/commands/read.ts +0 -375
- package/src/commands/write.ts +0 -704
- package/src/config.ts +0 -44
- package/src/constants.ts +0 -14
- package/src/cookie-import.ts +0 -410
- package/src/diff.d.ts +0 -12
- package/src/domain-filter.ts +0 -140
- package/src/encryption.ts +0 -48
- package/src/har.ts +0 -66
- package/src/install-skill.ts +0 -98
- package/src/png-compare.ts +0 -247
- package/src/policy.ts +0 -94
- package/src/rebrowser.d.ts +0 -7
- package/src/record-export.ts +0 -98
- package/src/runtime.ts +0 -161
- package/src/sanitize.ts +0 -11
- package/src/server.ts +0 -526
- package/src/session-manager.ts +0 -240
- package/src/session-persist.ts +0 -192
- package/src/snapshot.ts +0 -606
- package/src/types.ts +0 -12
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ Headless browser CLI for AI coding agents. Persistent Chromium daemon via Playwr
|
|
|
10
10
|
npm install -g @ulpi/browse
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
Requires
|
|
13
|
+
Requires Node.js 18+. Chromium is installed automatically via Playwright on first `npm install`.
|
|
14
14
|
|
|
15
15
|
### Project Installation (local dependency)
|
|
16
16
|
|
|
@@ -25,9 +25,9 @@ Then use via `package.json` scripts or by invoking `browse` directly.
|
|
|
25
25
|
```bash
|
|
26
26
|
git clone https://github.com/ulpi-io/browse
|
|
27
27
|
cd browse
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
npm install
|
|
29
|
+
npx tsx src/cli.ts goto https://example.com # Dev mode
|
|
30
|
+
npm run build # Build bundle
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
## Quick Start
|
|
@@ -330,7 +330,7 @@ echo '[["goto","https://example.com"],["snapshot","-i"],["text"]]' | browse chai
|
|
|
330
330
|
```bash
|
|
331
331
|
browse status # Server health report
|
|
332
332
|
browse instances # List all running browse servers
|
|
333
|
-
browse doctor # System check (
|
|
333
|
+
browse doctor # System check (Node, Playwright, Chromium)
|
|
334
334
|
browse upgrade # Self-update via npm
|
|
335
335
|
browse stop # Stop server
|
|
336
336
|
browse restart # Restart server
|
|
@@ -579,7 +579,7 @@ browse uses **2.4x fewer tokens** than browser-use, **2.8x fewer** than agent-br
|
|
|
579
579
|
| 10-action session | ~145,780 | **~11,388** |
|
|
580
580
|
| Context consumed (200K) | **73%** | **6%** |
|
|
581
581
|
|
|
582
|
-
Rerun: `
|
|
582
|
+
Rerun: `npm run benchmark`
|
|
583
583
|
|
|
584
584
|
## Changelog
|
|
585
585
|
|