@parall/daemon 1.91.0 → 1.92.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.91.0",
3
- "built_at": "2026-11-12T10:49:05.814Z",
2
+ "version": "1.92.0",
3
+ "built_at": "2026-11-15T06:21:29.160Z",
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": "a278a36d315cfe8a0fea395bb3f5f6fb6cd16de65e5ebc278672fc7854e2c466",
20
- "size": 3102056
19
+ "sha256": "1d3cd1d9a0ee66e02117cf22aeba7c332c2559ae2305dfccdb967ceb28fc2a10",
20
+ "size": 3104312
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": "c5cddec08b719db5d2f7e36b52dc783436b426985b34b0a80512fb9057a16da0",
28
- "size": 3126053
27
+ "sha256": "0a987778613f2e0ca54e1fa59de4e5408f05b8c4162ec029522685e589f38f47",
28
+ "size": 3128309
29
29
  },
30
30
  "parall-codex-agent.js": {
31
- "sha256": "3c38d3add6c0a55ac284d891ce063fdef8314d7d8ab239196c65a43122c226fa",
32
- "size": 3135538
31
+ "sha256": "759717264f00010b3b017cfde9835dd5d6b859752abe25d04c579f9892ae56e5",
32
+ "size": 3137794
33
33
  },
34
34
  "parall-daemon.js": {
35
- "sha256": "b05e1083315d6f504fa1d09d24e2a07ece3cd06088dd3e03c10dfacca35c29aa",
36
- "size": 3301874
35
+ "sha256": "c18468ccb30d57c0f4f2c5ff42c87445a77ecfd40a9922f200627599e94c7f50",
36
+ "size": 3304834
37
37
  },
38
38
  "parall-openclaw-agent.js": {
39
39
  "sha256": "856a1c3a9ae0ffef8efe2481fa1171dbeb1d67cccb88616aa9bf16da96a69355",
40
40
  "size": 9923
41
41
  }
42
42
  },
43
- "signature": "27qJU7kn4N/kQC2rT5p2HrSV0XGmWgDHFA/pQLhaahG5dbN8jpvLrd/GoiY30RSs1LCWXygbwgpEHZKk2/bGAw=="
43
+ "signature": "8hltmga5X8Kl6FPLqjeUOdxAUgV49P9aeSxUWC/fp58COPqdfZ/L5/2CcQKOEKFl8E4EJ49DXFVUUIaniIq/Aw=="
44
44
  }
