@parall/daemon 1.88.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.
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "1.88.0",
3
- "built_at": "2026-11-06T07:42:58.684Z",
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": "cea2a3c31d289d29c15e705d77dd818a852a5a6ebcdbc2f8ad837fcd82296848",
20
- "size": 3098450
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": "6ee29682564704e6b2f95282f3f95a6f0064042629dc0e462b4a5331223f680c",
28
- "size": 3119568
27
+ "sha256": "6d8d89365dc209af4b6bbfab169a8c4200b7bb21988ce426fb32fb8435f9cef9",
28
+ "size": 3122937
29
29
  },
30
30
  "parall-codex-agent.js": {
31
- "sha256": "f9ae6b2199fd5d686b1d0fdeffa122d23ef02af5fe88be17d9413c20ce528a19",
32
- "size": 3129006
31
+ "sha256": "13bac22d259bdfce1f410961db17baecd41e6788374ecd631e7597b7a9765d2b",
32
+ "size": 3132375
33
33
  },
34
34
  "parall-daemon.js": {
35
- "sha256": "dd9f53aefca892872fc30299f3146d5e9f262a1570457fb8c97f5733059135d3",
36
- "size": 3296610
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": "85ff1I9bg8t/qJHWAGWNPfACOENEoGHI6aRY/kDaAyecOnkRosHMQLnVK3dP89Mtwl9PirnGOSnE2FSgTMhwAg=="
43
+ "signature": "EWy+/bq35RlPdMW23nLCBJK0lofVTlMVzox6xbxaqFMJGPnIgdfj6MXL+Sj+LNNh2klP8Sp1IqRwRZkRBM+NCg=="
44
44
  }
@@ -64458,6 +64458,7 @@ function teamInviteEndpoints(apiBase) {
64458
64458
  TEAM_INVITE_TEAMS: (token) => `${apiBase}/team-invites/${seg(token)}/teams`,
64459
64459
  TEAM_INVITE_REQUESTS: (token) => `${apiBase}/team-invites/${seg(token)}/requests`,
64460
64460
  TEAM_INVITE_REQUEST_MINE: (token) => `${apiBase}/team-invites/${seg(token)}/requests/mine`,
64461
+ TEAM_INVITE_REQUEST_INTAKE: (token, requestId) => `${apiBase}/team-invites/${seg(token)}/requests/${seg(requestId)}/intake`,
64461
64462
  TEAM_INVITE_REQUEST_CANCEL: (requestId) => `${apiBase}/team-invite-requests/${seg(requestId)}/cancel`,
64462
64463
  TEAM_INVITE_REQUEST_RETRY: (requestId) => `${apiBase}/team-invite-requests/${seg(requestId)}/retry`
64463
64464
  };
@@ -65106,7 +65107,20 @@ var ENDPOINTS = {
65106
65107
  ORG_CLIP_MCP_OAUTH_DISCONNECT_BY_ID: (orgId, clipId, configId) => `/api/v1/orgs/${orgId}/clip-registry/${clipId}/mcp-configs/${configId}/oauth/disconnect`
65107
65108
  };
65108
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
+
65109
65122
  // ts/sdk/dist/project-task-client.js
