@alfe.ai/browser 0.2.0 → 0.2.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 +21 -0
- package/dist/index.cjs +537 -139
- package/dist/index.d.cts +24 -9
- package/dist/index.d.ts +24 -9
- package/dist/index.js +538 -140
- package/package.json +2 -2
package/README.md
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# @alfe.ai/browser
|
|
2
|
+
|
|
3
|
+
CDP-driven shared browser surface for Alfe agent automation and human
|
|
4
|
+
co-browse takeover. One persistent Chrome profile is streamed to authorized
|
|
5
|
+
viewers while an explicit controller session owns all human input.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install @alfe.ai/browser
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Callers provide the Chrome executable/profile paths and should provide
|
|
14
|
+
`isNavigationAllowed` for their network policy. The predicate is applied both
|
|
15
|
+
to agent navigation and every intercepted page request, including redirects
|
|
16
|
+
and human-clicked navigation. The package bounds viewports, screencast frames,
|
|
17
|
+
automation input/results, and keeps replacement Chrome/CDP generations from
|
|
18
|
+
mutating current state.
|
|
19
|
+
|
|
20
|
+
Part of [Alfe](https://alfe.ai). See the
|
|
21
|
+
[documentation](https://docs.alfe.ai) for platform setup.
|