@parall/daemon 1.89.0 → 1.90.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 +29 -21
- package/bundle/parall-claude-agent.js +30 -21
- package/bundle/parall-codex-agent.js +30 -21
- package/bundle/parall-daemon.js +38 -22
- 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.90.0",
|
|
3
|
+
"built_at": "2026-11-10T01:24:38.066Z",
|
|
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": "0e2a65b50382cb6d3fad400477eb98dc08f960e3dfeb7bfb298a824e1b2da9ec",
|
|
20
|
+
"size": 3100516
|
|
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": "6d8d89365dc209af4b6bbfab169a8c4200b7bb21988ce426fb32fb8435f9cef9",
|
|
28
|
+
"size": 3122937
|
|
29
29
|
},
|
|
30
30
|
"parall-codex-agent.js": {
|
|
31
|
-
"sha256": "
|
|
32
|
-
"size":
|
|
31
|
+
"sha256": "13bac22d259bdfce1f410961db17baecd41e6788374ecd631e7597b7a9765d2b",
|
|
32
|
+
"size": 3132375
|
|
33
33
|
},
|
|
34
34
|
"parall-daemon.js": {
|
|
35
|
-
"sha256": "
|
|
36
|
-
"size":
|
|
35
|
+
"sha256": "dd336c746aa3db893ffe0186190246bb1959c55e0485d18126cdb11c10cfddad",
|
|
36
|
+
"size": 3300033
|
|
37
37
|
},
|
|
38
38
|
"parall-openclaw-agent.js": {
|
|
39
39
|
"sha256": "856a1c3a9ae0ffef8efe2481fa1171dbeb1d67cccb88616aa9bf16da96a69355",
|
|
40
40
|
"size": 9923
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
|
-
"signature": "
|
|
43
|
+
"signature": "EWy+/bq35RlPdMW23nLCBJK0lofVTlMVzox6xbxaqFMJGPnIgdfj6MXL+Sj+LNNh2klP8Sp1IqRwRZkRBM+NCg=="
|
|
44
44
|
}
|
|
@@ -65107,7 +65107,20 @@ var ENDPOINTS = {
|
|
|
65107
65107
|
ORG_CLIP_MCP_OAUTH_DISCONNECT_BY_ID: (orgId, clipId, configId) => `/api/v1/orgs/${orgId}/clip-registry/${clipId}/mcp-configs/${configId}/oauth/disconnect`
|
|
65108
65108
|
};
|
|
65109
65109
|
|
|
65110
|
+
// ts/sdk/dist/pagination.js
|
|
65111
|
+
async function readAllPages(fetchPage) {
|
|
65112
|
+
const all = [];
|
|
65113
|
+
let cursor2;
|
|
65114
|
+
do {
|
|
65115
|
+
const page = await fetchPage(cursor2);
|
|
65116
|
+
all.push(...page.data);
|
|
65117
|
+
cursor2 = page.has_more ? page.next_cursor : void 0;
|
|
65118
|
+
} while (cursor2);
|
|
65119
|
+
return all;
|
|
65120
|
+
}
|
|
65121
|
+
|
|
65110
65122
|
// ts/sdk/dist/project-task-client.js
|
|
65123
|
+
var SUBTASK_PAGE_SIZE = 200;
|
|
65111
65124
|
var ProjectTaskClient = class {
|
|
65112
65125
|
async createTask(orgId, data2) {
|
|
65113
65126
|
return this.request("POST", ENDPOINTS.TASKS(orgId), data2);
|
|
@@ -65196,9 +65209,13 @@ var ProjectTaskClient = class {
|
|
|
65196
65209
|
const res = await this.request("GET", ENDPOINTS.MESSAGE_WATCHING(threadRootId));
|
|
65197
65210
|
return res.watching;
|
|
65198
65211
|
}
|
|
65212
|
+
/**
|
|
65213
|
+
* Every direct child of a task. The endpoint pages (50 rows by default), so
|
|
65214
|
+
* this reads all pages: a caller that stopped at the first page would drop
|
|
65215
|
+
* the newest subtasks once a parent passes one page.
|
|
65216
|
+
*/
|
|
65199
65217
|
async getSubtasks(orgId, taskId) {
|
|
65200
|
-
|
|
65201
|
-
return res.data;
|
|
65218
|
+
return readAllPages((cursor2) => this.request("GET", ENDPOINTS.TASK_SUBTASKS(orgId, taskId), void 0, { limit: SUBTASK_PAGE_SIZE, cursor: cursor2 }));
|
|
65202
65219
|
}
|
|
65203
65220
|
async createTaskRelation(orgId, taskId, data2) {
|
|
65204
65221
|
return this.request("POST", ENDPOINTS.TASK_RELATIONS(orgId, taskId), data2);
|
|
@@ -66299,6 +66316,14 @@ var AgentTeamOnlyClient = class extends AgentCallerScopeClient {
|
|
|
66299
66316
|
async setAgentTeamOnly(orgId, enabled) {
|
|
66300
66317
|
return this.request("PUT", agentTeamOnlyPath(orgId), { enabled });
|
|
66301
66318
|
}
|
|
66319
|
+
/**
|
|
66320
|
+
* The agents the signed-in person cannot reach while the switch is on, each
|
|
66321
|
+
* with the Team it works for (design §3.5). Empty while it is off, and for
|
|
66322
|
+
* the organization's owners and admins.
|
|
66323
|
+
*/
|
|
66324
|
+
async getUnreachableAgents(orgId) {
|
|
66325
|
+
return this.request("GET", `${API_BASE2}/orgs/${orgId}/me/unreachable-agents`);
|
|
66326
|
+
}
|
|
66302
66327
|
};
|
|
66303
66328
|
|
|
66304
66329
|
// ts/sdk/dist/agent-owning-team-client.js
|
|
@@ -67131,14 +67156,7 @@ var ParallClient = class _ParallClient extends ChatBookmarksClient {
|
|
|
67131
67156
|
// command so an agent answering "what's on X's plate" sees the full
|
|
67132
67157
|
// backlog, not just the first page.
|
|
67133
67158
|
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;
|
|
67159
|
+
return readAllPages((cursor2) => this.getMemberTasks(orgId, memberId, { cursor: cursor2, limit: 100 }));
|
|
67142
67160
|
}
|
|
67143
67161
|
// ---- Invitations ----
|
|
67144
67162
|
async createInvitation(orgId, email, role) {
|
|
@@ -67544,17 +67562,7 @@ var ParallClient = class _ParallClient extends ChatBookmarksClient {
|
|
|
67544
67562
|
* deliberately have no WorkItem behind them.
|
|
67545
67563
|
*/
|
|
67546
67564
|
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;
|
|
67565
|
+
return readAllPages((cursor2) => this.request("GET", ENDPOINTS.AGENT_TASKS(orgId, agentId), void 0, { limit: 100, cursor: cursor2 }));
|
|
67558
67566
|
}
|
|
67559
67567
|
// ---- Machines (org-scoped) ----
|
|
67560
67568
|
async getMachines(orgId) {
|
|
@@ -52916,6 +52916,7 @@ var WS_EVENTS = {
|
|
|
52916
52916
|
CHAT_INVITATION_REVOKED: "chat_invitation.revoked",
|
|
52917
52917
|
ORG_JOIN_REQUEST_NEW: "org.join_request.new",
|
|
52918
52918
|
ORG_INVITE_LINK_JOINED: "org.invite_link.joined",
|
|
52919
|
+
ORG_MEMBER_JOINED: "org.member.joined",
|
|
52919
52920
|
ORG_MEMBER_REMOVED: "org.member.removed",
|
|
52920
52921
|
ORG_MEMBER_PROFILE_UPDATED: "org.member.profile.updated",
|
|
52921
52922
|
APP_DATA_CHANGED: "app.data.changed",
|
|
@@ -52975,7 +52976,20 @@ var WS_EVENTS = {
|
|
|
52975
52976
|
CLIP_UPDATED: "clip.updated"
|
|
52976
52977
|
};
|
|
52977
52978
|
|
|
52979
|
+
// ts/sdk/dist/pagination.js
|
|
52980
|
+
async function readAllPages(fetchPage) {
|
|
52981
|
+
const all = [];
|
|
52982
|
+
let cursor;
|
|
52983
|
+
do {
|
|
52984
|
+
const page = await fetchPage(cursor);
|
|
52985
|
+
all.push(...page.data);
|
|
52986
|
+
cursor = page.has_more ? page.next_cursor : void 0;
|
|
52987
|
+
} while (cursor);
|
|
52988
|
+
return all;
|
|
52989
|
+
}
|
|
52990
|
+
|
|
52978
52991
|
// ts/sdk/dist/project-task-client.js
|
|
52992
|
+
var SUBTASK_PAGE_SIZE = 200;
|
|
52979
52993
|
var ProjectTaskClient = class {
|
|
52980
52994
|
async createTask(orgId, data) {
|
|
52981
52995
|
return this.request("POST", ENDPOINTS.TASKS(orgId), data);
|
|
@@ -53064,9 +53078,13 @@ var ProjectTaskClient = class {
|
|
|
53064
53078
|
const res = await this.request("GET", ENDPOINTS.MESSAGE_WATCHING(threadRootId));
|
|
53065
53079
|
return res.watching;
|
|
53066
53080
|
}
|
|
53081
|
+
/**
|
|
53082
|
+
* Every direct child of a task. The endpoint pages (50 rows by default), so
|
|
53083
|
+
* this reads all pages: a caller that stopped at the first page would drop
|
|
53084
|
+
* the newest subtasks once a parent passes one page.
|
|
53085
|
+
*/
|
|
53067
53086
|
async getSubtasks(orgId, taskId) {
|
|
53068
|
-
|
|
53069
|
-
return res.data;
|
|
53087
|
+
return readAllPages((cursor) => this.request("GET", ENDPOINTS.TASK_SUBTASKS(orgId, taskId), void 0, { limit: SUBTASK_PAGE_SIZE, cursor }));
|
|
53070
53088
|
}
|
|
53071
53089
|
async createTaskRelation(orgId, taskId, data) {
|
|
53072
53090
|
return this.request("POST", ENDPOINTS.TASK_RELATIONS(orgId, taskId), data);
|
|
@@ -54167,6 +54185,14 @@ var AgentTeamOnlyClient = class extends AgentCallerScopeClient {
|
|
|
54167
54185
|
async setAgentTeamOnly(orgId, enabled) {
|
|
54168
54186
|
return this.request("PUT", agentTeamOnlyPath(orgId), { enabled });
|
|
54169
54187
|
}
|
|
54188
|
+
/**
|
|
54189
|
+
* The agents the signed-in person cannot reach while the switch is on, each
|
|
54190
|
+
* with the Team it works for (design §3.5). Empty while it is off, and for
|
|
54191
|
+
* the organization's owners and admins.
|
|
54192
|
+
*/
|
|
54193
|
+
async getUnreachableAgents(orgId) {
|
|
54194
|
+
return this.request("GET", `${API_BASE2}/orgs/${orgId}/me/unreachable-agents`);
|
|
54195
|
+
}
|
|
54170
54196
|
};
|
|
54171
54197
|
|
|
54172
54198
|
// ts/sdk/dist/agent-owning-team-client.js
|
|
@@ -54999,14 +55025,7 @@ var ParallClient = class _ParallClient extends ChatBookmarksClient {
|
|
|
54999
55025
|
// command so an agent answering "what's on X's plate" sees the full
|
|
55000
55026
|
// backlog, not just the first page.
|
|
55001
55027
|
async getMemberTasksAll(orgId, memberId) {
|
|
55002
|
-
|
|
55003
|
-
let cursor;
|
|
55004
|
-
do {
|
|
55005
|
-
const res = await this.getMemberTasks(orgId, memberId, { cursor, limit: 100 });
|
|
55006
|
-
all.push(...res.data);
|
|
55007
|
-
cursor = res.has_more ? res.next_cursor : void 0;
|
|
55008
|
-
} while (cursor);
|
|
55009
|
-
return all;
|
|
55028
|
+
return readAllPages((cursor) => this.getMemberTasks(orgId, memberId, { cursor, limit: 100 }));
|
|
55010
55029
|
}
|
|
55011
55030
|
// ---- Invitations ----
|
|
55012
55031
|
async createInvitation(orgId, email, role) {
|
|
@@ -55412,17 +55431,7 @@ var ParallClient = class _ParallClient extends ChatBookmarksClient {
|
|
|
55412
55431
|
* deliberately have no WorkItem behind them.
|
|
55413
55432
|
*/
|
|
55414
55433
|
async getAgentTasks(orgId, agentId) {
|
|
55415
|
-
|
|
55416
|
-
let cursor;
|
|
55417
|
-
do {
|
|
55418
|
-
const params = { limit: "100" };
|
|
55419
|
-
if (cursor)
|
|
55420
|
-
params.cursor = cursor;
|
|
55421
|
-
const res = await this.request("GET", ENDPOINTS.AGENT_TASKS(orgId, agentId), void 0, params);
|
|
55422
|
-
all.push(...res.data);
|
|
55423
|
-
cursor = res.has_more ? res.next_cursor : void 0;
|
|
55424
|
-
} while (cursor);
|
|
55425
|
-
return all;
|
|
55434
|
+
return readAllPages((cursor) => this.request("GET", ENDPOINTS.AGENT_TASKS(orgId, agentId), void 0, { limit: 100, cursor }));
|
|
55426
55435
|
}
|
|
55427
55436
|
// ---- Machines (org-scoped) ----
|
|
55428
55437
|
async getMachines(orgId) {
|
|
@@ -52916,6 +52916,7 @@ var WS_EVENTS = {
|
|
|
52916
52916
|
CHAT_INVITATION_REVOKED: "chat_invitation.revoked",
|
|
52917
52917
|
ORG_JOIN_REQUEST_NEW: "org.join_request.new",
|
|
52918
52918
|
ORG_INVITE_LINK_JOINED: "org.invite_link.joined",
|
|
52919
|
+
ORG_MEMBER_JOINED: "org.member.joined",
|
|
52919
52920
|
ORG_MEMBER_REMOVED: "org.member.removed",
|
|
52920
52921
|
ORG_MEMBER_PROFILE_UPDATED: "org.member.profile.updated",
|
|
52921
52922
|
APP_DATA_CHANGED: "app.data.changed",
|
|
@@ -52975,7 +52976,20 @@ var WS_EVENTS = {
|
|
|
52975
52976
|
CLIP_UPDATED: "clip.updated"
|
|
52976
52977
|
};
|
|
52977
52978
|
|
|
52979
|
+
// ts/sdk/dist/pagination.js
|
|
52980
|
+
async function readAllPages(fetchPage) {
|
|
52981
|
+
const all = [];
|
|
52982
|
+
let cursor;
|
|
52983
|
+
do {
|
|
52984
|
+
const page = await fetchPage(cursor);
|
|
52985
|
+
all.push(...page.data);
|
|
52986
|
+
cursor = page.has_more ? page.next_cursor : void 0;
|
|
52987
|
+
} while (cursor);
|
|
52988
|
+
return all;
|
|
52989
|
+
}
|
|
52990
|
+
|
|
52978
52991
|
// ts/sdk/dist/project-task-client.js
|
|
52992
|
+
var SUBTASK_PAGE_SIZE = 200;
|
|
52979
52993
|
var ProjectTaskClient = class {
|
|
52980
52994
|
async createTask(orgId, data) {
|
|
52981
52995
|
return this.request("POST", ENDPOINTS.TASKS(orgId), data);
|
|
@@ -53064,9 +53078,13 @@ var ProjectTaskClient = class {
|
|
|
53064
53078
|
const res = await this.request("GET", ENDPOINTS.MESSAGE_WATCHING(threadRootId));
|
|
53065
53079
|
return res.watching;
|
|
53066
53080
|
}
|
|
53081
|
+
/**
|
|
53082
|
+
* Every direct child of a task. The endpoint pages (50 rows by default), so
|
|
53083
|
+
* this reads all pages: a caller that stopped at the first page would drop
|
|
53084
|
+
* the newest subtasks once a parent passes one page.
|
|
53085
|
+
*/
|
|
53067
53086
|
async getSubtasks(orgId, taskId) {
|
|
53068
|
-
|
|
53069
|
-
return res.data;
|
|
53087
|
+
return readAllPages((cursor) => this.request("GET", ENDPOINTS.TASK_SUBTASKS(orgId, taskId), void 0, { limit: SUBTASK_PAGE_SIZE, cursor }));
|
|
53070
53088
|
}
|
|
53071
53089
|
async createTaskRelation(orgId, taskId, data) {
|
|
53072
53090
|
return this.request("POST", ENDPOINTS.TASK_RELATIONS(orgId, taskId), data);
|
|
@@ -54167,6 +54185,14 @@ var AgentTeamOnlyClient = class extends AgentCallerScopeClient {
|
|
|
54167
54185
|
async setAgentTeamOnly(orgId, enabled) {
|
|
54168
54186
|
return this.request("PUT", agentTeamOnlyPath(orgId), { enabled });
|
|
54169
54187
|
}
|
|
54188
|
+
/**
|
|
54189
|
+
* The agents the signed-in person cannot reach while the switch is on, each
|
|
54190
|
+
* with the Team it works for (design §3.5). Empty while it is off, and for
|
|
54191
|
+
* the organization's owners and admins.
|
|
54192
|
+
*/
|
|
54193
|
+
async getUnreachableAgents(orgId) {
|
|
54194
|
+
return this.request("GET", `${API_BASE2}/orgs/${orgId}/me/unreachable-agents`);
|
|
54195
|
+
}
|
|
54170
54196
|
};
|
|
54171
54197
|
|
|
54172
54198
|
// ts/sdk/dist/agent-owning-team-client.js
|
|
@@ -54999,14 +55025,7 @@ var ParallClient = class _ParallClient extends ChatBookmarksClient {
|
|
|
54999
55025
|
// command so an agent answering "what's on X's plate" sees the full
|
|
55000
55026
|
// backlog, not just the first page.
|
|
55001
55027
|
async getMemberTasksAll(orgId, memberId) {
|
|
55002
|
-
|
|
55003
|
-
let cursor;
|
|
55004
|
-
do {
|
|
55005
|
-
const res = await this.getMemberTasks(orgId, memberId, { cursor, limit: 100 });
|
|
55006
|
-
all.push(...res.data);
|
|
55007
|
-
cursor = res.has_more ? res.next_cursor : void 0;
|
|
55008
|
-
} while (cursor);
|
|
55009
|
-
return all;
|
|
55028
|
+
return readAllPages((cursor) => this.getMemberTasks(orgId, memberId, { cursor, limit: 100 }));
|
|
55010
55029
|
}
|
|
55011
55030
|
// ---- Invitations ----
|
|
55012
55031
|
async createInvitation(orgId, email, role) {
|
|
@@ -55412,17 +55431,7 @@ var ParallClient = class _ParallClient extends ChatBookmarksClient {
|
|
|
55412
55431
|
* deliberately have no WorkItem behind them.
|
|
55413
55432
|
*/
|
|
55414
55433
|
async getAgentTasks(orgId, agentId) {
|
|
55415
|
-
|
|
55416
|
-
let cursor;
|
|
55417
|
-
do {
|
|
55418
|
-
const params = { limit: "100" };
|
|
55419
|
-
if (cursor)
|
|
55420
|
-
params.cursor = cursor;
|
|
55421
|
-
const res = await this.request("GET", ENDPOINTS.AGENT_TASKS(orgId, agentId), void 0, params);
|
|
55422
|
-
all.push(...res.data);
|
|
55423
|
-
cursor = res.has_more ? res.next_cursor : void 0;
|
|
55424
|
-
} while (cursor);
|
|
55425
|
-
return all;
|
|
55434
|
+
return readAllPages((cursor) => this.request("GET", ENDPOINTS.AGENT_TASKS(orgId, agentId), void 0, { limit: 100, cursor }));
|
|
55426
55435
|
}
|
|
55427
55436
|
// ---- Machines (org-scoped) ----
|
|
55428
55437
|
async getMachines(orgId) {
|
package/bundle/parall-daemon.js
CHANGED
|
@@ -1822,6 +1822,7 @@ var init_constants = __esm({
|
|
|
1822
1822
|
CHAT_INVITATION_REVOKED: "chat_invitation.revoked",
|
|
1823
1823
|
ORG_JOIN_REQUEST_NEW: "org.join_request.new",
|
|
1824
1824
|
ORG_INVITE_LINK_JOINED: "org.invite_link.joined",
|
|
1825
|
+
ORG_MEMBER_JOINED: "org.member.joined",
|
|
1825
1826
|
ORG_MEMBER_REMOVED: "org.member.removed",
|
|
1826
1827
|
ORG_MEMBER_PROFILE_UPDATED: "org.member.profile.updated",
|
|
1827
1828
|
APP_DATA_CHANGED: "app.data.changed",
|
|
@@ -1907,12 +1908,31 @@ var init_constants = __esm({
|
|
|
1907
1908
|
}
|
|
1908
1909
|
});
|
|
1909
1910
|
|
|
1911
|
+
// ts/sdk/dist/pagination.js
|
|
1912
|
+
async function readAllPages(fetchPage) {
|
|
1913
|
+
const all = [];
|
|
1914
|
+
let cursor;
|
|
1915
|
+
do {
|
|
1916
|
+
const page = await fetchPage(cursor);
|
|
1917
|
+
all.push(...page.data);
|
|
1918
|
+
cursor = page.has_more ? page.next_cursor : void 0;
|
|
1919
|
+
} while (cursor);
|
|
1920
|
+
return all;
|
|
1921
|
+
}
|
|
1922
|
+
var init_pagination = __esm({
|
|
1923
|
+
"ts/sdk/dist/pagination.js"() {
|
|
1924
|
+
"use strict";
|
|
1925
|
+
}
|
|
1926
|
+
});
|
|
1927
|
+
|
|
1910
1928
|
// ts/sdk/dist/project-task-client.js
|
|
1911
|
-
var ProjectTaskClient;
|
|
1929
|
+
var SUBTASK_PAGE_SIZE, ProjectTaskClient;
|
|
1912
1930
|
var init_project_task_client = __esm({
|
|
1913
1931
|
"ts/sdk/dist/project-task-client.js"() {
|
|
1914
1932
|
"use strict";
|
|
1915
1933
|
init_constants();
|
|
1934
|
+
init_pagination();
|
|
1935
|
+
SUBTASK_PAGE_SIZE = 200;
|
|
1916
1936
|
ProjectTaskClient = class {
|
|
1917
1937
|
async createTask(orgId, data) {
|
|
1918
1938
|
return this.request("POST", ENDPOINTS.TASKS(orgId), data);
|
|
@@ -2001,9 +2021,13 @@ var init_project_task_client = __esm({
|
|
|
2001
2021
|
const res = await this.request("GET", ENDPOINTS.MESSAGE_WATCHING(threadRootId));
|
|
2002
2022
|
return res.watching;
|
|
2003
2023
|
}
|
|
2024
|
+
/**
|
|
2025
|
+
* Every direct child of a task. The endpoint pages (50 rows by default), so
|
|
2026
|
+
* this reads all pages: a caller that stopped at the first page would drop
|
|
2027
|
+
* the newest subtasks once a parent passes one page.
|
|
2028
|
+
*/
|
|
2004
2029
|
async getSubtasks(orgId, taskId) {
|
|
2005
|
-
|
|
2006
|
-
return res.data;
|
|
2030
|
+
return readAllPages((cursor) => this.request("GET", ENDPOINTS.TASK_SUBTASKS(orgId, taskId), void 0, { limit: SUBTASK_PAGE_SIZE, cursor }));
|
|
2007
2031
|
}
|
|
2008
2032
|
async createTaskRelation(orgId, taskId, data) {
|
|
2009
2033
|
return this.request("POST", ENDPOINTS.TASK_RELATIONS(orgId, taskId), data);
|
|
@@ -3447,6 +3471,14 @@ var init_agent_team_only_client = __esm({
|
|
|
3447
3471
|
async setAgentTeamOnly(orgId, enabled) {
|
|
3448
3472
|
return this.request("PUT", agentTeamOnlyPath(orgId), { enabled });
|
|
3449
3473
|
}
|
|
3474
|
+
/**
|
|
3475
|
+
* The agents the signed-in person cannot reach while the switch is on, each
|
|
3476
|
+
* with the Team it works for (design §3.5). Empty while it is off, and for
|
|
3477
|
+
* the organization's owners and admins.
|
|
3478
|
+
*/
|
|
3479
|
+
async getUnreachableAgents(orgId) {
|
|
3480
|
+
return this.request("GET", `${API_BASE2}/orgs/${orgId}/me/unreachable-agents`);
|
|
3481
|
+
}
|
|
3450
3482
|
};
|
|
3451
3483
|
}
|
|
3452
3484
|
});
|
|
@@ -3868,6 +3900,7 @@ var init_client = __esm({
|
|
|
3868
3900
|
init_fetch_cause();
|
|
3869
3901
|
init_chat_bookmarks_client();
|
|
3870
3902
|
init_wiki_changeset();
|
|
3903
|
+
init_pagination();
|
|
3871
3904
|
init_constants();
|
|
3872
3905
|
ParallClient = class _ParallClient extends ChatBookmarksClient {
|
|
3873
3906
|
baseUrl;
|
|
@@ -4382,14 +4415,7 @@ var init_client = __esm({
|
|
|
4382
4415
|
// command so an agent answering "what's on X's plate" sees the full
|
|
4383
4416
|
// backlog, not just the first page.
|
|
4384
4417
|
async getMemberTasksAll(orgId, memberId) {
|
|
4385
|
-
|
|
4386
|
-
let cursor;
|
|
4387
|
-
do {
|
|
4388
|
-
const res = await this.getMemberTasks(orgId, memberId, { cursor, limit: 100 });
|
|
4389
|
-
all.push(...res.data);
|
|
4390
|
-
cursor = res.has_more ? res.next_cursor : void 0;
|
|
4391
|
-
} while (cursor);
|
|
4392
|
-
return all;
|
|
4418
|
+
return readAllPages((cursor) => this.getMemberTasks(orgId, memberId, { cursor, limit: 100 }));
|
|
4393
4419
|
}
|
|
4394
4420
|
// ---- Invitations ----
|
|
4395
4421
|
async createInvitation(orgId, email, role) {
|
|
@@ -4795,17 +4821,7 @@ var init_client = __esm({
|
|
|
4795
4821
|
* deliberately have no WorkItem behind them.
|
|
4796
4822
|
*/
|
|
4797
4823
|
async getAgentTasks(orgId, agentId) {
|
|
4798
|
-
|
|
4799
|
-
let cursor;
|
|
4800
|
-
do {
|
|
4801
|
-
const params = { limit: "100" };
|
|
4802
|
-
if (cursor)
|
|
4803
|
-
params.cursor = cursor;
|
|
4804
|
-
const res = await this.request("GET", ENDPOINTS.AGENT_TASKS(orgId, agentId), void 0, params);
|
|
4805
|
-
all.push(...res.data);
|
|
4806
|
-
cursor = res.has_more ? res.next_cursor : void 0;
|
|
4807
|
-
} while (cursor);
|
|
4808
|
-
return all;
|
|
4824
|
+
return readAllPages((cursor) => this.request("GET", ENDPOINTS.AGENT_TASKS(orgId, agentId), void 0, { limit: 100, cursor }));
|
|
4809
4825
|
}
|
|
4810
4826
|
// ---- Machines (org-scoped) ----
|
|
4811
4827
|
async getMachines(orgId) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@parall/daemon",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.90.0",
|
|
4
4
|
"description": "Parall local agent runtime — daemon supervisor + bridge runtimes, bundled as standalone JS files",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
"@opentelemetry/api": "^1.9.0",
|
|
35
35
|
"@pinixai/bb-browser-pro": "0.15.0",
|
|
36
36
|
"ws": "^8.18.0",
|
|
37
|
-
"@parall/agent-core": "1.
|
|
38
|
-
"@parall/
|
|
39
|
-
"@parall/
|
|
40
|
-
"@parall/
|
|
41
|
-
"@parall/
|
|
37
|
+
"@parall/agent-core": "1.90.0",
|
|
38
|
+
"@parall/claude-agent": "1.90.0",
|
|
39
|
+
"@parall/codex-agent": "1.90.0",
|
|
40
|
+
"@parall/openclaw-agent": "1.90.0",
|
|
41
|
+
"@parall/sdk": "1.90.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@types/node": "^22.0.0",
|