65123
+ var SUBTASK_PAGE_SIZE = 200;
65110
65124
  var ProjectTaskClient = class {
65111
65125
  async createTask(orgId, data2) {
65112
65126
  return this.request("POST", ENDPOINTS.TASKS(orgId), data2);
@@ -65195,9 +65209,13 @@ var ProjectTaskClient = class {
65195
65209
  const res = await this.request("GET", ENDPOINTS.MESSAGE_WATCHING(threadRootId));
65196
65210
  return res.watching;
65197
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
+ */
65198
65217
  async getSubtasks(orgId, taskId) {
65199
- const res = await this.request("GET", ENDPOINTS.TASK_SUBTASKS(orgId, taskId));
65200
- return res.data;
65218
+ return readAllPages((cursor2) => this.request("GET", ENDPOINTS.TASK_SUBTASKS(orgId, taskId), void 0, { limit: SUBTASK_PAGE_SIZE, cursor: cursor2 }));
65201
65219
  }
65202
65220
  async createTaskRelation(orgId, taskId, data2) {
65203
65221
  return this.request("POST", ENDPOINTS.TASK_RELATIONS(orgId, taskId), data2);
@@ -66287,8 +66305,29 @@ var AgentCallerScopeClient = class extends ChatTeamGrantClient {
66287
66305
  }
66288
66306
  };
66289
66307
 
66308
+ // ts/sdk/dist/agent-team-only-client.js
66309
+ var agentTeamOnlyPath = (orgId) => `${API_BASE2}/orgs/${orgId}/agent-team-only`;
66310
+ var AgentTeamOnlyClient = class extends AgentCallerScopeClient {
66311
+ /** The switch, and what turning it on changes. Owners and admins only. */
66312
+ async getAgentTeamOnly(orgId) {
66313
+ return this.request("GET", agentTeamOnlyPath(orgId));
66314
+ }
66315
+ /** Turn the switch on or off. Owners and admins only. */
66316
+ async setAgentTeamOnly(orgId, enabled) {
66317
+ return this.request("PUT", agentTeamOnlyPath(orgId), { enabled });
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
+ }
66327
+ };
66328
+
66290
66329
  // ts/sdk/dist/agent-owning-team-client.js
66291
- var AgentOwningTeamClient = class extends AgentCallerScopeClient {
66330
+ var AgentOwningTeamClient = class extends AgentTeamOnlyClient {
66292
66331
  /**
66293
66332
  * Moves the agent to another Team, or to the organization with `team_id`
66294
66333
  * null. Pass the Team you saw as `expected_team_id`: someone else's change
@@ -66501,6 +66540,12 @@ var TeamInviteClient = class extends BillingClient {
66501
66540
  async getMyTeamInviteRequest(token) {
66502
66541
  return this.request("GET", ENDPOINTS.TEAM_INVITE_REQUEST_MINE(token));
66503
66542
  }
66543
+ /** The requester answers the link's questions for a request that already
66544
+ * finished (no new request). `TEAM_INVITE_INTAKE_INVALID` (400) names the
66545
+ * key in `details.key`. */
66546
+ async submitTeamInviteIntake(token, requestId, intake) {
66547
+ return this.request("PUT", ENDPOINTS.TEAM_INVITE_REQUEST_INTAKE(token, requestId), { intake });
66548
+ }
66504
66549
  /** The requester withdraws a request that is still waiting. */
66505
66550
  async cancelTeamInviteRequest(requestId) {
66506
66551
  return this.request("POST", ENDPOINTS.TEAM_INVITE_REQUEST_CANCEL(requestId));
@@ -66515,8 +66560,20 @@ function errorCode(err) {
66515
66560
  return typeof err === "object" && err !== null ? err.code : void 0;
66516
66561
  }
66517
66562
 
66563
+ // ts/sdk/dist/member-field-client.js
66564
+ var MemberFieldClient = class extends TeamInviteClient {
66565
+ /**
66566
+ * The member changes the value of one of their own fields: signed in only
66567
+ * (an API key gets 403 `JWT_REQUIRED`), 1–200 characters on one line.
66568
+ * Answers with the whole profile and its fields.
66569
+ */
66570
+ async updateMemberField(orgId, userId, key, value) {
66571
+ return this.request("PUT", `${ENDPOINTS.ORG_MEMBER_PROFILE(orgId, userId)}/fields/${encodeURIComponent(key)}`, { value });
66572
+ }
66573
+ };
66574
+
66518
66575
  // ts/sdk/dist/wiki-page-share-client.js
66519
- var WikiPageShareClient = class extends TeamInviteClient {
66576
+ var WikiPageShareClient = class extends MemberFieldClient {
66520
66577
  async listWikiPageShares(orgId, wikiId, path7) {
66521
66578
  const res = await this.request("GET", ENDPOINTS.WIKI_PAGE_SHARES(orgId, wikiId), void 0, { path: path7 });
66522
66579
  return res.data;
@@ -67034,7 +67091,7 @@ var ParallClient = class _ParallClient extends ChatBookmarksClient {
67034
67091
  async updateOrgMember(orgId, userId, role) {
67035
67092
  return this.request("PATCH", ENDPOINTS.ORG_MEMBER(orgId, userId), { role });
67036
67093
  }
67037
- /** Org-scoped public profile (title / description) of any active member. */
67094
+ /** Org-scoped public profile (title / description) and fields of any active member. */
67038
67095
  async getMemberProfile(orgId, userId) {
67039
67096
  return this.request("GET", ENDPOINTS.ORG_MEMBER_PROFILE(orgId, userId));
67040
67097
  }
@@ -67099,14 +67156,7 @@ var ParallClient = class _ParallClient extends ChatBookmarksClient {
67099
67156
  // command so an agent answering "what's on X's plate" sees the full
67100
67157
  // backlog, not just the first page.
67101
67158
  async getMemberTasksAll(orgId, memberId) {
67102
- const all = [];
67103
- let cursor2;
67104
- do {
67105
- const res = await this.getMemberTasks(orgId, memberId, { cursor: cursor2, limit: 100 });
67106
- all.push(...res.data);
67107
- cursor2 = res.has_more ? res.next_cursor : void 0;
67108
- } while (cursor2);
67109
- return all;
67159
+ return readAllPages((cursor2) => this.getMemberTasks(orgId, memberId, { cursor: cursor2, limit: 100 }));
67110
67160
  }
67111
67161
  // ---- Invitations ----
67112
67162
  async createInvitation(orgId, email, role) {
@@ -67512,17 +67562,7 @@ var ParallClient = class _ParallClient extends ChatBookmarksClient {
67512
67562
  * deliberately have no WorkItem behind them.
67513
67563
  */
67514
67564
  async getAgentTasks(orgId, agentId) {
67515
- const all = [];
67516
- let cursor2;
67517
- do {
67518
- const params = { limit: "100" };
67519
- if (cursor2)
67520
- params.cursor = cursor2;
67521
- const res = await this.request("GET", ENDPOINTS.AGENT_TASKS(orgId, agentId), void 0, params);
67522
- all.push(...res.data);
67523
- cursor2 = res.has_more ? res.next_cursor : void 0;
67524
- } while (cursor2);
67525
- return all;
67565
+ return readAllPages((cursor2) => this.request("GET", ENDPOINTS.AGENT_TASKS(orgId, agentId), void 0, { limit: 100, cursor: cursor2 }));
67526
67566
  }
67527
67567
  // ---- Machines (org-scoped) ----
67528
67568
  async getMachines(orgId) {
@@ -52220,6 +52220,7 @@ function teamInviteEndpoints(apiBase) {
52220
52220
  TEAM_INVITE_TEAMS: (token) => `${apiBase}/team-invites/${seg(token)}/teams`,
52221
52221
  TEAM_INVITE_REQUESTS: (token) => `${apiBase}/team-invites/${seg(token)}/requests`,
52222
52222
  TEAM_INVITE_REQUEST_MINE: (token) => `${apiBase}/team-invites/${seg(token)}/requests/mine`,
52223
+ TEAM_INVITE_REQUEST_INTAKE: (token, requestId) => `${apiBase}/team-invites/${seg(token)}/requests/${seg(requestId)}/intake`,
52223
52224
  TEAM_INVITE_REQUEST_CANCEL: (requestId) => `${apiBase}/team-invite-requests/${seg(requestId)}/cancel`,
52224
52225
  TEAM_INVITE_REQUEST_RETRY: (requestId) => `${apiBase}/team-invite-requests/${seg(requestId)}/retry`
52225
52226
  };
@@ -52915,6 +52916,7 @@ var WS_EVENTS = {
52915
52916
  CHAT_INVITATION_REVOKED: "chat_invitation.revoked",
52916
52917
  ORG_JOIN_REQUEST_NEW: "org.join_request.new",
52917
52918
  ORG_INVITE_LINK_JOINED: "org.invite_link.joined",
52919
+ ORG_MEMBER_JOINED: "org.member.joined",
52918
52920
  ORG_MEMBER_REMOVED: "org.member.removed",
52919
52921
  ORG_MEMBER_PROFILE_UPDATED: "org.member.profile.updated",
52920
52922
  APP_DATA_CHANGED: "app.data.changed",
@@ -52974,7 +52976,20 @@ var WS_EVENTS = {
52974
52976
  CLIP_UPDATED: "clip.updated"
52975
52977
  };
52976
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
+
52977
52991
  // ts/sdk/dist/project-task-client.js
52992
+ var SUBTASK_PAGE_SIZE = 200;
52978
52993
  var ProjectTaskClient = class {
52979
52994
  async createTask(orgId, data) {
52980
52995
  return this.request("POST", ENDPOINTS.TASKS(orgId), data);
@@ -53063,9 +53078,13 @@ var ProjectTaskClient = class {
53063
53078
  const res = await this.request("GET", ENDPOINTS.MESSAGE_WATCHING(threadRootId));
53064
53079
  return res.watching;
53065
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
+ */
53066
53086
  async getSubtasks(orgId, taskId) {
53067
- const res = await this.request("GET", ENDPOINTS.TASK_SUBTASKS(orgId, taskId));
53068
- return res.data;
53087
+ return readAllPages((cursor) => this.request("GET", ENDPOINTS.TASK_SUBTASKS(orgId, taskId), void 0, { limit: SUBTASK_PAGE_SIZE, cursor }));
53069
53088
  }
53070
53089
  async createTaskRelation(orgId, taskId, data) {
53071
53090
  return this.request("POST", ENDPOINTS.TASK_RELATIONS(orgId, taskId), data);
@@ -54155,8 +54174,29 @@ var AgentCallerScopeClient = class extends ChatTeamGrantClient {
54155
54174
  }
54156
54175
  };
54157
54176
 
54177
+ // ts/sdk/dist/agent-team-only-client.js
54178
+ var agentTeamOnlyPath = (orgId) => `${API_BASE2}/orgs/${orgId}/agent-team-only`;
54179
+ var AgentTeamOnlyClient = class extends AgentCallerScopeClient {
54180
+ /** The switch, and what turning it on changes. Owners and admins only. */
54181
+ async getAgentTeamOnly(orgId) {
54182
+ return this.request("GET", agentTeamOnlyPath(orgId));
54183
+ }
54184
+ /** Turn the switch on or off. Owners and admins only. */
54185
+ async setAgentTeamOnly(orgId, enabled) {
54186
+ return this.request("PUT", agentTeamOnlyPath(orgId), { enabled });
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
+ }
54196
+ };
54197
+
54158
54198
  // ts/sdk/dist/agent-owning-team-client.js
54159
- var AgentOwningTeamClient = class extends AgentCallerScopeClient {
54199
+ var AgentOwningTeamClient = class extends AgentTeamOnlyClient {
54160
54200
  /**
54161
54201
  * Moves the agent to another Team, or to the organization with `team_id`
54162
54202
  * null. Pass the Team you saw as `expected_team_id`: someone else's change
@@ -54369,6 +54409,12 @@ var TeamInviteClient = class extends BillingClient {
54369
54409
  async getMyTeamInviteRequest(token) {
54370
54410
  return this.request("GET", ENDPOINTS.TEAM_INVITE_REQUEST_MINE(token));
54371
54411
  }
54412
+ /** The requester answers the link's questions for a request that already
54413
+ * finished (no new request). `TEAM_INVITE_INTAKE_INVALID` (400) names the
54414
+ * key in `details.key`. */
54415
+ async submitTeamInviteIntake(token, requestId, intake) {
54416
+ return this.request("PUT", ENDPOINTS.TEAM_INVITE_REQUEST_INTAKE(token, requestId), { intake });
54417
+ }
54372
54418
  /** The requester withdraws a request that is still waiting. */
54373
54419
  async cancelTeamInviteRequest(requestId) {
54374
54420
  return this.request("POST", ENDPOINTS.TEAM_INVITE_REQUEST_CANCEL(requestId));
@@ -54383,8 +54429,20 @@ function errorCode(err) {
54383
54429
  return typeof err === "object" && err !== null ? err.code : void 0;
54384
54430
  }
54385
54431
 
54432
+ // ts/sdk/dist/member-field-client.js
54433
+ var MemberFieldClient = class extends TeamInviteClient {
54434
+ /**
54435
+ * The member changes the value of one of their own fields: signed in only
54436
+ * (an API key gets 403 `JWT_REQUIRED`), 1–200 characters on one line.
54437
+ * Answers with the whole profile and its fields.
54438
+ */
54439
+ async updateMemberField(orgId, userId, key, value) {
54440
+ return this.request("PUT", `${ENDPOINTS.ORG_MEMBER_PROFILE(orgId, userId)}/fields/${encodeURIComponent(key)}`, { value });
54441
+ }
54442
+ };
54443
+
54386
54444
  // ts/sdk/dist/wiki-page-share-client.js
54387
- var WikiPageShareClient = class extends TeamInviteClient {
54445
+ var WikiPageShareClient = class extends MemberFieldClient {
54388
54446
  async listWikiPageShares(orgId, wikiId, path15) {
54389
54447
  const res = await this.request("GET", ENDPOINTS.WIKI_PAGE_SHARES(orgId, wikiId), void 0, { path: path15 });
54390
54448
  return res.data;
@@ -54902,7 +54960,7 @@ var ParallClient = class _ParallClient extends ChatBookmarksClient {
54902
54960
  async updateOrgMember(orgId, userId, role) {
54903
54961
  return this.request("PATCH", ENDPOINTS.ORG_MEMBER(orgId, userId), { role });
54904
54962
  }
54905
- /** Org-scoped public profile (title / description) of any active member. */
54963
+ /** Org-scoped public profile (title / description) and fields of any active member. */
54906
54964
  async getMemberProfile(orgId, userId) {
54907
54965
  return this.request("GET", ENDPOINTS.ORG_MEMBER_PROFILE(orgId, userId));
54908
54966
  }
@@ -54967,14 +55025,7 @@ var ParallClient = class _ParallClient extends ChatBookmarksClient {
54967
55025
  // command so an agent answering "what's on X's plate" sees the full
54968
55026
  // backlog, not just the first page.
54969
55027
  async getMemberTasksAll(orgId, memberId) {
54970
- const all = [];
54971
- let cursor;
54972
- do {
54973
- const res = await this.getMemberTasks(orgId, memberId, { cursor, limit: 100 });
54974
- all.push(...res.data);
54975
- cursor = res.has_more ? res.next_cursor : void 0;
54976
- } while (cursor);
54977
- return all;
55028
+ return readAllPages((cursor) => this.getMemberTasks(orgId, memberId, { cursor, limit: 100 }));
54978
55029
  }
54979
55030
  // ---- Invitations ----
54980
55031
  async createInvitation(orgId, email, role) {
@@ -55380,17 +55431,7 @@ var ParallClient = class _ParallClient extends ChatBookmarksClient {
55380
55431
  * deliberately have no WorkItem behind them.
55381
55432
  */
55382
55433
  async getAgentTasks(orgId, agentId) {
55383
- const all = [];
55384
- let cursor;
55385
- do {
55386
- const params = { limit: "100" };
55387
- if (cursor)
55388
- params.cursor = cursor;
55389
- const res = await this.request("GET", ENDPOINTS.AGENT_TASKS(orgId, agentId), void 0, params);
55390
- all.push(...res.data);
55391
- cursor = res.has_more ? res.next_cursor : void 0;
55392
- } while (cursor);
55393
- return all;
55434
+ return readAllPages((cursor) => this.request("GET", ENDPOINTS.AGENT_TASKS(orgId, agentId), void 0, { limit: 100, cursor }));
55394
55435
  }
55395
55436
  // ---- Machines (org-scoped) ----
55396
55437
  async getMachines(orgId) {
@@ -63989,7 +64030,7 @@ var PARALL_BROWSER_SKILL = `# Parall Browser
63989
64030
 
63990
64031
  \u521B\u5EFA\u662F\u514D\u8D39\u7684\uFF0C\u4E5F\u4E0D\u542F\u52A8\u6D4F\u89C8\u5668\uFF1B\u540E\u7EED Browser Use \u4ECD\u6309\u539F\u89C4\u5219\u6536\u8D39\uFF0C\u521B\u5EFA\u6B21\u6570\u4E0D\u662F\u6267\u884C\u8D39\u7528\u9884\u7B97\u3002
63991
64032
  \u65B0\u5EFA\u4E3A\u7A7A\u767D\u6D4F\u89C8\u5668\uFF0C\u9ED8\u8BA4\u4E0D\u516C\u5F00\uFF0C\u53EA\u7ED9\u521B\u5EFA Agent \u5B8C\u6574 Browser Use \u6743\u9650\uFF1B\u7EF4\u62A4\u4EBA\u4E3A\u6388\u4E88\u6388\u6743\u7684\u771F\u4EBA\u3002
63992
- \u4EE3\u7406\u51ED\u636E\u3001\u7F51\u7AD9\u767B\u5F55\u3001cookie \u548C\u73B0\u6709\u767B\u5F55\u6001\u9ED8\u8BA4\u4E0D\u53EF\u89E6\u78B0\uFF1B\u9700\u8981\u65F6\u8BF7\u4EBA\u5904\u7406\uFF0C\u4E0D\u81EA\u884C\u8BFB\u53D6\u3001\u514B\u9686\u6216\u914D\u7F6E\u3002
64033
+ \u65B0\u5EFA Profile \u6CA1\u6709\u7F51\u7AD9\u767B\u5F55\u6001\uFF1BProfile \u7684\u4F7F\u7528\u6743\u6216\u521B\u5EFA\u6743\u90FD\u4E0D\u7B49\u4E8E\u8D26\u53F7\u51ED\u636E\u6388\u6743\u3002
63993
64034
  \u5220\u9664\u4E0D\u8FD4\u521B\u5EFA\u540D\u989D\uFF1B\u6388\u6743\u5230\u671F\u6216\u64A4\u9500\u53EA\u505C\u6B62\u65B0\u5EFA\uFF0C\u5DF2\u6709\u6D4F\u89C8\u5668\u53CA\u72EC\u7ACB\u4F7F\u7528\u6743\u4FDD\u7559\u3002
63994
64035
 
63995
64036
  - \`HOSTED_CREATION_NOT_ALLOWED\` / \`HOSTED_CREATION_LIMIT\`\uFF1A\u505C\u6B62\u65B0\u5EFA\uFF0C\u8BF7\u771F\u4EBA\u7BA1\u7406\u5458\u67E5\u770B\u6216\u4FEE\u6539\u6388\u6743\uFF1B\u4E0D\u6362 key\u3001\u8EAB\u4EFD\u6216\u5220\u8D44\u6E90\u7ED5\u8FC7\u3002
@@ -63998,6 +64039,13 @@ var PARALL_BROWSER_SKILL = `# Parall Browser
63998
64039
  - \u6062\u590D\u7ED3\u679C \`deleted: true\` \u8868\u793A\u539F Profile \u5DF2\u5220\u9664\uFF0C\u4E0D\u80FD\u627F\u8BFA\u53EF\u7528\uFF0C\u4E5F\u4E0D\u80FD\u901A\u8FC7\u6062\u590D\u53E6\u5EFA\u4E00\u4E2A Profile\u3002
63999
64040
  - \u670D\u52A1\u7AEF\u6CA1\u6709\u6B64\u547D\u4EE4\u6216\u529F\u80FD\u4E0D\u53EF\u7528\u65F6\uFF0C\u5982\u5B9E\u62A5\u544A\u80FD\u529B\u4E0D\u53EF\u7528\uFF0C\u6CBF\u73B0\u6709 Profile \u6388\u6743\u8DEF\u5F84\u5904\u7406\u3002
64000
64041
 
64042
+ ## \u7F51\u7AD9\u767B\u5F55
64043
+
64044
+ \u7528\u6237\u660E\u786E\u6388\u6743\u4F60\u767B\u5F55\u67D0\u4E2A\u8D26\u53F7\uFF0C\u4E14\u8D26\u53F7\u51ED\u636E\u5DF2\u4F5C\u4E3A\u5BC6\u94A5\u7ED9\u5230\u4F60\u65F6\uFF0C\u81EA\u5DF1\u7528 \`parall browser\` \u6253\u5F00\u767B\u5F55\u9875\u3001\u586B\u5199\u5E76\u63D0\u4EA4\u3002
64045
+ \u51ED\u636E\u53EA\u8D70\u5BC6\u94A5\uFF1A\u7F3A\u4E86\u7528 \`parall secrets request\` \u7533\u8BF7\uFF0C\u4E0D\u5728\u804A\u5929\u91CC\u8981\u6216\u4F20\uFF1B\u547D\u4EE4\u91CC\u53EA\u5F15\u7528\u73AF\u5883\u53D8\u91CF\uFF08\u5982 \`fill --text "$SITE_PASSWORD"\`\uFF09\uFF0C\u4E0D\u6253\u5370\u3001\u4E0D\u622A\u56FE\u3001\u4E0D\u5916\u53D1\u5176\u503C\u3002
64046
+ \u9047\u5230\u9A8C\u8BC1\u7801\u3001\u77ED\u4FE1/\u90AE\u7BB1\u9A8C\u8BC1\u7801\u3001\u4E8C\u6B21\u9A8C\u8BC1\u7B49\u987B\u4EBA\u5904\u7406\u7684\u6B65\u9AA4\uFF0C\u505C\u6B62\u64CD\u4F5C\u5E76\u4FDD\u7559\u53EF\u89C1\u9875\u9762\uFF0C\u8BF7\u7528\u6237\u5728 Viewer \u6216 Desktop \u63A5\u7BA1\u5B8C\u6210\uFF0C\u7B49\u7528\u6237\u660E\u786E\u8BF4\u7EE7\u7EED\u518D\u63A5\u7740\u505A\u3002
64047
+ \u4EE3\u7406\u51ED\u636E\u3001cookie \u548C\u5176\u4ED6\u6D4F\u89C8\u5668\u7684\u73B0\u6709\u767B\u5F55\u6001\u4ECD\u4E0D\u53EF\u89E6\u78B0\uFF1B\u9700\u8981\u65F6\u8BF7\u4EBA\u5904\u7406\uFF0C\u4E0D\u81EA\u884C\u8BFB\u53D6\u3001\u590D\u5236\u3001\u5BFC\u5165\u6216\u914D\u7F6E\u3002
64048
+
64001
64049
  ## \u793A\u4F8B\uFF1A\u6253\u5F00\u9875\u9762\uFF0C\u8BFB\u53D6\u6807\u9898\uFF0C\u7559\u7ED9\u7528\u6237\u67E5\u770B
64002
64050
 
64003
64051
  \u4E0B\u9762\u5C16\u62EC\u53F7\u987B\u66FF\u6362\u4E3A\u5B9E\u9645\u8FD4\u56DE\u503C\uFF0C\u4E0D\u8981\u7167\u6284\u3002
@@ -52220,6 +52220,7 @@ function teamInviteEndpoints(apiBase) {
52220
52220
  TEAM_INVITE_TEAMS: (token) => `${apiBase}/team-invites/${seg(token)}/teams`,
52221
52221
  TEAM_INVITE_REQUESTS: (token) => `${apiBase}/team-invites/${seg(token)}/requests`,
52222
52222
  TEAM_INVITE_REQUEST_MINE: (token) => `${apiBase}/team-invites/${seg(token)}/requests/mine`,
52223
+ TEAM_INVITE_REQUEST_INTAKE: (token, requestId) => `${apiBase}/team-invites/${seg(token)}/requests/${seg(requestId)}/intake`,
52223
52224
  TEAM_INVITE_REQUEST_CANCEL: (requestId) => `${apiBase}/team-invite-requests/${seg(requestId)}/cancel`,
52224
52225
  TEAM_INVITE_REQUEST_RETRY: (requestId) => `${apiBase}/team-invite-requests/${seg(requestId)}/retry`
52225
52226
  };
@@ -52915,6 +52916,7 @@ var WS_EVENTS = {
52915
52916
  CHAT_INVITATION_REVOKED: "chat_invitation.revoked",
52916
52917
  ORG_JOIN_REQUEST_NEW: "org.join_request.new",
52917
52918
  ORG_INVITE_LINK_JOINED: "org.invite_link.joined",
52919
+ ORG_MEMBER_JOINED: "org.member.joined",
52918
52920
  ORG_MEMBER_REMOVED: "org.member.removed",
52919
52921
  ORG_MEMBER_PROFILE_UPDATED: "org.member.profile.updated",
52920
52922
  APP_DATA_CHANGED: "app.data.changed",
@@ -52974,7 +52976,20 @@ var WS_EVENTS = {
52974
52976
  CLIP_UPDATED: "clip.updated"
52975
52977
  };
52976
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
+
52977
52991
  // ts/sdk/dist/project-task-client.js
52992
+ var SUBTASK_PAGE_SIZE = 200;
52978
52993
  var ProjectTaskClient = class {
52979
52994
  async createTask(orgId, data) {
52980
52995
  return this.request("POST", ENDPOINTS.TASKS(orgId), data);
@@ -53063,9 +53078,13 @@ var ProjectTaskClient = class {
53063
53078
  const res = await this.request("GET", ENDPOINTS.MESSAGE_WATCHING(threadRootId));
53064
53079
  return res.watching;
53065
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
+ */
53066
53086
  async getSubtasks(orgId, taskId) {
53067
- const res = await this.request("GET", ENDPOINTS.TASK_SUBTASKS(orgId, taskId));
53068
- return res.data;
53087
+ return readAllPages((cursor) => this.request("GET", ENDPOINTS.TASK_SUBTASKS(orgId, taskId), void 0, { limit: SUBTASK_PAGE_SIZE, cursor }));
53069
53088
  }
53070
53089
  async createTaskRelation(orgId, taskId, data) {
53071
53090
  return this.request("POST", ENDPOINTS.TASK_RELATIONS(orgId, taskId), data);
@@ -54155,8 +54174,29 @@ var AgentCallerScopeClient = class extends ChatTeamGrantClient {
54155
54174
  }
54156
54175
  };
54157
54176
 
54177
+ // ts/sdk/dist/agent-team-only-client.js
54178
+ var agentTeamOnlyPath = (orgId) => `${API_BASE2}/orgs/${orgId}/agent-team-only`;
54179
+ var AgentTeamOnlyClient = class extends AgentCallerScopeClient {
54180
+ /** The switch, and what turning it on changes. Owners and admins only. */
54181
+ async getAgentTeamOnly(orgId) {
54182
+ return this.request("GET", agentTeamOnlyPath(orgId));
54183
+ }
54184
+ /** Turn the switch on or off. Owners and admins only. */
54185
+ async setAgentTeamOnly(orgId, enabled) {
54186
+ return this.request("PUT", agentTeamOnlyPath(orgId), { enabled });
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
+ }
54196
+ };
54197
+
54158
54198
  // ts/sdk/dist/agent-owning-team-client.js
54159
- var AgentOwningTeamClient = class extends AgentCallerScopeClient {
54199
+ var AgentOwningTeamClient = class extends AgentTeamOnlyClient {
54160
54200
  /**
54161
54201
  * Moves the agent to another Team, or to the organization with `team_id`
54162
54202
  * null. Pass the Team you saw as `expected_team_id`: someone else's change
@@ -54369,6 +54409,12 @@ var TeamInviteClient = class extends BillingClient {
54369
54409
  async getMyTeamInviteRequest(token) {
54370
54410
  return this.request("GET", ENDPOINTS.TEAM_INVITE_REQUEST_MINE(token));
54371
54411
  }
54412
+ /** The requester answers the link's questions for a request that already
54413
+ * finished (no new request). `TEAM_INVITE_INTAKE_INVALID` (400) names the
54414
+ * key in `details.key`. */
54415
+ async submitTeamInviteIntake(token, requestId, intake) {
54416
+ return this.request("PUT", ENDPOINTS.TEAM_INVITE_REQUEST_INTAKE(token, requestId), { intake });
54417
+ }
54372
54418
  /** The requester withdraws a request that is still waiting. */
54373
54419
  async cancelTeamInviteRequest(requestId) {
54374
54420
  return this.request("POST", ENDPOINTS.TEAM_INVITE_REQUEST_CANCEL(requestId));
@@ -54383,8 +54429,20 @@ function errorCode(err) {
54383
54429
  return typeof err === "object" && err !== null ? err.code : void 0;
54384
54430
  }
54385
54431
 
54432
+ // ts/sdk/dist/member-field-client.js
54433
+ var MemberFieldClient = class extends TeamInviteClient {
54434
+ /**
54435
+ * The member changes the value of one of their own fields: signed in only
54436
+ * (an API key gets 403 `JWT_REQUIRED`), 1–200 characters on one line.
54437
+ * Answers with the whole profile and its fields.
54438
+ */
54439
+ async updateMemberField(orgId, userId, key, value) {
54440
+ return this.request("PUT", `${ENDPOINTS.ORG_MEMBER_PROFILE(orgId, userId)}/fields/${encodeURIComponent(key)}`, { value });
54441
+ }
54442
+ };
54443
+
54386
54444
  // ts/sdk/dist/wiki-page-share-client.js
54387
- var WikiPageShareClient = class extends TeamInviteClient {
54445
+ var WikiPageShareClient = class extends MemberFieldClient {
54388
54446
  async listWikiPageShares(orgId, wikiId, path15) {
54389
54447
  const res = await this.request("GET", ENDPOINTS.WIKI_PAGE_SHARES(orgId, wikiId), void 0, { path: path15 });
54390
54448
  return res.data;
@@ -54902,7 +54960,7 @@ var ParallClient = class _ParallClient extends ChatBookmarksClient {
54902
54960
  async updateOrgMember(orgId, userId, role) {
54903
54961
  return this.request("PATCH", ENDPOINTS.ORG_MEMBER(orgId, userId), { role });
54904
54962
  }
54905
- /** Org-scoped public profile (title / description) of any active member. */
54963
+ /** Org-scoped public profile (title / description) and fields of any active member. */
54906
54964
  async getMemberProfile(orgId, userId) {
54907
54965
  return this.request("GET", ENDPOINTS.ORG_MEMBER_PROFILE(orgId, userId));
54908
54966
  }
@@ -54967,14 +55025,7 @@ var ParallClient = class _ParallClient extends ChatBookmarksClient {
54967
55025
  // command so an agent answering "what's on X's plate" sees the full
54968
55026
  // backlog, not just the first page.
54969
55027
  async getMemberTasksAll(orgId, memberId) {
54970
- const all = [];
54971
- let cursor;
54972
- do {
54973
- const res = await this.getMemberTasks(orgId, memberId, { cursor, limit: 100 });
54974
- all.push(...res.data);
54975
- cursor = res.has_more ? res.next_cursor : void 0;
54976
- } while (cursor);
54977
- return all;
55028
+ return readAllPages((cursor) => this.getMemberTasks(orgId, memberId, { cursor, limit: 100 }));
54978
55029
  }
54979
55030
  // ---- Invitations ----
54980
55031
  async createInvitation(orgId, email, role) {
@@ -55380,17 +55431,7 @@ var ParallClient = class _ParallClient extends ChatBookmarksClient {
55380
55431
  * deliberately have no WorkItem behind them.
55381
55432
  */
55382
55433
  async getAgentTasks(orgId, agentId) {
55383
- const all = [];
55384
- let cursor;
55385
- do {
55386
- const params = { limit: "100" };
55387
- if (cursor)
55388
- params.cursor = cursor;
55389
- const res = await this.request("GET", ENDPOINTS.AGENT_TASKS(orgId, agentId), void 0, params);
55390
- all.push(...res.data);
55391
- cursor = res.has_more ? res.next_cursor : void 0;
55392
- } while (cursor);
55393
- return all;
55434
+ return readAllPages((cursor) => this.request("GET", ENDPOINTS.AGENT_TASKS(orgId, agentId), void 0, { limit: 100, cursor }));
55394
55435
  }
55395
55436
  // ---- Machines (org-scoped) ----
55396
55437
  async getMachines(orgId) {
@@ -63976,7 +64017,7 @@ var PARALL_BROWSER_SKILL = `# Parall Browser
63976
64017
 
63977
64018
  \u521B\u5EFA\u662F\u514D\u8D39\u7684\uFF0C\u4E5F\u4E0D\u542F\u52A8\u6D4F\u89C8\u5668\uFF1B\u540E\u7EED Browser Use \u4ECD\u6309\u539F\u89C4\u5219\u6536\u8D39\uFF0C\u521B\u5EFA\u6B21\u6570\u4E0D\u662F\u6267\u884C\u8D39\u7528\u9884\u7B97\u3002
63978
64019
  \u65B0\u5EFA\u4E3A\u7A7A\u767D\u6D4F\u89C8\u5668\uFF0C\u9ED8\u8BA4\u4E0D\u516C\u5F00\uFF0C\u53EA\u7ED9\u521B\u5EFA Agent \u5B8C\u6574 Browser Use \u6743\u9650\uFF1B\u7EF4\u62A4\u4EBA\u4E3A\u6388\u4E88\u6388\u6743\u7684\u771F\u4EBA\u3002
63979
- \u4EE3\u7406\u51ED\u636E\u3001\u7F51\u7AD9\u767B\u5F55\u3001cookie \u548C\u73B0\u6709\u767B\u5F55\u6001\u9ED8\u8BA4\u4E0D\u53EF\u89E6\u78B0\uFF1B\u9700\u8981\u65F6\u8BF7\u4EBA\u5904\u7406\uFF0C\u4E0D\u81EA\u884C\u8BFB\u53D6\u3001\u514B\u9686\u6216\u914D\u7F6E\u3002
64020
+ \u65B0\u5EFA Profile \u6CA1\u6709\u7F51\u7AD9\u767B\u5F55\u6001\uFF1BProfile \u7684\u4F7F\u7528\u6743\u6216\u521B\u5EFA\u6743\u90FD\u4E0D\u7B49\u4E8E\u8D26\u53F7\u51ED\u636E\u6388\u6743\u3002
63980
64021
  \u5220\u9664\u4E0D\u8FD4\u521B\u5EFA\u540D\u989D\uFF1B\u6388\u6743\u5230\u671F\u6216\u64A4\u9500\u53EA\u505C\u6B62\u65B0\u5EFA\uFF0C\u5DF2\u6709\u6D4F\u89C8\u5668\u53CA\u72EC\u7ACB\u4F7F\u7528\u6743\u4FDD\u7559\u3002
63981
64022
 
63982
64023
  - \`HOSTED_CREATION_NOT_ALLOWED\` / \`HOSTED_CREATION_LIMIT\`\uFF1A\u505C\u6B62\u65B0\u5EFA\uFF0C\u8BF7\u771F\u4EBA\u7BA1\u7406\u5458\u67E5\u770B\u6216\u4FEE\u6539\u6388\u6743\uFF1B\u4E0D\u6362 key\u3001\u8EAB\u4EFD\u6216\u5220\u8D44\u6E90\u7ED5\u8FC7\u3002
@@ -63985,6 +64026,13 @@ var PARALL_BROWSER_SKILL = `# Parall Browser
63985
64026
  - \u6062\u590D\u7ED3\u679C \`deleted: true\` \u8868\u793A\u539F Profile \u5DF2\u5220\u9664\uFF0C\u4E0D\u80FD\u627F\u8BFA\u53EF\u7528\uFF0C\u4E5F\u4E0D\u80FD\u901A\u8FC7\u6062\u590D\u53E6\u5EFA\u4E00\u4E2A Profile\u3002
63986
64027
  - \u670D\u52A1\u7AEF\u6CA1\u6709\u6B64\u547D\u4EE4\u6216\u529F\u80FD\u4E0D\u53EF\u7528\u65F6\uFF0C\u5982\u5B9E\u62A5\u544A\u80FD\u529B\u4E0D\u53EF\u7528\uFF0C\u6CBF\u73B0\u6709 Profile \u6388\u6743\u8DEF\u5F84\u5904\u7406\u3002
63987
64028
 
64029
+ ## \u7F51\u7AD9\u767B\u5F55
64030
+
64031
+ \u7528\u6237\u660E\u786E\u6388\u6743\u4F60\u767B\u5F55\u67D0\u4E2A\u8D26\u53F7\uFF0C\u4E14\u8D26\u53F7\u51ED\u636E\u5DF2\u4F5C\u4E3A\u5BC6\u94A5\u7ED9\u5230\u4F60\u65F6\uFF0C\u81EA\u5DF1\u7528 \`parall browser\` \u6253\u5F00\u767B\u5F55\u9875\u3001\u586B\u5199\u5E76\u63D0\u4EA4\u3002
64032
+ \u51ED\u636E\u53EA\u8D70\u5BC6\u94A5\uFF1A\u7F3A\u4E86\u7528 \`parall secrets request\` \u7533\u8BF7\uFF0C\u4E0D\u5728\u804A\u5929\u91CC\u8981\u6216\u4F20\uFF1B\u547D\u4EE4\u91CC\u53EA\u5F15\u7528\u73AF\u5883\u53D8\u91CF\uFF08\u5982 \`fill --text "$SITE_PASSWORD"\`\uFF09\uFF0C\u4E0D\u6253\u5370\u3001\u4E0D\u622A\u56FE\u3001\u4E0D\u5916\u53D1\u5176\u503C\u3002
64033
+ \u9047\u5230\u9A8C\u8BC1\u7801\u3001\u77ED\u4FE1/\u90AE\u7BB1\u9A8C\u8BC1\u7801\u3001\u4E8C\u6B21\u9A8C\u8BC1\u7B49\u987B\u4EBA\u5904\u7406\u7684\u6B65\u9AA4\uFF0C\u505C\u6B62\u64CD\u4F5C\u5E76\u4FDD\u7559\u53EF\u89C1\u9875\u9762\uFF0C\u8BF7\u7528\u6237\u5728 Viewer \u6216 Desktop \u63A5\u7BA1\u5B8C\u6210\uFF0C\u7B49\u7528\u6237\u660E\u786E\u8BF4\u7EE7\u7EED\u518D\u63A5\u7740\u505A\u3002
64034
+ \u4EE3\u7406\u51ED\u636E\u3001cookie \u548C\u5176\u4ED6\u6D4F\u89C8\u5668\u7684\u73B0\u6709\u767B\u5F55\u6001\u4ECD\u4E0D\u53EF\u89E6\u78B0\uFF1B\u9700\u8981\u65F6\u8BF7\u4EBA\u5904\u7406\uFF0C\u4E0D\u81EA\u884C\u8BFB\u53D6\u3001\u590D\u5236\u3001\u5BFC\u5165\u6216\u914D\u7F6E\u3002
64035
+
63988
64036
  ## \u793A\u4F8B\uFF1A\u6253\u5F00\u9875\u9762\uFF0C\u8BFB\u53D6\u6807\u9898\uFF0C\u7559\u7ED9\u7528\u6237\u67E5\u770B
63989
64037
 
63990
64038
  \u4E0B\u9762\u5C16\u62EC\u53F7\u987B\u66FF\u6362\u4E3A\u5B9E\u9645\u8FD4\u56DE\u503C\uFF0C\u4E0D\u8981\u7167\u6284\u3002
@@ -99,6 +99,15 @@ var init_agent_caller_scope_types = __esm({
99
99
  }
100
100
  });
101
101
 
102
+ // ts/sdk/dist/agent-team-only-types.js
103
+ var AGENT_TEAM_ONLY_ERROR_CODE;
104
+ var init_agent_team_only_types = __esm({
105
+ "ts/sdk/dist/agent-team-only-types.js"() {
106
+ "use strict";
107
+ AGENT_TEAM_ONLY_ERROR_CODE = "AGENT_TEAM_ONLY";
108
+ }
109
+ });
110
+
102
111
  // ts/sdk/dist/app-template-types.js
103
112
  var init_app_template_types = __esm({
104
113
  "ts/sdk/dist/app-template-types.js"() {
@@ -760,6 +769,7 @@ function teamInviteEndpoints(apiBase) {
760
769
  TEAM_INVITE_TEAMS: (token) => `${apiBase}/team-invites/${seg(token)}/teams`,
761
770
  TEAM_INVITE_REQUESTS: (token) => `${apiBase}/team-invites/${seg(token)}/requests`,
762
771
  TEAM_INVITE_REQUEST_MINE: (token) => `${apiBase}/team-invites/${seg(token)}/requests/mine`,
772
+ TEAM_INVITE_REQUEST_INTAKE: (token, requestId) => `${apiBase}/team-invites/${seg(token)}/requests/${seg(requestId)}/intake`,
763
773
  TEAM_INVITE_REQUEST_CANCEL: (requestId) => `${apiBase}/team-invite-requests/${seg(requestId)}/cancel`,
764
774
  TEAM_INVITE_REQUEST_RETRY: (requestId) => `${apiBase}/team-invite-requests/${seg(requestId)}/retry`
765
775
  };
@@ -1812,6 +1822,7 @@ var init_constants = __esm({
1812
1822
  CHAT_INVITATION_REVOKED: "chat_invitation.revoked",
1813
1823
  ORG_JOIN_REQUEST_NEW: "org.join_request.new",
1814
1824
  ORG_INVITE_LINK_JOINED: "org.invite_link.joined",
1825
+ ORG_MEMBER_JOINED: "org.member.joined",
1815
1826
  ORG_MEMBER_REMOVED: "org.member.removed",
1816
1827
  ORG_MEMBER_PROFILE_UPDATED: "org.member.profile.updated",
1817
1828
  APP_DATA_CHANGED: "app.data.changed",
@@ -1897,12 +1908,31 @@ var init_constants = __esm({
1897
1908
  }
1898
1909
  });
1899
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
+
1900
1928
  // ts/sdk/dist/project-task-client.js
1901
- var ProjectTaskClient;
1929
+ var SUBTASK_PAGE_SIZE, ProjectTaskClient;
1902
1930
  var init_project_task_client = __esm({
1903
1931
  "ts/sdk/dist/project-task-client.js"() {
1904
1932
  "use strict";
1905
1933
  init_constants();
1934
+ init_pagination();
1935
+ SUBTASK_PAGE_SIZE = 200;
1906
1936
  ProjectTaskClient = class {
1907
1937
  async createTask(orgId, data) {
1908
1938
  return this.request("POST", ENDPOINTS.TASKS(orgId), data);
@@ -1991,9 +2021,13 @@ var init_project_task_client = __esm({
1991
2021
  const res = await this.request("GET", ENDPOINTS.MESSAGE_WATCHING(threadRootId));
1992
2022
  return res.watching;
1993
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
+ */
1994
2029
  async getSubtasks(orgId, taskId) {
1995
- const res = await this.request("GET", ENDPOINTS.TASK_SUBTASKS(orgId, taskId));
1996
- return res.data;
2030
+ return readAllPages((cursor) => this.request("GET", ENDPOINTS.TASK_SUBTASKS(orgId, taskId), void 0, { limit: SUBTASK_PAGE_SIZE, cursor }));
1997
2031
  }
1998
2032
  async createTaskRelation(orgId, taskId, data) {
1999
2033
  return this.request("POST", ENDPOINTS.TASK_RELATIONS(orgId, taskId), data);
@@ -3420,14 +3454,43 @@ var init_agent_caller_scope_client = __esm({
3420
3454
  }
3421
3455
  });
3422
3456
 
3457
+ // ts/sdk/dist/agent-team-only-client.js
3458
+ var agentTeamOnlyPath, AgentTeamOnlyClient;
3459
+ var init_agent_team_only_client = __esm({
3460
+ "ts/sdk/dist/agent-team-only-client.js"() {
3461
+ "use strict";
3462
+ init_agent_caller_scope_client();
3463
+ init_constants();
3464
+ agentTeamOnlyPath = (orgId) => `${API_BASE2}/orgs/${orgId}/agent-team-only`;
3465
+ AgentTeamOnlyClient = class extends AgentCallerScopeClient {
3466
+ /** The switch, and what turning it on changes. Owners and admins only. */
3467
+ async getAgentTeamOnly(orgId) {
3468
+ return this.request("GET", agentTeamOnlyPath(orgId));
3469
+ }
3470
+ /** Turn the switch on or off. Owners and admins only. */
3471
+ async setAgentTeamOnly(orgId, enabled) {
3472
+ return this.request("PUT", agentTeamOnlyPath(orgId), { enabled });
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
+ }
3482
+ };
3483
+ }
3484
+ });
3485
+
3423
3486
  // ts/sdk/dist/agent-owning-team-client.js
3424
3487
  var AgentOwningTeamClient;
3425
3488
  var init_agent_owning_team_client = __esm({
3426
3489
  "ts/sdk/dist/agent-owning-team-client.js"() {
3427
3490
  "use strict";
3428
- init_agent_caller_scope_client();
3491
+ init_agent_team_only_client();
3429
3492
  init_constants();
3430
- AgentOwningTeamClient = class extends AgentCallerScopeClient {
3493
+ AgentOwningTeamClient = class extends AgentTeamOnlyClient {
3431
3494
  /**
3432
3495
  * Moves the agent to another Team, or to the organization with `team_id`
3433
3496
  * null. Pass the Team you saw as `expected_team_id`: someone else's change
@@ -3667,6 +3730,12 @@ var init_team_invite_client = __esm({
3667
3730
  async getMyTeamInviteRequest(token) {
3668
3731
  return this.request("GET", ENDPOINTS.TEAM_INVITE_REQUEST_MINE(token));
3669
3732
  }
3733
+ /** The requester answers the link's questions for a request that already
3734
+ * finished (no new request). `TEAM_INVITE_INTAKE_INVALID` (400) names the
3735
+ * key in `details.key`. */
3736
+ async submitTeamInviteIntake(token, requestId, intake) {
3737
+ return this.request("PUT", ENDPOINTS.TEAM_INVITE_REQUEST_INTAKE(token, requestId), { intake });
3738
+ }
3670
3739
  /** The requester withdraws a request that is still waiting. */
3671
3740
  async cancelTeamInviteRequest(requestId) {
3672
3741
  return this.request("POST", ENDPOINTS.TEAM_INVITE_REQUEST_CANCEL(requestId));
@@ -3680,14 +3749,34 @@ var init_team_invite_client = __esm({
3680
3749
  }
3681
3750
  });
3682
3751
 
3752
+ // ts/sdk/dist/member-field-client.js
3753
+ var MemberFieldClient;
3754
+ var init_member_field_client = __esm({
3755
+ "ts/sdk/dist/member-field-client.js"() {
3756
+ "use strict";
3757
+ init_constants();
3758
+ init_team_invite_client();
3759
+ MemberFieldClient = class extends TeamInviteClient {
3760
+ /**
3761
+ * The member changes the value of one of their own fields: signed in only
3762
+ * (an API key gets 403 `JWT_REQUIRED`), 1–200 characters on one line.
3763
+ * Answers with the whole profile and its fields.
3764
+ */
3765
+ async updateMemberField(orgId, userId, key, value) {
3766
+ return this.request("PUT", `${ENDPOINTS.ORG_MEMBER_PROFILE(orgId, userId)}/fields/${encodeURIComponent(key)}`, { value });
3767
+ }
3768
+ };
3769
+ }
3770
+ });
3771
+
3683
3772
  // ts/sdk/dist/wiki-page-share-client.js
3684
3773
  var WikiPageShareClient;
3685
3774
  var init_wiki_page_share_client = __esm({
3686
3775
  "ts/sdk/dist/wiki-page-share-client.js"() {
3687
3776
  "use strict";
3688
- init_team_invite_client();
3689
3777
  init_constants();
3690
- WikiPageShareClient = class extends TeamInviteClient {
3778
+ init_member_field_client();
3779
+ WikiPageShareClient = class extends MemberFieldClient {
3691
3780
  async listWikiPageShares(orgId, wikiId, path27) {
3692
3781
  const res = await this.request("GET", ENDPOINTS.WIKI_PAGE_SHARES(orgId, wikiId), void 0, { path: path27 });
3693
3782
  return res.data;
@@ -3811,6 +3900,7 @@ var init_client = __esm({
3811
3900
  init_fetch_cause();
3812
3901
  init_chat_bookmarks_client();
3813
3902
  init_wiki_changeset();
3903
+ init_pagination();
3814
3904
  init_constants();
3815
3905
  ParallClient = class _ParallClient extends ChatBookmarksClient {
3816
3906
  baseUrl;
@@ -4260,7 +4350,7 @@ var init_client = __esm({
4260
4350
  async updateOrgMember(orgId, userId, role) {
4261
4351
  return this.request("PATCH", ENDPOINTS.ORG_MEMBER(orgId, userId), { role });
4262
4352
  }
4263
- /** Org-scoped public profile (title / description) of any active member. */
4353
+ /** Org-scoped public profile (title / description) and fields of any active member. */
4264
4354
  async getMemberProfile(orgId, userId) {
4265
4355
  return this.request("GET", ENDPOINTS.ORG_MEMBER_PROFILE(orgId, userId));
4266
4356
  }
@@ -4325,14 +4415,7 @@ var init_client = __esm({
4325
4415
  // command so an agent answering "what's on X's plate" sees the full
4326
4416
  // backlog, not just the first page.
4327
4417
  async getMemberTasksAll(orgId, memberId) {
4328
- const all = [];
4329
- let cursor;
4330
- do {
4331
- const res = await this.getMemberTasks(orgId, memberId, { cursor, limit: 100 });
4332
- all.push(...res.data);
4333
- cursor = res.has_more ? res.next_cursor : void 0;
4334
- } while (cursor);
4335
- return all;
4418
+ return readAllPages((cursor) => this.getMemberTasks(orgId, memberId, { cursor, limit: 100 }));
4336
4419
  }
4337
4420
  // ---- Invitations ----
4338
4421
  async createInvitation(orgId, email, role) {
@@ -4738,17 +4821,7 @@ var init_client = __esm({
4738
4821
  * deliberately have no WorkItem behind them.
4739
4822
  */
4740
4823
  async getAgentTasks(orgId, agentId) {
4741
- const all = [];
4742
- let cursor;
4743
- do {
4744
- const params = { limit: "100" };
4745
- if (cursor)
4746
- params.cursor = cursor;
4747
- const res = await this.request("GET", ENDPOINTS.AGENT_TASKS(orgId, agentId), void 0, params);
4748
- all.push(...res.data);
4749
- cursor = res.has_more ? res.next_cursor : void 0;
4750
- } while (cursor);
4751
- return all;
4824
+ return readAllPages((cursor) => this.request("GET", ENDPOINTS.AGENT_TASKS(orgId, agentId), void 0, { limit: 100, cursor }));
4752
4825
  }
4753
4826
  // ---- Machines (org-scoped) ----
4754
4827
  async getMachines(orgId) {
@@ -6747,6 +6820,20 @@ var init_team_invite_types = __esm({
6747
6820
  }
6748
6821
  });
6749
6822
 
6823
+ // ts/sdk/dist/template-intake-types.js
6824
+ var init_template_intake_types = __esm({
6825
+ "ts/sdk/dist/template-intake-types.js"() {
6826
+ "use strict";
6827
+ }
6828
+ });
6829
+
6830
+ // ts/sdk/dist/member-field-types.js
6831
+ var init_member_field_types = __esm({
6832
+ "ts/sdk/dist/member-field-types.js"() {
6833
+ "use strict";
6834
+ }
6835
+ });
6836
+
6750
6837
  // ts/sdk/dist/trigger-judge-types.js
6751
6838
  var init_trigger_judge_types = __esm({
6752
6839
  "ts/sdk/dist/trigger-judge-types.js"() {
@@ -7226,6 +7313,7 @@ __export(dist_exports, {
7226
7313
  AGENT_SECRET_LAYER_ACTIONS: () => AGENT_SECRET_LAYER_ACTIONS,
7227
7314
  AGENT_SECRET_REQUEST_ACTION: () => AGENT_SECRET_REQUEST_ACTION,
7228
7315
  AGENT_SECRET_REQUEST_ACTIONS: () => AGENT_SECRET_REQUEST_ACTIONS,
7316
+ AGENT_TEAM_ONLY_ERROR_CODE: () => AGENT_TEAM_ONLY_ERROR_CODE,
7229
7317
  API_BASE: () => API_BASE2,
7230
7318
  ApiError: () => ApiError,
7231
7319
  BROWSER_USE_ACTIONS: () => BROWSER_USE_ACTIONS,
@@ -7320,6 +7408,7 @@ var init_dist = __esm({
7320
7408
  "ts/sdk/dist/index.js"() {
7321
7409
  "use strict";
7322
7410
  init_agent_caller_scope_types();
7411
+ init_agent_team_only_types();
7323
7412
  init_app_template_types();
7324
7413
  init_attachment_types();
7325
7414
  init_approval_policy_types();
@@ -7349,6 +7438,8 @@ var init_dist = __esm({
7349
7438
  init_task_label_types();
7350
7439
  init_chat_bookmarks_types();
7351
7440
  init_team_invite_types();
7441
+ init_template_intake_types();
7442
+ init_member_field_types();
7352
7443
  init_trigger_judge_types();
7353
7444
  init_types();
7354
7445
  init_wechat_types();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parall/daemon",
3
- "version": "1.88.0",
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/claude-agent": "1.88.0",
38
- "@parall/openclaw-agent": "1.88.0",
39
- "@parall/codex-agent": "1.88.0",
40
- "@parall/agent-core": "1.88.0",
41
- "@parall/sdk": "1.88.0"
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",