@parall/daemon 1.62.0 → 1.63.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.62.0",
3
- "built_at": "2026-09-08T03:30:27.112Z",
2
+ "version": "1.63.0",
3
+ "built_at": "2026-09-08T18:23:48.745Z",
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": "b953af44aa6b5f32796ba74405362c7af39f133ea4473f38fc2ad31ab222400a",
20
- "size": 3023183
19
+ "sha256": "466bb4e4afbfa094dab4cec88daffb2e3c6b509fac44299d788ee37b91fade49",
20
+ "size": 3026365
21
21
  },
22
22
  "parall-channel-exec.js": {
23
23
  "sha256": "7c2a6e12483a45e9eb4a42cd7d4cdd3c4fa21dd09ac1347d9a3e177b4ddee930",
24
24
  "size": 7220
25
25
  },
26
26
  "parall-claude-agent.js": {
27
- "sha256": "669766e85ff183c8b0d9e6ff283e88287e785c2ac5da75791c39d252dcac3eb7",
28
- "size": 2948234
27
+ "sha256": "b8aabbe10fcdb8b020c8d9022579c73064040c3c66773fd24a131005ca1d0572",
28
+ "size": 2953833
29
29
  },
30
30
  "parall-codex-agent.js": {
31
- "sha256": "ee1885f1dadc87a6a4ba6e097efbc7e529bb4e9ce835b2cf3982938c4c7cb71b",
32
- "size": 2967019
31
+ "sha256": "6836afd12e36f9d067dfa5c4d2dad587a5b871ba9d4c130c8bc8b526d157b9a5",
32
+ "size": 2971978
33
33
  },
34
34
  "parall-daemon.js": {
35
- "sha256": "aa9f9aaf1ceba6452827380726cbf92c3aa610d15eba3c248cc8073f7f7f099f",
36
- "size": 3136490
35
+ "sha256": "da2e3c9d4d60b391d7265a14d2c75c96a681ec351c3dc06541a96b6500b15b8d",
36
+ "size": 3169611
37
37
  },
38
38
  "parall-openclaw-agent.js": {
39
39
  "sha256": "856a1c3a9ae0ffef8efe2481fa1171dbeb1d67cccb88616aa9bf16da96a69355",
40
40
  "size": 9923
41
41
  }
42
42
  },
43
- "signature": "/gFN7/CIStdXb6KdpoHiWQXG96U61h2nhp3pfHwNrNZ1wFxEKNbIaK1YlMlOduTiGSy6ObDBfsLT+5pOJ57kAw=="
43
+ "signature": "Vmg4FHY8MLJHus4GlvCQGK4Sn7dhn4JnHUqdRASk39e9db7UZFAfwkvYfoMUv6DRVLuJIRAc/fBvxG2SLPrXCA=="
44
44
  }
@@ -64290,6 +64290,13 @@ function browserViewerRequestOptions(command, opts) {
64290
64290
  };
64291
64291
  }
64292
64292
 
64293
+ // ts/sdk/dist/clip-connection-endpoints.js
64294
+ var clipConnectionEndpoints = {
64295
+ CLIP_CONNECTIONS: (orgId, clipId) => `/api/v1/orgs/${orgId}/clip-registry/${clipId}/connections`,
64296
+ CLIP_CONNECTION_ACCESS: (orgId, connId) => `/api/v1/orgs/${orgId}/clip-connections/${connId}/access`,
64297
+ CLIP_CONNECTION: (orgId, connId) => `/api/v1/orgs/${orgId}/clip-connections/${connId}`
64298
+ };
64299
+
64293
64300
  // ts/sdk/dist/attachment-endpoints.js
