@anvailabs/agentbrowser-mcp 1.10.0 → 1.11.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/README.md +37 -7
- package/dist/bin.js +345 -162
- package/dist/index.js +339 -162
- package/dist/mcp-server.d.ts +4 -4
- package/dist/mcp-server.d.ts.map +1 -1
- package/dist/mcp-server.js +123 -105
- package/dist/mcp-server.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,13 +21,15 @@ responses, with a digest over complete descriptions and schemas. The existing re
|
|
|
21
21
|
artifact check rejects drift. Regenerate after building with
|
|
22
22
|
`node scripts/mcp-catalog-docs.mjs --write`.
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
24
|
+
`browser_session` inspects metadata and pages when given a `sessionId`. On a delegated
|
|
25
|
+
connection the binding supplies that ID and the same response also includes current
|
|
26
|
+
control status. The tool requires both `session.control` and `page.observe`; application
|
|
27
|
+
mode therefore does not expose it. Delegated mode removes create/close/cookies and adds
|
|
28
|
+
`browser_operation` (operation status). `AGENTBROWSER_MODE` fixes one profile for the
|
|
29
|
+
lifetime of the bridge connection. Reconnect to change profiles; clients may cache
|
|
30
|
+
catalogs. Obtain the effective catalog from your own connection with `tools/list`;
|
|
31
|
+
metadata never enlarges a session grant, and the service rejects a tool call that the
|
|
32
|
+
bearer grant's profile does not allow even if a mismatched bridge advertises it.
|
|
31
33
|
|
|
32
34
|
`qa`, `operations`, `appsec`, `bounty`, and `forms` currently project the complete
|
|
33
35
|
browser catalog. `audit` omits bulk autofill. `application` exposes only delegated
|
|
@@ -68,6 +70,34 @@ receipt and preserve uncertain writes. For explicit heterogeneous steps use
|
|
|
68
70
|
`browser_snapshot` → `browser_plan` — see the
|
|
69
71
|
[main README](../../README.md#the-fast-path-for-forms-snapshot-then-plan).
|
|
70
72
|
|
|
73
|
+
## Multiple pages and large research results
|
|
74
|
+
|
|
75
|
+
`browser_create` still returns its initial `pageId`. Use `browser_page_create` with
|
|
76
|
+
that `sessionId` and an optional HTTP(S) `url` to create another page in the same
|
|
77
|
+
cookie context. Use `browser_pages` to discover page IDs, including adopted popups;
|
|
78
|
+
never invent an ID or expect navigation to create a page implicitly. These tools
|
|
79
|
+
delegate to the existing SDK, and the service remains the authorization/policy owner.
|
|
80
|
+
The equivalent shell interfaces remain `agentbrowser page create --help` and
|
|
81
|
+
`agentbrowser page list --help`.
|
|
82
|
+
|
|
83
|
+
Bound creation requires `operationId` chosen before dispatch. Controlled sessions
|
|
84
|
+
deduplicate that ID, but operation status does not retain the resulting page ID.
|
|
85
|
+
Ordinary sessions made by `browser_create` do not acquire deduplication from an ID
|
|
86
|
+
alone. Do not automatically retry an uncertain create in either case; inventory is
|
|
87
|
+
not proof of which page a concurrent create produced. A general explicit-page quota
|
|
88
|
+
and result correlation remain follow-ups, separate from the existing popup cap.
|
|
89
|
+
|
|
90
|
+
`browser_extract` preserves complete `data` and evidence within `maxBytes`. Its
|
|
91
|
+
default ceiling is 1 MiB of compact JSON including evidence; the operator can raise
|
|
92
|
+
the ceiling with `AGENTBROWSER_EXTRACT_MAX_BYTES` before starting the service.
|
|
93
|
+
Raw HTML size is not the extracted result size. Over-limit results fail explicitly,
|
|
94
|
+
with no partial JSON. The MCP text envelope is separately serialized and can be
|
|
95
|
+
larger. Any overflow files written by Claude or another harness belong to that
|
|
96
|
+
harness; AgentBrowser does not define their paths.
|
|
97
|
+
|
|
98
|
+
For the reproducible headed research smoke and its limits, see
|
|
99
|
+
[research qualification](../../docs/spec/evidence/consumer-research-smoke.md).
|
|
100
|
+
|
|
71
101
|
## Running it
|
|
72
102
|
|
|
73
103
|
### Release consumers: the single binary (recommended)
|