@parall/daemon 1.65.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 +106 -7
- package/bundle/parall-claude-agent.js +1905 -1678
- package/bundle/parall-codex-agent.js +1883 -1660
- package/bundle/parall-daemon.js +316 -69
- 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
|
}
|
|
@@ -64546,6 +64546,7 @@ var ENDPOINTS = {
|
|
|
64546
64546
|
TASK_RELATIONS: (orgId, taskId) => `${API_BASE2}/orgs/${orgId}/tasks/${taskId}/relations`,
|
|
64547
64547
|
TASK_RELATION: (orgId, taskId, relId) => `${API_BASE2}/orgs/${orgId}/tasks/${taskId}/relations/${relId}`,
|
|
64548
64548
|
TASK_RELATIONS_BY_TARGET: (orgId) => `${API_BASE2}/orgs/${orgId}/task-relations`,
|
|
64549
|
+
TASK_DEPENDENCIES: (orgId, taskId) => `${API_BASE2}/orgs/${orgId}/tasks/${taskId}/dependencies`,
|
|
64549
64550
|
TASK_COMMENTS: (orgId, taskId) => `${API_BASE2}/orgs/${orgId}/tasks/${taskId}/comments`,
|
|
64550
64551
|
TASK_COMMENT: (orgId, taskId, commentId) => `${API_BASE2}/orgs/${orgId}/tasks/${taskId}/comments/${commentId}`,
|
|
64551
64552
|
TASK_ACTIVITIES: (orgId, taskId) => `${API_BASE2}/orgs/${orgId}/tasks/${taskId}/activities`,
|
|
@@ -64664,6 +64665,11 @@ var ENDPOINTS = {
|
|
|
64664
64665
|
WIKI_TREE: (orgId, wikiId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/tree`,
|
|
64665
64666
|
WIKI_TREE_LAST_COMMITS: (orgId, wikiId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/tree/last-commits`,
|
|
64666
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`,
|
|
64667
64673
|
WIKI_COPY: (orgId, wikiId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/copy`,
|
|
64668
64674
|
WIKI_NODE_SECTIONS: (orgId, wikiId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/node-sections`,
|
|
64669
64675
|
WIKI_SEARCH: (orgId, wikiId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/search`,
|
|
@@ -64955,6 +64961,13 @@ var ProjectTaskClient = class {
|
|
|
64955
64961
|
async deleteTaskRelation(orgId, taskId, relationId) {
|
|
64956
64962
|
return this.request("DELETE", ENDPOINTS.TASK_RELATION(orgId, taskId, relationId));
|
|
64957
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
|
+
}
|
|
64958
64971
|
async getTaskComments(orgId, taskId, params) {
|
|
64959
64972
|
return this.request("GET", ENDPOINTS.TASK_COMMENTS(orgId, taskId), void 0, params);
|
|
64960
64973
|
}
|
|
@@ -65013,8 +65026,9 @@ var ProjectTaskClient = class {
|
|
|
65013
65026
|
return res.data;
|
|
65014
65027
|
}
|
|
65015
65028
|
/** Public-tier self-admission: writes the caller's own member row.
|
|
65016
|
-
* Other tiers answer `
|
|
65017
|
-
* `
|
|
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`. */
|
|
65018
65032
|
async joinProject(orgId, projectId) {
|
|
65019
65033
|
return this.request("POST", ENDPOINTS.PROJECT_JOIN(orgId, projectId));
|
|
65020
65034
|
}
|
|
@@ -65374,6 +65388,91 @@ var BrowserProfileClient = class extends ClipConnectionClient {
|
|
|
65374
65388
|
}
|
|
65375
65389
|
};
|
|
65376
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
|
+
|
|
65377
65476
|
// ts/sdk/dist/wiki-upload.js
|
|
65378
65477
|
function createWikiUploadFormData(params) {
|
|
65379
65478
|
const form = new FormData();
|
|
@@ -65510,7 +65609,7 @@ function legacyHeartbeatFromReport(report) {
|
|
|
65510
65609
|
detectedRuntimes
|
|
65511
65610
|
};
|
|
65512
65611
|
}
|
|
65513
|
-
var ParallClient = class _ParallClient extends
|
|
65612
|
+
var ParallClient = class _ParallClient extends WikiDraftClient {
|
|
65514
65613
|
baseUrl;
|
|
65515
65614
|
wikiBaseUrl;
|
|
65516
65615
|
token;
|
|
@@ -68210,10 +68309,6 @@ var BROWSER_USE_ACTIONS = Object.freeze(Object.keys(BROWSER_USE_ACTION_SCHEMAS))
|
|
|
68210
68309
|
// ts/sdk/dist/browser-use-receipt.js
|
|
68211
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(" ");
|
|
68212
68311
|
|
|
68213
|
-
// ts/agent-core/dist/lane-target.js
|
|
68214
|
-
var PRLL_SCHEME = "prll://";
|
|
68215
|
-
var CHANNEL_LANE_PREFIX = `${PRLL_SCHEME}chv_`;
|
|
68216
|
-
|
|
68217
68312
|
// ts/agent-core/dist/telemetry.js
|
|
68218
68313
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
68219
68314
|
|
|
@@ -68228,6 +68323,10 @@ var DEFAULT_MAX_AGE_MS = 24 * 60 * 60 * 1e3;
|
|
|
68228
68323
|
// ts/agent-core/dist/telemetry.js
|
|
68229
68324
|
var dispatchContextStorage = new AsyncLocalStorage();
|
|
68230
68325
|
|
|
68326
|
+
// ts/agent-core/dist/lane-target.js
|
|
68327
|
+
var PRLL_SCHEME = "prll://";
|
|
68328
|
+
var CHANNEL_LANE_PREFIX = `${PRLL_SCHEME}chv_`;
|
|
68329
|
+
|
|
68231
68330
|
// ts/agent-core/dist/gateway-lane-flow.js
|
|
68232
68331
|
var TYPED_BACKOFF_CAP_MS = 5 * 6e4;
|
|
68233
68332
|
|