64294
64301
  function attachmentEndpoints(apiBase) {
64295
64302
  return {
@@ -64303,6 +64310,7 @@ function attachmentEndpoints(apiBase) {
64303
64310
  // ts/sdk/dist/edge-endpoints.js
64304
64311
  var API_BASE = "/api/v1";
64305
64312
  var edgeEndpoints = {
64313
+ ORG_EDGE_PROFILE_ACCESS: (orgId, edgeId, profileName) => `${API_BASE}/orgs/${orgId}/edge/${edgeId}/profiles/${encodeURIComponent(profileName)}/access`,
64306
64314
  ORG_EDGE: (orgId) => `${API_BASE}/orgs/${orgId}/edge`,
64307
64315
  ORG_EDGE_CONNECT: (orgId) => `${API_BASE}/orgs/${orgId}/edge/connect`,
64308
64316
  ORG_EDGE_DEVICES: (orgId) => `${API_BASE}/orgs/${orgId}/edge/devices`,
@@ -64494,6 +64502,7 @@ var ENDPOINTS = {
64494
64502
  MACHINES_ME_AGENTS: `${API_BASE2}/machines/me/agents`,
64495
64503
  MACHINES_ME_HEALTH: `${API_BASE2}/machines/me/health`,
64496
64504
  MACHINES_ME_RUNTIME_REPORT: `${API_BASE2}/machines/me/runtime-report`,
64505
+ MACHINES_ME_DIAGNOSTICS: `${API_BASE2}/machines/me/diagnostics`,
64497
64506
  MACHINES_ME_CLIPS: `${API_BASE2}/machines/me/clips`,
64498
64507
  MACHINES_ME_BROWSER_PROFILES: `${API_BASE2}/machines/me/browser-profiles`,
64499
64508
  MACHINES_ME_BROWSER_PROFILE_STATUS: (profileId) => `${API_BASE2}/machines/me/browser-profiles/${profileId}/status`,
@@ -64680,6 +64689,7 @@ var ENDPOINTS = {
64680
64689
  // Wiki History (commits, file commits, blame)
64681
64690
  WIKI_COMMITS: (orgId, wikiId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/commits`,
64682
64691
  WIKI_FILE_COMMITS: (orgId, wikiId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/file-commits`,
64692
+ WIKI_PATH_ACTIVITY: (orgId, wikiId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/path-activity`,
64683
64693
  WIKI_BLAME: (orgId, wikiId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/blame`,
64684
64694
  // Wiki Operations (audit log)
64685
64695
  WIKI_OPERATIONS: (orgId, wikiId) => `${WIKI_BASE}/orgs/${orgId}/wikis/${wikiId}/operations`,
@@ -64815,8 +64825,7 @@ var ENDPOINTS = {
64815
64825
  // Same request/reply shape as the v2 browser-profile viewer, on the v3 edge
64816
64826
  // pipe. Additive: does NOT replace BROWSER_PROFILE_VIEWER_COMMAND.
64817
64827
  ORG_EDGE_VIEWER_COMMAND: (orgId, edgeId) => `/api/v1/orgs/${orgId}/edge/${edgeId}/viewer/command`,
64818
- CLIP_CONNECTIONS: (orgId, clipId) => `/api/v1/orgs/${orgId}/clip-registry/${clipId}/connections`,
64819
- CLIP_CONNECTION: (orgId, connId) => `/api/v1/orgs/${orgId}/clip-connections/${connId}`,
64828
+ ...clipConnectionEndpoints,
64820
64829
  // Clip registry (v3, org-scoped, served by api-server — `crg_` entries)
64821
64830
  ORG_CLIP_REGISTRY: (orgId) => `/api/v1/orgs/${orgId}/clip-registry`,
64822
64831
  ORG_CLIP_REGISTRY_RESOLVE: (orgId) => `/api/v1/orgs/${orgId}/clip-registry/resolve`,
@@ -65236,6 +65245,39 @@ var ChannelConversationClient = class extends SlackFilesClient {
65236
65245
  }
65237
65246
  };
65238
65247
 
65248
+ // ts/sdk/dist/clip-connection-client.js
65249
+ var ClipConnectionClient = class extends ChannelConversationClient {
65250
+ // ---- Clip connections ----
65251
+ async listClipConnections(orgId, clipId) {
65252
+ return this.request("GET", ENDPOINTS.CLIP_CONNECTIONS(orgId, clipId));
65253
+ }
65254
+ async createClipConnection(orgId, clipId, input) {
65255
+ return this.request("POST", ENDPOINTS.CLIP_CONNECTIONS(orgId, clipId), input);
65256
+ }
65257
+ async deleteClipConnection(orgId, connId) {
65258
+ return this.request("DELETE", ENDPOINTS.CLIP_CONNECTION(orgId, connId));
65259
+ }
65260
+ /** Organization members may read; personal connections are owner-only. */
65261
+ async getClipConnectionAccess(orgId, connId) {
65262
+ return this.request("GET", ENDPOINTS.CLIP_CONNECTION_ACCESS(orgId, connId));
65263
+ }
65264
+ /** Human org owner/admin; accepts JWT or personal key. */
65265
+ async putClipConnectionAccess(orgId, connId, input) {
65266
+ return this.request("PUT", ENDPOINTS.CLIP_CONNECTION_ACCESS(orgId, connId), input);
65267
+ }
65268
+ };
65269
+
65270
+ // ts/sdk/dist/browser-profile-client.js
65271
+ var BrowserProfileClient = class extends ClipConnectionClient {
65272
+ async getBrowserProfileAccess(orgId, edgeId, profileName) {
65273
+ return this.request("GET", ENDPOINTS.ORG_EDGE_PROFILE_ACCESS(orgId, edgeId, profileName));
65274
+ }
65275
+ /** Replace the complete access policy; requires a human org owner/admin. */
65276
+ async putBrowserProfileAccess(orgId, edgeId, profileName, access) {
65277
+ return this.request("PUT", ENDPOINTS.ORG_EDGE_PROFILE_ACCESS(orgId, edgeId, profileName), access);
65278
+ }
65279
+ };
65280
+
65239
65281
  // ts/sdk/dist/wiki-upload.js
65240
65282
  function createWikiUploadFormData(params) {
65241
65283
  const form = new FormData();
@@ -65372,7 +65414,7 @@ function legacyHeartbeatFromReport(report) {
65372
65414
  detectedRuntimes
65373
65415
  };
65374
65416
  }
65375
- var ParallClient = class _ParallClient extends ChannelConversationClient {
65417
+ var ParallClient = class _ParallClient extends BrowserProfileClient {
65376
65418
  baseUrl;
65377
65419
  wikiBaseUrl;
65378
65420
  token;
@@ -66406,6 +66448,17 @@ var ParallClient = class _ParallClient extends ChannelConversationClient {
66406
66448
  await this.postMachineHeartbeat(legacyHeartbeatFromReport(report));
66407
66449
  return "legacy";
66408
66450
  }
66451
+ /**
66452
+ * Upload a diagnostics bundle from the machine itself (`mck_` bearer):
66453
+ * a gzip body the daemon assembled and redacted locally. Multipart so the
66454
+ * meta travels beside the file; the server indexes it for platform staff.
66455
+ */
66456
+ async uploadMachineDiagnostics(bundle, meta = {}) {
66457
+ const form = new FormData();
66458
+ form.append("meta", JSON.stringify(meta));
66459
+ form.append("bundle", new Blob([new Uint8Array(bundle)], { type: "application/gzip" }), "diagnostics.json.gz");
66460
+ return this.multipartRequest("POST", ENDPOINTS.MACHINES_ME_DIAGNOSTICS, form, false, { timeoutMs: 2 * 60 * 1e3 });
66461
+ }
66409
66462
  /**
66410
66463
  * @deprecated Legacy form of `putMachineRuntimeReport`, kept for servers
66411
66464
  * that predate it. `POST /machines/me/health` — report daemon state. All
@@ -67187,6 +67240,10 @@ var ParallClient = class _ParallClient extends ChannelConversationClient {
67187
67240
  ...params
67188
67241
  });
67189
67242
  }
67243
+ /** Bounded, ACL-safe activity for one Wiki file path. */
67244
+ async getWikiPathActivity(orgId, wikiId, path7, opts) {
67245
+ return this.request("GET", ENDPOINTS.WIKI_PATH_ACTIVITY(orgId, wikiId), void 0, { path: path7 }, false, opts);
67246
+ }
67190
67247
  async getWikiBlame(orgId, wikiId, path7, ref) {
67191
67248
  return this.request("GET", ENDPOINTS.WIKI_BLAME(orgId, wikiId), void 0, { path: path7, ref });
67192
67249
  }
@@ -67617,7 +67674,7 @@ var ParallClient = class _ParallClient extends ChannelConversationClient {
67617
67674
  /**
67618
67675
  * Read a clip's per-org exec access (by user id — humans and agents alike).
67619
67676
  * Org-member readable, so a denied caller can learn why exec answered
67620
- * `CLIP_NOT_ALLOWED` / `CLIP_CONNECTION_NOT_ALLOWED` (agents:
67677
+ * `CONNECTION_NOT_ALLOWED` (retired: `CLIP_NOT_ALLOWED` / `CLIP_CONNECTION_NOT_ALLOWED`) (agents:
67621
67678
  * `CLIP_AGENT_NOT_ALLOWED` / `CLIP_AGENT_CONNECTION_NOT_ALLOWED`). Writing
67622
67679
  * it (`putClipAgentExecAccess`) is an org owner/admin's act.
67623
67680
  */
@@ -67657,6 +67714,19 @@ var ParallClient = class _ParallClient extends ChannelConversationClient {
67657
67714
  async deleteEdgeDevice(orgId, edgeId) {
67658
67715
  return this.request("DELETE", ENDPOINTS.ORG_EDGE_DEVICE(orgId, edgeId));
67659
67716
  }
67717
+ /** Move the human caller's OWN BYOC device between the org layer and their
67718
+ * personal layer (ADR-020). `member` takes the device — and every clip
67719
+ * connection bound to it — out of the org's sight and into the owner's sole
67720
+ * custody; `org` shares it back, after which an org admin binds clips to it
67721
+ * and the clip's access list governs exec. Idempotent. Refused for hosted
67722
+ * profiles (`EDGE_NOT_PERSONALIZABLE`), for anyone but the owner
67723
+ * (`FORBIDDEN`; someone else's personal device is `NOT_FOUND`), and for
67724
+ * agents. */
67725
+ async setEdgeManagedBy(orgId, edgeId, managedBy) {
67726
+ return this.request("PATCH", ENDPOINTS.ORG_EDGE_DEVICE(orgId, edgeId), {
67727
+ managed_by: managedBy
67728
+ });
67729
+ }
67660
67730
  /** Idempotently remove the human caller's own offline BYOC registration.
67661
67731
  * A live connection returns `EDGE_ONLINE`. */
67662
67732
  async unregisterEdgeDevice(orgId, edgeId) {
@@ -67739,7 +67809,7 @@ var ParallClient = class _ParallClient extends ChannelConversationClient {
67739
67809
  return this.request("GET", ENDPOINTS.ORG_BROWSER_ALIAS_EXECUTION(orgId, requestId));
67740
67810
  }
67741
67811
  /** Accept one idempotent Browser Use operation for an explicit Profile.
67742
- * The Server resolves Profile→Edge; callers never select an Edge directly. */
67812
+ * JWT, personal, agent and managed keys use profile access. The Server resolves Profile→Edge. */
67743
67813
  async createBrowserUseOperation(orgId, request) {
67744
67814
  return this.request("POST", ENDPOINTS.ORG_BROWSER_USE_OPERATIONS(orgId), request);
67745
67815
  }
@@ -67856,9 +67926,9 @@ var ParallClient = class _ParallClient extends ChannelConversationClient {
67856
67926
  * - `EDGE_DEADLINE_EXCEEDED` 504 — arrived late, provably NOT executed.
67857
67927
  * - `EDGE_HOSTED_DISABLED_FOR_ORG` 403, `EDGE_REPAIR` 503 (operator-held),
67858
67928
  * `EDGE_RUNTIME_UNAVAILABLE` 503 (deployment has no hosted runtime).
67859
- * - Access errors (decided before any side effect): `CLIP_NOT_ALLOWED`
67860
- * (no grant for this clip), `CLIP_CONNECTION_NOT_ALLOWED` (grant does
67861
- * not cover this connection) — agent principals receive the historical
67929
+ * - Access errors (before side effects): human `CONNECTION_NOT_ALLOWED`.
67930
+ * `CLIP_NOT_ALLOWED` / `CLIP_CONNECTION_NOT_ALLOWED` are retired.
67931
+ * Agent principals receive the historical
67862
67932
  * `CLIP_AGENT_NOT_ALLOWED` / `CLIP_AGENT_CONNECTION_NOT_ALLOWED` for one
67863
67933
  * release. An org owner/admin can widen access in the clip's settings.
67864
67934
  * - Routing errors: `CONNECTION_REQUIRED`, `CONNECTION_NOT_FOUND`,
@@ -67880,16 +67950,6 @@ var ParallClient = class _ParallClient extends ChannelConversationClient {
67880
67950
  throw err;
67881
67951
  }
67882
67952
  }
67883
- // ---- Clip connections ----
67884
- async listClipConnections(orgId, clipId) {
67885
- return this.request("GET", ENDPOINTS.CLIP_CONNECTIONS(orgId, clipId));
67886
- }
67887
- async createClipConnection(orgId, clipId, input) {
67888
- return this.request("POST", ENDPOINTS.CLIP_CONNECTIONS(orgId, clipId), input);
67889
- }
67890
- async deleteClipConnection(orgId, connId) {
67891
- return this.request("DELETE", ENDPOINTS.CLIP_CONNECTION(orgId, connId));
67892
- }
67893
67953
  // ---- MCP clip server config (same-org or reviewed Official OAuth) ----
67894
67954
  /**
67895
67955
  * Read the redacted MCP config. 404 NOT_FOUND when the clip has none yet —