@@ -64399,6 +64399,8 @@ var clipConnectionEndpoints = {
64399
64399
  CLIP_CONNECTIONS_ALL: (orgId) => `/api/v1/orgs/${orgId}/clip-connections/all`,
64400
64400
  CLIP_CONNECTIONS: (orgId, clipId) => `/api/v1/orgs/${orgId}/clip-registry/${clipId}/connections`,
64401
64401
  CLIP_CONNECTION_ACCESS: (orgId, connId) => `/api/v1/orgs/${orgId}/clip-connections/${connId}/access`,
64402
+ /** Who among the org's agents may use one account (per-account setting). */
64403
+ CLIP_CONNECTION_AGENT_ACCESS: (orgId, connId) => `/api/v1/orgs/${orgId}/clip-connections/${connId}/agent-access`,
64402
64404
  CLIP_CONNECTION: (orgId, connId) => `/api/v1/orgs/${orgId}/clip-connections/${connId}`,
64403
64405
  /** The caller's own (person-owned) connections; login session only. */
64404
64406
  ORG_MY_CONNECTIONS: (orgId) => `/api/v1/orgs/${orgId}/me/connections`,
@@ -65638,8 +65640,16 @@ var MiniAppAccessClient = class extends MiniAppActionClient {
65638
65640
  async removeMiniAppAccessGrant(orgId, appId, userId) {
65639
65641
  return this.request("DELETE", `${access(orgId, appId)}/grants/${encodeURIComponent(userId)}`);
65640
65642
  }
65641
- /** The change record, newest first: member_access, the access list and
65642
- * the author roster. */
65643
+ /** Puts a team of the organization on the app's access list, or changes
65644
+ * its level: everyone the team reaches gets at least that much. */
65645
+ async setMiniAppAccessTeamGrant(orgId, appId, teamId, level) {
65646
+ return this.request("PUT", `${access(orgId, appId)}/team-grants/${encodeURIComponent(teamId)}`, { access: level });
65647
+ }
65648
+ async removeMiniAppAccessTeamGrant(orgId, appId, teamId) {
65649
+ return this.request("DELETE", `${access(orgId, appId)}/team-grants/${encodeURIComponent(teamId)}`);
65650
+ }
65651
+ /** The change record, newest first: member_access, the access list (people
65652
+ * and teams) and the author roster. */
65643
65653
  async getMiniAppAccessLog(orgId, appId, query = {}) {
65644
65654
  const response = await this.request("GET", `${access(orgId, appId)}/log`, void 0, { limit: query.limit, before_id: query.before_id });
65645
65655
  return response.data;
@@ -65907,6 +65917,17 @@ var ClipConnectionClient = class extends ChannelConversationClient {
65907
65917
  async putClipConnectionAccess(orgId, connId, input) {
65908
65918
  return this.request("PUT", ENDPOINTS.CLIP_CONNECTION_ACCESS(orgId, connId), input);
65909
65919
  }
65920
+ /** Who among the org's agents may use this account. Any org member may read. */
65921
+ async getClipConnectionAgentAccess(orgId, connId) {
65922
+ return this.request("GET", ENDPOINTS.CLIP_CONNECTION_AGENT_ACCESS(orgId, connId));
65923
+ }
65924
+ /**
65925
+ * Replace this account's agent access. Human org owner/admin only (JWT or
65926
+ * personal key); saving `selected` also turns `org_public` off.
65927
+ */
65928
+ async putClipConnectionAgentAccess(orgId, connId, input) {
65929
+ return this.request("PUT", ENDPOINTS.CLIP_CONNECTION_AGENT_ACCESS(orgId, connId), input);
65930
+ }
65910
65931
  /** Start OAuth using the reviewed platform app or provider registration ladder.
65911
65932
  * Allow discovery (30s), persistence (10s), and network overhead to finish. */
65912
65933
  async createClipMCPOAuthConnection(orgId, clipId, serverUrl, alias, oauthClient) {
@@ -66372,9 +66393,12 @@ var TeamGraphClient = class extends AgentOwningTeamClient {
66372
66393
  * would refuse, with the same codes. 503 when it cannot compute the whole answer
66373
66394
  * (`TEAM_MOVE_PREVIEW_WIKI_UNAVAILABLE`, `TEAM_MOVE_PREVIEW_TIMEOUT`,
66374
66395
  * `TEAM_MOVE_PREVIEW_TOO_LARGE`). Send `tree_revision` back on `setTeamParent`.
66396
+ * Asks for Mini Apps too (`include=apps`): without it, a move that changes
66397
+ * someone's access to an app answers 503 `TEAM_MOVE_PREVIEW_APPS_UNSUPPORTED`
66398
+ * (mini-app-access-team-grants-design.md §5).
66375
66399
  */
66376
66400
  async previewTeamMove(orgId, teamId, parentTeamId) {
66377
- return this.request("POST", ENDPOINTS.TEAM_PARENT_PREVIEW(orgId, teamId), {
66401
+ return this.request("POST", `${ENDPOINTS.TEAM_PARENT_PREVIEW(orgId, teamId)}?include=apps`, {
66378
66402
  parent_team_id: parentTeamId
66379
66403
  });
66380
66404
  }
@@ -66629,6 +66653,20 @@ var ChatBookmarksClient = class extends WikiPageShareClient {
66629
66653
  }
66630
66654
  };
66631
66655
 
66656
+ // ts/sdk/dist/template-catalog-client.js
66657
+ var templateCatalogPath = (orgId) => `${API_BASE2}/orgs/${orgId}/templates/catalog`;
66658
+ var TemplateCatalogClient = class extends ChatBookmarksClient {
66659
+ /**
66660
+ * The published team templates this organization can hire. Open to every
66661
+ * member, people and agents alike (owners and admins also have the full
66662
+ * definitions through `listOfficialTemplates`).
66663
+ */
66664
+ async listTemplateCatalog(orgId) {
66665
+ const res = await this.request("GET", templateCatalogPath(orgId));
66666
+ return res.templates ?? [];
66667
+ }
66668
+ };
66669
+
66632
66670
  // ts/sdk/dist/wiki-changeset.js
66633
66671
  function normalizeWikiChangeset(changeset) {
66634
66672
  return {
@@ -66664,7 +66702,7 @@ function legacyHeartbeatFromReport(report) {
66664
66702
  detectedRuntimes
66665
66703
  };
66666
66704
  }
66667
- var ParallClient = class _ParallClient extends ChatBookmarksClient {
66705
+ var ParallClient = class _ParallClient extends TemplateCatalogClient {
66668
66706
  baseUrl;
66669
66707
  wikiBaseUrl;
66670
66708
  token;
@@ -68968,9 +69006,11 @@ var ParallClient = class _ParallClient extends ChatBookmarksClient {
68968
69006
  });
68969
69007
  }
68970
69008
  /** Idempotently begin deleting a hosted Cloud Profile; every repeat returns
68971
- * `202 deleting` until the pod and stored browser state are finalized. */
68972
- async deleteEdgeDevice(orgId, edgeId) {
68973
- return this.request("DELETE", ENDPOINTS.ORG_EDGE_DEVICE(orgId, edgeId));
69009
+ * `202 deleting` until the pod and stored browser state are finalized.
69010
+ * `ifUnused` deletes only when no connection runs on it and no browser
69011
+ * profile on it is shared or granted; otherwise `409 EDGE_IN_USE`. */
69012
+ async deleteEdgeDevice(orgId, edgeId, options) {
69013
+ return this.request("DELETE", ENDPOINTS.ORG_EDGE_DEVICE(orgId, edgeId), void 0, options?.ifUnused ? { if_unused: "true" } : void 0);
68974
69014
  }
68975
69015
  /** Move the human caller's OWN BYOC device between the org layer and their
68976
69016
  * personal layer (ADR-020). `member` takes the device — and every clip
@@ -52161,6 +52161,8 @@ var clipConnectionEndpoints = {
52161
52161
  CLIP_CONNECTIONS_ALL: (orgId) => `/api/v1/orgs/${orgId}/clip-connections/all`,
52162
52162
  CLIP_CONNECTIONS: (orgId, clipId) => `/api/v1/orgs/${orgId}/clip-registry/${clipId}/connections`,
52163
52163
  CLIP_CONNECTION_ACCESS: (orgId, connId) => `/api/v1/orgs/${orgId}/clip-connections/${connId}/access`,
52164
+ /** Who among the org's agents may use one account (per-account setting). */
52165
+ CLIP_CONNECTION_AGENT_ACCESS: (orgId, connId) => `/api/v1/orgs/${orgId}/clip-connections/${connId}/agent-access`,
52164
52166
  CLIP_CONNECTION: (orgId, connId) => `/api/v1/orgs/${orgId}/clip-connections/${connId}`,
52165
52167
  /** The caller's own (person-owned) connections; login session only. */
52166
52168
  ORG_MY_CONNECTIONS: (orgId) => `/api/v1/orgs/${orgId}/me/connections`,
@@ -53507,8 +53509,16 @@ var MiniAppAccessClient = class extends MiniAppActionClient {
53507
53509
  async removeMiniAppAccessGrant(orgId, appId, userId) {
53508
53510
  return this.request("DELETE", `${access(orgId, appId)}/grants/${encodeURIComponent(userId)}`);
53509
53511
  }
53510
- /** The change record, newest first: member_access, the access list and
53511
- * the author roster. */
53512
+ /** Puts a team of the organization on the app's access list, or changes
53513
+ * its level: everyone the team reaches gets at least that much. */
53514
+ async setMiniAppAccessTeamGrant(orgId, appId, teamId, level) {
53515
+ return this.request("PUT", `${access(orgId, appId)}/team-grants/${encodeURIComponent(teamId)}`, { access: level });
53516
+ }
53517
+ async removeMiniAppAccessTeamGrant(orgId, appId, teamId) {
53518
+ return this.request("DELETE", `${access(orgId, appId)}/team-grants/${encodeURIComponent(teamId)}`);
53519
+ }
53520
+ /** The change record, newest first: member_access, the access list (people
53521
+ * and teams) and the author roster. */
53512
53522
  async getMiniAppAccessLog(orgId, appId, query = {}) {
53513
53523
  const response = await this.request("GET", `${access(orgId, appId)}/log`, void 0, { limit: query.limit, before_id: query.before_id });
53514
53524
  return response.data;
@@ -53776,6 +53786,17 @@ var ClipConnectionClient = class extends ChannelConversationClient {
53776
53786
  async putClipConnectionAccess(orgId, connId, input) {
53777
53787
  return this.request("PUT", ENDPOINTS.CLIP_CONNECTION_ACCESS(orgId, connId), input);
53778
53788
  }
53789
+ /** Who among the org's agents may use this account. Any org member may read. */
53790
+ async getClipConnectionAgentAccess(orgId, connId) {
53791
+ return this.request("GET", ENDPOINTS.CLIP_CONNECTION_AGENT_ACCESS(orgId, connId));
53792
+ }
53793
+ /**
53794
+ * Replace this account's agent access. Human org owner/admin only (JWT or
53795
+ * personal key); saving `selected` also turns `org_public` off.
53796
+ */
53797
+ async putClipConnectionAgentAccess(orgId, connId, input) {
53798
+ return this.request("PUT", ENDPOINTS.CLIP_CONNECTION_AGENT_ACCESS(orgId, connId), input);
53799
+ }
53779
53800
  /** Start OAuth using the reviewed platform app or provider registration ladder.
53780
53801
  * Allow discovery (30s), persistence (10s), and network overhead to finish. */
53781
53802
  async createClipMCPOAuthConnection(orgId, clipId, serverUrl, alias, oauthClient) {
@@ -54241,9 +54262,12 @@ var TeamGraphClient = class extends AgentOwningTeamClient {
54241
54262
  * would refuse, with the same codes. 503 when it cannot compute the whole answer
54242
54263
  * (`TEAM_MOVE_PREVIEW_WIKI_UNAVAILABLE`, `TEAM_MOVE_PREVIEW_TIMEOUT`,
54243
54264
  * `TEAM_MOVE_PREVIEW_TOO_LARGE`). Send `tree_revision` back on `setTeamParent`.
54265
+ * Asks for Mini Apps too (`include=apps`): without it, a move that changes
54266
+ * someone's access to an app answers 503 `TEAM_MOVE_PREVIEW_APPS_UNSUPPORTED`
54267
+ * (mini-app-access-team-grants-design.md §5).
54244
54268
  */
54245
54269
  async previewTeamMove(orgId, teamId, parentTeamId) {
54246
- return this.request("POST", ENDPOINTS.TEAM_PARENT_PREVIEW(orgId, teamId), {
54270
+ return this.request("POST", `${ENDPOINTS.TEAM_PARENT_PREVIEW(orgId, teamId)}?include=apps`, {
54247
54271
  parent_team_id: parentTeamId
54248
54272
  });
54249
54273
  }
@@ -54498,6 +54522,20 @@ var ChatBookmarksClient = class extends WikiPageShareClient {
54498
54522
  }
54499
54523
  };
54500
54524
 
54525
+ // ts/sdk/dist/template-catalog-client.js
54526
+ var templateCatalogPath = (orgId) => `${API_BASE2}/orgs/${orgId}/templates/catalog`;
54527
+ var TemplateCatalogClient = class extends ChatBookmarksClient {
54528
+ /**
54529
+ * The published team templates this organization can hire. Open to every
54530
+ * member, people and agents alike (owners and admins also have the full
54531
+ * definitions through `listOfficialTemplates`).
54532
+ */
54533
+ async listTemplateCatalog(orgId) {
54534
+ const res = await this.request("GET", templateCatalogPath(orgId));
54535
+ return res.templates ?? [];
54536
+ }
54537
+ };
54538
+
54501
54539
  // ts/sdk/dist/wiki-changeset.js
54502
54540
  function normalizeWikiChangeset(changeset) {
54503
54541
  return {
@@ -54533,7 +54571,7 @@ function legacyHeartbeatFromReport(report) {
54533
54571
  detectedRuntimes
54534
54572
  };
54535
54573
  }
54536
- var ParallClient = class _ParallClient extends ChatBookmarksClient {
54574
+ var ParallClient = class _ParallClient extends TemplateCatalogClient {
54537
54575
  baseUrl;
54538
54576
  wikiBaseUrl;
54539
54577
  token;
@@ -56837,9 +56875,11 @@ var ParallClient = class _ParallClient extends ChatBookmarksClient {
56837
56875
  });
56838
56876
  }
56839
56877
  /** Idempotently begin deleting a hosted Cloud Profile; every repeat returns
56840
- * `202 deleting` until the pod and stored browser state are finalized. */
56841
- async deleteEdgeDevice(orgId, edgeId) {
56842
- return this.request("DELETE", ENDPOINTS.ORG_EDGE_DEVICE(orgId, edgeId));
56878
+ * `202 deleting` until the pod and stored browser state are finalized.
56879
+ * `ifUnused` deletes only when no connection runs on it and no browser
56880
+ * profile on it is shared or granted; otherwise `409 EDGE_IN_USE`. */
56881
+ async deleteEdgeDevice(orgId, edgeId, options) {
56882
+ return this.request("DELETE", ENDPOINTS.ORG_EDGE_DEVICE(orgId, edgeId), void 0, options?.ifUnused ? { if_unused: "true" } : void 0);
56843
56883
  }
56844
56884
  /** Move the human caller's OWN BYOC device between the org layer and their
56845
56885
  * personal layer (ADR-020). `member` takes the device — and every clip
@@ -52161,6 +52161,8 @@ var clipConnectionEndpoints = {
52161
52161
  CLIP_CONNECTIONS_ALL: (orgId) => `/api/v1/orgs/${orgId}/clip-connections/all`,
52162
52162
  CLIP_CONNECTIONS: (orgId, clipId) => `/api/v1/orgs/${orgId}/clip-registry/${clipId}/connections`,
52163
52163
  CLIP_CONNECTION_ACCESS: (orgId, connId) => `/api/v1/orgs/${orgId}/clip-connections/${connId}/access`,
52164
+ /** Who among the org's agents may use one account (per-account setting). */
52165
+ CLIP_CONNECTION_AGENT_ACCESS: (orgId, connId) => `/api/v1/orgs/${orgId}/clip-connections/${connId}/agent-access`,
52164
52166
  CLIP_CONNECTION: (orgId, connId) => `/api/v1/orgs/${orgId}/clip-connections/${connId}`,
52165
52167
  /** The caller's own (person-owned) connections; login session only. */
52166
52168
  ORG_MY_CONNECTIONS: (orgId) => `/api/v1/orgs/${orgId}/me/connections`,
@@ -53507,8 +53509,16 @@ var MiniAppAccessClient = class extends MiniAppActionClient {
53507
53509
  async removeMiniAppAccessGrant(orgId, appId, userId) {
53508
53510
  return this.request("DELETE", `${access(orgId, appId)}/grants/${encodeURIComponent(userId)}`);
53509
53511
  }
53510
- /** The change record, newest first: member_access, the access list and
53511
- * the author roster. */
53512
+ /** Puts a team of the organization on the app's access list, or changes
53513
+ * its level: everyone the team reaches gets at least that much. */
53514
+ async setMiniAppAccessTeamGrant(orgId, appId, teamId, level) {
53515
+ return this.request("PUT", `${access(orgId, appId)}/team-grants/${encodeURIComponent(teamId)}`, { access: level });
53516
+ }
53517
+ async removeMiniAppAccessTeamGrant(orgId, appId, teamId) {
53518
+ return this.request("DELETE", `${access(orgId, appId)}/team-grants/${encodeURIComponent(teamId)}`);
53519
+ }
53520
+ /** The change record, newest first: member_access, the access list (people
53521
+ * and teams) and the author roster. */
53512
53522
  async getMiniAppAccessLog(orgId, appId, query = {}) {
53513
53523
  const response = await this.request("GET", `${access(orgId, appId)}/log`, void 0, { limit: query.limit, before_id: query.before_id });
53514
53524
  return response.data;
@@ -53776,6 +53786,17 @@ var ClipConnectionClient = class extends ChannelConversationClient {
53776
53786
  async putClipConnectionAccess(orgId, connId, input) {
53777
53787
  return this.request("PUT", ENDPOINTS.CLIP_CONNECTION_ACCESS(orgId, connId), input);
53778
53788
  }
53789
+ /** Who among the org's agents may use this account. Any org member may read. */
53790
+ async getClipConnectionAgentAccess(orgId, connId) {
53791
+ return this.request("GET", ENDPOINTS.CLIP_CONNECTION_AGENT_ACCESS(orgId, connId));
53792
+ }
53793
+ /**
53794
+ * Replace this account's agent access. Human org owner/admin only (JWT or
53795
+ * personal key); saving `selected` also turns `org_public` off.
53796
+ */
53797
+ async putClipConnectionAgentAccess(orgId, connId, input) {
53798
+ return this.request("PUT", ENDPOINTS.CLIP_CONNECTION_AGENT_ACCESS(orgId, connId), input);
53799
+ }
53779
53800
  /** Start OAuth using the reviewed platform app or provider registration ladder.
53780
53801
  * Allow discovery (30s), persistence (10s), and network overhead to finish. */
53781
53802
  async createClipMCPOAuthConnection(orgId, clipId, serverUrl, alias, oauthClient) {
@@ -54241,9 +54262,12 @@ var TeamGraphClient = class extends AgentOwningTeamClient {
54241
54262
  * would refuse, with the same codes. 503 when it cannot compute the whole answer
54242
54263
  * (`TEAM_MOVE_PREVIEW_WIKI_UNAVAILABLE`, `TEAM_MOVE_PREVIEW_TIMEOUT`,
54243
54264
  * `TEAM_MOVE_PREVIEW_TOO_LARGE`). Send `tree_revision` back on `setTeamParent`.
54265
+ * Asks for Mini Apps too (`include=apps`): without it, a move that changes
54266
+ * someone's access to an app answers 503 `TEAM_MOVE_PREVIEW_APPS_UNSUPPORTED`
54267
+ * (mini-app-access-team-grants-design.md §5).
54244
54268
  */
54245
54269
  async previewTeamMove(orgId, teamId, parentTeamId) {
54246
- return this.request("POST", ENDPOINTS.TEAM_PARENT_PREVIEW(orgId, teamId), {
54270
+ return this.request("POST", `${ENDPOINTS.TEAM_PARENT_PREVIEW(orgId, teamId)}?include=apps`, {
54247
54271
  parent_team_id: parentTeamId
54248
54272
  });
54249
54273
  }
@@ -54498,6 +54522,20 @@ var ChatBookmarksClient = class extends WikiPageShareClient {
54498
54522
  }
54499
54523
  };
54500
54524
 
54525
+ // ts/sdk/dist/template-catalog-client.js
54526
+ var templateCatalogPath = (orgId) => `${API_BASE2}/orgs/${orgId}/templates/catalog`;
54527
+ var TemplateCatalogClient = class extends ChatBookmarksClient {
54528
+ /**
54529
+ * The published team templates this organization can hire. Open to every
54530
+ * member, people and agents alike (owners and admins also have the full
54531
+ * definitions through `listOfficialTemplates`).
54532
+ */
54533
+ async listTemplateCatalog(orgId) {
54534
+ const res = await this.request("GET", templateCatalogPath(orgId));
54535
+ return res.templates ?? [];
54536
+ }
54537
+ };
54538
+
54501
54539
  // ts/sdk/dist/wiki-changeset.js
54502
54540
  function normalizeWikiChangeset(changeset) {
54503
54541
  return {
@@ -54533,7 +54571,7 @@ function legacyHeartbeatFromReport(report) {
54533
54571
  detectedRuntimes
54534
54572
  };
54535
54573
  }
54536
- var ParallClient = class _ParallClient extends ChatBookmarksClient {
54574
+ var ParallClient = class _ParallClient extends TemplateCatalogClient {
54537
54575
  baseUrl;
54538
54576
  wikiBaseUrl;
54539
54577
  token;
@@ -56837,9 +56875,11 @@ var ParallClient = class _ParallClient extends ChatBookmarksClient {
56837
56875
  });
56838
56876
  }
56839
56877
  /** Idempotently begin deleting a hosted Cloud Profile; every repeat returns
56840
- * `202 deleting` until the pod and stored browser state are finalized. */
56841
- async deleteEdgeDevice(orgId, edgeId) {
56842
- return this.request("DELETE", ENDPOINTS.ORG_EDGE_DEVICE(orgId, edgeId));
56878
+ * `202 deleting` until the pod and stored browser state are finalized.
56879
+ * `ifUnused` deletes only when no connection runs on it and no browser
56880
+ * profile on it is shared or granted; otherwise `409 EDGE_IN_USE`. */
56881
+ async deleteEdgeDevice(orgId, edgeId, options) {
56882
+ return this.request("DELETE", ENDPOINTS.ORG_EDGE_DEVICE(orgId, edgeId), void 0, options?.ifUnused ? { if_unused: "true" } : void 0);
56843
56883
  }
56844
56884
  /** Move the human caller's OWN BYOC device between the org layer and their
56845
56885
  * personal layer (ADR-020). `member` takes the device — and every clip
@@ -692,6 +692,8 @@ var init_clip_connection_endpoints = __esm({
692
692
  CLIP_CONNECTIONS_ALL: (orgId) => `/api/v1/orgs/${orgId}/clip-connections/all`,
693
693
  CLIP_CONNECTIONS: (orgId, clipId) => `/api/v1/orgs/${orgId}/clip-registry/${clipId}/connections`,
694
694
  CLIP_CONNECTION_ACCESS: (orgId, connId) => `/api/v1/orgs/${orgId}/clip-connections/${connId}/access`,
695
+ /** Who among the org's agents may use one account (per-account setting). */
696
+ CLIP_CONNECTION_AGENT_ACCESS: (orgId, connId) => `/api/v1/orgs/${orgId}/clip-connections/${connId}/agent-access`,
695
697
  CLIP_CONNECTION: (orgId, connId) => `/api/v1/orgs/${orgId}/clip-connections/${connId}`,
696
698
  /** The caller's own (person-owned) connections; login session only. */
697
699
  ORG_MY_CONNECTIONS: (orgId) => `/api/v1/orgs/${orgId}/me/connections`,
@@ -2490,8 +2492,16 @@ var init_mini_app_access_client = __esm({
2490
2492
  async removeMiniAppAccessGrant(orgId, appId, userId) {
2491
2493
  return this.request("DELETE", `${access(orgId, appId)}/grants/${encodeURIComponent(userId)}`);
2492
2494
  }
2493
- /** The change record, newest first: member_access, the access list and
2494
- * the author roster. */
2495
+ /** Puts a team of the organization on the app's access list, or changes
2496
+ * its level: everyone the team reaches gets at least that much. */
2497
+ async setMiniAppAccessTeamGrant(orgId, appId, teamId, level) {
2498
+ return this.request("PUT", `${access(orgId, appId)}/team-grants/${encodeURIComponent(teamId)}`, { access: level });
2499
+ }
2500
+ async removeMiniAppAccessTeamGrant(orgId, appId, teamId) {
2501
+ return this.request("DELETE", `${access(orgId, appId)}/team-grants/${encodeURIComponent(teamId)}`);
2502
+ }
2503
+ /** The change record, newest first: member_access, the access list (people
2504
+ * and teams) and the author roster. */
2495
2505
  async getMiniAppAccessLog(orgId, appId, query = {}) {
2496
2506
  const response = await this.request("GET", `${access(orgId, appId)}/log`, void 0, { limit: query.limit, before_id: query.before_id });
2497
2507
  return response.data;
@@ -2807,6 +2817,17 @@ var init_clip_connection_client = __esm({
2807
2817
  async putClipConnectionAccess(orgId, connId, input) {
2808
2818
  return this.request("PUT", ENDPOINTS.CLIP_CONNECTION_ACCESS(orgId, connId), input);
2809
2819
  }
2820
+ /** Who among the org's agents may use this account. Any org member may read. */
2821
+ async getClipConnectionAgentAccess(orgId, connId) {
2822
+ return this.request("GET", ENDPOINTS.CLIP_CONNECTION_AGENT_ACCESS(orgId, connId));
2823
+ }
2824
+ /**
2825
+ * Replace this account's agent access. Human org owner/admin only (JWT or
2826
+ * personal key); saving `selected` also turns `org_public` off.
2827
+ */
2828
+ async putClipConnectionAgentAccess(orgId, connId, input) {
2829
+ return this.request("PUT", ENDPOINTS.CLIP_CONNECTION_AGENT_ACCESS(orgId, connId), input);
2830
+ }
2810
2831
  /** Start OAuth using the reviewed platform app or provider registration ladder.
2811
2832
  * Allow discovery (30s), persistence (10s), and network overhead to finish. */
2812
2833
  async createClipMCPOAuthConnection(orgId, clipId, serverUrl, alias, oauthClient) {
@@ -3543,9 +3564,12 @@ var init_team_graph_client = __esm({
3543
3564
  * would refuse, with the same codes. 503 when it cannot compute the whole answer
3544
3565
  * (`TEAM_MOVE_PREVIEW_WIKI_UNAVAILABLE`, `TEAM_MOVE_PREVIEW_TIMEOUT`,
3545
3566
  * `TEAM_MOVE_PREVIEW_TOO_LARGE`). Send `tree_revision` back on `setTeamParent`.
3567
+ * Asks for Mini Apps too (`include=apps`): without it, a move that changes
3568
+ * someone's access to an app answers 503 `TEAM_MOVE_PREVIEW_APPS_UNSUPPORTED`
3569
+ * (mini-app-access-team-grants-design.md §5).
3546
3570
  */
3547
3571
  async previewTeamMove(orgId, teamId, parentTeamId) {
3548
- return this.request("POST", ENDPOINTS.TEAM_PARENT_PREVIEW(orgId, teamId), {
3572
+ return this.request("POST", `${ENDPOINTS.TEAM_PARENT_PREVIEW(orgId, teamId)}?include=apps`, {
3549
3573
  parent_team_id: parentTeamId
3550
3574
  });
3551
3575
  }
@@ -3842,6 +3866,28 @@ var init_chat_bookmarks_client = __esm({
3842
3866
  }
3843
3867
  });
3844
3868
 
3869
+ // ts/sdk/dist/template-catalog-client.js
3870
+ var templateCatalogPath, TemplateCatalogClient;
3871
+ var init_template_catalog_client = __esm({
3872
+ "ts/sdk/dist/template-catalog-client.js"() {
3873
+ "use strict";
3874
+ init_chat_bookmarks_client();
3875
+ init_constants();
3876
+ templateCatalogPath = (orgId) => `${API_BASE2}/orgs/${orgId}/templates/catalog`;
3877
+ TemplateCatalogClient = class extends ChatBookmarksClient {
3878
+ /**
3879
+ * The published team templates this organization can hire. Open to every
3880
+ * member, people and agents alike (owners and admins also have the full
3881
+ * definitions through `listOfficialTemplates`).
3882
+ */
3883
+ async listTemplateCatalog(orgId) {
3884
+ const res = await this.request("GET", templateCatalogPath(orgId));
3885
+ return res.templates ?? [];
3886
+ }
3887
+ };
3888
+ }
3889
+ });
3890
+
3845
3891
  // ts/sdk/dist/wiki-changeset.js
3846
3892
  function normalizeWikiChangeset(changeset) {
3847
3893
  return {
@@ -3919,11 +3965,11 @@ var init_client = __esm({
3919
3965
  init_browser_viewer();
3920
3966
  init_wiki_upload();
3921
3967
  init_fetch_cause();
3922
- init_chat_bookmarks_client();
3968
+ init_template_catalog_client();
3923
3969
  init_wiki_changeset();
3924
3970
  init_pagination();
3925
3971
  init_constants();
3926
- ParallClient = class _ParallClient extends ChatBookmarksClient {
3972
+ ParallClient = class _ParallClient extends TemplateCatalogClient {
3927
3973
  baseUrl;
3928
3974
  wikiBaseUrl;
3929
3975
  token;
@@ -6227,9 +6273,11 @@ var init_client = __esm({
6227
6273
  });
6228
6274
  }
6229
6275
  /** Idempotently begin deleting a hosted Cloud Profile; every repeat returns
6230
- * `202 deleting` until the pod and stored browser state are finalized. */
6231
- async deleteEdgeDevice(orgId, edgeId) {
6232
- return this.request("DELETE", ENDPOINTS.ORG_EDGE_DEVICE(orgId, edgeId));
6276
+ * `202 deleting` until the pod and stored browser state are finalized.
6277
+ * `ifUnused` deletes only when no connection runs on it and no browser
6278
+ * profile on it is shared or granted; otherwise `409 EDGE_IN_USE`. */
6279
+ async deleteEdgeDevice(orgId, edgeId, options) {
6280
+ return this.request("DELETE", ENDPOINTS.ORG_EDGE_DEVICE(orgId, edgeId), void 0, options?.ifUnused ? { if_unused: "true" } : void 0);
6233
6281
  }
6234
6282
  /** Move the human caller's OWN BYOC device between the org layer and their
6235
6283
  * personal layer (ADR-020). `member` takes the device — and every clip
@@ -6854,6 +6902,13 @@ var init_team_invite_types = __esm({
6854
6902
  }
6855
6903
  });
6856
6904
 
6905
+ // ts/sdk/dist/template-catalog-types.js
6906
+ var init_template_catalog_types = __esm({
6907
+ "ts/sdk/dist/template-catalog-types.js"() {
6908
+ "use strict";
6909
+ }
6910
+ });
6911
+
6857
6912
  // ts/sdk/dist/template-intake-types.js
6858
6913
  var init_template_intake_types = __esm({
6859
6914
  "ts/sdk/dist/template-intake-types.js"() {
@@ -6876,9 +6931,11 @@ var init_trigger_judge_types = __esm({
6876
6931
  });
6877
6932
 
6878
6933
  // ts/sdk/dist/action-cards.js
6934
+ var TEMPLATE_TEAM_HIRE_ACTION;
6879
6935
  var init_action_cards = __esm({
6880
6936
  "ts/sdk/dist/action-cards.js"() {
6881
6937
  "use strict";
6938
+ TEMPLATE_TEAM_HIRE_ACTION = "template.team.hire";
6882
6939
  }
6883
6940
  });
6884
6941
 
@@ -7380,6 +7437,7 @@ __export(dist_exports, {
7380
7437
  RUNTIME_OBSERVATION_STATUSES: () => RUNTIME_OBSERVATION_STATUSES,
7381
7438
  TEAM_SECRET_AGENT_ADD_ACTION: () => TEAM_SECRET_AGENT_ADD_ACTION,
7382
7439
  TEAM_SECRET_REQUEST_ACTION: () => TEAM_SECRET_REQUEST_ACTION,
7440
+ TEMPLATE_TEAM_HIRE_ACTION: () => TEMPLATE_TEAM_HIRE_ACTION,
7383
7441
  USER_SECRET_AGENT_ADD_ACTION: () => USER_SECRET_AGENT_ADD_ACTION,
7384
7442
  USER_SECRET_REQUEST_ACTION: () => USER_SECRET_REQUEST_ACTION,
7385
7443
  WIKI_BASE: () => WIKI_BASE,
@@ -7472,6 +7530,7 @@ var init_dist = __esm({
7472
7530
  init_task_label_types();
7473
7531
  init_chat_bookmarks_types();
7474
7532
  init_team_invite_types();
7533
+ init_template_catalog_types();
7475
7534
  init_template_intake_types();
7476
7535
  init_member_field_types();
7477
7536
  init_trigger_judge_types();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parall/daemon",
3
- "version": "1.91.0",
3
+ "version": "1.92.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/sdk": "1.91.0",
38
- "@parall/claude-agent": "1.91.0",
39
- "@parall/agent-core": "1.91.0",
40
- "@parall/openclaw-agent": "1.91.0",
41
- "@parall/codex-agent": "1.91.0"
37
+ "@parall/agent-core": "1.92.0",
38
+ "@parall/claude-agent": "1.92.0",
39
+ "@parall/sdk": "1.92.0",
40
+ "@parall/codex-agent": "1.92.0",
41
+ "@parall/openclaw-agent": "1.92.0"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/node": "^22.0.0",