@parall/daemon 1.90.0 → 1.91.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "1.90.0",
3
- "built_at": "2026-11-10T01:24:38.066Z",
2
+ "version": "1.91.0",
3
+ "built_at": "2026-11-12T10:49:05.814Z",
4
4
  "min_node_version": "20.0.0",
5
5
  "files": {
6
6
  "bb-browser-daemon.js": {
@@ -16,29 +16,29 @@
16
16
  "size": 18
17
17
  },
18
18
  "parall-browser-pod.js": {
19
- "sha256": "0e2a65b50382cb6d3fad400477eb98dc08f960e3dfeb7bfb298a824e1b2da9ec",
20
- "size": 3100516
19
+ "sha256": "a278a36d315cfe8a0fea395bb3f5f6fb6cd16de65e5ebc278672fc7854e2c466",
20
+ "size": 3102056
21
21
  },
22
22
  "parall-channel-exec.js": {
23
23
  "sha256": "3a39c2ced4f4e8ecf9283b77efa028bd28fa08d61e8d2e3f20700c0a4f61e792",
24
24
  "size": 9223
25
25
  },
26
26
  "parall-claude-agent.js": {
27
- "sha256": "6d8d89365dc209af4b6bbfab169a8c4200b7bb21988ce426fb32fb8435f9cef9",
28
- "size": 3122937
27
+ "sha256": "c5cddec08b719db5d2f7e36b52dc783436b426985b34b0a80512fb9057a16da0",
28
+ "size": 3126053
29
29
  },
30
30
  "parall-codex-agent.js": {
31
- "sha256": "13bac22d259bdfce1f410961db17baecd41e6788374ecd631e7597b7a9765d2b",
32
- "size": 3132375
31
+ "sha256": "3c38d3add6c0a55ac284d891ce063fdef8314d7d8ab239196c65a43122c226fa",
32
+ "size": 3135538
33
33
  },
34
34
  "parall-daemon.js": {
35
- "sha256": "dd336c746aa3db893ffe0186190246bb1959c55e0485d18126cdb11c10cfddad",
36
- "size": 3300033
35
+ "sha256": "b05e1083315d6f504fa1d09d24e2a07ece3cd06088dd3e03c10dfacca35c29aa",
36
+ "size": 3301874
37
37
  },
38
38
  "parall-openclaw-agent.js": {
39
39
  "sha256": "856a1c3a9ae0ffef8efe2481fa1171dbeb1d67cccb88616aa9bf16da96a69355",
40
40
  "size": 9923
41
41
  }
42
42
  },
43
- "signature": "EWy+/bq35RlPdMW23nLCBJK0lofVTlMVzox6xbxaqFMJGPnIgdfj6MXL+Sj+LNNh2klP8Sp1IqRwRZkRBM+NCg=="
43
+ "signature": "27qJU7kn4N/kQC2rT5p2HrSV0XGmWgDHFA/pQLhaahG5dbN8jpvLrd/GoiY30RSs1LCWXygbwgpEHZKk2/bGAw=="
44
44
  }
