@parall/daemon 1.78.0 → 1.79.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.78.0",
3
- "built_at": "2026-10-18T19:12:52.287Z",
2
+ "version": "1.79.0",
3
+ "built_at": "2026-10-19T13:22:11.073Z",
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": "c0f1bc9930493bb633abc3c40c01d0dac5e9a36385ec863fc05e9622a2409a5a",
20
- "size": 3069206
19
+ "sha256": "a9882baa4606e316e680b3d2b58ad7c01d25897323d2d11feb3812c864ebc7fc",
20
+ "size": 3072104
21
21
  },
22
22
  "parall-channel-exec.js": {
23
23
  "sha256": "2500dec2c332cce29aea476d3c048b49dbc43acf8572059bae2cd9dff49750b4",
24
24
  "size": 7978
25
25
  },
26
26
  "parall-claude-agent.js": {
27
- "sha256": "6bd17324a4d0701ab7d60d3c544413459a9af77de53814e5ab1189e4c4db6471",
28
- "size": 3079245
27
+ "sha256": "933db494e3b832977471c29e8ddfa96b2b5fc70a71f1fb964d23b0b553205b55",
28
+ "size": 3082143
29
29
  },
30
30
  "parall-codex-agent.js": {
31
- "sha256": "7b8c6791695c87991181ce8799c3a00647c38846cadfd2c984fcd3e7f8e78141",
32
- "size": 3092867
31
+ "sha256": "f4dd12d50d249e7d7f263445f91425d35a152800f84cdc64fb7f575b27078bcd",
32
+ "size": 3095765
33
33
  },
34
34
  "parall-daemon.js": {
35
- "sha256": "241fbf0ab14e3d72cef71332b8c74ea71e43a6158e24b9213579c5ecf1385fbe",
36
- "size": 3256332
35
+ "sha256": "b4256421391aa61b3427a9f611dc29a809a3a78f219b2787d9989aded3bb32e3",
36
+ "size": 3259817
37
37
  },
38
38
  "parall-openclaw-agent.js": {
39
39
  "sha256": "856a1c3a9ae0ffef8efe2481fa1171dbeb1d67cccb88616aa9bf16da96a69355",
40
40
  "size": 9923
41
41
  }
42
42
  },
43
- "signature": "oEsoc2/Lru259BzlAjs1JKBodODnYyfdyI3H1vRk+ivZNHtboEsxkJTt0zYIHxoyrFCXYTISnW08++tLhyH7BQ=="
43
+ "signature": "cDy15i3DVfVQJdcQa2hqi0fvtnPNHTK88JDzvMBUbQzIoNAIPJmIzXFdnmXGQgBW8TZmxeeUmimNmATSPoS3Bg=="
44
44
  }
@@ -64417,6 +64417,10 @@ var ENDPOINTS = {
64417
64417
  CHAT_MEMBER: (orgId, chatId, userId) => `${API_BASE2}/orgs/${orgId}/chats/${chatId}/members/${userId}`,
64418
64418
  CHAT_INVITATIONS: (orgId, chatId) => `${API_BASE2}/orgs/${orgId}/chats/${chatId}/invitations`,
64419
64419
  CHAT_INVITATION: (orgId, chatId, invId) => `${API_BASE2}/orgs/${orgId}/chats/${chatId}/invitations/${invId}`,
64420
+ CHAT_CONNECTIONS: (orgId, chatId) => `${API_BASE2}/orgs/${orgId}/chats/${chatId}/connections`,
64421
+ CHAT_CONNECTION_DISCONNECT: (orgId, chatId, connOrgId) => `${API_BASE2}/orgs/${orgId}/chats/${chatId}/connections/${connOrgId}/disconnect`,
64422
+ CHAT_RECONNECT_APPROVE: (orgId, chatId, connOrgId) => `${API_BASE2}/orgs/${orgId}/chats/${chatId}/connections/${connOrgId}/reconnect/approve`,
64423
+ CHAT_RECONNECT_DECLINE: (orgId, chatId, connOrgId) => `${API_BASE2}/orgs/${orgId}/chats/${chatId}/connections/${connOrgId}/reconnect/decline`,
64420
64424
  CHAT_TRANSFER_OWNERSHIP: (orgId, chatId) => `${API_BASE2}/orgs/${orgId}/chats/${chatId}/transfer-ownership`,
64421
64425
  CHAT_MESSAGES: (orgId, chatId) => `${API_BASE2}/orgs/${orgId}/chats/${chatId}/messages`,
64422
64426
  // Messages (global, by message ID)
@@ -65391,8 +65395,36 @@ var MiniAppActionClient = class extends MiniAppClient {
65391
65395
  }
65392
65396
  };
65393
65397
 
