@parall/daemon 1.63.0 → 1.65.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 +157 -139
- package/bundle/parall-claude-agent.js +1296 -549
- package/bundle/parall-codex-agent.js +2302 -1432
- package/bundle/parall-daemon.js +780 -226
- package/dist/config.d.ts +5 -5
- package/dist/daemon-telemetry.d.ts +1 -1
- package/dist/daemon-telemetry.d.ts.map +1 -1
- package/dist/supervisor.d.ts.map +1 -1
- package/dist/supervisor.js +95 -10
- package/dist/update-health-gate.d.ts +18 -14
- package/dist/update-health-gate.d.ts.map +1 -1
- package/dist/update-health-gate.js +18 -14
- package/dist/updater.d.ts.map +1 -1
- package/dist/updater.js +5 -9
- 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.65.0",
|
|
3
|
+
"built_at": "2026-09-15T12:35:20.215Z",
|
|
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": "a74638569663b4d73f37bf30ac7529bff389525286bbcf0da197d09761720579",
|
|
20
|
+
"size": 3034465
|
|
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": "64efb782563576eb4fd491d60b359df0f11af03a71e530f4d73ee55f77ae3b18",
|
|
28
|
+
"size": 2993121
|
|
29
29
|
},
|
|
30
30
|
"parall-codex-agent.js": {
|
|
31
|
-
"sha256": "
|
|
32
|
-
"size":
|
|
31
|
+
"sha256": "5605a40565afc15985254ff6f605a01e7053938e2ec2cb6acb2cc184f7fd88b5",
|
|
32
|
+
"size": 3015021
|
|
33
33
|
},
|
|
34
34
|
"parall-daemon.js": {
|
|
35
|
-
"sha256": "
|
|
36
|
-
"size":
|
|
35
|
+
"sha256": "98cc191f6509a496e762009ba910a7735724be91d88e6a19af27c42ac79657a4",
|
|
36
|
+
"size": 3200490
|
|
37
37
|
},
|
|
38
38
|
"parall-openclaw-agent.js": {
|
|
39
39
|
"sha256": "856a1c3a9ae0ffef8efe2481fa1171dbeb1d67cccb88616aa9bf16da96a69355",
|
|
40
40
|
"size": 9923
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
|
-
"signature": "
|
|
43
|
+
"signature": "iQYxrRzFzzbbeOPaOnBsQD04riTCp1Ros1s4NHqNfVRt6qOa6mU7l61ceIidW2DCtDcn8SPexaUYP8NL14SPDw=="
|
|
44
44
|
}
|
|
@@ -64290,8 +64290,23 @@ function browserViewerRequestOptions(command, opts) {
|
|
|
64290
64290
|
};
|
|
64291
64291
|
}
|
|
64292
64292
|
|
|
64293
|
+
// ts/sdk/dist/slack-endpoints.js
|
|
64294
|
+
function slackEndpoints(apiBase) {
|
|
64295
|
+
return {
|
|
64296
|
+
SLACK_CHANNELS: (orgId) => `${apiBase}/orgs/${orgId}/agents/me/slack/channels`,
|
|
64297
|
+
SLACK_USERS: (orgId) => `${apiBase}/orgs/${orgId}/agents/me/slack/users`,
|
|
64298
|
+
SLACK_REPLIES: (orgId) => `${apiBase}/orgs/${orgId}/agents/me/slack/replies`,
|
|
64299
|
+
SLACK_HISTORY: (orgId) => `${apiBase}/orgs/${orgId}/agents/me/slack/history`,
|
|
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`
|
|
64304
|
+
};
|
|
64305
|
+
}
|
|
64306
|
+
|
|
64293
64307
|
// ts/sdk/dist/clip-connection-endpoints.js
|
|
64294
64308
|
var clipConnectionEndpoints = {
|
|
64309
|
+
ORG_CLIP_MCP_OAUTH_ATTEMPT: (orgId, clipId, attemptId) => `/api/v1/orgs/${orgId}/clip-registry/${clipId}/mcp-oauth-attempts/${attemptId}`,
|
|
64295
64310
|
CLIP_CONNECTIONS: (orgId, clipId) => `/api/v1/orgs/${orgId}/clip-registry/${clipId}/connections`,
|
|
64296
64311
|
CLIP_CONNECTION_ACCESS: (orgId, connId) => `/api/v1/orgs/${orgId}/clip-connections/${connId}/access`,
|
|
64297
64312
|
CLIP_CONNECTION: (orgId, connId) => `/api/v1/orgs/${orgId}/clip-connections/${connId}`
|
|
@@ -64592,6 +64607,7 @@ var ENDPOINTS = {
|
|
|
64592
64607
|
TRIGGER: (orgId, triggerId) => `${API_BASE2}/orgs/${orgId}/external-triggers/${triggerId}`,
|
|
64593
64608
|
/** @deprecated Use TRIGGER. Same compatibility path. */
|
|
64594
64609
|
EXTERNAL_TRIGGER: (orgId, triggerId) => `${API_BASE2}/orgs/${orgId}/external-triggers/${triggerId}`,
|
|
64610
|
+
PLATFORM_TRIGGER_SCHEMA: (orgId) => `${API_BASE2}/orgs/${orgId}/platform-trigger-schema`,
|
|
64595
64611
|
TRIGGER_RUNS: (orgId) => `${API_BASE2}/orgs/${orgId}/external-trigger-runs`,
|
|
64596
64612
|
/** @deprecated Use TRIGGER_RUNS. Same compatibility path. */
|
|
64597
64613
|
EXTERNAL_TRIGGER_RUNS: (orgId) => `${API_BASE2}/orgs/${orgId}/external-trigger-runs`,
|
|
@@ -64616,13 +64632,7 @@ var ENDPOINTS = {
|
|
|
64616
64632
|
// Tier-B platform verb (agent-only): send one message as the bound bot.
|
|
64617
64633
|
CHANNEL_SEND: (orgId) => `${API_BASE2}/orgs/${orgId}/agents/me/channel-send`,
|
|
64618
64634
|
// Tier-B read verbs (agent-only): workspace visibility as the bot sees it.
|
|
64619
|
-
|
|
64620
|
-
SLACK_USERS: (orgId) => `${API_BASE2}/orgs/${orgId}/agents/me/slack/users`,
|
|
64621
|
-
SLACK_HISTORY: (orgId) => `${API_BASE2}/orgs/${orgId}/agents/me/slack/history`,
|
|
64622
|
-
SLACK_MEMBERS: (orgId) => `${API_BASE2}/orgs/${orgId}/agents/me/slack/members`,
|
|
64623
|
-
SLACK_STATUS: (orgId) => `${API_BASE2}/orgs/${orgId}/agents/me/slack/status`,
|
|
64624
|
-
SLACK_FILE: (orgId) => `${API_BASE2}/orgs/${orgId}/agents/me/slack/file`,
|
|
64625
|
-
SLACK_FILES: (orgId) => `${API_BASE2}/orgs/${orgId}/agents/me/slack/files`,
|
|
64635
|
+
...slackEndpoints(API_BASE2),
|
|
64626
64636
|
// WeChat tier-B read verbs (agent-only; internal research preview).
|
|
64627
64637
|
...wechatEndpoints(API_BASE2),
|
|
64628
64638
|
// Invitations (org-scoped, admin)
|
|
@@ -64769,6 +64779,8 @@ var ENDPOINTS = {
|
|
|
64769
64779
|
BILLING_CHECKOUT: (orgId) => `${API_BASE2}/orgs/${orgId}/billing/checkout`,
|
|
64770
64780
|
BILLING_AUTO_RELOAD: (orgId) => `${API_BASE2}/orgs/${orgId}/billing/auto-reload`,
|
|
64771
64781
|
BILLING_SETUP_INTENT: (orgId) => `${API_BASE2}/orgs/${orgId}/billing/setup-intent`,
|
|
64782
|
+
BILLING_USAGE_DAILY: (orgId) => `${API_BASE2}/orgs/${orgId}/billing/usage-daily`,
|
|
64783
|
+
BILLING_USAGE_HEATMAP: (orgId) => `${API_BASE2}/orgs/${orgId}/billing/usage-heatmap`,
|
|
64772
64784
|
COMPUTE_PRICING: () => `${API_BASE2}/billing/compute-pricing`,
|
|
64773
64785
|
// Runtime capability table (public, no auth) — SSOT for the create/settings
|
|
64774
64786
|
// interlock: per-runtime compute modes, native model family, cross-family
|
|
@@ -64803,16 +64815,6 @@ var ENDPOINTS = {
|
|
|
64803
64815
|
BROWSER_PROFILE_VIEWER_COMMAND: (orgId, profileId) => `${API_BASE2}/orgs/${orgId}/browser-profiles/${profileId}/viewer/command`,
|
|
64804
64816
|
// Edge device endpoints
|
|
64805
64817
|
...edgeEndpoints,
|
|
64806
|
-
ORG_BROWSER_ALIASES: (orgId) => `/api/v1/orgs/${orgId}/browser-aliases`,
|
|
64807
|
-
ORG_BROWSER_ALIAS: (orgId, aliasId) => `/api/v1/orgs/${orgId}/browser-aliases/${aliasId}`,
|
|
64808
|
-
ORG_BROWSER_ALIAS_READINESS_CHECKS: (orgId, aliasId) => `/api/v1/orgs/${orgId}/browser-aliases/${aliasId}/readiness-checks`,
|
|
64809
|
-
ORG_BROWSER_ALIAS_READINESS_CHECK: (orgId, aliasId, checkId) => `/api/v1/orgs/${orgId}/browser-aliases/${aliasId}/readiness-checks/${checkId}`,
|
|
64810
|
-
ORG_API_KEY_BROWSER_ALIAS_GRANTS: (orgId, keyId) => `/api/v1/orgs/${orgId}/api-keys/${keyId}/browser-alias-grants`,
|
|
64811
|
-
ORG_API_KEY_BROWSER_ALIAS_GRANT: (orgId, keyId, aliasId) => `/api/v1/orgs/${orgId}/api-keys/${keyId}/browser-alias-grants/${aliasId}`,
|
|
64812
|
-
ORG_MANAGED_ALIASES: (orgId) => `/api/v1/orgs/${orgId}/aliases`,
|
|
64813
|
-
ORG_MANAGED_ALIAS: (orgId, aliasName) => `/api/v1/orgs/${orgId}/aliases/${encodeURIComponent(aliasName)}`,
|
|
64814
|
-
ORG_BROWSER_ALIAS_EXECUTIONS: (orgId) => `/api/v1/orgs/${orgId}/executions`,
|
|
64815
|
-
ORG_BROWSER_ALIAS_EXECUTION: (orgId, requestId) => `/api/v1/orgs/${orgId}/executions/${encodeURIComponent(requestId)}`,
|
|
64816
64818
|
ORG_BROWSER_USE_OPERATIONS: (orgId) => `/api/v1/orgs/${orgId}/browser-use/operations`,
|
|
64817
64819
|
ORG_BROWSER_USE_OPERATION: (orgId, operationId) => `/api/v1/orgs/${orgId}/browser-use/operations/${encodeURIComponent(operationId)}`,
|
|
64818
64820
|
// Per-profile egress proxy (hosted Cloud Profiles; manager-only, human-only).
|
|
@@ -65218,14 +65220,16 @@ var SlackFilesClient = class extends AttachmentClient {
|
|
|
65218
65220
|
}
|
|
65219
65221
|
/**
|
|
65220
65222
|
* Tier-B file upload verb (agent-only): share a file into a Slack
|
|
65221
|
-
* conversation
|
|
65222
|
-
*
|
|
65223
|
+
* conversation or thread with the same addressing as text sends.
|
|
65224
|
+
* Native threadTs requires a server supporting Slack thread sends.
|
|
65223
65225
|
*/
|
|
65224
65226
|
async sendSlackFile(orgId, input) {
|
|
65225
65227
|
const fd = new FormData();
|
|
65226
65228
|
fd.append("conversation_id", input.conversationId);
|
|
65227
65229
|
if (input.replyTo)
|
|
65228
65230
|
fd.append("reply_to", input.replyTo);
|
|
65231
|
+
if (input.threadTs)
|
|
65232
|
+
fd.append("thread_ts", input.threadTs);
|
|
65229
65233
|
if (input.text)
|
|
65230
65234
|
fd.append("text", input.text);
|
|
65231
65235
|
fd.append("file", input.content, input.fileName);
|
|
@@ -65233,8 +65237,48 @@ var SlackFilesClient = class extends AttachmentClient {
|
|
|
65233
65237
|
}
|
|
65234
65238
|
};
|
|
65235
65239
|
|
|
65240
|
+
// ts/sdk/dist/slack-read-client.js
|
|
65241
|
+
var SlackReadClient = class extends SlackFilesClient {
|
|
65242
|
+
slackReadQuery(base, query, extra) {
|
|
65243
|
+
const params = new URLSearchParams();
|
|
65244
|
+
if (query?.cursor)
|
|
65245
|
+
params.set("cursor", query.cursor);
|
|
65246
|
+
if (query?.limit)
|
|
65247
|
+
params.set("limit", String(query.limit));
|
|
65248
|
+
for (const [k5, v] of Object.entries(extra ?? {}))
|
|
65249
|
+
params.set(k5, v);
|
|
65250
|
+
const qs = params.toString();
|
|
65251
|
+
return qs ? `${base}?${qs}` : base;
|
|
65252
|
+
}
|
|
65253
|
+
/**
|
|
65254
|
+
* Tier-B read verbs (agent-only): workspace visibility as the bot sees
|
|
65255
|
+
* it. Same live gate as the send verb; authorization beyond it is the
|
|
65256
|
+
* bot's own Slack permissions.
|
|
65257
|
+
*/
|
|
65258
|
+
async listSlackChannels(orgId, query) {
|
|
65259
|
+
return this.request("GET", this.slackReadQuery(ENDPOINTS.SLACK_CHANNELS(orgId), query));
|
|
65260
|
+
}
|
|
65261
|
+
async listSlackUsers(orgId, query) {
|
|
65262
|
+
return this.request("GET", this.slackReadQuery(ENDPOINTS.SLACK_USERS(orgId), query));
|
|
65263
|
+
}
|
|
65264
|
+
async slackHistory(orgId, conversationId, query) {
|
|
65265
|
+
return this.request("GET", this.slackReadQuery(ENDPOINTS.SLACK_HISTORY(orgId), query, { conversation: conversationId }));
|
|
65266
|
+
}
|
|
65267
|
+
/** Read a Slack thread (parent and replies), one page in Slack order. */
|
|
65268
|
+
async slackReplies(orgId, channel, ts, query) {
|
|
65269
|
+
return this.request("GET", this.slackReadQuery(ENDPOINTS.SLACK_REPLIES(orgId), query, { channel, ts }));
|
|
65270
|
+
}
|
|
65271
|
+
async slackMembers(orgId, conversationId, query) {
|
|
65272
|
+
return this.request("GET", this.slackReadQuery(ENDPOINTS.SLACK_MEMBERS(orgId), query, { conversation: conversationId }));
|
|
65273
|
+
}
|
|
65274
|
+
/** Set/clear the Agents-pane "typing…" indicator (best-effort cosmetic). */
|
|
65275
|
+
async setSlackStatus(orgId, input) {
|
|
65276
|
+
await this.request("POST", ENDPOINTS.SLACK_STATUS(orgId), input);
|
|
65277
|
+
}
|
|
65278
|
+
};
|
|
65279
|
+
|
|
65236
65280
|
// ts/sdk/dist/channel-conversation-client.js
|
|
65237
|
-
var ChannelConversationClient = class extends
|
|
65281
|
+
var ChannelConversationClient = class extends SlackReadClient {
|
|
65238
65282
|
/**
|
|
65239
65283
|
* Org-admin write of what the agent receives from a group root
|
|
65240
65284
|
* (`PATCH …/channel-conversations/{id}/attention`); the agent's own path
|
|
@@ -65265,10 +65309,62 @@ var ClipConnectionClient = class extends ChannelConversationClient {
|
|
|
65265
65309
|
async putClipConnectionAccess(orgId, connId, input) {
|
|
65266
65310
|
return this.request("PUT", ENDPOINTS.CLIP_CONNECTION_ACCESS(orgId, connId), input);
|
|
65267
65311
|
}
|
|
65312
|
+
/** Start OAuth using the reviewed platform app or provider registration ladder.
|
|
65313
|
+
* Allow discovery (30s), persistence (10s), and network overhead to finish. */
|
|
65314
|
+
async createClipMCPOAuthConnection(orgId, clipId, serverUrl, alias, oauthClient) {
|
|
65315
|
+
return this.request("POST", ENDPOINTS.ORG_CLIP_MCP_CONFIGS(orgId, clipId), {
|
|
65316
|
+
server_url: serverUrl,
|
|
65317
|
+
auth_type: "oauth",
|
|
65318
|
+
...alias ? { alias } : {},
|
|
65319
|
+
...oauthClient ? { oauth_client: oauthClient } : {}
|
|
65320
|
+
}, void 0, false, { timeoutMs: 5e4 });
|
|
65321
|
+
}
|
|
65322
|
+
/** Cancel exactly one pending attempt; requires its initiator or an org admin. */
|
|
65323
|
+
async cancelClipMCPOAuthAttempt(orgId, clipId, attemptId) {
|
|
65324
|
+
return this.request("DELETE", ENDPOINTS.ORG_CLIP_MCP_OAUTH_ATTEMPT(orgId, clipId, attemptId));
|
|
65325
|
+
}
|
|
65268
65326
|
};
|
|
65269
65327
|
|
|
65270
65328
|
// ts/sdk/dist/browser-profile-client.js
|
|
65271
65329
|
var BrowserProfileClient = class extends ClipConnectionClient {
|
|
65330
|
+
/** Metadata-only compatibility discovery. Management scope errors propagate;
|
|
65331
|
+
* callers with a known Profile can execute without this discovery chain. */
|
|
65332
|
+
async listBrowserUseProfiles(orgId, profileId) {
|
|
65333
|
+
const me = await this.request("GET", ENDPOINTS.USERS_ME);
|
|
65334
|
+
const devices = await this.request("GET", ENDPOINTS.ORG_EDGE_DEVICES(orgId));
|
|
65335
|
+
const data2 = [];
|
|
65336
|
+
for (const device of devices.data) {
|
|
65337
|
+
const personal = device.managed_by === "member";
|
|
65338
|
+
if (personal && device.owner_user_id !== me.id)
|
|
65339
|
+
continue;
|
|
65340
|
+
const profiles = await this.request("GET", ENDPOINTS.ORG_EDGE_PROFILES(orgId, device.id));
|
|
65341
|
+
for (const profile of profiles) {
|
|
65342
|
+
if (profileId && profile.id !== profileId)
|
|
65343
|
+
continue;
|
|
65344
|
+
const access = personal ? null : await this.getBrowserProfileAccess(orgId, device.id, profile.name);
|
|
65345
|
+
if (!personal && !access?.org_public && !(access?.grants ?? []).some((g5) => g5.user_id === me.id && g5.grants.length > 0))
|
|
65346
|
+
continue;
|
|
65347
|
+
data2.push({
|
|
65348
|
+
profile_id: profile.id,
|
|
65349
|
+
name: profile.name,
|
|
65350
|
+
device_name: device.name,
|
|
65351
|
+
placement: device.placement ?? "byoc",
|
|
65352
|
+
lifecycle_state: profile.lifecycle_state,
|
|
65353
|
+
can_access: true,
|
|
65354
|
+
availability: device.placement === "hosted" ? device.hosted_state ?? "unknown" : device.status
|
|
65355
|
+
});
|
|
65356
|
+
}
|
|
65357
|
+
}
|
|
65358
|
+
return { data: data2 };
|
|
65359
|
+
}
|
|
65360
|
+
/** Submit once: even refresh-enabled clients must not replay browser actions. */
|
|
65361
|
+
async createBrowserUseOperation(orgId, request) {
|
|
65362
|
+
return this.request("POST", ENDPOINTS.ORG_BROWSER_USE_OPERATIONS(orgId), request, void 0, true);
|
|
65363
|
+
}
|
|
65364
|
+
/** Recover proof/data without creating a new browser operation. */
|
|
65365
|
+
async getBrowserUseOperation(orgId, operationId, opts) {
|
|
65366
|
+
return this.request("GET", ENDPOINTS.ORG_BROWSER_USE_OPERATION(orgId, operationId), void 0, void 0, false, opts);
|
|
65367
|
+
}
|
|
65272
65368
|
async getBrowserProfileAccess(orgId, edgeId, profileName) {
|
|
65273
65369
|
return this.request("GET", ENDPOINTS.ORG_EDGE_PROFILE_ACCESS(orgId, edgeId, profileName));
|
|
65274
65370
|
}
|
|
@@ -65712,8 +65808,8 @@ var ParallClient = class _ParallClient extends BrowserProfileClient {
|
|
|
65712
65808
|
return this.request("POST", ENDPOINTS.AUTH_OAUTH_EXCHANGE, { code });
|
|
65713
65809
|
}
|
|
65714
65810
|
// ---- WebSocket ----
|
|
65715
|
-
async getWsTicket() {
|
|
65716
|
-
return this.request("POST", ENDPOINTS.WS_TICKET);
|
|
65811
|
+
async getWsTicket(req) {
|
|
65812
|
+
return this.request("POST", ENDPOINTS.WS_TICKET, req);
|
|
65717
65813
|
}
|
|
65718
65814
|
// ---- Users ----
|
|
65719
65815
|
async getMe() {
|
|
@@ -66700,8 +66796,8 @@ var ParallClient = class _ParallClient extends BrowserProfileClient {
|
|
|
66700
66796
|
* no_action sweep otherwise. Idempotent.
|
|
66701
66797
|
*
|
|
66702
66798
|
* @deprecated Legacy ok-only alias — use {@link completeDispatch} with the
|
|
66703
|
-
* `sources` form, which also carries `turn_outcome`.
|
|
66704
|
-
*
|
|
66799
|
+
* `sources` form, which also carries `turn_outcome`. Retirement conditions:
|
|
66800
|
+
* agent-dispatch-idempotency-design.md#compatibility.
|
|
66705
66801
|
*/
|
|
66706
66802
|
async completeDispatchSources(orgId, req) {
|
|
66707
66803
|
return this.request("POST", ENDPOINTS.DISPATCH_COMPLETE_SOURCES(orgId), req);
|
|
@@ -66856,38 +66952,6 @@ var ParallClient = class _ParallClient extends BrowserProfileClient {
|
|
|
66856
66952
|
async sendChannelMessage(orgId, input) {
|
|
66857
66953
|
return this.request("POST", ENDPOINTS.CHANNEL_SEND(orgId), input);
|
|
66858
66954
|
}
|
|
66859
|
-
slackReadQuery(base, query, extra) {
|
|
66860
|
-
const params = new URLSearchParams();
|
|
66861
|
-
if (query?.cursor)
|
|
66862
|
-
params.set("cursor", query.cursor);
|
|
66863
|
-
if (query?.limit)
|
|
66864
|
-
params.set("limit", String(query.limit));
|
|
66865
|
-
for (const [k5, v] of Object.entries(extra ?? {}))
|
|
66866
|
-
params.set(k5, v);
|
|
66867
|
-
const qs = params.toString();
|
|
66868
|
-
return qs ? `${base}?${qs}` : base;
|
|
66869
|
-
}
|
|
66870
|
-
/**
|
|
66871
|
-
* Tier-B read verbs (agent-only): workspace visibility as the bot sees
|
|
66872
|
-
* it. Same live gate as the send verb; authorization beyond it is the
|
|
66873
|
-
* bot's own Slack permissions.
|
|
66874
|
-
*/
|
|
66875
|
-
async listSlackChannels(orgId, query) {
|
|
66876
|
-
return this.request("GET", this.slackReadQuery(ENDPOINTS.SLACK_CHANNELS(orgId), query));
|
|
66877
|
-
}
|
|
66878
|
-
async listSlackUsers(orgId, query) {
|
|
66879
|
-
return this.request("GET", this.slackReadQuery(ENDPOINTS.SLACK_USERS(orgId), query));
|
|
66880
|
-
}
|
|
66881
|
-
async slackHistory(orgId, conversationId, query) {
|
|
66882
|
-
return this.request("GET", this.slackReadQuery(ENDPOINTS.SLACK_HISTORY(orgId), query, { conversation: conversationId }));
|
|
66883
|
-
}
|
|
66884
|
-
async slackMembers(orgId, conversationId, query) {
|
|
66885
|
-
return this.request("GET", this.slackReadQuery(ENDPOINTS.SLACK_MEMBERS(orgId), query, { conversation: conversationId }));
|
|
66886
|
-
}
|
|
66887
|
-
/** Set/clear the Agents-pane "typing…" indicator (best-effort cosmetic). */
|
|
66888
|
-
async setSlackStatus(orgId, input) {
|
|
66889
|
-
await this.request("POST", ENDPOINTS.SLACK_STATUS(orgId), input);
|
|
66890
|
-
}
|
|
66891
66955
|
/**
|
|
66892
66956
|
* Authorized raw GET (binary responses) with the same auth, 401
|
|
66893
66957
|
* refresh-and-retry-once, and error-envelope handling as `request` — the
|
|
@@ -66944,6 +67008,9 @@ var ParallClient = class _ParallClient extends BrowserProfileClient {
|
|
|
66944
67008
|
async getTriggerSchema(orgId, connectionId) {
|
|
66945
67009
|
return this.request("GET", ENDPOINTS.TRIGGER_SCHEMA(orgId, connectionId));
|
|
66946
67010
|
}
|
|
67011
|
+
async getPlatformTriggerSchema(orgId, eventTypes) {
|
|
67012
|
+
return this.request("GET", ENDPOINTS.PLATFORM_TRIGGER_SCHEMA(orgId), void 0, eventTypes && eventTypes.length > 0 ? { event_types: eventTypes.join(",") } : void 0);
|
|
67013
|
+
}
|
|
66947
67014
|
async listTriggerIngressEvents(orgId, filters) {
|
|
66948
67015
|
return this.request("GET", ENDPOINTS.TRIGGER_INGRESS_EVENTS(orgId), void 0, filters);
|
|
66949
67016
|
}
|
|
@@ -67045,8 +67112,8 @@ var ParallClient = class _ParallClient extends BrowserProfileClient {
|
|
|
67045
67112
|
return url;
|
|
67046
67113
|
return `${this.baseUrlFor(url)}${url}`;
|
|
67047
67114
|
}
|
|
67048
|
-
async getWikiBlob(orgId, wikiId, params) {
|
|
67049
|
-
const blob = await this.request("GET", ENDPOINTS.WIKI_BLOB(orgId, wikiId), void 0, params);
|
|
67115
|
+
async getWikiBlob(orgId, wikiId, params, opts) {
|
|
67116
|
+
const blob = await this.request("GET", ENDPOINTS.WIKI_BLOB(orgId, wikiId), void 0, params, false, opts);
|
|
67050
67117
|
if (blob.signed_url)
|
|
67051
67118
|
blob.signed_url = this.absoluteMediaUrl(blob.signed_url);
|
|
67052
67119
|
return blob;
|
|
@@ -67419,6 +67486,21 @@ var ParallClient = class _ParallClient extends BrowserProfileClient {
|
|
|
67419
67486
|
async getBilling(orgId) {
|
|
67420
67487
|
return this.request("GET", ENDPOINTS.BILLING(orgId));
|
|
67421
67488
|
}
|
|
67489
|
+
async getUsageDaily(orgId, opts) {
|
|
67490
|
+
const params = new URLSearchParams();
|
|
67491
|
+
params.set("start_date", opts.start_date);
|
|
67492
|
+
params.set("end_date", opts.end_date);
|
|
67493
|
+
return this.request("GET", `${ENDPOINTS.BILLING_USAGE_DAILY(orgId)}?${params}`);
|
|
67494
|
+
}
|
|
67495
|
+
async getUsageHeatmap(orgId, opts) {
|
|
67496
|
+
const params = new URLSearchParams();
|
|
67497
|
+
params.set("start_time", opts.start_time);
|
|
67498
|
+
if (opts.limit != null)
|
|
67499
|
+
params.set("limit", String(opts.limit));
|
|
67500
|
+
if (opts.offset != null)
|
|
67501
|
+
params.set("offset", String(opts.offset));
|
|
67502
|
+
return this.request("GET", `${ENDPOINTS.BILLING_USAGE_HEATMAP(orgId)}?${params}`);
|
|
67503
|
+
}
|
|
67422
67504
|
async listBillingTransactions(orgId, opts) {
|
|
67423
67505
|
const params = new URLSearchParams();
|
|
67424
67506
|
if (opts?.cursor)
|
|
@@ -67588,12 +67670,14 @@ var ParallClient = class _ParallClient extends BrowserProfileClient {
|
|
|
67588
67670
|
}
|
|
67589
67671
|
// ---- Clip registry (v3, api-server org registry — `crg_` entries) ----
|
|
67590
67672
|
/**
|
|
67591
|
-
* List registry clips visible to the org: its own plus
|
|
67592
|
-
* cross-org entries
|
|
67593
|
-
* connections operate on.
|
|
67673
|
+
* List one page of registry clips visible to the org: its own plus
|
|
67674
|
+
* public+approved cross-org entries, used by installs and connections.
|
|
67594
67675
|
*/
|
|
67595
|
-
async listOrgRegistryClips(orgId) {
|
|
67596
|
-
const
|
|
67676
|
+
async listOrgRegistryClips(orgId, opts) {
|
|
67677
|
+
const params = new URLSearchParams({ limit: String(opts?.limit ?? 100) });
|
|
67678
|
+
if (opts?.offset !== void 0)
|
|
67679
|
+
params.set("offset", String(opts.offset));
|
|
67680
|
+
const resp = await this.request("GET", `${ENDPOINTS.ORG_CLIP_REGISTRY(orgId)}?${params}`);
|
|
67597
67681
|
return resp ?? [];
|
|
67598
67682
|
}
|
|
67599
67683
|
/**
|
|
@@ -67674,7 +67758,6 @@ var ParallClient = class _ParallClient extends BrowserProfileClient {
|
|
|
67674
67758
|
/**
|
|
67675
67759
|
* Read a clip's per-org exec access (by user id — humans and agents alike).
|
|
67676
67760
|
* Org-member readable, so a denied caller can learn why exec answered
|
|
67677
|
-
* `CONNECTION_NOT_ALLOWED` (retired: `CLIP_NOT_ALLOWED` / `CLIP_CONNECTION_NOT_ALLOWED`) (agents:
|
|
67678
67761
|
* `CLIP_AGENT_NOT_ALLOWED` / `CLIP_AGENT_CONNECTION_NOT_ALLOWED`). Writing
|
|
67679
67762
|
* it (`putClipAgentExecAccess`) is an org owner/admin's act.
|
|
67680
67763
|
*/
|
|
@@ -67755,69 +67838,6 @@ var ParallClient = class _ParallClient extends BrowserProfileClient {
|
|
|
67755
67838
|
async getEdgeProfileOperation(orgId, edgeId, operationId) {
|
|
67756
67839
|
return this.request("GET", ENDPOINTS.ORG_EDGE_PROFILE_OPERATION(orgId, edgeId, operationId));
|
|
67757
67840
|
}
|
|
67758
|
-
/** Create and atomically materialize one Local BYOC Browser Alias. A replay
|
|
67759
|
-
* with the same idempotency key and body returns the original stable ccn_. */
|
|
67760
|
-
async createBrowserAlias(orgId, request) {
|
|
67761
|
-
return this.request("POST", ENDPOINTS.ORG_BROWSER_ALIASES(orgId), request);
|
|
67762
|
-
}
|
|
67763
|
-
async listBrowserAliases(orgId) {
|
|
67764
|
-
return this.request("GET", ENDPOINTS.ORG_BROWSER_ALIASES(orgId));
|
|
67765
|
-
}
|
|
67766
|
-
async getBrowserAlias(orgId, aliasId) {
|
|
67767
|
-
return this.request("GET", ENDPOINTS.ORG_BROWSER_ALIAS(orgId, aliasId));
|
|
67768
|
-
}
|
|
67769
|
-
async renameBrowserAlias(orgId, aliasId, request) {
|
|
67770
|
-
return this.request("PATCH", ENDPOINTS.ORG_BROWSER_ALIAS(orgId, aliasId), request);
|
|
67771
|
-
}
|
|
67772
|
-
async deleteBrowserAlias(orgId, aliasId, request) {
|
|
67773
|
-
return this.request("DELETE", ENDPOINTS.ORG_BROWSER_ALIAS(orgId, aliasId), request);
|
|
67774
|
-
}
|
|
67775
|
-
/** Start one durable readiness check. The key is carried as the standard
|
|
67776
|
-
* Idempotency-Key header; the request body is intentionally empty. */
|
|
67777
|
-
async createBrowserAliasReadinessCheck(orgId, aliasId, request) {
|
|
67778
|
-
return this.request("POST", ENDPOINTS.ORG_BROWSER_ALIAS_READINESS_CHECKS(orgId, aliasId), void 0, void 0, false, { headers: { "Idempotency-Key": request.idempotency_key } });
|
|
67779
|
-
}
|
|
67780
|
-
/** Sole durable recovery surface for one readiness request. */
|
|
67781
|
-
async getBrowserAliasReadinessCheck(orgId, aliasId, checkId) {
|
|
67782
|
-
return this.request("GET", ENDPOINTS.ORG_BROWSER_ALIAS_READINESS_CHECK(orgId, aliasId, checkId));
|
|
67783
|
-
}
|
|
67784
|
-
/** Organization Owner view. Hashes, reviewed snapshots and deltas are
|
|
67785
|
-
* intentionally available only on this human-JWT management surface. */
|
|
67786
|
-
async listBrowserAliasGrants(orgId, keyId) {
|
|
67787
|
-
return this.request("GET", ENDPOINTS.ORG_API_KEY_BROWSER_ALIAS_GRANTS(orgId, keyId));
|
|
67788
|
-
}
|
|
67789
|
-
async getBrowserAliasGrant(orgId, keyId, aliasId) {
|
|
67790
|
-
return this.request("GET", ENDPOINTS.ORG_API_KEY_BROWSER_ALIAS_GRANT(orgId, keyId, aliasId));
|
|
67791
|
-
}
|
|
67792
|
-
async replaceBrowserAliasGrant(orgId, keyId, aliasId, request) {
|
|
67793
|
-
return this.request("PUT", ENDPOINTS.ORG_API_KEY_BROWSER_ALIAS_GRANT(orgId, keyId, aliasId), request);
|
|
67794
|
-
}
|
|
67795
|
-
/** Managed-key discovery. The response is already grant-filtered and never
|
|
67796
|
-
* carries contract hashes, review snapshots, Edge IDs or Profile IDs. */
|
|
67797
|
-
async listManagedBrowserAliases(orgId) {
|
|
67798
|
-
return this.request("GET", ENDPOINTS.ORG_MANAGED_ALIASES(orgId));
|
|
67799
|
-
}
|
|
67800
|
-
async getManagedBrowserAlias(orgId, aliasName) {
|
|
67801
|
-
return this.request("GET", ENDPOINTS.ORG_MANAGED_ALIAS(orgId, aliasName));
|
|
67802
|
-
}
|
|
67803
|
-
/** Accept and dispatch one @alias command. request_id is generated by the
|
|
67804
|
-
* caller before local validation and is also the sole durable recovery key. */
|
|
67805
|
-
async createBrowserAliasExecution(orgId, request) {
|
|
67806
|
-
return this.request("POST", ENDPOINTS.ORG_BROWSER_ALIAS_EXECUTIONS(orgId), request);
|
|
67807
|
-
}
|
|
67808
|
-
async getBrowserAliasExecution(orgId, requestId) {
|
|
67809
|
-
return this.request("GET", ENDPOINTS.ORG_BROWSER_ALIAS_EXECUTION(orgId, requestId));
|
|
67810
|
-
}
|
|
67811
|
-
/** Accept one idempotent Browser Use operation for an explicit Profile.
|
|
67812
|
-
* JWT, personal, agent and managed keys use profile access. The Server resolves Profile→Edge. */
|
|
67813
|
-
async createBrowserUseOperation(orgId, request) {
|
|
67814
|
-
return this.request("POST", ENDPOINTS.ORG_BROWSER_USE_OPERATIONS(orgId), request);
|
|
67815
|
-
}
|
|
67816
|
-
/** Recover the durable receipt. Successful data is present only inside the
|
|
67817
|
-
* Server's short encrypted result TTL; terminal proof remains afterwards. */
|
|
67818
|
-
async getBrowserUseOperation(orgId, operationId) {
|
|
67819
|
-
return this.request("GET", ENDPOINTS.ORG_BROWSER_USE_OPERATION(orgId, operationId));
|
|
67820
|
-
}
|
|
67821
67841
|
/**
|
|
67822
67842
|
* Read a hosted Cloud Profile's egress-proxy status (manager-only: hosted
|
|
67823
67843
|
* human maintainer or org admin). Sanitized — the password never comes back.
|
|
@@ -67927,7 +67947,6 @@ var ParallClient = class _ParallClient extends BrowserProfileClient {
|
|
|
67927
67947
|
* - `EDGE_HOSTED_DISABLED_FOR_ORG` 403, `EDGE_REPAIR` 503 (operator-held),
|
|
67928
67948
|
* `EDGE_RUNTIME_UNAVAILABLE` 503 (deployment has no hosted runtime).
|
|
67929
67949
|
* - Access errors (before side effects): human `CONNECTION_NOT_ALLOWED`.
|
|
67930
|
-
* `CLIP_NOT_ALLOWED` / `CLIP_CONNECTION_NOT_ALLOWED` are retired.
|
|
67931
67950
|
* Agent principals receive the historical
|
|
67932
67951
|
* `CLIP_AGENT_NOT_ALLOWED` / `CLIP_AGENT_CONNECTION_NOT_ALLOWED` for one
|
|
67933
67952
|
* release. An org owner/admin can widen access in the clip's settings.
|
|
@@ -68011,17 +68030,6 @@ var ParallClient = class _ParallClient extends BrowserProfileClient {
|
|
|
68011
68030
|
timeoutMs: 4e4
|
|
68012
68031
|
});
|
|
68013
68032
|
}
|
|
68014
|
-
/** Start a new Official OAuth MCP connection with the platform-owned app.
|
|
68015
|
-
* Omitting oauth_client is load-bearing: the server resolves the exact
|
|
68016
|
-
* reviewed-version binding and never falls back to DCR/CIMD cross-org. */
|
|
68017
|
-
async createClipMCPOAuthConnection(orgId, clipId, serverUrl, alias, oauthClient) {
|
|
68018
|
-
return this.request("POST", ENDPOINTS.ORG_CLIP_MCP_CONFIGS(orgId, clipId), {
|
|
68019
|
-
server_url: serverUrl,
|
|
68020
|
-
auth_type: "oauth",
|
|
68021
|
-
...alias ? { alias } : {},
|
|
68022
|
-
...oauthClient ? { oauth_client: oauthClient } : {}
|
|
68023
|
-
});
|
|
68024
|
-
}
|
|
68025
68033
|
/** Re-authorize an existing MCP credential slot. */
|
|
68026
68034
|
async initiateClipMCPOAuthById(orgId, clipId, configId, serverUrl, expectedVersion, oauthClient) {
|
|
68027
68035
|
const req = {
|
|
@@ -68192,6 +68200,16 @@ function buildApiError(res, rawErrorBody) {
|
|
|
68192
68200
|
return apiError;
|
|
68193
68201
|
}
|
|
68194
68202
|
|
|
68203
|
+
// ts/sdk/dist/browser-use-contract.generated.js
|
|
68204
|
+
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 } } };
|
|
68205
|
+
|
|
68206
|
+
// ts/sdk/dist/browser-use-validation.js
|
|
68207
|
+
var BROWSER_USE_ACTION_SCHEMAS = browserUseContract.actions;
|
|
68208
|
+
var BROWSER_USE_ACTIONS = Object.freeze(Object.keys(BROWSER_USE_ACTION_SCHEMAS));
|
|
68209
|
+
|
|
68210
|
+
// ts/sdk/dist/browser-use-receipt.js
|
|
68211
|
+
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(" ");
|
|
68212
|
+
|
|
68195
68213
|
// ts/agent-core/dist/lane-target.js
|
|
68196
68214
|
var PRLL_SCHEME = "prll://";
|
|
68197
68215
|
var CHANNEL_LANE_PREFIX = `${PRLL_SCHEME}chv_`;
|