@@ -64935,6 +64935,7 @@ var ENDPOINTS = {
64935
64935
  WIKI_UPLOADS: (orgId, wikiId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/uploads`,
64936
64936
  WIKI_FILES: (orgId, wikiId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/files`,
64937
64937
  WIKI_FILE_PREVIEW_URL: (orgId, wikiId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/files/preview-url`,
64938
+ WIKI_DOCUMENT_IMAGE_PREVIEW_URL: (orgId, wikiId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/document-images/preview-url`,
64938
64939
  // Wiki Path Scopes (AFCS ACL)
64939
64940
  WIKI_PATH_SCOPES: (orgId, wikiId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/path-scopes`,
64940
64941
  WIKI_PATH_SCOPE: (orgId, wikiId, scopeId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/path-scopes/${scopeId}`,
@@ -65962,18 +65963,37 @@ var BrowserProfileClient = class extends HostedProfileCreationClient {
65962
65963
  const me = await this.request("GET", ENDPOINTS.USERS_ME);
65963
65964
  const devices = await this.request("GET", ENDPOINTS.ORG_EDGE_DEVICES(orgId));
65964
65965
  const data2 = [];
65966
+ const warnings = [];
65965
65967
  for (const device of devices.data) {
65966
65968
  const personal = device.managed_by === "member";
65967
65969
  if (personal && device.owner_user_id !== me.id)
65968
65970
  continue;
65969
- const profiles = await this.request("GET", ENDPOINTS.ORG_EDGE_PROFILES(orgId, device.id));
65971
+ if (!profileId && device.hosted_state === "deleting") {
65972
+ warnings.push({ device_id: device.id, code: "DEVICE_DELETING" });
65973
+ continue;
65974
+ }
65975
+ const skipMissingDevice = (err) => {
65976
+ const status = typeof err === "object" && err !== null ? err.status : void 0;
65977
+ if (profileId || status !== 404)
65978
+ throw err;
65979
+ warnings.push({ device_id: device.id, code: "DEVICE_NOT_FOUND" });
65980
+ return void 0;
65981
+ };
65982
+ const profiles = await this.request("GET", ENDPOINTS.ORG_EDGE_PROFILES(orgId, device.id)).catch(skipMissingDevice);
65983
+ if (!profiles)
65984
+ continue;
65985
+ const deviceData = [];
65970
65986
  for (const profile of profiles) {
65971
65987
  if (profileId && profile.id !== profileId)
65972
65988
  continue;
65973
- const access2 = personal ? null : await this.getBrowserProfileAccess(orgId, device.id, profile.name);
65989
+ const access2 = personal ? null : await this.getBrowserProfileAccess(orgId, device.id, profile.name).catch(skipMissingDevice);
65990
+ if (access2 === void 0) {
65991
+ deviceData.length = 0;
65992
+ break;
65993
+ }
65974
65994
  if (!personal && !access2?.org_public && !(access2?.grants ?? []).some((g5) => g5.user_id === me.id && g5.grants.length > 0))
65975
65995
  continue;
65976
- data2.push({
65996
+ deviceData.push({
65977
65997
  profile_id: profile.id,
65978
65998
  name: profile.name,
65979
65999
  device_name: device.name,
@@ -65983,8 +66003,9 @@ var BrowserProfileClient = class extends HostedProfileCreationClient {
65983
66003
  availability: device.placement === "hosted" ? device.hosted_state ?? "unknown" : device.status
65984
66004
  });
65985
66005
  }
66006
+ data2.push(...deviceData);
65986
66007
  }
65987
- return { data: data2 };
66008
+ return { data: data2, ...warnings.length ? { warnings } : {} };
65988
66009
  }
65989
66010
  /** Submit once: even refresh-enabled clients must not replay browser actions. */
65990
66011
  async createBrowserUseOperation(orgId, request) {
@@ -68447,6 +68468,19 @@ var ParallClient = class _ParallClient extends ChatBookmarksClient {
68447
68468
  res.url = this.absoluteMediaUrl(res.url);
68448
68469
  return res;
68449
68470
  }
68471
+ /**
68472
+ * Sign the same kind of URL for a picture a Wiki document references.
68473
+ * `src` goes as the document's renderer hands it over (written or
68474
+ * percent-encoded); the server resolves it against `document_path`, applies
68475
+ * a `rev=` pin in it over `ref`, and checks read access on the file it
68476
+ * names. A src that is not a wiki path answers 400 `NOT_WIKI_FILE`.
68477
+ */
68478
+ async getWikiDocumentImagePreviewUrl(orgId, wikiId, params) {
68479
+ const res = await this.request("POST", ENDPOINTS.WIKI_DOCUMENT_IMAGE_PREVIEW_URL(orgId, wikiId), params);
68480
+ if (res.url)
68481
+ res.url = this.absoluteMediaUrl(res.url);
68482
+ return res;
68483
+ }
68450
68484
  // ---- Wiki Path Scopes (AFCS ACL) ----
68451
68485
  async getWikiPathScopes(orgId, wikiId) {
68452
68486
  const res = await this.request("GET", ENDPOINTS.WIKI_PATH_SCOPES(orgId, wikiId));