65398
+ // ts/sdk/dist/mini-app-access-client.js
65399
+ var access = (orgId, appId) => `${API_BASE2}/orgs/${orgId}/apps/${encodeURIComponent(appId)}/access`;
65400
+ var MiniAppAccessClient = class extends MiniAppActionClient {
65401
+ async getMiniAppAccess(orgId, appId) {
65402
+ return this.request("GET", access(orgId, appId));
65403
+ }
65404
+ /** How far everyone else in the organization reaches into the app. */
65405
+ async setMiniAppMemberAccess(orgId, appId, memberAccess) {
65406
+ return this.request("PATCH", access(orgId, appId), { member_access: memberAccess });
65407
+ }
65408
+ /** Puts a member of the organization on the app's access list, or
65409
+ * changes their level. */
65410
+ async setMiniAppAccessGrant(orgId, appId, userId, level) {
65411
+ return this.request("PUT", `${access(orgId, appId)}/grants/${encodeURIComponent(userId)}`, {
65412
+ access: level
65413
+ });
65414
+ }
65415
+ async removeMiniAppAccessGrant(orgId, appId, userId) {
65416
+ return this.request("DELETE", `${access(orgId, appId)}/grants/${encodeURIComponent(userId)}`);
65417
+ }
65418
+ /** The change record, newest first: member_access, the access list and
65419
+ * the author roster. */
65420
+ async getMiniAppAccessLog(orgId, appId, query = {}) {
65421
+ const response = await this.request("GET", `${access(orgId, appId)}/log`, void 0, { limit: query.limit, before_id: query.before_id });
65422
+ return response.data;
65423
+ }
65424
+ };
65425
+
65394
65426
  // ts/sdk/dist/llm-provider-client.js
