@parall/daemon 1.66.0 → 1.67.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/bundle/manifest.json +11 -11
- package/bundle/parall-browser-pod.js +80 -33
- package/bundle/parall-claude-agent.js +1396 -1326
- package/bundle/parall-codex-agent.js +1393 -1323
- package/bundle/parall-daemon.js +674 -528
- package/package.json +6 -6
package/bundle/manifest.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
3
|
-
"built_at": "2026-09-
|
|
2
|
+
"version": "1.67.0",
|
|
3
|
+
"built_at": "2026-09-21T03:49:42.703Z",
|
|
4
4
|
"min_node_version": "20.0.0",
|
|
5
5
|
"files": {
|
|
6
6
|
"bb-browser-daemon.js": {
|
|
@@ -16,29 +16,29 @@
|
|
|
16
16
|
"size": 18
|
|
17
17
|
},
|
|
18
18
|
"parall-browser-pod.js": {
|
|
19
|
-
"sha256": "
|
|
20
|
-
"size":
|
|
19
|
+
"sha256": "a87802bc5a848a34d2058b780c48a577d3890e5dce343e0d7459024ff8a9538d",
|
|
20
|
+
"size": 3042316
|
|
21
21
|
},
|
|
22
22
|
"parall-channel-exec.js": {
|
|
23
23
|
"sha256": "7c2a6e12483a45e9eb4a42cd7d4cdd3c4fa21dd09ac1347d9a3e177b4ddee930",
|
|
24
24
|
"size": 7220
|
|
25
25
|
},
|
|
26
26
|
"parall-claude-agent.js": {
|
|
27
|
-
"sha256": "
|
|
28
|
-
"size":
|
|
27
|
+
"sha256": "a3c6e0d7d81ee42c6ad5632a04ba4c80c32d6e75a170ca86d1f90a8ed5176109",
|
|
28
|
+
"size": 3005141
|
|
29
29
|
},
|
|
30
30
|
"parall-codex-agent.js": {
|
|
31
|
-
"sha256": "
|
|
32
|
-
"size":
|
|
31
|
+
"sha256": "b02b6ca3280f0417a977d2045a472f66180c48c491e078cf3bac45644ea8e8fa",
|
|
32
|
+
"size": 3027335
|
|
33
33
|
},
|
|
34
34
|
"parall-daemon.js": {
|
|
35
|
-
"sha256": "
|
|
36
|
-
"size":
|
|
35
|
+
"sha256": "d4b1b60ad805f695b104a3b2f755b2af71aaf046f26528e187f60f3e9c3f007f",
|
|
36
|
+
"size": 3216708
|
|
37
37
|
},
|
|
38
38
|
"parall-openclaw-agent.js": {
|
|
39
39
|
"sha256": "856a1c3a9ae0ffef8efe2481fa1171dbeb1d67cccb88616aa9bf16da96a69355",
|
|
40
40
|
"size": 9923
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
|
-
"signature": "
|
|
43
|
+
"signature": "8OfljP8cO9ZvVuGWwPV72VPbHr16dUEomkdQ+6xu3KvLUR/gSqEy/n/OIjBj8ljH+mGLCb7Rn1ekNdOTQXrKCw=="
|
|
44
44
|
}
|
|
@@ -64279,6 +64279,16 @@ function renderPlatformReferenceGuide(skillsAvailable) {
|
|
|
64279
64279
|
var PLATFORM_BEHAVIOR = renderPlatformBehavior(true);
|
|
64280
64280
|
var PLATFORM_REFERENCE_GUIDE = renderPlatformReferenceGuide(true);
|
|
64281
64281
|
|
|
64282
|
+
// ts/sdk/dist/browser-use-contract.generated.js
|
|
64283
|
+
var browserUseContract = { "actions": { "read": { "grant": "browser.read", "target": "optional_tab", "params": { "required": [], "properties": { "url": { "type": "string", "min_length": 1, "max_length": 8192, "schemes": ["http", "https", "about:blank"] } }, "rules": ["exactly one of params.url or target is required", "params.url creates a hidden Profile-bound tab and closes it before terminal success or failure"], "additional_properties": false }, "success": { "base": null, "fields": { "profile_id": "ebp_identifier", "url": "string", "title": "string", "article": "nullable_article" } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "PAGE_LOAD_FAILED"] }, "tabs": { "grant": "browser.read", "target": "none", "params": { "required": [], "properties": {}, "additional_properties": false }, "success": { "base": null, "fields": { "tabs": "tab_summary_array" } }, "errors": ["TAB_GONE"] }, "wait": { "grant": "browser.read", "target": "tab", "params": { "required": [], "properties": { "selector": { "type": "string", "min_length": 1, "max_length": 4096 }, "state": { "enum": ["attached", "detached", "visible", "hidden", "load"], "default": "attached" }, "timeout_ms": { "type": "integer", "minimum": 1, "maximum": 3e4, "default": 1e4 } }, "rules": ["selector is required unless state=load", "state=load forbids selector"], "additional_properties": false }, "success": { "base": "tab_state", "fields": { "matched": { "const": true } } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "PAGE_LOAD_FAILED"] }, "snapshot": { "grant": "browser.read", "target": "tab", "params": { "required": [], "properties": { "interactive": { "type": "boolean", "default": false }, "compact": { "type": "boolean", "default": false }, "depth": { "type": "integer", "minimum": 0, "maximum": 64 } }, "additional_properties": false }, "success": { "base": "tab_state", "fields": { "snapshot": "string", "snapshot_id": "identifier" } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "PAGE_LOAD_FAILED"] }, "get": { "grant": "browser.read", "target": "tab_or_ref", "params": { "required": ["prop"], "properties": { "selector": { "type": "string", "min_length": 1, "max_length": 4096 }, "prop": { "enum": ["text", "html", "value", "attr", "title", "url"] }, "name": { "type": "string", "min_length": 1, "max_length": 256 } }, "rules": ["title/url forbid locator and name", "text/html/value require exactly one locator", "attr requires exactly one locator and name"], "additional_properties": false }, "success": { "base": "tab_state", "fields": { "value": "nullable_string" } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "STALE_REF", "PAGE_LOAD_FAILED"] }, "screenshot": { "grant": "browser.read", "target": "tab", "params": { "required": [], "properties": {}, "additional_properties": false }, "success": { "base": "tab_state", "fields": { "format": { "const": "png" }, "base64": "canonical_base64" } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "PAGE_LOAD_FAILED"] }, "open": { "grant": "browser.interact", "target": "none", "params": { "required": ["url"], "properties": { "url": { "type": "string", "min_length": 1, "max_length": 8192, "schemes": ["http", "https", "about:blank"] }, "hidden": { "type": "boolean", "default": false }, "viewport": { "type": "viewport" } }, "additional_properties": false }, "success": { "base": "tab_state", "fields": {} }, "errors": ["PAGE_LOAD_FAILED"] }, "navigate": { "grant": "browser.interact", "target": "tab", "params": { "required": ["url"], "properties": { "url": { "type": "string", "min_length": 1, "max_length": 8192, "schemes": ["http", "https", "about:blank"] } }, "additional_properties": false }, "success": { "base": "tab_state", "fields": {} }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "PAGE_LOAD_FAILED"] }, "viewport": { "grant": "browser.interact", "target": "tab", "params": { "required": ["width", "height"], "properties": { "width": { "type": "integer", "minimum": 320, "maximum": 3840 }, "height": { "type": "integer", "minimum": 240, "maximum": 2160 } }, "additional_properties": false }, "success": { "base": "tab_state", "fields": { "viewport": "viewport" } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE"] }, "click": { "grant": "browser.interact", "target": "tab_or_ref", "params": { "required": [], "properties": { "selector": "selector" }, "rules": ["exactly one of params.selector or target.ref"], "additional_properties": false }, "success": { "base": "tab_state", "fields": { "clicked": { "const": true } } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "STALE_REF", "PAGE_LOAD_FAILED"] }, "fill": { "grant": "browser.interact", "target": "tab_or_ref", "params": { "required": ["text"], "properties": { "selector": "selector", "text": { "type": "string", "allow_empty": true } }, "rules": ["exactly one of params.selector or target.ref"], "additional_properties": false }, "success": { "base": "tab_state", "fields": { "filled": { "const": true }, "characters": "non_negative_integer" } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "STALE_REF", "PAGE_LOAD_FAILED"] }, "type": { "grant": "browser.interact", "target": "tab_or_ref", "params": { "required": ["text"], "properties": { "selector": "selector", "text": { "type": "string", "min_length": 1 } }, "rules": ["exactly one of params.selector or target.ref"], "additional_properties": false }, "success": { "base": "tab_state", "fields": { "typed": { "const": true }, "characters": "non_negative_integer" } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "STALE_REF", "PAGE_LOAD_FAILED"] }, "press": { "grant": "browser.interact", "target": "tab", "params": { "required": ["key"], "properties": { "key": "single_unicode_character_or_named_key" }, "additional_properties": false }, "success": { "base": "tab_state", "fields": { "pressed": { "const": true } } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "PAGE_LOAD_FAILED"] }, "scroll": { "grant": "browser.interact", "target": "tab", "params": { "required": [], "properties": { "direction": { "enum": ["up", "down", "left", "right"], "default": "down" }, "pixels": { "type": "integer", "minimum": 1, "maximum": 1e5, "default": 500 } }, "additional_properties": false }, "success": { "base": "tab_state", "fields": { "scrolled": { "const": true } } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "PAGE_LOAD_FAILED"] }, "close": { "grant": "browser.interact", "target": "tab", "params": { "required": [], "properties": {}, "additional_properties": false }, "success": { "base": "tab_state", "fields": { "closed": { "const": true } } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE"] }, "recover": { "grant": "browser.interact", "target": "tab", "params": { "required": [], "properties": {}, "additional_properties": false }, "success": { "base": "tab_state", "fields": { "recovered_from_tab_id": "identifier" } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "PAGE_LOAD_FAILED"] }, "eval": { "grant": "browser.advanced", "target": "tab", "params": { "required": ["expression"], "properties": { "expression": { "type": "string", "min_length": 1 }, "timeout_ms": { "type": "integer", "minimum": 1, "maximum": 15e3, "default": 15e3 } }, "additional_properties": false }, "success": { "base": "tab_state", "fields": { "value": "json_value_max_256_kib" } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "PAGE_LOAD_FAILED"] } }, "successShapes": { "tab_state": { "required": ["tab_id", "profile_id", "browser_generation", "document_generation", "url", "title"], "fields": { "tab_id": "identifier", "profile_id": "ebp_identifier", "browser_generation": "positive_integer", "document_generation": "positive_integer", "url": "string", "title": "string" }, "additional_properties": false }, "tab_summary": { "base": "tab_state", "required_additions": ["loading"], "fields": { "loading": "boolean" }, "additional_properties": false }, "article": { "required": ["title", "byline", "excerpt", "text", "published_time", "site_name", "length"], "fields": { "title": "nullable_string", "byline": "nullable_string", "excerpt": "nullable_string", "text": "string", "published_time": "nullable_string", "site_name": "nullable_string", "length": "non_negative_integer" }, "additional_properties": false } } };
|
|
64284
|
+
|
|
64285
|
+
// ts/sdk/dist/browser-use-validation.js
|
|
64286
|
+
var BROWSER_USE_ACTION_SCHEMAS = browserUseContract.actions;
|
|
64287
|
+
var BROWSER_USE_ACTIONS = Object.freeze(Object.keys(BROWSER_USE_ACTION_SCHEMAS));
|
|
64288
|
+
|
|
64289
|
+
// ts/sdk/dist/browser-use-receipt.js
|
|
64290
|
+
var KEYS = "contract_version operation_id request_id profile_id profile_version profile_config_revision action required_grant phase dispatched receipt_id receipt_digest occurred_at tab_id browser_generation duration_ms result_digest result_available result_expires_at data error deadline accepted_at started_at terminal_at updated_at".split(" ");
|
|
64291
|
+
|
|
64282
64292
|
// ts/sdk/dist/browser-viewer.js
|
|
64283
64293
|
var BROWSER_VIEWER_READINESS_TIMEOUT_MS = 6e4;
|
|
64284
64294
|
function browserViewerRequestOptions(command, opts) {
|
|
@@ -64290,17 +64300,13 @@ function browserViewerRequestOptions(command, opts) {
|
|
|
64290
64300
|
};
|
|
64291
64301
|
}
|
|
64292
64302
|
|
|
64293
|
-
// ts/sdk/dist/
|
|
64294
|
-
function
|
|
64303
|
+
// ts/sdk/dist/attachment-endpoints.js
|
|
64304
|
+
function attachmentEndpoints(apiBase) {
|
|
64295
64305
|
return {
|
|
64296
|
-
|
|
64297
|
-
|
|
64298
|
-
|
|
64299
|
-
|
|
64300
|
-
SLACK_MEMBERS: (orgId) => `${apiBase}/orgs/${orgId}/agents/me/slack/members`,
|
|
64301
|
-
SLACK_STATUS: (orgId) => `${apiBase}/orgs/${orgId}/agents/me/slack/status`,
|
|
64302
|
-
SLACK_FILE: (orgId) => `${apiBase}/orgs/${orgId}/agents/me/slack/file`,
|
|
64303
|
-
SLACK_FILES: (orgId) => `${apiBase}/orgs/${orgId}/agents/me/slack/files`
|
|
64306
|
+
UPLOAD_PRESIGN: (orgId) => `${apiBase}/orgs/${orgId}/upload/presign`,
|
|
64307
|
+
UPLOAD_COMPLETE: (orgId) => `${apiBase}/orgs/${orgId}/upload/complete`,
|
|
64308
|
+
UPLOAD_ABORT: (orgId) => `${apiBase}/orgs/${orgId}/upload/abort`,
|
|
64309
|
+
FILE: (id) => `${apiBase}/files/${id}`
|
|
64304
64310
|
};
|
|
64305
64311
|
}
|
|
64306
64312
|
|
|
@@ -64312,16 +64318,6 @@ var clipConnectionEndpoints = {
|
|
|
64312
64318
|
CLIP_CONNECTION: (orgId, connId) => `/api/v1/orgs/${orgId}/clip-connections/${connId}`
|
|
64313
64319
|
};
|
|
64314
64320
|
|
|
64315
|
-
// ts/sdk/dist/attachment-endpoints.js
|
|
64316
|
-
function attachmentEndpoints(apiBase) {
|
|
64317
|
-
return {
|
|
64318
|
-
UPLOAD_PRESIGN: (orgId) => `${apiBase}/orgs/${orgId}/upload/presign`,
|
|
64319
|
-
UPLOAD_COMPLETE: (orgId) => `${apiBase}/orgs/${orgId}/upload/complete`,
|
|
64320
|
-
UPLOAD_ABORT: (orgId) => `${apiBase}/orgs/${orgId}/upload/abort`,
|
|
64321
|
-
FILE: (id) => `${apiBase}/files/${id}`
|
|
64322
|
-
};
|
|
64323
|
-
}
|
|
64324
|
-
|
|
64325
64321
|
// ts/sdk/dist/edge-endpoints.js
|
|
64326
64322
|
var API_BASE = "/api/v1";
|
|
64327
64323
|
var edgeEndpoints = {
|
|
@@ -64338,6 +64334,20 @@ var edgeEndpoints = {
|
|
|
64338
64334
|
ORG_EDGE_PROFILE_OPERATION_CONFIRM: (orgId, edgeId, operationId) => `${API_BASE}/orgs/${orgId}/edge/${edgeId}/profile-operations/${operationId}/confirm`
|
|
64339
64335
|
};
|
|
64340
64336
|
|
|
64337
|
+
// ts/sdk/dist/slack-endpoints.js
|
|
64338
|
+
function slackEndpoints(apiBase) {
|
|
64339
|
+
return {
|
|
64340
|
+
SLACK_CHANNELS: (orgId) => `${apiBase}/orgs/${orgId}/agents/me/slack/channels`,
|
|
64341
|
+
SLACK_USERS: (orgId) => `${apiBase}/orgs/${orgId}/agents/me/slack/users`,
|
|
64342
|
+
SLACK_REPLIES: (orgId) => `${apiBase}/orgs/${orgId}/agents/me/slack/replies`,
|
|
64343
|
+
SLACK_HISTORY: (orgId) => `${apiBase}/orgs/${orgId}/agents/me/slack/history`,
|
|
64344
|
+
SLACK_MEMBERS: (orgId) => `${apiBase}/orgs/${orgId}/agents/me/slack/members`,
|
|
64345
|
+
SLACK_STATUS: (orgId) => `${apiBase}/orgs/${orgId}/agents/me/slack/status`,
|
|
64346
|
+
SLACK_FILE: (orgId) => `${apiBase}/orgs/${orgId}/agents/me/slack/file`,
|
|
64347
|
+
SLACK_FILES: (orgId) => `${apiBase}/orgs/${orgId}/agents/me/slack/files`
|
|
64348
|
+
};
|
|
64349
|
+
}
|
|
64350
|
+
|
|
64341
64351
|
// ts/sdk/dist/wechat-endpoints.js
|
|
64342
64352
|
function wechatEndpoints(apiBase) {
|
|
64343
64353
|
const agentBase = (orgId) => `${apiBase}/orgs/${orgId}/agents/me/wechat`;
|
|
@@ -64555,6 +64565,13 @@ var ENDPOINTS = {
|
|
|
64555
64565
|
// Labels (org-scoped vocabulary; writes are admin-gated)
|
|
64556
64566
|
LABELS: (orgId) => `${API_BASE2}/orgs/${orgId}/labels`,
|
|
64557
64567
|
LABEL: (orgId, labelId) => `${API_BASE2}/orgs/${orgId}/labels/${labelId}`,
|
|
64568
|
+
// Mini Apps (project-scoped entity; routes exist only under cap:mini-apps)
|
|
64569
|
+
MINI_APPS: (orgId) => `${API_BASE2}/orgs/${orgId}/apps`,
|
|
64570
|
+
MINI_APP: (orgId, appId) => `${API_BASE2}/orgs/${orgId}/apps/${appId}`,
|
|
64571
|
+
MINI_APP_ARCHIVE: (orgId, appId) => `${API_BASE2}/orgs/${orgId}/apps/${appId}/archive`,
|
|
64572
|
+
MINI_APP_RESTORE: (orgId, appId) => `${API_BASE2}/orgs/${orgId}/apps/${appId}/restore`,
|
|
64573
|
+
MINI_APP_AUTHORS: (orgId, appId) => `${API_BASE2}/orgs/${orgId}/apps/${appId}/authors`,
|
|
64574
|
+
MINI_APP_AUTHOR: (orgId, appId, userId) => `${API_BASE2}/orgs/${orgId}/apps/${appId}/authors/${userId}`,
|
|
64558
64575
|
// Projects (org-scoped)
|
|
64559
64576
|
PROJECTS: (orgId) => `${API_BASE2}/orgs/${orgId}/projects`,
|
|
64560
64577
|
PROJECT_TASK_SUMMARY: (orgId) => `${API_BASE2}/orgs/${orgId}/projects/task-summary`,
|
|
@@ -65118,8 +65135,48 @@ var WechatClient = class extends TaskLabelClient {
|
|
|
65118
65135
|
}
|
|
65119
65136
|
};
|
|
65120
65137
|
|
|
65138
|
+
// ts/sdk/dist/mini-app-client.js
|
|
65139
|
+
var MiniAppClient = class extends WechatClient {
|
|
65140
|
+
async getMiniApps(orgId, query = {}) {
|
|
65141
|
+
const response = await this.request("GET", ENDPOINTS.MINI_APPS(orgId), void 0, {
|
|
65142
|
+
project_id: query.project_id,
|
|
65143
|
+
include_archived: query.include_archived ? "true" : void 0
|
|
65144
|
+
});
|
|
65145
|
+
return response.data;
|
|
65146
|
+
}
|
|
65147
|
+
async getMiniApp(orgId, appId) {
|
|
65148
|
+
return this.request("GET", ENDPOINTS.MINI_APP(orgId, appId));
|
|
65149
|
+
}
|
|
65150
|
+
async createMiniApp(orgId, data2) {
|
|
65151
|
+
return this.request("POST", ENDPOINTS.MINI_APPS(orgId), data2);
|
|
65152
|
+
}
|
|
65153
|
+
async updateMiniApp(orgId, appId, data2) {
|
|
65154
|
+
return this.request("PATCH", ENDPOINTS.MINI_APP(orgId, appId), data2);
|
|
65155
|
+
}
|
|
65156
|
+
async archiveMiniApp(orgId, appId) {
|
|
65157
|
+
return this.request("POST", ENDPOINTS.MINI_APP_ARCHIVE(orgId, appId));
|
|
65158
|
+
}
|
|
65159
|
+
async restoreMiniApp(orgId, appId) {
|
|
65160
|
+
return this.request("POST", ENDPOINTS.MINI_APP_RESTORE(orgId, appId));
|
|
65161
|
+
}
|
|
65162
|
+
async getMiniAppAuthors(orgId, appId) {
|
|
65163
|
+
const response = await this.request("GET", ENDPOINTS.MINI_APP_AUTHORS(orgId, appId));
|
|
65164
|
+
return response.data;
|
|
65165
|
+
}
|
|
65166
|
+
/** Idempotent: re-adding an existing author returns the roster unchanged. */
|
|
65167
|
+
async addMiniAppAuthor(orgId, appId, userId) {
|
|
65168
|
+
const response = await this.request("POST", ENDPOINTS.MINI_APP_AUTHORS(orgId, appId), {
|
|
65169
|
+
user_id: userId
|
|
65170
|
+
});
|
|
65171
|
+
return response.data;
|
|
65172
|
+
}
|
|
65173
|
+
async removeMiniAppAuthor(orgId, appId, userId) {
|
|
65174
|
+
return this.request("DELETE", ENDPOINTS.MINI_APP_AUTHOR(orgId, appId, userId));
|
|
65175
|
+
}
|
|
65176
|
+
};
|
|
65177
|
+
|
|
65121
65178
|
// ts/sdk/dist/llm-provider-client.js
|
|
65122
|
-
var LLMProviderClient = class extends
|
|
65179
|
+
var LLMProviderClient = class extends MiniAppClient {
|
|
65123
65180
|
async getLLMProviders(orgId) {
|
|
65124
65181
|
const response = await this.request("GET", ENDPOINTS.LLM_PROVIDERS(orgId));
|
|
65125
65182
|
return response.data;
|
|
@@ -68299,16 +68356,6 @@ function buildApiError(res, rawErrorBody) {
|
|
|
68299
68356
|
return apiError;
|
|
68300
68357
|
}
|
|
68301
68358
|
|
|
68302
|
-
// ts/sdk/dist/browser-use-contract.generated.js
|
|
68303
|
-
var browserUseContract = { "actions": { "read": { "grant": "browser.read", "target": "optional_tab", "params": { "required": [], "properties": { "url": { "type": "string", "min_length": 1, "max_length": 8192, "schemes": ["http", "https", "about:blank"] } }, "rules": ["exactly one of params.url or target is required", "params.url creates a hidden Profile-bound tab and closes it before terminal success or failure"], "additional_properties": false }, "success": { "base": null, "fields": { "profile_id": "ebp_identifier", "url": "string", "title": "string", "article": "nullable_article" } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "PAGE_LOAD_FAILED"] }, "tabs": { "grant": "browser.read", "target": "none", "params": { "required": [], "properties": {}, "additional_properties": false }, "success": { "base": null, "fields": { "tabs": "tab_summary_array" } }, "errors": ["TAB_GONE"] }, "wait": { "grant": "browser.read", "target": "tab", "params": { "required": [], "properties": { "selector": { "type": "string", "min_length": 1, "max_length": 4096 }, "state": { "enum": ["attached", "detached", "visible", "hidden", "load"], "default": "attached" }, "timeout_ms": { "type": "integer", "minimum": 1, "maximum": 3e4, "default": 1e4 } }, "rules": ["selector is required unless state=load", "state=load forbids selector"], "additional_properties": false }, "success": { "base": "tab_state", "fields": { "matched": { "const": true } } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "PAGE_LOAD_FAILED"] }, "snapshot": { "grant": "browser.read", "target": "tab", "params": { "required": [], "properties": { "interactive": { "type": "boolean", "default": false }, "compact": { "type": "boolean", "default": false }, "depth": { "type": "integer", "minimum": 0, "maximum": 64 } }, "additional_properties": false }, "success": { "base": "tab_state", "fields": { "snapshot": "string", "snapshot_id": "identifier" } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "PAGE_LOAD_FAILED"] }, "get": { "grant": "browser.read", "target": "tab_or_ref", "params": { "required": ["prop"], "properties": { "selector": { "type": "string", "min_length": 1, "max_length": 4096 }, "prop": { "enum": ["text", "html", "value", "attr", "title", "url"] }, "name": { "type": "string", "min_length": 1, "max_length": 256 } }, "rules": ["title/url forbid locator and name", "text/html/value require exactly one locator", "attr requires exactly one locator and name"], "additional_properties": false }, "success": { "base": "tab_state", "fields": { "value": "nullable_string" } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "STALE_REF", "PAGE_LOAD_FAILED"] }, "screenshot": { "grant": "browser.read", "target": "tab", "params": { "required": [], "properties": {}, "additional_properties": false }, "success": { "base": "tab_state", "fields": { "format": { "const": "png" }, "base64": "canonical_base64" } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "PAGE_LOAD_FAILED"] }, "open": { "grant": "browser.interact", "target": "none", "params": { "required": ["url"], "properties": { "url": { "type": "string", "min_length": 1, "max_length": 8192, "schemes": ["http", "https", "about:blank"] }, "hidden": { "type": "boolean", "default": false }, "viewport": { "type": "viewport" } }, "additional_properties": false }, "success": { "base": "tab_state", "fields": {} }, "errors": ["PAGE_LOAD_FAILED"] }, "navigate": { "grant": "browser.interact", "target": "tab", "params": { "required": ["url"], "properties": { "url": { "type": "string", "min_length": 1, "max_length": 8192, "schemes": ["http", "https", "about:blank"] } }, "additional_properties": false }, "success": { "base": "tab_state", "fields": {} }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "PAGE_LOAD_FAILED"] }, "viewport": { "grant": "browser.interact", "target": "tab", "params": { "required": ["width", "height"], "properties": { "width": { "type": "integer", "minimum": 320, "maximum": 3840 }, "height": { "type": "integer", "minimum": 240, "maximum": 2160 } }, "additional_properties": false }, "success": { "base": "tab_state", "fields": { "viewport": "viewport" } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE"] }, "click": { "grant": "browser.interact", "target": "tab_or_ref", "params": { "required": [], "properties": { "selector": "selector" }, "rules": ["exactly one of params.selector or target.ref"], "additional_properties": false }, "success": { "base": "tab_state", "fields": { "clicked": { "const": true } } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "STALE_REF", "PAGE_LOAD_FAILED"] }, "fill": { "grant": "browser.interact", "target": "tab_or_ref", "params": { "required": ["text"], "properties": { "selector": "selector", "text": { "type": "string", "allow_empty": true } }, "rules": ["exactly one of params.selector or target.ref"], "additional_properties": false }, "success": { "base": "tab_state", "fields": { "filled": { "const": true }, "characters": "non_negative_integer" } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "STALE_REF", "PAGE_LOAD_FAILED"] }, "type": { "grant": "browser.interact", "target": "tab_or_ref", "params": { "required": ["text"], "properties": { "selector": "selector", "text": { "type": "string", "min_length": 1 } }, "rules": ["exactly one of params.selector or target.ref"], "additional_properties": false }, "success": { "base": "tab_state", "fields": { "typed": { "const": true }, "characters": "non_negative_integer" } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "STALE_REF", "PAGE_LOAD_FAILED"] }, "press": { "grant": "browser.interact", "target": "tab", "params": { "required": ["key"], "properties": { "key": "single_unicode_character_or_named_key" }, "additional_properties": false }, "success": { "base": "tab_state", "fields": { "pressed": { "const": true } } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "PAGE_LOAD_FAILED"] }, "scroll": { "grant": "browser.interact", "target": "tab", "params": { "required": [], "properties": { "direction": { "enum": ["up", "down", "left", "right"], "default": "down" }, "pixels": { "type": "integer", "minimum": 1, "maximum": 1e5, "default": 500 } }, "additional_properties": false }, "success": { "base": "tab_state", "fields": { "scrolled": { "const": true } } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "PAGE_LOAD_FAILED"] }, "close": { "grant": "browser.interact", "target": "tab", "params": { "required": [], "properties": {}, "additional_properties": false }, "success": { "base": "tab_state", "fields": { "closed": { "const": true } } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE"] }, "recover": { "grant": "browser.interact", "target": "tab", "params": { "required": [], "properties": {}, "additional_properties": false }, "success": { "base": "tab_state", "fields": { "recovered_from_tab_id": "identifier" } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "PAGE_LOAD_FAILED"] }, "eval": { "grant": "browser.advanced", "target": "tab", "params": { "required": ["expression"], "properties": { "expression": { "type": "string", "min_length": 1 }, "timeout_ms": { "type": "integer", "minimum": 1, "maximum": 15e3, "default": 15e3 } }, "additional_properties": false }, "success": { "base": "tab_state", "fields": { "value": "json_value_max_256_kib" } }, "errors": ["TAB_NOT_FOUND", "TAB_GONE", "PAGE_LOAD_FAILED"] } }, "successShapes": { "tab_state": { "required": ["tab_id", "profile_id", "browser_generation", "document_generation", "url", "title"], "fields": { "tab_id": "identifier", "profile_id": "ebp_identifier", "browser_generation": "positive_integer", "document_generation": "positive_integer", "url": "string", "title": "string" }, "additional_properties": false }, "tab_summary": { "base": "tab_state", "required_additions": ["loading"], "fields": { "loading": "boolean" }, "additional_properties": false }, "article": { "required": ["title", "byline", "excerpt", "text", "published_time", "site_name", "length"], "fields": { "title": "nullable_string", "byline": "nullable_string", "excerpt": "nullable_string", "text": "string", "published_time": "nullable_string", "site_name": "nullable_string", "length": "non_negative_integer" }, "additional_properties": false } } };
|
|
68304
|
-
|
|
68305
|
-
// ts/sdk/dist/browser-use-validation.js
|
|
68306
|
-
var BROWSER_USE_ACTION_SCHEMAS = browserUseContract.actions;
|
|
68307
|
-
var BROWSER_USE_ACTIONS = Object.freeze(Object.keys(BROWSER_USE_ACTION_SCHEMAS));
|
|
68308
|
-
|
|
68309
|
-
// ts/sdk/dist/browser-use-receipt.js
|
|
68310
|
-
var KEYS = "contract_version operation_id request_id profile_id profile_version profile_config_revision action required_grant phase dispatched receipt_id receipt_digest occurred_at tab_id browser_generation duration_ms result_digest result_available result_expires_at data error deadline accepted_at started_at terminal_at updated_at".split(" ");
|
|
68311
|
-
|
|
68312
68359
|
// ts/agent-core/dist/telemetry.js
|
|
68313
68360
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
68314
68361
|
|
|
@@ -68323,11 +68370,11 @@ var DEFAULT_MAX_AGE_MS = 24 * 60 * 60 * 1e3;
|
|
|
68323
68370
|
// ts/agent-core/dist/telemetry.js
|
|
68324
68371
|
var dispatchContextStorage = new AsyncLocalStorage();
|
|
68325
68372
|
|
|
68326
|
-
// ts/agent-core/dist/lane
|
|
68373
|
+
// ts/agent-core/dist/lane/target.js
|
|
68327
68374
|
var PRLL_SCHEME = "prll://";
|
|
68328
68375
|
var CHANNEL_LANE_PREFIX = `${PRLL_SCHEME}chv_`;
|
|
68329
68376
|
|
|
68330
|
-
// ts/agent-core/dist/gateway
|
|
68377
|
+
// ts/agent-core/dist/gateway/lane-flow.js
|
|
68331
68378
|
var TYPED_BACKOFF_CAP_MS = 5 * 6e4;
|
|
68332
68379
|
|
|
68333
68380
|
// ts/agent-core/dist/http-keepalive.js
|