@capybara-hq/plugin-browser 0.1.0-rc.2 → 0.1.0-rc.3
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/.capybara-plugin/plugin.json +2 -2
- package/README.md +2 -1
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
- package/ui/service/daemon.mjs +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"name": "browser",
|
|
4
|
-
"version": "0.1.0-rc.
|
|
4
|
+
"version": "0.1.0-rc.3",
|
|
5
5
|
"publisher": "Capybara",
|
|
6
6
|
"description": {
|
|
7
7
|
"en": "A real browser in the conversation owner's device for agents: navigate, read and act on pages through tools, with a live view in the conversation panel and takeover by the person",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"entry": "./dist/index.mjs",
|
|
18
18
|
"manifest": {
|
|
19
19
|
"name": "browser",
|
|
20
|
-
"version": "0.1.0-rc.
|
|
20
|
+
"version": "0.1.0-rc.3",
|
|
21
21
|
"sdk": "^0.1.0-rc.69",
|
|
22
22
|
"provides": [],
|
|
23
23
|
"requires": [],
|
package/README.md
CHANGED
|
@@ -46,7 +46,8 @@ A real browser in the person's device for agents (browser use spec,
|
|
|
46
46
|
- Chromium starts on the daemon's first start. A launch that fails (no download, a refused
|
|
47
47
|
network) does not stop the daemon: every request answers the cause and launches again. When the
|
|
48
48
|
device's proxy refuses Playwright's download hosts (`cdn.playwright.dev`,
|
|
49
|
-
`playwright.download.prss.microsoft.com`,
|
|
49
|
+
`playwright.download.prss.microsoft.com`, `storage.googleapis.com` where the CDN redirects the
|
|
50
|
+
headless shell, or `PLAYWRIGHT_DOWNLOAD_HOST`), the reply lists them
|
|
50
51
|
as blocked hosts, so the person is asked to allow them. A `PLAYWRIGHT_BROWSERS_PATH` in the
|
|
51
52
|
device's environment that already holds this build's headless shell revision is used as is
|
|
52
53
|
(a read-only image cache); otherwise the browser is installed into `<state>/browsers`.
|
package/dist/index.mjs
CHANGED
|
@@ -84,7 +84,7 @@ function daemonToolError(code, message) {
|
|
|
84
84
|
`${message} Ask the user to allow these hosts so the browser can be installed, then retry.`
|
|
85
85
|
);
|
|
86
86
|
return new ToolError(
|
|
87
|
-
`${message} The
|
|
87
|
+
`${message} The network note says whether the host can be allowed from this conversation; if it is not allowed, use another site.`
|
|
88
88
|
);
|
|
89
89
|
default:
|
|
90
90
|
return new ToolError(`${message} Check the page with browser_snapshot before retrying.`);
|
|
@@ -859,7 +859,7 @@ function registerBrowserTools(ctx, deps) {
|
|
|
859
859
|
// src/index.ts
|
|
860
860
|
var index_default = defineExtension({
|
|
861
861
|
name: "browser",
|
|
862
|
-
version: "0.1.0-rc.
|
|
862
|
+
version: "0.1.0-rc.3",
|
|
863
863
|
sdk: "^0.1.0-rc.69",
|
|
864
864
|
provides: [],
|
|
865
865
|
ui: [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capybara-hq/plugin-browser",
|
|
3
|
-
"version": "0.1.0-rc.
|
|
3
|
+
"version": "0.1.0-rc.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"description": "A real browser in the person's device for agents: navigate, read and act on pages through tools, with a live view in the conversation and takeover by the person",
|
package/ui/service/daemon.mjs
CHANGED
|
@@ -1232,7 +1232,7 @@ function playwrightDownloadHosts(env) {
|
|
|
1232
1232
|
return [];
|
|
1233
1233
|
}
|
|
1234
1234
|
}
|
|
1235
|
-
return ["cdn.playwright.dev", "playwright.download.prss.microsoft.com"];
|
|
1235
|
+
return ["cdn.playwright.dev", "playwright.download.prss.microsoft.com", "storage.googleapis.com"];
|
|
1236
1236
|
}
|
|
1237
1237
|
function browsersPathFor(stateDir, env, revision) {
|
|
1238
1238
|
const cache = envValue(env, "PLAYWRIGHT_BROWSERS_PATH");
|