@parall/daemon 1.64.0 → 1.66.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 +166 -49
- package/bundle/parall-claude-agent.js +2333 -1903
- package/bundle/parall-codex-agent.js +3385 -2805
- package/bundle/parall-daemon.js +471 -127
- 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.66.0",
|
|
3
|
+
"built_at": "2026-09-18T04:28:40.579Z",
|
|
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": "8af4788cd8de9c8eb968901bebaab23b400a7f42e83e51de4f4b2baa69779f30",
|
|
20
|
+
"size": 3040217
|
|
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": "78ad16c02854fad7b4e38a525756d8b1251d4d206ba7c7b9b8de3419d064b3d7",
|
|
28
|
+
"size": 3005454
|
|
29
29
|
},
|
|
30
30
|
"parall-codex-agent.js": {
|
|
31
|
-
"sha256": "
|
|
32
|
-
"size":
|
|
31
|
+
"sha256": "94fe99b63bc16203dd8f8b7c6eccae0d3e3006c3e10b2d8ebeb953326b4e7c07",
|
|
32
|
+
"size": 3027646
|
|
33
33
|
},
|
|
34
34
|
"parall-daemon.js": {
|
|
35
|
-
"sha256": "
|
|
36
|
-
"size":
|
|
35
|
+
"sha256": "3692babb3526b12e1a51dfb6be9c152dc12ed1d1b161005a10903253c0b4ba97",
|
|
36
|
+
"size": 3212630
|
|
37
37
|
},
|
|
38
38
|
"parall-openclaw-agent.js": {
|
|
39
39
|
"sha256": "856a1c3a9ae0ffef8efe2481fa1171dbeb1d67cccb88616aa9bf16da96a69355",
|
|
40
40
|
"size": 9923
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
|
-
"signature": "
|
|
43
|
+
"signature": "sX3qvCqvlwp1zWe8xhKgTTtRs/L6mupDAH6AOhqC57TnIqKAkXzD9OdaHLKdgUykMWbpt/pLJhqa4jD3z0PpCg=="
|
|
44
44
|
}
|
|
@@ -64290,6 +64290,20 @@ 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 = {
|
|
64295
64309
|
ORG_CLIP_MCP_OAUTH_ATTEMPT: (orgId, clipId, attemptId) => `/api/v1/orgs/${orgId}/clip-registry/${clipId}/mcp-oauth-attempts/${attemptId}`,
|
|
@@ -64532,6 +64546,7 @@ var ENDPOINTS = {
|
|
|
64532
64546
|
TASK_RELATIONS: (orgId, taskId) => `${API_BASE2}/orgs/${orgId}/tasks/${taskId}/relations`,
|
|
64533
64547
|
TASK_RELATION: (orgId, taskId, relId) => `${API_BASE2}/orgs/${orgId}/tasks/${taskId}/relations/${relId}`,
|
|
64534
64548
|
TASK_RELATIONS_BY_TARGET: (orgId) => `${API_BASE2}/orgs/${orgId}/task-relations`,
|
|
64549
|
+
TASK_DEPENDENCIES: (orgId, taskId) => `${API_BASE2}/orgs/${orgId}/tasks/${taskId}/dependencies`,
|
|
64535
64550
|
TASK_COMMENTS: (orgId, taskId) => `${API_BASE2}/orgs/${orgId}/tasks/${taskId}/comments`,
|
|
64536
64551
|
TASK_COMMENT: (orgId, taskId, commentId) => `${API_BASE2}/orgs/${orgId}/tasks/${taskId}/comments/${commentId}`,
|
|
64537
64552
|
TASK_ACTIVITIES: (orgId, taskId) => `${API_BASE2}/orgs/${orgId}/tasks/${taskId}/activities`,
|
|
@@ -64618,13 +64633,7 @@ var ENDPOINTS = {
|
|
|
64618
64633
|
// Tier-B platform verb (agent-only): send one message as the bound bot.
|
|
64619
64634
|
CHANNEL_SEND: (orgId) => `${API_BASE2}/orgs/${orgId}/agents/me/channel-send`,
|
|
64620
64635
|
// Tier-B read verbs (agent-only): workspace visibility as the bot sees it.
|
|
64621
|
-
|
|
64622
|
-
SLACK_USERS: (orgId) => `${API_BASE2}/orgs/${orgId}/agents/me/slack/users`,
|
|
64623
|
-
SLACK_HISTORY: (orgId) => `${API_BASE2}/orgs/${orgId}/agents/me/slack/history`,
|
|
64624
|
-
SLACK_MEMBERS: (orgId) => `${API_BASE2}/orgs/${orgId}/agents/me/slack/members`,
|
|
64625
|
-
SLACK_STATUS: (orgId) => `${API_BASE2}/orgs/${orgId}/agents/me/slack/status`,
|
|
64626
|
-
SLACK_FILE: (orgId) => `${API_BASE2}/orgs/${orgId}/agents/me/slack/file`,
|
|
64627
|
-
SLACK_FILES: (orgId) => `${API_BASE2}/orgs/${orgId}/agents/me/slack/files`,
|
|
64636
|
+
...slackEndpoints(API_BASE2),
|
|
64628
64637
|
// WeChat tier-B read verbs (agent-only; internal research preview).
|
|
64629
64638
|
...wechatEndpoints(API_BASE2),
|
|
64630
64639
|
// Invitations (org-scoped, admin)
|
|
@@ -64656,6 +64665,11 @@ var ENDPOINTS = {
|
|
|
64656
64665
|
WIKI_TREE: (orgId, wikiId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/tree`,
|
|
64657
64666
|
WIKI_TREE_LAST_COMMITS: (orgId, wikiId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/tree/last-commits`,
|
|
64658
64667
|
WIKI_BLOB: (orgId, wikiId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/blob`,
|
|
64668
|
+
// Wiki shared-draft room control plane (wiki-shared-draft-design.md §7).
|
|
64669
|
+
// Mounted only when cap:wiki-shared-drafts is on; absent otherwise.
|
|
64670
|
+
WIKI_DRAFT_OPEN: (orgId, wikiId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/drafts/open`,
|
|
64671
|
+
WIKI_DRAFT_STATUS: (orgId, wikiId, draftId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/drafts/${draftId}/status`,
|
|
64672
|
+
WIKI_DRAFT_SOCKET: (orgId, wikiId, draftId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/drafts/${draftId}/socket`,
|
|
64659
64673
|
WIKI_COPY: (orgId, wikiId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/copy`,
|
|
64660
64674
|
WIKI_NODE_SECTIONS: (orgId, wikiId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/node-sections`,
|
|
64661
64675
|
WIKI_SEARCH: (orgId, wikiId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/search`,
|
|
@@ -64947,6 +64961,13 @@ var ProjectTaskClient = class {
|
|
|
64947
64961
|
async deleteTaskRelation(orgId, taskId, relationId) {
|
|
64948
64962
|
return this.request("DELETE", ENDPOINTS.TASK_RELATION(orgId, taskId, relationId));
|
|
64949
64963
|
}
|
|
64964
|
+
async getTaskDependencies(orgId, taskId) {
|
|
64965
|
+
const res = await this.request("GET", ENDPOINTS.TASK_DEPENDENCIES(orgId, taskId));
|
|
64966
|
+
return {
|
|
64967
|
+
blocked_by: res.blocked_by ?? [],
|
|
64968
|
+
blocking: res.blocking ?? []
|
|
64969
|
+
};
|
|
64970
|
+
}
|
|
64950
64971
|
async getTaskComments(orgId, taskId, params) {
|
|
64951
64972
|
return this.request("GET", ENDPOINTS.TASK_COMMENTS(orgId, taskId), void 0, params);
|
|
64952
64973
|
}
|
|
@@ -65005,8 +65026,9 @@ var ProjectTaskClient = class {
|
|
|
65005
65026
|
return res.data;
|
|
65006
65027
|
}
|
|
65007
65028
|
/** Public-tier self-admission: writes the caller's own member row.
|
|
65008
|
-
* Other tiers answer `
|
|
65009
|
-
* `
|
|
65029
|
+
* Other tiers answer `403 PERMISSION_DENIED` with `details.project`
|
|
65030
|
+
* (its `visibility` tells whether to request-join or ask for an invite);
|
|
65031
|
+
* a duplicate answers `409 MEMBER_EXISTS`. */
|
|
65010
65032
|
async joinProject(orgId, projectId) {
|
|
65011
65033
|
return this.request("POST", ENDPOINTS.PROJECT_JOIN(orgId, projectId));
|
|
65012
65034
|
}
|
|
@@ -65212,14 +65234,16 @@ var SlackFilesClient = class extends AttachmentClient {
|
|
|
65212
65234
|
}
|
|
65213
65235
|
/**
|
|
65214
65236
|
* Tier-B file upload verb (agent-only): share a file into a Slack
|
|
65215
|
-
* conversation
|
|
65216
|
-
*
|
|
65237
|
+
* conversation or thread with the same addressing as text sends.
|
|
65238
|
+
* Native threadTs requires a server supporting Slack thread sends.
|
|
65217
65239
|
*/
|
|
65218
65240
|
async sendSlackFile(orgId, input) {
|
|
65219
65241
|
const fd = new FormData();
|
|
65220
65242
|
fd.append("conversation_id", input.conversationId);
|
|
65221
65243
|
if (input.replyTo)
|
|
65222
65244
|
fd.append("reply_to", input.replyTo);
|
|
65245
|
+
if (input.threadTs)
|
|
65246
|
+
fd.append("thread_ts", input.threadTs);
|
|
65223
65247
|
if (input.text)
|
|
65224
65248
|
fd.append("text", input.text);
|
|
65225
65249
|
fd.append("file", input.content, input.fileName);
|
|
@@ -65227,8 +65251,48 @@ var SlackFilesClient = class extends AttachmentClient {
|
|
|
65227
65251
|
}
|
|
65228
65252
|
};
|
|
65229
65253
|
|
|
65254
|
+
// ts/sdk/dist/slack-read-client.js
|
|
65255
|
+
var SlackReadClient = class extends SlackFilesClient {
|
|
65256
|
+
slackReadQuery(base, query, extra) {
|
|
65257
|
+
const params = new URLSearchParams();
|
|
65258
|
+
if (query?.cursor)
|
|
65259
|
+
params.set("cursor", query.cursor);
|
|
65260
|
+
if (query?.limit)
|
|
65261
|
+
params.set("limit", String(query.limit));
|
|
65262
|
+
for (const [k5, v] of Object.entries(extra ?? {}))
|
|
65263
|
+
params.set(k5, v);
|
|
65264
|
+
const qs = params.toString();
|
|
65265
|
+
return qs ? `${base}?${qs}` : base;
|
|
65266
|
+
}
|
|
65267
|
+
/**
|
|
65268
|
+
* Tier-B read verbs (agent-only): workspace visibility as the bot sees
|
|
65269
|
+
* it. Same live gate as the send verb; authorization beyond it is the
|
|
65270
|
+
* bot's own Slack permissions.
|
|
65271
|
+
*/
|
|
65272
|
+
async listSlackChannels(orgId, query) {
|
|
65273
|
+
return this.request("GET", this.slackReadQuery(ENDPOINTS.SLACK_CHANNELS(orgId), query));
|
|
65274
|
+
}
|
|
65275
|
+
async listSlackUsers(orgId, query) {
|
|
65276
|
+
return this.request("GET", this.slackReadQuery(ENDPOINTS.SLACK_USERS(orgId), query));
|
|
65277
|
+
}
|
|
65278
|
+
async slackHistory(orgId, conversationId, query) {
|
|
65279
|
+
return this.request("GET", this.slackReadQuery(ENDPOINTS.SLACK_HISTORY(orgId), query, { conversation: conversationId }));
|
|
65280
|
+
}
|
|
65281
|
+
/** Read a Slack thread (parent and replies), one page in Slack order. */
|
|
65282
|
+
async slackReplies(orgId, channel, ts, query) {
|
|
65283
|
+
return this.request("GET", this.slackReadQuery(ENDPOINTS.SLACK_REPLIES(orgId), query, { channel, ts }));
|
|
65284
|
+
}
|
|
65285
|
+
async slackMembers(orgId, conversationId, query) {
|
|
65286
|
+
return this.request("GET", this.slackReadQuery(ENDPOINTS.SLACK_MEMBERS(orgId), query, { conversation: conversationId }));
|
|
65287
|
+
}
|
|
65288
|
+
/** Set/clear the Agents-pane "typing…" indicator (best-effort cosmetic). */
|
|
65289
|
+
async setSlackStatus(orgId, input) {
|
|
65290
|
+
await this.request("POST", ENDPOINTS.SLACK_STATUS(orgId), input);
|
|
65291
|
+
}
|
|
65292
|
+
};
|
|
65293
|
+
|
|
65230
65294
|
// ts/sdk/dist/channel-conversation-client.js
|
|
65231
|
-
var ChannelConversationClient = class extends
|
|
65295
|
+
var ChannelConversationClient = class extends SlackReadClient {
|
|
65232
65296
|
/**
|
|
65233
65297
|
* Org-admin write of what the agent receives from a group root
|
|
65234
65298
|
* (`PATCH …/channel-conversations/{id}/attention`); the agent's own path
|
|
@@ -65324,6 +65388,91 @@ var BrowserProfileClient = class extends ClipConnectionClient {
|
|
|
65324
65388
|
}
|
|
65325
65389
|
};
|
|
65326
65390
|
|
|
65391
|
+
// ts/sdk/dist/wiki-draft-types.js
|
|
65392
|
+
var WIKI_DRAFT_SCHEMA_VERSION = 1;
|
|
65393
|
+
var IDENTIFIER = /^[A-Za-z0-9_.:-]{1,128}$/;
|
|
65394
|
+
function isWikiDraftScope(value) {
|
|
65395
|
+
if (!value || typeof value !== "object")
|
|
65396
|
+
return false;
|
|
65397
|
+
const scope = value;
|
|
65398
|
+
return ["lane", "org_id", "wiki_id", "draft_id", "incarnation"].every((key) => typeof scope[key] === "string" && IDENTIFIER.test(scope[key])) && Number.isSafeInteger(scope.generation) && scope.generation >= 1;
|
|
65399
|
+
}
|
|
65400
|
+
function sameWikiDraftScope(left, right) {
|
|
65401
|
+
return left.lane === right.lane && left.org_id === right.org_id && left.wiki_id === right.wiki_id && left.draft_id === right.draft_id && left.incarnation === right.incarnation && left.generation === right.generation;
|
|
65402
|
+
}
|
|
65403
|
+
var WIRE_TIMESTAMP = /^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(?:\.\d{1,9})?(?:Z|[+-](\d{2}):(\d{2}))$/;
|
|
65404
|
+
function isWireTimestamp(value) {
|
|
65405
|
+
if (typeof value !== "string")
|
|
65406
|
+
return false;
|
|
65407
|
+
const m3 = WIRE_TIMESTAMP.exec(value);
|
|
65408
|
+
if (!m3)
|
|
65409
|
+
return false;
|
|
65410
|
+
const [year2, month, day, hour, minute, second] = m3.slice(1, 7).map(Number);
|
|
65411
|
+
if (month < 1 || month > 12)
|
|
65412
|
+
return false;
|
|
65413
|
+
const leap = year2 % 4 === 0 && (year2 % 100 !== 0 || year2 % 400 === 0);
|
|
65414
|
+
const daysInMonth = [31, leap ? 29 : 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][month - 1];
|
|
65415
|
+
if (day < 1 || day > daysInMonth)
|
|
65416
|
+
return false;
|
|
65417
|
+
if (hour > 23 || minute > 59 || second > 59)
|
|
65418
|
+
return false;
|
|
65419
|
+
if (m3[7] !== void 0 && (Number(m3[7]) > 23 || Number(m3[8]) > 59))
|
|
65420
|
+
return false;
|
|
65421
|
+
return true;
|
|
65422
|
+
}
|
|
65423
|
+
function isWikiDraftConnection(value) {
|
|
65424
|
+
if (!value || typeof value !== "object")
|
|
65425
|
+
return false;
|
|
65426
|
+
const c5 = value;
|
|
65427
|
+
return isWikiDraftScope(c5.scope) && c5.schema_version === WIKI_DRAFT_SCHEMA_VERSION && Number.isSafeInteger(c5.seq) && c5.seq >= 0 && typeof c5.actor_id === "string" && c5.actor_id.length > 0 && typeof c5.actor_token === "string" && c5.actor_token.length > 0 && typeof c5.websocket_url === "string" && c5.websocket_url.startsWith("/") && isWireTimestamp(c5.issued_at) && isWireTimestamp(c5.expires_at);
|
|
65428
|
+
}
|
|
65429
|
+
function isWikiDraftStatus(value) {
|
|
65430
|
+
if (!value || typeof value !== "object")
|
|
65431
|
+
return false;
|
|
65432
|
+
const s = value;
|
|
65433
|
+
const owner = s.owner;
|
|
65434
|
+
return isWikiDraftScope(s.scope) && typeof s.path === "string" && s.schema_version === WIKI_DRAFT_SCHEMA_VERSION && Number.isSafeInteger(s.seq) && s.seq >= 0 && typeof s.base_commit === "string" && typeof s.base_blob === "string" && (s.state === "active" || s.state === "conflicted" || s.state === "retired") && (owner === null || !!owner && typeof owner === "object" && typeof owner.instance === "string" && Number.isSafeInteger(owner.epoch) && isWireTimestamp(owner.lease_deadline)) && isWireTimestamp(s.updated_at);
|
|
65435
|
+
}
|
|
65436
|
+
|
|
65437
|
+
// ts/sdk/dist/wiki-draft-client.js
|
|
65438
|
+
var WikiDraftClient = class extends BrowserProfileClient {
|
|
65439
|
+
/**
|
|
65440
|
+
* Open (or rejoin) the shared draft of an existing formal Markdown path.
|
|
65441
|
+
* No content is uploaded; the server pins the Git baseline itself.
|
|
65442
|
+
* Only call this when `cap:wiki-shared-drafts` and the org flag are on —
|
|
65443
|
+
* the routes do not exist otherwise.
|
|
65444
|
+
*/
|
|
65445
|
+
async openWikiDraft(orgId, wikiId, path7, opts) {
|
|
65446
|
+
const connection = await this.request("POST", ENDPOINTS.WIKI_DRAFT_OPEN(orgId, wikiId), { path: path7 }, void 0, false, opts);
|
|
65447
|
+
if (!isWikiDraftConnection(connection) || connection.scope.org_id !== orgId || connection.scope.wiki_id !== wikiId) {
|
|
65448
|
+
throw new Error("DRAFT_SCOPE");
|
|
65449
|
+
}
|
|
65450
|
+
const socketPath = ENDPOINTS.WIKI_DRAFT_SOCKET(orgId, wikiId, connection.scope.draft_id);
|
|
65451
|
+
if (connection.websocket_url !== socketPath)
|
|
65452
|
+
throw new Error("DRAFT_SCOPE");
|
|
65453
|
+
const base = this.baseUrlFor(socketPath);
|
|
65454
|
+
const locationOrigin = typeof globalThis.location === "undefined" ? void 0 : globalThis.location.origin;
|
|
65455
|
+
const socket = new URL(`${base}${socketPath}`, locationOrigin);
|
|
65456
|
+
if (!["http:", "https:"].includes(socket.protocol) || socket.username || socket.password || socket.search || socket.hash) {
|
|
65457
|
+
throw new Error("DRAFT_SCOPE");
|
|
65458
|
+
}
|
|
65459
|
+
socket.protocol = socket.protocol === "https:" ? "wss:" : "ws:";
|
|
65460
|
+
return { ...connection, websocket_url: socket.href };
|
|
65461
|
+
}
|
|
65462
|
+
/** Durable draft metadata under the caller's current read permission. Never uploads content. */
|
|
65463
|
+
async getWikiDraftStatus(scope, opts) {
|
|
65464
|
+
const status = await this.request("GET", ENDPOINTS.WIKI_DRAFT_STATUS(scope.org_id, scope.wiki_id, scope.draft_id), void 0, { lane: scope.lane, incarnation: scope.incarnation, generation: String(scope.generation) }, false, opts);
|
|
65465
|
+
if (!isWikiDraftStatus(status) || !sameWikiDraftScope(status.scope, scope)) {
|
|
65466
|
+
throw new Error("DRAFT_SCOPE");
|
|
65467
|
+
}
|
|
65468
|
+
return status;
|
|
65469
|
+
}
|
|
65470
|
+
/** Subprotocol tokens for the room WebSocket handshake: protocol + ticket. */
|
|
65471
|
+
wikiDraftSocketProtocols(connection) {
|
|
65472
|
+
return ["parall.wiki.v1", `ticket.${connection.actor_token}`];
|
|
65473
|
+
}
|
|
65474
|
+
};
|
|
65475
|
+
|
|
65327
65476
|
// ts/sdk/dist/wiki-upload.js
|
|
65328
65477
|
function createWikiUploadFormData(params) {
|
|
65329
65478
|
const form = new FormData();
|
|
@@ -65460,7 +65609,7 @@ function legacyHeartbeatFromReport(report) {
|
|
|
65460
65609
|
detectedRuntimes
|
|
65461
65610
|
};
|
|
65462
65611
|
}
|
|
65463
|
-
var ParallClient = class _ParallClient extends
|
|
65612
|
+
var ParallClient = class _ParallClient extends WikiDraftClient {
|
|
65464
65613
|
baseUrl;
|
|
65465
65614
|
wikiBaseUrl;
|
|
65466
65615
|
token;
|
|
@@ -66902,38 +67051,6 @@ var ParallClient = class _ParallClient extends BrowserProfileClient {
|
|
|
66902
67051
|
async sendChannelMessage(orgId, input) {
|
|
66903
67052
|
return this.request("POST", ENDPOINTS.CHANNEL_SEND(orgId), input);
|
|
66904
67053
|
}
|
|
66905
|
-
slackReadQuery(base, query, extra) {
|
|
66906
|
-
const params = new URLSearchParams();
|
|
66907
|
-
if (query?.cursor)
|
|
66908
|
-
params.set("cursor", query.cursor);
|
|
66909
|
-
if (query?.limit)
|
|
66910
|
-
params.set("limit", String(query.limit));
|
|
66911
|
-
for (const [k5, v] of Object.entries(extra ?? {}))
|
|
66912
|
-
params.set(k5, v);
|
|
66913
|
-
const qs = params.toString();
|
|
66914
|
-
return qs ? `${base}?${qs}` : base;
|
|
66915
|
-
}
|
|
66916
|
-
/**
|
|
66917
|
-
* Tier-B read verbs (agent-only): workspace visibility as the bot sees
|
|
66918
|
-
* it. Same live gate as the send verb; authorization beyond it is the
|
|
66919
|
-
* bot's own Slack permissions.
|
|
66920
|
-
*/
|
|
66921
|
-
async listSlackChannels(orgId, query) {
|
|
66922
|
-
return this.request("GET", this.slackReadQuery(ENDPOINTS.SLACK_CHANNELS(orgId), query));
|
|
66923
|
-
}
|
|
66924
|
-
async listSlackUsers(orgId, query) {
|
|
66925
|
-
return this.request("GET", this.slackReadQuery(ENDPOINTS.SLACK_USERS(orgId), query));
|
|
66926
|
-
}
|
|
66927
|
-
async slackHistory(orgId, conversationId, query) {
|
|
66928
|
-
return this.request("GET", this.slackReadQuery(ENDPOINTS.SLACK_HISTORY(orgId), query, { conversation: conversationId }));
|
|
66929
|
-
}
|
|
66930
|
-
async slackMembers(orgId, conversationId, query) {
|
|
66931
|
-
return this.request("GET", this.slackReadQuery(ENDPOINTS.SLACK_MEMBERS(orgId), query, { conversation: conversationId }));
|
|
66932
|
-
}
|
|
66933
|
-
/** Set/clear the Agents-pane "typing…" indicator (best-effort cosmetic). */
|
|
66934
|
-
async setSlackStatus(orgId, input) {
|
|
66935
|
-
await this.request("POST", ENDPOINTS.SLACK_STATUS(orgId), input);
|
|
66936
|
-
}
|
|
66937
67054
|
/**
|
|
66938
67055
|
* Authorized raw GET (binary responses) with the same auth, 401
|
|
66939
67056
|
* refresh-and-retry-once, and error-envelope handling as `request` — the
|
|
@@ -68192,10 +68309,6 @@ var BROWSER_USE_ACTIONS = Object.freeze(Object.keys(BROWSER_USE_ACTION_SCHEMAS))
|
|
|
68192
68309
|
// ts/sdk/dist/browser-use-receipt.js
|
|
68193
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(" ");
|
|
68194
68311
|
|
|
68195
|
-
// ts/agent-core/dist/lane-target.js
|
|
68196
|
-
var PRLL_SCHEME = "prll://";
|
|
68197
|
-
var CHANNEL_LANE_PREFIX = `${PRLL_SCHEME}chv_`;
|
|
68198
|
-
|
|
68199
68312
|
// ts/agent-core/dist/telemetry.js
|
|
68200
68313
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
68201
68314
|
|
|
@@ -68210,6 +68323,10 @@ var DEFAULT_MAX_AGE_MS = 24 * 60 * 60 * 1e3;
|
|
|
68210
68323
|
// ts/agent-core/dist/telemetry.js
|
|
68211
68324
|
var dispatchContextStorage = new AsyncLocalStorage();
|
|
68212
68325
|
|
|
68326
|
+
// ts/agent-core/dist/lane-target.js
|
|
68327
|
+
var PRLL_SCHEME = "prll://";
|
|
68328
|
+
var CHANNEL_LANE_PREFIX = `${PRLL_SCHEME}chv_`;
|
|
68329
|
+
|
|
68213
68330
|
// ts/agent-core/dist/gateway-lane-flow.js
|
|
68214
68331
|
var TYPED_BACKOFF_CAP_MS = 5 * 6e4;
|
|
68215
68332
|
|