65395
- var LLMProviderClient = class extends MiniAppActionClient {
65427
+ var LLMProviderClient = class extends MiniAppAccessClient {
65396
65428
  async getLLMProviders(orgId) {
65397
65429
  const response = await this.request("GET", ENDPOINTS.LLM_PROVIDERS(orgId));
65398
65430
  return response.data;
@@ -65667,8 +65699,8 @@ var BrowserProfileClient = class extends ClipConnectionClient {
65667
65699
  for (const profile of profiles) {
65668
65700
  if (profileId && profile.id !== profileId)
65669
65701
  continue;
65670
- const access = personal ? null : await this.getBrowserProfileAccess(orgId, device.id, profile.name);
65671
- if (!personal && !access?.org_public && !(access?.grants ?? []).some((g5) => g5.user_id === me.id && g5.grants.length > 0))
65702
+ const access2 = personal ? null : await this.getBrowserProfileAccess(orgId, device.id, profile.name);
65703
+ if (!personal && !access2?.org_public && !(access2?.grants ?? []).some((g5) => g5.user_id === me.id && g5.grants.length > 0))
65672
65704
  continue;
65673
65705
  data2.push({
65674
65706
  profile_id: profile.id,
@@ -65695,8 +65727,8 @@ var BrowserProfileClient = class extends ClipConnectionClient {
65695
65727
  return this.request("GET", ENDPOINTS.ORG_EDGE_PROFILE_ACCESS(orgId, edgeId, profileName));
65696
65728
  }
65697
65729
  /** Replace the complete access policy; requires a human org owner/admin. */
65698
- async putBrowserProfileAccess(orgId, edgeId, profileName, access) {
65699
- return this.request("PUT", ENDPOINTS.ORG_EDGE_PROFILE_ACCESS(orgId, edgeId, profileName), access);
65730
+ async putBrowserProfileAccess(orgId, edgeId, profileName, access2) {
65731
+ return this.request("PUT", ENDPOINTS.ORG_EDGE_PROFILE_ACCESS(orgId, edgeId, profileName), access2);
65700
65732
  }
65701
65733
  };
65702
65734
 
@@ -66579,6 +66611,27 @@ var ParallClient = class _ParallClient extends ApprovalApproversClient {
66579
66611
  async declineChatInvitation(id) {
66580
66612
  return this.request("POST", ENDPOINTS.CHAT_INVITATION_DECLINE(id));
66581
66613
  }
66614
+ /** Orgs connected to a channel, the channel's own org first. */
66615
+ async listChatConnections(orgId, chatId) {
66616
+ const res = await this.request("GET", ENDPOINTS.CHAT_CONNECTIONS(orgId, chatId));
66617
+ return res.data;
66618
+ }
66619
+ /**
66620
+ * End `connOrgId`'s connection to a channel. From the channel's own org a chat
66621
+ * owner or admin can disconnect any other org; from any other org, an org admin
66622
+ * can disconnect only that org.
66623
+ */
66624
+ async disconnectChatOrg(orgId, chatId, connOrgId) {
66625
+ return this.request("POST", ENDPOINTS.CHAT_CONNECTION_DISCONNECT(orgId, chatId, connOrgId));
66626
+ }
66627
+ /** Let `connOrgId` back into a channel; only the side that disconnected it can. */
66628
+ async approveChatReconnect(orgId, chatId, connOrgId) {
66629
+ return this.request("POST", ENDPOINTS.CHAT_RECONNECT_APPROVE(orgId, chatId, connOrgId));
66630
+ }
66631
+ /** Turn down `connOrgId`'s reconnect; it stays disconnected. */
66632
+ async declineChatReconnect(orgId, chatId, connOrgId) {
66633
+ return this.request("POST", ENDPOINTS.CHAT_RECONNECT_DECLINE(orgId, chatId, connOrgId));
66634
+ }
66582
66635
  async getInvitationByToken(token) {
66583
66636
  return this.request("GET", ENDPOINTS.INVITATION_BY_TOKEN(token));
66584
66637
  }
@@ -68362,8 +68415,8 @@ var ParallClient = class _ParallClient extends ApprovalApproversClient {
68362
68415
  * and every `connection_ids` entry a connection of THIS clip in this org
68363
68416
  * (else `400 INVALID_INPUT`).
68364
68417
  */
68365
- async putClipAgentExecAccess(orgId, clipId, access) {
68366
- return this.request("PUT", ENDPOINTS.ORG_CLIP_EXEC_ACCESS(orgId, clipId), access);
68418
+ async putClipAgentExecAccess(orgId, clipId, access2) {
68419
+ return this.request("PUT", ENDPOINTS.ORG_CLIP_EXEC_ACCESS(orgId, clipId), access2);
68367
68420
  }
68368
68421
  // ---- Edge devices ----
68369
68422
  async listEdgeDevices(orgId) {
@@ -52179,6 +52179,10 @@ var ENDPOINTS = {
52179
52179
  CHAT_MEMBER: (orgId, chatId, userId) => `${API_BASE2}/orgs/${orgId}/chats/${chatId}/members/${userId}`,
52180
52180
  CHAT_INVITATIONS: (orgId, chatId) => `${API_BASE2}/orgs/${orgId}/chats/${chatId}/invitations`,
52181
52181
  CHAT_INVITATION: (orgId, chatId, invId) => `${API_BASE2}/orgs/${orgId}/chats/${chatId}/invitations/${invId}`,
52182
+ CHAT_CONNECTIONS: (orgId, chatId) => `${API_BASE2}/orgs/${orgId}/chats/${chatId}/connections`,
52183
+ CHAT_CONNECTION_DISCONNECT: (orgId, chatId, connOrgId) => `${API_BASE2}/orgs/${orgId}/chats/${chatId}/connections/${connOrgId}/disconnect`,
52184
+ CHAT_RECONNECT_APPROVE: (orgId, chatId, connOrgId) => `${API_BASE2}/orgs/${orgId}/chats/${chatId}/connections/${connOrgId}/reconnect/approve`,
52185
+ CHAT_RECONNECT_DECLINE: (orgId, chatId, connOrgId) => `${API_BASE2}/orgs/${orgId}/chats/${chatId}/connections/${connOrgId}/reconnect/decline`,
52182
52186
  CHAT_TRANSFER_OWNERSHIP: (orgId, chatId) => `${API_BASE2}/orgs/${orgId}/chats/${chatId}/transfer-ownership`,
52183
52187
  CHAT_MESSAGES: (orgId, chatId) => `${API_BASE2}/orgs/${orgId}/chats/${chatId}/messages`,
52184
52188
  // Messages (global, by message ID)
@@ -53258,8 +53262,36 @@ var MiniAppActionClient = class extends MiniAppClient {
53258
53262
  }
53259
53263
  };
53260
53264
 
53265
+ // ts/sdk/dist/mini-app-access-client.js
53266
+ var access = (orgId, appId) => `${API_BASE2}/orgs/${orgId}/apps/${encodeURIComponent(appId)}/access`;
53267
+ var MiniAppAccessClient = class extends MiniAppActionClient {
53268
+ async getMiniAppAccess(orgId, appId) {
53269
+ return this.request("GET", access(orgId, appId));
53270
+ }
53271
+ /** How far everyone else in the organization reaches into the app. */
53272
+ async setMiniAppMemberAccess(orgId, appId, memberAccess) {
53273
+ return this.request("PATCH", access(orgId, appId), { member_access: memberAccess });
53274
+ }
53275
+ /** Puts a member of the organization on the app's access list, or
53276
+ * changes their level. */
53277
+ async setMiniAppAccessGrant(orgId, appId, userId, level) {
53278
+ return this.request("PUT", `${access(orgId, appId)}/grants/${encodeURIComponent(userId)}`, {
53279
+ access: level
53280
+ });
53281
+ }
53282
+ async removeMiniAppAccessGrant(orgId, appId, userId) {
53283
+ return this.request("DELETE", `${access(orgId, appId)}/grants/${encodeURIComponent(userId)}`);
53284
+ }
53285
+ /** The change record, newest first: member_access, the access list and
53286
+ * the author roster. */
53287
+ async getMiniAppAccessLog(orgId, appId, query = {}) {
53288
+ const response = await this.request("GET", `${access(orgId, appId)}/log`, void 0, { limit: query.limit, before_id: query.before_id });
53289
+ return response.data;
53290
+ }
53291
+ };
53292
+
53261
53293
  // ts/sdk/dist/llm-provider-client.js
53262
- var LLMProviderClient = class extends MiniAppActionClient {
53294
+ var LLMProviderClient = class extends MiniAppAccessClient {
53263
53295
  async getLLMProviders(orgId) {
53264
53296
  const response = await this.request("GET", ENDPOINTS.LLM_PROVIDERS(orgId));
53265
53297
  return response.data;
@@ -53534,8 +53566,8 @@ var BrowserProfileClient = class extends ClipConnectionClient {
53534
53566
  for (const profile of profiles) {
53535
53567
  if (profileId && profile.id !== profileId)
53536
53568
  continue;
53537
- const access = personal ? null : await this.getBrowserProfileAccess(orgId, device.id, profile.name);
53538
- if (!personal && !access?.org_public && !(access?.grants ?? []).some((g) => g.user_id === me.id && g.grants.length > 0))
53569
+ const access2 = personal ? null : await this.getBrowserProfileAccess(orgId, device.id, profile.name);
53570
+ if (!personal && !access2?.org_public && !(access2?.grants ?? []).some((g) => g.user_id === me.id && g.grants.length > 0))
53539
53571
  continue;
53540
53572
  data.push({
53541
53573
  profile_id: profile.id,
@@ -53562,8 +53594,8 @@ var BrowserProfileClient = class extends ClipConnectionClient {
53562
53594
  return this.request("GET", ENDPOINTS.ORG_EDGE_PROFILE_ACCESS(orgId, edgeId, profileName));
53563
53595
  }
53564
53596
  /** Replace the complete access policy; requires a human org owner/admin. */
53565
- async putBrowserProfileAccess(orgId, edgeId, profileName, access) {
53566
- return this.request("PUT", ENDPOINTS.ORG_EDGE_PROFILE_ACCESS(orgId, edgeId, profileName), access);
53597
+ async putBrowserProfileAccess(orgId, edgeId, profileName, access2) {
53598
+ return this.request("PUT", ENDPOINTS.ORG_EDGE_PROFILE_ACCESS(orgId, edgeId, profileName), access2);
53567
53599
  }
53568
53600
  };
53569
53601
 
@@ -54446,6 +54478,27 @@ var ParallClient = class _ParallClient extends ApprovalApproversClient {
54446
54478
  async declineChatInvitation(id) {
54447
54479
  return this.request("POST", ENDPOINTS.CHAT_INVITATION_DECLINE(id));
54448
54480
  }
54481
+ /** Orgs connected to a channel, the channel's own org first. */
54482
+ async listChatConnections(orgId, chatId) {
54483
+ const res = await this.request("GET", ENDPOINTS.CHAT_CONNECTIONS(orgId, chatId));
54484
+ return res.data;
54485
+ }
54486
+ /**
54487
+ * End `connOrgId`'s connection to a channel. From the channel's own org a chat
54488
+ * owner or admin can disconnect any other org; from any other org, an org admin
54489
+ * can disconnect only that org.
54490
+ */
54491
+ async disconnectChatOrg(orgId, chatId, connOrgId) {
54492
+ return this.request("POST", ENDPOINTS.CHAT_CONNECTION_DISCONNECT(orgId, chatId, connOrgId));
54493
+ }
54494
+ /** Let `connOrgId` back into a channel; only the side that disconnected it can. */
54495
+ async approveChatReconnect(orgId, chatId, connOrgId) {
54496
+ return this.request("POST", ENDPOINTS.CHAT_RECONNECT_APPROVE(orgId, chatId, connOrgId));
54497
+ }
54498
+ /** Turn down `connOrgId`'s reconnect; it stays disconnected. */
54499
+ async declineChatReconnect(orgId, chatId, connOrgId) {
54500
+ return this.request("POST", ENDPOINTS.CHAT_RECONNECT_DECLINE(orgId, chatId, connOrgId));
54501
+ }
54449
54502
  async getInvitationByToken(token) {
54450
54503
  return this.request("GET", ENDPOINTS.INVITATION_BY_TOKEN(token));
54451
54504
  }
@@ -56229,8 +56282,8 @@ var ParallClient = class _ParallClient extends ApprovalApproversClient {
56229
56282
  * and every `connection_ids` entry a connection of THIS clip in this org
56230
56283
  * (else `400 INVALID_INPUT`).
56231
56284
  */
56232
- async putClipAgentExecAccess(orgId, clipId, access) {
56233
- return this.request("PUT", ENDPOINTS.ORG_CLIP_EXEC_ACCESS(orgId, clipId), access);
56285
+ async putClipAgentExecAccess(orgId, clipId, access2) {
56286
+ return this.request("PUT", ENDPOINTS.ORG_CLIP_EXEC_ACCESS(orgId, clipId), access2);
56234
56287
  }
56235
56288
  // ---- Edge devices ----
56236
56289
  async listEdgeDevices(orgId) {
@@ -52179,6 +52179,10 @@ var ENDPOINTS = {
52179
52179
  CHAT_MEMBER: (orgId, chatId, userId) => `${API_BASE2}/orgs/${orgId}/chats/${chatId}/members/${userId}`,
52180
52180
  CHAT_INVITATIONS: (orgId, chatId) => `${API_BASE2}/orgs/${orgId}/chats/${chatId}/invitations`,
52181
52181
  CHAT_INVITATION: (orgId, chatId, invId) => `${API_BASE2}/orgs/${orgId}/chats/${chatId}/invitations/${invId}`,
52182
+ CHAT_CONNECTIONS: (orgId, chatId) => `${API_BASE2}/orgs/${orgId}/chats/${chatId}/connections`,
52183
+ CHAT_CONNECTION_DISCONNECT: (orgId, chatId, connOrgId) => `${API_BASE2}/orgs/${orgId}/chats/${chatId}/connections/${connOrgId}/disconnect`,
52184
+ CHAT_RECONNECT_APPROVE: (orgId, chatId, connOrgId) => `${API_BASE2}/orgs/${orgId}/chats/${chatId}/connections/${connOrgId}/reconnect/approve`,
52185
+ CHAT_RECONNECT_DECLINE: (orgId, chatId, connOrgId) => `${API_BASE2}/orgs/${orgId}/chats/${chatId}/connections/${connOrgId}/reconnect/decline`,
52182
52186
  CHAT_TRANSFER_OWNERSHIP: (orgId, chatId) => `${API_BASE2}/orgs/${orgId}/chats/${chatId}/transfer-ownership`,
52183
52187
  CHAT_MESSAGES: (orgId, chatId) => `${API_BASE2}/orgs/${orgId}/chats/${chatId}/messages`,
52184
52188
  // Messages (global, by message ID)
@@ -53258,8 +53262,36 @@ var MiniAppActionClient = class extends MiniAppClient {
53258
53262
  }
53259
53263
  };
53260
53264
 
53265
+ // ts/sdk/dist/mini-app-access-client.js
53266
+ var access = (orgId, appId) => `${API_BASE2}/orgs/${orgId}/apps/${encodeURIComponent(appId)}/access`;
53267
+ var MiniAppAccessClient = class extends MiniAppActionClient {
53268
+ async getMiniAppAccess(orgId, appId) {
53269
+ return this.request("GET", access(orgId, appId));
53270
+ }
53271
+ /** How far everyone else in the organization reaches into the app. */
53272
+ async setMiniAppMemberAccess(orgId, appId, memberAccess) {
53273
+ return this.request("PATCH", access(orgId, appId), { member_access: memberAccess });
53274
+ }
53275
+ /** Puts a member of the organization on the app's access list, or
53276
+ * changes their level. */
53277
+ async setMiniAppAccessGrant(orgId, appId, userId, level) {
53278
+ return this.request("PUT", `${access(orgId, appId)}/grants/${encodeURIComponent(userId)}`, {
53279
+ access: level
53280
+ });
53281
+ }
53282
+ async removeMiniAppAccessGrant(orgId, appId, userId) {
53283
+ return this.request("DELETE", `${access(orgId, appId)}/grants/${encodeURIComponent(userId)}`);
53284
+ }
53285
+ /** The change record, newest first: member_access, the access list and
53286
+ * the author roster. */
53287
+ async getMiniAppAccessLog(orgId, appId, query = {}) {
53288
+ const response = await this.request("GET", `${access(orgId, appId)}/log`, void 0, { limit: query.limit, before_id: query.before_id });
53289
+ return response.data;
53290
+ }
53291
+ };
53292
+
53261
53293
  // ts/sdk/dist/llm-provider-client.js
53262
- var LLMProviderClient = class extends MiniAppActionClient {
53294
+ var LLMProviderClient = class extends MiniAppAccessClient {
53263
53295
  async getLLMProviders(orgId) {
53264
53296
  const response = await this.request("GET", ENDPOINTS.LLM_PROVIDERS(orgId));
53265
53297
  return response.data;
@@ -53534,8 +53566,8 @@ var BrowserProfileClient = class extends ClipConnectionClient {
53534
53566
  for (const profile of profiles) {
53535
53567
  if (profileId && profile.id !== profileId)
53536
53568
  continue;
53537
- const access = personal ? null : await this.getBrowserProfileAccess(orgId, device.id, profile.name);
53538
- if (!personal && !access?.org_public && !(access?.grants ?? []).some((g) => g.user_id === me.id && g.grants.length > 0))
53569
+ const access2 = personal ? null : await this.getBrowserProfileAccess(orgId, device.id, profile.name);
53570
+ if (!personal && !access2?.org_public && !(access2?.grants ?? []).some((g) => g.user_id === me.id && g.grants.length > 0))
53539
53571
  continue;
53540
53572
  data.push({
53541
53573
  profile_id: profile.id,
@@ -53562,8 +53594,8 @@ var BrowserProfileClient = class extends ClipConnectionClient {
53562
53594
  return this.request("GET", ENDPOINTS.ORG_EDGE_PROFILE_ACCESS(orgId, edgeId, profileName));
53563
53595
  }
53564
53596
  /** Replace the complete access policy; requires a human org owner/admin. */
53565
- async putBrowserProfileAccess(orgId, edgeId, profileName, access) {
53566
- return this.request("PUT", ENDPOINTS.ORG_EDGE_PROFILE_ACCESS(orgId, edgeId, profileName), access);
53597
+ async putBrowserProfileAccess(orgId, edgeId, profileName, access2) {
53598
+ return this.request("PUT", ENDPOINTS.ORG_EDGE_PROFILE_ACCESS(orgId, edgeId, profileName), access2);
53567
53599
  }
53568
53600
  };
53569
53601
 
@@ -54446,6 +54478,27 @@ var ParallClient = class _ParallClient extends ApprovalApproversClient {
54446
54478
  async declineChatInvitation(id) {
54447
54479
  return this.request("POST", ENDPOINTS.CHAT_INVITATION_DECLINE(id));
54448
54480
  }
54481
+ /** Orgs connected to a channel, the channel's own org first. */
54482
+ async listChatConnections(orgId, chatId) {
54483
+ const res = await this.request("GET", ENDPOINTS.CHAT_CONNECTIONS(orgId, chatId));
54484
+ return res.data;
54485
+ }
54486
+ /**
54487
+ * End `connOrgId`'s connection to a channel. From the channel's own org a chat
54488
+ * owner or admin can disconnect any other org; from any other org, an org admin
54489
+ * can disconnect only that org.
54490
+ */
54491
+ async disconnectChatOrg(orgId, chatId, connOrgId) {
54492
+ return this.request("POST", ENDPOINTS.CHAT_CONNECTION_DISCONNECT(orgId, chatId, connOrgId));
54493
+ }
54494
+ /** Let `connOrgId` back into a channel; only the side that disconnected it can. */
54495
+ async approveChatReconnect(orgId, chatId, connOrgId) {
54496
+ return this.request("POST", ENDPOINTS.CHAT_RECONNECT_APPROVE(orgId, chatId, connOrgId));
54497
+ }
54498
+ /** Turn down `connOrgId`'s reconnect; it stays disconnected. */
54499
+ async declineChatReconnect(orgId, chatId, connOrgId) {
54500
+ return this.request("POST", ENDPOINTS.CHAT_RECONNECT_DECLINE(orgId, chatId, connOrgId));
54501
+ }
54449
54502
  async getInvitationByToken(token) {
54450
54503
  return this.request("GET", ENDPOINTS.INVITATION_BY_TOKEN(token));
54451
54504
  }
@@ -56229,8 +56282,8 @@ var ParallClient = class _ParallClient extends ApprovalApproversClient {
56229
56282
  * and every `connection_ids` entry a connection of THIS clip in this org
56230
56283
  * (else `400 INVALID_INPUT`).
56231
56284
  */
56232
- async putClipAgentExecAccess(orgId, clipId, access) {
56233
- return this.request("PUT", ENDPOINTS.ORG_CLIP_EXEC_ACCESS(orgId, clipId), access);
56285
+ async putClipAgentExecAccess(orgId, clipId, access2) {
56286
+ return this.request("PUT", ENDPOINTS.ORG_CLIP_EXEC_ACCESS(orgId, clipId), access2);
56234
56287
  }
56235
56288
  // ---- Edge devices ----
56236
56289
  async listEdgeDevices(orgId) {
@@ -976,6 +976,10 @@ var init_constants = __esm({
976
976
  CHAT_MEMBER: (orgId, chatId, userId) => `${API_BASE2}/orgs/${orgId}/chats/${chatId}/members/${userId}`,
977
977
  CHAT_INVITATIONS: (orgId, chatId) => `${API_BASE2}/orgs/${orgId}/chats/${chatId}/invitations`,
978
978
  CHAT_INVITATION: (orgId, chatId, invId) => `${API_BASE2}/orgs/${orgId}/chats/${chatId}/invitations/${invId}`,
979
+ CHAT_CONNECTIONS: (orgId, chatId) => `${API_BASE2}/orgs/${orgId}/chats/${chatId}/connections`,
980
+ CHAT_CONNECTION_DISCONNECT: (orgId, chatId, connOrgId) => `${API_BASE2}/orgs/${orgId}/chats/${chatId}/connections/${connOrgId}/disconnect`,
981
+ CHAT_RECONNECT_APPROVE: (orgId, chatId, connOrgId) => `${API_BASE2}/orgs/${orgId}/chats/${chatId}/connections/${connOrgId}/reconnect/approve`,
982
+ CHAT_RECONNECT_DECLINE: (orgId, chatId, connOrgId) => `${API_BASE2}/orgs/${orgId}/chats/${chatId}/connections/${connOrgId}/reconnect/decline`,
979
983
  CHAT_TRANSFER_OWNERSHIP: (orgId, chatId) => `${API_BASE2}/orgs/${orgId}/chats/${chatId}/transfer-ownership`,
980
984
  CHAT_MESSAGES: (orgId, chatId) => `${API_BASE2}/orgs/${orgId}/chats/${chatId}/messages`,
981
985
  // Messages (global, by message ID)
@@ -2120,14 +2124,50 @@ var init_mini_app_action_client = __esm({
2120
2124
  }
2121
2125
  });
2122
2126
 
2127
+ // ts/sdk/dist/mini-app-access-client.js
2128
+ var access, MiniAppAccessClient;
2129
+ var init_mini_app_access_client = __esm({
2130
+ "ts/sdk/dist/mini-app-access-client.js"() {
2131
+ "use strict";
2132
+ init_constants();
2133
+ init_mini_app_action_client();
2134
+ access = (orgId, appId) => `${API_BASE2}/orgs/${orgId}/apps/${encodeURIComponent(appId)}/access`;
2135
+ MiniAppAccessClient = class extends MiniAppActionClient {
2136
+ async getMiniAppAccess(orgId, appId) {
2137
+ return this.request("GET", access(orgId, appId));
2138
+ }
2139
+ /** How far everyone else in the organization reaches into the app. */
2140
+ async setMiniAppMemberAccess(orgId, appId, memberAccess) {
2141
+ return this.request("PATCH", access(orgId, appId), { member_access: memberAccess });
2142
+ }
2143
+ /** Puts a member of the organization on the app's access list, or
2144
+ * changes their level. */
2145
+ async setMiniAppAccessGrant(orgId, appId, userId, level) {
2146
+ return this.request("PUT", `${access(orgId, appId)}/grants/${encodeURIComponent(userId)}`, {
2147
+ access: level
2148
+ });
2149
+ }
2150
+ async removeMiniAppAccessGrant(orgId, appId, userId) {
2151
+ return this.request("DELETE", `${access(orgId, appId)}/grants/${encodeURIComponent(userId)}`);
2152
+ }
2153
+ /** The change record, newest first: member_access, the access list and
2154
+ * the author roster. */
2155
+ async getMiniAppAccessLog(orgId, appId, query = {}) {
2156
+ const response = await this.request("GET", `${access(orgId, appId)}/log`, void 0, { limit: query.limit, before_id: query.before_id });
2157
+ return response.data;
2158
+ }
2159
+ };
2160
+ }
2161
+ });
2162
+
2123
2163
  // ts/sdk/dist/llm-provider-client.js
2124
2164
  var LLMProviderClient;
2125
2165
  var init_llm_provider_client = __esm({
2126
2166
  "ts/sdk/dist/llm-provider-client.js"() {
2127
2167
  "use strict";
2128
2168
  init_constants();
2129
- init_mini_app_action_client();
2130
- LLMProviderClient = class extends MiniAppActionClient {
2169
+ init_mini_app_access_client();
2170
+ LLMProviderClient = class extends MiniAppAccessClient {
2131
2171
  async getLLMProviders(orgId) {
2132
2172
  const response = await this.request("GET", ENDPOINTS.LLM_PROVIDERS(orgId));
2133
2173
  return response.data;
@@ -2450,8 +2490,8 @@ var init_browser_profile_client = __esm({
2450
2490
  for (const profile of profiles) {
2451
2491
  if (profileId && profile.id !== profileId)
2452
2492
  continue;
2453
- const access = personal ? null : await this.getBrowserProfileAccess(orgId, device.id, profile.name);
2454
- if (!personal && !access?.org_public && !(access?.grants ?? []).some((g) => g.user_id === me.id && g.grants.length > 0))
2493
+ const access2 = personal ? null : await this.getBrowserProfileAccess(orgId, device.id, profile.name);
2494
+ if (!personal && !access2?.org_public && !(access2?.grants ?? []).some((g) => g.user_id === me.id && g.grants.length > 0))
2455
2495
  continue;
2456
2496
  data.push({
2457
2497
  profile_id: profile.id,
@@ -2478,8 +2518,8 @@ var init_browser_profile_client = __esm({
2478
2518
  return this.request("GET", ENDPOINTS.ORG_EDGE_PROFILE_ACCESS(orgId, edgeId, profileName));
2479
2519
  }
2480
2520
  /** Replace the complete access policy; requires a human org owner/admin. */
2481
- async putBrowserProfileAccess(orgId, edgeId, profileName, access) {
2482
- return this.request("PUT", ENDPOINTS.ORG_EDGE_PROFILE_ACCESS(orgId, edgeId, profileName), access);
2521
+ async putBrowserProfileAccess(orgId, edgeId, profileName, access2) {
2522
+ return this.request("PUT", ENDPOINTS.ORG_EDGE_PROFILE_ACCESS(orgId, edgeId, profileName), access2);
2483
2523
  }
2484
2524
  };
2485
2525
  }
@@ -3627,6 +3667,27 @@ var init_client = __esm({
3627
3667
  async declineChatInvitation(id) {
3628
3668
  return this.request("POST", ENDPOINTS.CHAT_INVITATION_DECLINE(id));
3629
3669
  }
3670
+ /** Orgs connected to a channel, the channel's own org first. */
3671
+ async listChatConnections(orgId, chatId) {
3672
+ const res = await this.request("GET", ENDPOINTS.CHAT_CONNECTIONS(orgId, chatId));
3673
+ return res.data;
3674
+ }
3675
+ /**
3676
+ * End `connOrgId`'s connection to a channel. From the channel's own org a chat
3677
+ * owner or admin can disconnect any other org; from any other org, an org admin
3678
+ * can disconnect only that org.
3679
+ */
3680
+ async disconnectChatOrg(orgId, chatId, connOrgId) {
3681
+ return this.request("POST", ENDPOINTS.CHAT_CONNECTION_DISCONNECT(orgId, chatId, connOrgId));
3682
+ }
3683
+ /** Let `connOrgId` back into a channel; only the side that disconnected it can. */
3684
+ async approveChatReconnect(orgId, chatId, connOrgId) {
3685
+ return this.request("POST", ENDPOINTS.CHAT_RECONNECT_APPROVE(orgId, chatId, connOrgId));
3686
+ }
3687
+ /** Turn down `connOrgId`'s reconnect; it stays disconnected. */
3688
+ async declineChatReconnect(orgId, chatId, connOrgId) {
3689
+ return this.request("POST", ENDPOINTS.CHAT_RECONNECT_DECLINE(orgId, chatId, connOrgId));
3690
+ }
3630
3691
  async getInvitationByToken(token) {
3631
3692
  return this.request("GET", ENDPOINTS.INVITATION_BY_TOKEN(token));
3632
3693
  }
@@ -5410,8 +5471,8 @@ var init_client = __esm({
5410
5471
  * and every `connection_ids` entry a connection of THIS clip in this org
5411
5472
  * (else `400 INVALID_INPUT`).
5412
5473
  */
5413
- async putClipAgentExecAccess(orgId, clipId, access) {
5414
- return this.request("PUT", ENDPOINTS.ORG_CLIP_EXEC_ACCESS(orgId, clipId), access);
5474
+ async putClipAgentExecAccess(orgId, clipId, access2) {
5475
+ return this.request("PUT", ENDPOINTS.ORG_CLIP_EXEC_ACCESS(orgId, clipId), access2);
5415
5476
  }
5416
5477
  // ---- Edge devices ----
5417
5478
  async listEdgeDevices(orgId) {
@@ -5809,6 +5870,13 @@ var init_llm_provider_types = __esm({
5809
5870
  }
5810
5871
  });
5811
5872
 
5873
+ // ts/sdk/dist/mini-app-access-types.js
5874
+ var init_mini_app_access_types = __esm({
5875
+ "ts/sdk/dist/mini-app-access-types.js"() {
5876
+ "use strict";
5877
+ }
5878
+ });
5879
+
5812
5880
  // ts/sdk/dist/mini-app-action-types.js
5813
5881
  var init_mini_app_action_types = __esm({
5814
5882
  "ts/sdk/dist/mini-app-action-types.js"() {
@@ -6547,6 +6615,7 @@ var init_dist = __esm({
6547
6615
  init_constants();
6548
6616
  init_fetch_cause();
6549
6617
  init_llm_provider_types();
6618
+ init_mini_app_access_types();
6550
6619
  init_mini_app_action_types();
6551
6620
  init_mini_app_types();
6552
6621
  init_org_accent_types();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parall/daemon",
3
- "version": "1.78.0",
3
+ "version": "1.79.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.78.0",
38
- "@parall/claude-agent": "1.78.0",
39
- "@parall/agent-core": "1.78.0",
40
- "@parall/codex-agent": "1.78.0",
41
- "@parall/openclaw-agent": "1.78.0"
37
+ "@parall/claude-agent": "1.79.0",
38
+ "@parall/codex-agent": "1.79.0",
39
+ "@parall/openclaw-agent": "1.79.0",
40
+ "@parall/agent-core": "1.79.0",
41
+ "@parall/sdk": "1.79.0"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/node": "^22.0.0",