@parall/daemon 1.89.0 → 1.91.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 +67 -25
- package/bundle/parall-claude-agent.js +310 -227
- package/bundle/parall-codex-agent.js +321 -235
- package/bundle/parall-daemon.js +84 -26
- package/package.json +6 -6
package/bundle/manifest.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
3
|
-
"built_at": "2026-11-
|
|
2
|
+
"version": "1.91.0",
|
|
3
|
+
"built_at": "2026-11-12T10:49:05.814Z",
|
|
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": "a278a36d315cfe8a0fea395bb3f5f6fb6cd16de65e5ebc278672fc7854e2c466",
|
|
20
|
+
"size": 3102056
|
|
21
21
|
},
|
|
22
22
|
"parall-channel-exec.js": {
|
|
23
23
|
"sha256": "3a39c2ced4f4e8ecf9283b77efa028bd28fa08d61e8d2e3f20700c0a4f61e792",
|
|
24
24
|
"size": 9223
|
|
25
25
|
},
|
|
26
26
|
"parall-claude-agent.js": {
|
|
27
|
-
"sha256": "
|
|
28
|
-
"size":
|
|
27
|
+
"sha256": "c5cddec08b719db5d2f7e36b52dc783436b426985b34b0a80512fb9057a16da0",
|
|
28
|
+
"size": 3126053
|
|
29
29
|
},
|
|
30
30
|
"parall-codex-agent.js": {
|
|
31
|
-
"sha256": "
|
|
32
|
-
"size":
|
|
31
|
+
"sha256": "3c38d3add6c0a55ac284d891ce063fdef8314d7d8ab239196c65a43122c226fa",
|
|
32
|
+
"size": 3135538
|
|
33
33
|
},
|
|
34
34
|
"parall-daemon.js": {
|
|
35
|
-
"sha256": "
|
|
36
|
-
"size":
|
|
35
|
+
"sha256": "b05e1083315d6f504fa1d09d24e2a07ece3cd06088dd3e03c10dfacca35c29aa",
|
|
36
|
+
"size": 3301874
|
|
37
37
|
},
|
|
38
38
|
"parall-openclaw-agent.js": {
|
|
39
39
|
"sha256": "856a1c3a9ae0ffef8efe2481fa1171dbeb1d67cccb88616aa9bf16da96a69355",
|
|
40
40
|
"size": 9923
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
|
-
"signature": "
|
|
43
|
+
"signature": "27qJU7kn4N/kQC2rT5p2HrSV0XGmWgDHFA/pQLhaahG5dbN8jpvLrd/GoiY30RSs1LCWXygbwgpEHZKk2/bGAw=="
|
|
44
44
|
}
|
|
@@ -64935,6 +64935,7 @@ var ENDPOINTS = {
|
|
|
64935
64935
|
WIKI_UPLOADS: (orgId, wikiId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/uploads`,
|
|
64936
64936
|
WIKI_FILES: (orgId, wikiId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/files`,
|
|
64937
64937
|
WIKI_FILE_PREVIEW_URL: (orgId, wikiId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/files/preview-url`,
|
|
64938
|
+
WIKI_DOCUMENT_IMAGE_PREVIEW_URL: (orgId, wikiId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/document-images/preview-url`,
|
|
64938
64939
|
// Wiki Path Scopes (AFCS ACL)
|
|
64939
64940
|
WIKI_PATH_SCOPES: (orgId, wikiId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/path-scopes`,
|
|
64940
64941
|
WIKI_PATH_SCOPE: (orgId, wikiId, scopeId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/path-scopes/${scopeId}`,
|
|
@@ -65107,7 +65108,20 @@ var ENDPOINTS = {
|
|
|
65107
65108
|
ORG_CLIP_MCP_OAUTH_DISCONNECT_BY_ID: (orgId, clipId, configId) => `/api/v1/orgs/${orgId}/clip-registry/${clipId}/mcp-configs/${configId}/oauth/disconnect`
|
|
65108
65109
|
};
|
|
65109
65110
|
|
|
65111
|
+
// ts/sdk/dist/pagination.js
|
|
65112
|
+
async function readAllPages(fetchPage) {
|
|
65113
|
+
const all = [];
|
|
65114
|
+
let cursor2;
|
|
65115
|
+
do {
|
|
65116
|
+
const page = await fetchPage(cursor2);
|
|
65117
|
+
all.push(...page.data);
|
|
65118
|
+
cursor2 = page.has_more ? page.next_cursor : void 0;
|
|
65119
|
+
} while (cursor2);
|
|
65120
|
+
return all;
|
|
65121
|
+
}
|
|
65122
|
+
|
|
65110
65123
|
// ts/sdk/dist/project-task-client.js
|
|
65124
|
+
var SUBTASK_PAGE_SIZE = 200;
|
|
65111
65125
|
var ProjectTaskClient = class {
|
|
65112
65126
|
async createTask(orgId, data2) {
|
|
65113
65127
|
return this.request("POST", ENDPOINTS.TASKS(orgId), data2);
|
|
@@ -65196,9 +65210,13 @@ var ProjectTaskClient = class {
|
|
|
65196
65210
|
const res = await this.request("GET", ENDPOINTS.MESSAGE_WATCHING(threadRootId));
|
|
65197
65211
|
return res.watching;
|
|
65198
65212
|
}
|
|
65213
|
+
/**
|
|
65214
|
+
* Every direct child of a task. The endpoint pages (50 rows by default), so
|
|
65215
|
+
* this reads all pages: a caller that stopped at the first page would drop
|
|
65216
|
+
* the newest subtasks once a parent passes one page.
|
|
65217
|
+
*/
|
|
65199
65218
|
async getSubtasks(orgId, taskId) {
|
|
65200
|
-
|
|
65201
|
-
return res.data;
|
|
65219
|
+
return readAllPages((cursor2) => this.request("GET", ENDPOINTS.TASK_SUBTASKS(orgId, taskId), void 0, { limit: SUBTASK_PAGE_SIZE, cursor: cursor2 }));
|
|
65202
65220
|
}
|
|
65203
65221
|
async createTaskRelation(orgId, taskId, data2) {
|
|
65204
65222
|
return this.request("POST", ENDPOINTS.TASK_RELATIONS(orgId, taskId), data2);
|
|
@@ -65945,18 +65963,37 @@ var BrowserProfileClient = class extends HostedProfileCreationClient {
|
|
|
65945
65963
|
const me = await this.request("GET", ENDPOINTS.USERS_ME);
|
|
65946
65964
|
const devices = await this.request("GET", ENDPOINTS.ORG_EDGE_DEVICES(orgId));
|
|
65947
65965
|
const data2 = [];
|
|
65966
|
+
const warnings = [];
|
|
65948
65967
|
for (const device of devices.data) {
|
|
65949
65968
|
const personal = device.managed_by === "member";
|
|
65950
65969
|
if (personal && device.owner_user_id !== me.id)
|
|
65951
65970
|
continue;
|
|
65952
|
-
|
|
65971
|
+
if (!profileId && device.hosted_state === "deleting") {
|
|
65972
|
+
warnings.push({ device_id: device.id, code: "DEVICE_DELETING" });
|
|
65973
|
+
continue;
|
|
65974
|
+
}
|
|
65975
|
+
const skipMissingDevice = (err) => {
|
|
65976
|
+
const status = typeof err === "object" && err !== null ? err.status : void 0;
|
|
65977
|
+
if (profileId || status !== 404)
|
|
65978
|
+
throw err;
|
|
65979
|
+
warnings.push({ device_id: device.id, code: "DEVICE_NOT_FOUND" });
|
|
65980
|
+
return void 0;
|
|
65981
|
+
};
|
|
65982
|
+
const profiles = await this.request("GET", ENDPOINTS.ORG_EDGE_PROFILES(orgId, device.id)).catch(skipMissingDevice);
|
|
65983
|
+
if (!profiles)
|
|
65984
|
+
continue;
|
|
65985
|
+
const deviceData = [];
|
|
65953
65986
|
for (const profile of profiles) {
|
|
65954
65987
|
if (profileId && profile.id !== profileId)
|
|
65955
65988
|
continue;
|
|
65956
|
-
const access2 = personal ? null : await this.getBrowserProfileAccess(orgId, device.id, profile.name);
|
|
65989
|
+
const access2 = personal ? null : await this.getBrowserProfileAccess(orgId, device.id, profile.name).catch(skipMissingDevice);
|
|
65990
|
+
if (access2 === void 0) {
|
|
65991
|
+
deviceData.length = 0;
|
|
65992
|
+
break;
|
|
65993
|
+
}
|
|
65957
65994
|
if (!personal && !access2?.org_public && !(access2?.grants ?? []).some((g5) => g5.user_id === me.id && g5.grants.length > 0))
|
|
65958
65995
|
continue;
|
|
65959
|
-
|
|
65996
|
+
deviceData.push({
|
|
65960
65997
|
profile_id: profile.id,
|
|
65961
65998
|
name: profile.name,
|
|
65962
65999
|
device_name: device.name,
|
|
@@ -65966,8 +66003,9 @@ var BrowserProfileClient = class extends HostedProfileCreationClient {
|
|
|
65966
66003
|
availability: device.placement === "hosted" ? device.hosted_state ?? "unknown" : device.status
|
|
65967
66004
|
});
|
|
65968
66005
|
}
|
|
66006
|
+
data2.push(...deviceData);
|
|
65969
66007
|
}
|
|
65970
|
-
return { data: data2 };
|
|
66008
|
+
return { data: data2, ...warnings.length ? { warnings } : {} };
|
|
65971
66009
|
}
|
|
65972
66010
|
/** Submit once: even refresh-enabled clients must not replay browser actions. */
|
|
65973
66011
|
async createBrowserUseOperation(orgId, request) {
|
|
@@ -66299,6 +66337,14 @@ var AgentTeamOnlyClient = class extends AgentCallerScopeClient {
|
|
|
66299
66337
|
async setAgentTeamOnly(orgId, enabled) {
|
|
66300
66338
|
return this.request("PUT", agentTeamOnlyPath(orgId), { enabled });
|
|
66301
66339
|
}
|
|
66340
|
+
/**
|
|
66341
|
+
* The agents the signed-in person cannot reach while the switch is on, each
|
|
66342
|
+
* with the Team it works for (design §3.5). Empty while it is off, and for
|
|
66343
|
+
* the organization's owners and admins.
|
|
66344
|
+
*/
|
|
66345
|
+
async getUnreachableAgents(orgId) {
|
|
66346
|
+
return this.request("GET", `${API_BASE2}/orgs/${orgId}/me/unreachable-agents`);
|
|
66347
|
+
}
|
|
66302
66348
|
};
|
|
66303
66349
|
|
|
66304
66350
|
// ts/sdk/dist/agent-owning-team-client.js
|
|
@@ -67131,14 +67177,7 @@ var ParallClient = class _ParallClient extends ChatBookmarksClient {
|
|
|
67131
67177
|
// command so an agent answering "what's on X's plate" sees the full
|
|
67132
67178
|
// backlog, not just the first page.
|
|
67133
67179
|
async getMemberTasksAll(orgId, memberId) {
|
|
67134
|
-
|
|
67135
|
-
let cursor2;
|
|
67136
|
-
do {
|
|
67137
|
-
const res = await this.getMemberTasks(orgId, memberId, { cursor: cursor2, limit: 100 });
|
|
67138
|
-
all.push(...res.data);
|
|
67139
|
-
cursor2 = res.has_more ? res.next_cursor : void 0;
|
|
67140
|
-
} while (cursor2);
|
|
67141
|
-
return all;
|
|
67180
|
+
return readAllPages((cursor2) => this.getMemberTasks(orgId, memberId, { cursor: cursor2, limit: 100 }));
|
|
67142
67181
|
}
|
|
67143
67182
|
// ---- Invitations ----
|
|
67144
67183
|
async createInvitation(orgId, email, role) {
|
|
@@ -67544,17 +67583,7 @@ var ParallClient = class _ParallClient extends ChatBookmarksClient {
|
|
|
67544
67583
|
* deliberately have no WorkItem behind them.
|
|
67545
67584
|
*/
|
|
67546
67585
|
async getAgentTasks(orgId, agentId) {
|
|
67547
|
-
|
|
67548
|
-
let cursor2;
|
|
67549
|
-
do {
|
|
67550
|
-
const params = { limit: "100" };
|
|
67551
|
-
if (cursor2)
|
|
67552
|
-
params.cursor = cursor2;
|
|
67553
|
-
const res = await this.request("GET", ENDPOINTS.AGENT_TASKS(orgId, agentId), void 0, params);
|
|
67554
|
-
all.push(...res.data);
|
|
67555
|
-
cursor2 = res.has_more ? res.next_cursor : void 0;
|
|
67556
|
-
} while (cursor2);
|
|
67557
|
-
return all;
|
|
67586
|
+
return readAllPages((cursor2) => this.request("GET", ENDPOINTS.AGENT_TASKS(orgId, agentId), void 0, { limit: 100, cursor: cursor2 }));
|
|
67558
67587
|
}
|
|
67559
67588
|
// ---- Machines (org-scoped) ----
|
|
67560
67589
|
async getMachines(orgId) {
|
|
@@ -68439,6 +68468,19 @@ var ParallClient = class _ParallClient extends ChatBookmarksClient {
|
|
|
68439
68468
|
res.url = this.absoluteMediaUrl(res.url);
|
|
68440
68469
|
return res;
|
|
68441
68470
|
}
|
|
68471
|
+
/**
|
|
68472
|
+
* Sign the same kind of URL for a picture a Wiki document references.
|
|
68473
|
+
* `src` goes as the document's renderer hands it over (written or
|
|
68474
|
+
* percent-encoded); the server resolves it against `document_path`, applies
|
|
68475
|
+
* a `rev=` pin in it over `ref`, and checks read access on the file it
|
|
68476
|
+
* names. A src that is not a wiki path answers 400 `NOT_WIKI_FILE`.
|
|
68477
|
+
*/
|
|
68478
|
+
async getWikiDocumentImagePreviewUrl(orgId, wikiId, params) {
|
|
68479
|
+
const res = await this.request("POST", ENDPOINTS.WIKI_DOCUMENT_IMAGE_PREVIEW_URL(orgId, wikiId), params);
|
|
68480
|
+
if (res.url)
|
|
68481
|
+
res.url = this.absoluteMediaUrl(res.url);
|
|
68482
|
+
return res;
|
|
68483
|
+
}
|
|
68442
68484
|
// ---- Wiki Path Scopes (AFCS ACL) ----
|
|
68443
68485
|
async getWikiPathScopes(orgId, wikiId) {
|
|
68444
68486
|
const res = await this.request("GET", ENDPOINTS.WIKI_PATH_SCOPES(orgId, wikiId));
|