@parall/daemon 1.90.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.90.0",
3
- "built_at": "2026-11-10T01:24:38.066Z",
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": "0e2a65b50382cb6d3fad400477eb98dc08f960e3dfeb7bfb298a824e1b2da9ec",
20
- "size": 3100516
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": "6d8d89365dc209af4b6bbfab169a8c4200b7bb21988ce426fb32fb8435f9cef9",
28
- "size": 3122937
27
+ "sha256": "0a987778613f2e0ca54e1fa59de4e5408f05b8c4162ec029522685e589f38f47",
28
+ "size": 3128309
29
29
  },
30
30
  "parall-codex-agent.js": {
31
- "sha256": "13bac22d259bdfce1f410961db17baecd41e6788374ecd631e7597b7a9765d2b",
32
- "size": 3132375
31
+ "sha256": "759717264f00010b3b017cfde9835dd5d6b859752abe25d04c579f9892ae56e5",
32
+ "size": 3137794
33
33
  },
34
34
  "parall-daemon.js": {
35
- "sha256": "dd336c746aa3db893ffe0186190246bb1959c55e0485d18126cdb11c10cfddad",
36
- "size": 3300033
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": "EWy+/bq35RlPdMW23nLCBJK0lofVTlMVzox6xbxaqFMJGPnIgdfj6MXL+Sj+LNNh2klP8Sp1IqRwRZkRBM+NCg=="
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`,
@@ -64935,6 +64937,7 @@ var ENDPOINTS = {
64935
64937
  WIKI_UPLOADS: (orgId, wikiId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/uploads`,
64936
64938
  WIKI_FILES: (orgId, wikiId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/files`,
64937
64939
  WIKI_FILE_PREVIEW_URL: (orgId, wikiId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/files/preview-url`,
64940
+ WIKI_DOCUMENT_IMAGE_PREVIEW_URL: (orgId, wikiId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/document-images/preview-url`,
64938
64941
  // Wiki Path Scopes (AFCS ACL)
64939
64942
  WIKI_PATH_SCOPES: (orgId, wikiId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/path-scopes`,
64940
64943
  WIKI_PATH_SCOPE: (orgId, wikiId, scopeId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/path-scopes/${scopeId}`,
@@ -65637,8 +65640,16 @@ var MiniAppAccessClient = class extends MiniAppActionClient {
65637
65640
  async removeMiniAppAccessGrant(orgId, appId, userId) {
65638
65641
  return this.request("DELETE", `${access(orgId, appId)}/grants/${encodeURIComponent(userId)}`);
65639
65642
  }
65640
- /** The change record, newest first: member_access, the access list and
65641
- * 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. */
65642
65653
  async getMiniAppAccessLog(orgId, appId, query = {}) {
65643
65654
  const response = await this.request("GET", `${access(orgId, appId)}/log`, void 0, { limit: query.limit, before_id: query.before_id });
65644
65655
  return response.data;
@@ -65906,6 +65917,17 @@ var ClipConnectionClient = class extends ChannelConversationClient {
65906
65917
  async putClipConnectionAccess(orgId, connId, input) {
65907
65918
  return this.request("PUT", ENDPOINTS.CLIP_CONNECTION_ACCESS(orgId, connId), input);
65908
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
+ }
65909
65931
  /** Start OAuth using the reviewed platform app or provider registration ladder.
65910
65932
  * Allow discovery (30s), persistence (10s), and network overhead to finish. */
65911
65933
  async createClipMCPOAuthConnection(orgId, clipId, serverUrl, alias, oauthClient) {
@@ -65962,18 +65984,37 @@ var BrowserProfileClient = class extends HostedProfileCreationClient {
65962
65984
  const me = await this.request("GET", ENDPOINTS.USERS_ME);
65963
65985
  const devices = await this.request("GET", ENDPOINTS.ORG_EDGE_DEVICES(orgId));
65964
65986
  const data2 = [];
65987
+ const warnings = [];
65965
65988
  for (const device of devices.data) {
65966
65989
  const personal = device.managed_by === "member";
65967
65990
  if (personal && device.owner_user_id !== me.id)
65968
65991
  continue;
65969
- const profiles = await this.request("GET", ENDPOINTS.ORG_EDGE_PROFILES(orgId, device.id));
65992
+ if (!profileId && device.hosted_state === "deleting") {
65993
+ warnings.push({ device_id: device.id, code: "DEVICE_DELETING" });
65994
+ continue;
65995
+ }
65996
+ const skipMissingDevice = (err) => {
65997
+ const status = typeof err === "object" && err !== null ? err.status : void 0;
65998
+ if (profileId || status !== 404)
65999
+ throw err;
66000
+ warnings.push({ device_id: device.id, code: "DEVICE_NOT_FOUND" });
66001
+ return void 0;
66002
+ };
66003
+ const profiles = await this.request("GET", ENDPOINTS.ORG_EDGE_PROFILES(orgId, device.id)).catch(skipMissingDevice);
66004
+ if (!profiles)
66005
+ continue;
66006
+ const deviceData = [];
65970
66007
  for (const profile of profiles) {
65971
66008
  if (profileId && profile.id !== profileId)
65972
66009
  continue;
65973
- const access2 = personal ? null : await this.getBrowserProfileAccess(orgId, device.id, profile.name);
66010
+ const access2 = personal ? null : await this.getBrowserProfileAccess(orgId, device.id, profile.name).catch(skipMissingDevice);
66011
+ if (access2 === void 0) {
66012
+ deviceData.length = 0;
66013
+ break;
66014
+ }
65974
66015
  if (!personal && !access2?.org_public && !(access2?.grants ?? []).some((g5) => g5.user_id === me.id && g5.grants.length > 0))
65975
66016
  continue;
65976
- data2.push({
66017
+ deviceData.push({
65977
66018
  profile_id: profile.id,
65978
66019
  name: profile.name,
65979
66020
  device_name: device.name,
@@ -65983,8 +66024,9 @@ var BrowserProfileClient = class extends HostedProfileCreationClient {
65983
66024
  availability: device.placement === "hosted" ? device.hosted_state ?? "unknown" : device.status
65984
66025
  });
65985
66026
  }
66027
+ data2.push(...deviceData);
65986
66028
  }
65987
- return { data: data2 };
66029
+ return { data: data2, ...warnings.length ? { warnings } : {} };
65988
66030
  }
65989
66031
  /** Submit once: even refresh-enabled clients must not replay browser actions. */
65990
66032
  async createBrowserUseOperation(orgId, request) {
@@ -66351,9 +66393,12 @@ var TeamGraphClient = class extends AgentOwningTeamClient {
66351
66393
  * would refuse, with the same codes. 503 when it cannot compute the whole answer
66352
66394
  * (`TEAM_MOVE_PREVIEW_WIKI_UNAVAILABLE`, `TEAM_MOVE_PREVIEW_TIMEOUT`,
66353
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).
66354
66399
  */
66355
66400
  async previewTeamMove(orgId, teamId, parentTeamId) {
66356
- return this.request("POST", ENDPOINTS.TEAM_PARENT_PREVIEW(orgId, teamId), {
66401
+ return this.request("POST", `${ENDPOINTS.TEAM_PARENT_PREVIEW(orgId, teamId)}?include=apps`, {
66357
66402
  parent_team_id: parentTeamId
66358
66403
  });
66359
66404
  }
@@ -66608,6 +66653,20 @@ var ChatBookmarksClient = class extends WikiPageShareClient {
66608
66653
  }
66609
66654
  };
66610
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
+
66611
66670
  // ts/sdk/dist/wiki-changeset.js
66612
66671
  function normalizeWikiChangeset(changeset) {
66613
66672
  return {
@@ -66643,7 +66702,7 @@ function legacyHeartbeatFromReport(report) {
66643
66702
  detectedRuntimes
66644
66703
  };
66645
66704
  }
66646
- var ParallClient = class _ParallClient extends ChatBookmarksClient {
66705
+ var ParallClient = class _ParallClient extends TemplateCatalogClient {
66647
66706
  baseUrl;
66648
66707
  wikiBaseUrl;
66649
66708
  token;
@@ -68447,6 +68506,19 @@ var ParallClient = class _ParallClient extends ChatBookmarksClient {
68447
68506
  res.url = this.absoluteMediaUrl(res.url);
68448
68507
  return res;
68449
68508
  }
68509
+ /**
68510
+ * Sign the same kind of URL for a picture a Wiki document references.
68511
+ * `src` goes as the document's renderer hands it over (written or
68512
+ * percent-encoded); the server resolves it against `document_path`, applies
68513
+ * a `rev=` pin in it over `ref`, and checks read access on the file it
68514
+ * names. A src that is not a wiki path answers 400 `NOT_WIKI_FILE`.
68515
+ */
68516
+ async getWikiDocumentImagePreviewUrl(orgId, wikiId, params) {
68517
+ const res = await this.request("POST", ENDPOINTS.WIKI_DOCUMENT_IMAGE_PREVIEW_URL(orgId, wikiId), params);
68518
+ if (res.url)
68519
+ res.url = this.absoluteMediaUrl(res.url);
68520
+ return res;
68521
+ }
68450
68522
  // ---- Wiki Path Scopes (AFCS ACL) ----
68451
68523
  async getWikiPathScopes(orgId, wikiId) {
68452
68524
  const res = await this.request("GET", ENDPOINTS.WIKI_PATH_SCOPES(orgId, wikiId));
@@ -68934,9 +69006,11 @@ var ParallClient = class _ParallClient extends ChatBookmarksClient {
68934
69006
  });
68935
69007
  }
68936
69008
  /** Idempotently begin deleting a hosted Cloud Profile; every repeat returns
68937
- * `202 deleting` until the pod and stored browser state are finalized. */
68938
- async deleteEdgeDevice(orgId, edgeId) {
68939
- 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);
68940
69014
  }
68941
69015
  /** Move the human caller's OWN BYOC device between the org layer and their
68942
69016
  * personal layer (ADR-020). `member` takes the device — and every clip