browsentic 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.
- package/LICENSE +21 -0
- package/README.md +82 -0
- package/dist/cli.js +33928 -0
- package/dist/daemon-main.js +26498 -0
- package/extension/chrome-mv3/assets/globals-BOLwDXwQ.css +2 -0
- package/extension/chrome-mv3/background.js +130 -0
- package/extension/chrome-mv3/chunks/globals-BACcA5Dk.js +137 -0
- package/extension/chrome-mv3/chunks/popup-jkdMm_Wh.js +1 -0
- package/extension/chrome-mv3/chunks/rolldown-runtime-Bh1tDfsg.js +1 -0
- package/extension/chrome-mv3/chunks/sidepanel-BiP2yaIs.js +11 -0
- package/extension/chrome-mv3/content-scripts/content.js +218 -0
- package/extension/chrome-mv3/icon/128.png +0 -0
- package/extension/chrome-mv3/icon/16.png +0 -0
- package/extension/chrome-mv3/icon/32.png +0 -0
- package/extension/chrome-mv3/icon/48.png +0 -0
- package/extension/chrome-mv3/icon/96.png +0 -0
- package/extension/chrome-mv3/manifest.json +1 -0
- package/extension/chrome-mv3/popup.html +16 -0
- package/extension/chrome-mv3/sidepanel.html +16 -0
- package/package.json +54 -0
- package/skills/a-eye.md +37 -0
- package/skills/browse-navigation.md +53 -0
- package/skills/browser-control.md +123 -0
- package/skills/captcha.md +47 -0
- package/skills/monitor-progress.md +39 -0
- package/skills/page-research.md +33 -0
- package/skills/page-theming.md +56 -0
- package/skills/scheduled-jobs.md +58 -0
- package/skills/site-mapper.md +51 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Shahriar
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# browsentic
|
|
2
|
+
|
|
3
|
+
Hand your real, logged-in browser to the AI agent you already run.
|
|
4
|
+
|
|
5
|
+
Browsentic is a browser extension plus a local daemon. The extension opens a side panel beside
|
|
6
|
+
whatever tab you are on; the daemon runs on loopback and wakes the agent CLI you already have
|
|
7
|
+
installed. There is no hosted relay, no API key, and no headless browser — it drives the tab you
|
|
8
|
+
are already signed in to.
|
|
9
|
+
|
|
10
|
+
This package carries both halves: the daemon, and the extension build that `browsentic setup`
|
|
11
|
+
installs onto disk.
|
|
12
|
+
|
|
13
|
+
## Install
|
|
14
|
+
|
|
15
|
+
```sh
|
|
16
|
+
npx browsentic setup
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
That installs the extension, starts the daemon and prints a pairing code. Two steps are left, and
|
|
20
|
+
both happen inside the browser, so only you can do them:
|
|
21
|
+
|
|
22
|
+
1. Open `chrome://extensions`, turn on **Developer mode**, press **Load unpacked**, and choose the
|
|
23
|
+
folder the command printed (`~/browsentic/extension/chrome-mv3`).
|
|
24
|
+
2. Open the Browsentic popup and paste the pairing code.
|
|
25
|
+
|
|
26
|
+
Then open the side panel and say what you want.
|
|
27
|
+
|
|
28
|
+
To update later:
|
|
29
|
+
|
|
30
|
+
```sh
|
|
31
|
+
npx browsentic@latest update
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
The extension installs to a stable path on purpose, so an update keeps the same extension ID and
|
|
35
|
+
your browser stays paired. Press ↻ on the Browsentic card afterwards to pick up the new build.
|
|
36
|
+
|
|
37
|
+
## Requirements
|
|
38
|
+
|
|
39
|
+
- Node.js 20 or newer
|
|
40
|
+
- Chrome, or another Chromium browser
|
|
41
|
+
- One agent CLI on your `PATH`: `claude`, `codex` or `agy`
|
|
42
|
+
|
|
43
|
+
## Commands
|
|
44
|
+
|
|
45
|
+
| | |
|
|
46
|
+
| --- | --- |
|
|
47
|
+
| `browsentic setup` | install the extension, start the daemon, print a pairing code |
|
|
48
|
+
| `browsentic update` | refresh the installed extension and restart the daemon |
|
|
49
|
+
| `browsentic pair` | issue a fresh single-use code |
|
|
50
|
+
| `browsentic status` | daemon, extension and agent state |
|
|
51
|
+
| `browsentic sessions` | list paired browsers |
|
|
52
|
+
| `browsentic revoke` | unpair one browser, or all of them |
|
|
53
|
+
| `browsentic agent` | choose which agent runs the side panel |
|
|
54
|
+
| `browsentic logs` | tail the daemon log |
|
|
55
|
+
| `browsentic mcp` | serve MCP over stdio |
|
|
56
|
+
|
|
57
|
+
`browsentic help` lists the rest.
|
|
58
|
+
|
|
59
|
+
## Using it from an MCP client
|
|
60
|
+
|
|
61
|
+
Optional. The side panel needs none of this — it is for people who would rather drive the browser
|
|
62
|
+
from a terminal.
|
|
63
|
+
|
|
64
|
+
```sh
|
|
65
|
+
npm i -g browsentic
|
|
66
|
+
claude mcp add browsentic -- browsentic mcp
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
Any MCP client works: Claude Code, Codex, Cursor, Zed, Claude Desktop. One daemon owns the browser
|
|
70
|
+
link, so several can share the same paired browser at once.
|
|
71
|
+
|
|
72
|
+
Prefer a global install over `npx` here. An `npx` command re-resolves on every client start and can
|
|
73
|
+
quietly pull a newer daemon than the extension you have loaded.
|
|
74
|
+
|
|
75
|
+
## Documentation
|
|
76
|
+
|
|
77
|
+
Full documentation lives at **[browsentic.com/docs](https://browsentic.com/docs/)**, including the
|
|
78
|
+
[security model](https://browsentic.com/security/), the
|
|
79
|
+
[tool reference](https://browsentic.com/docs/reference/tools/) and the
|
|
80
|
+
[architecture](https://browsentic.com/docs/internals/).
|
|
81
|
+
|
|
82
|
+
Source: [github.com/imshaikot/browsentic](https://github.com/imshaikot/browsentic) · MIT
|