@parall/daemon 1.92.0 → 1.94.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.92.0",
3
- "built_at": "2026-11-15T06:21:29.160Z",
2
+ "version": "1.94.0",
3
+ "built_at": "2026-11-19T02:58:27.213Z",
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": "1d3cd1d9a0ee66e02117cf22aeba7c332c2559ae2305dfccdb967ceb28fc2a10",
20
- "size": 3104312
19
+ "sha256": "6651323fd94ff562b0b34180ca915da8def452111ed65f0af2c2af044d44aa8a",
20
+ "size": 3110769
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": "0a987778613f2e0ca54e1fa59de4e5408f05b8c4162ec029522685e589f38f47",
28
- "size": 3128309
27
+ "sha256": "2bd55eb45e6d7a33c6d7d3d61696d8903f59951c9c9291b1bc32d9ac41214106",
28
+ "size": 3147963
29
29
  },
30
30
  "parall-codex-agent.js": {
31
- "sha256": "759717264f00010b3b017cfde9835dd5d6b859752abe25d04c579f9892ae56e5",
32
- "size": 3137794
31
+ "sha256": "d9c5db01af8ebf1ec257ee18cdf460a781ccae8fc55dc786818cd506dedd127a",
32
+ "size": 3157022
33
33
  },
34
34
  "parall-daemon.js": {
35
- "sha256": "c18468ccb30d57c0f4f2c5ff42c87445a77ecfd40a9922f200627599e94c7f50",
36
- "size": 3304834
35
+ "sha256": "8ffeb404a1b214a4f93c58c9f683172f751b36f729e07f9281e4d473398352b6",
36
+ "size": 3314305
37
37
  },
38
38
  "parall-openclaw-agent.js": {
39
39
  "sha256": "856a1c3a9ae0ffef8efe2481fa1171dbeb1d67cccb88616aa9bf16da96a69355",
40
40
  "size": 9923
41
41
  }
42
42
  },
43
- "signature": "8hltmga5X8Kl6FPLqjeUOdxAUgV49P9aeSxUWC/fp58COPqdfZ/L5/2CcQKOEKFl8E4EJ49DXFVUUIaniIq/Aw=="
43
+ "signature": "eFPIq8iHeMKpeEQ7wT8zJ6eWQiLLEXBiDUnaTC1ZFU8x+1H+scJx2dpOWAJluYcFWzDvAFAcvzMbjDu4VyspAg=="
44
44
  }
@@ -64377,7 +64377,13 @@ function appTemplateEndpoints(apiBase) {
64377
64377
  APP_TEMPLATES: `${apiBase}/app-templates`,
64378
64378
  APP_TEMPLATE: (id) => `${apiBase}/app-templates/${encodeURIComponent(id)}`,
64379
64379
  /** Where the answers' file paths start: one version's files. */
64380
- APP_TEMPLATE_FILES: `${apiBase}/app-templates/files/`
64380
+ APP_TEMPLATE_FILES: `${apiBase}/app-templates/files/`,
64381
+ /** An app's share as a template: share or update (POST), read (GET),
64382
+ * revoke (DELETE). */
64383
+ MINI_APP_TEMPLATE_SHARE: (orgId, appId) => `${apiBase}/orgs/${orgId}/apps/${appId}/template-share`,
64384
+ /** A shared template read from orgId, the reader's organization. */
64385
+ SHARED_APP_TEMPLATE: (orgId, id) => `${apiBase}/orgs/${orgId}/shared-app-templates/${encodeURIComponent(id)}`,
64386
+ SHARED_APP_TEMPLATE_PACKAGE: (orgId, id) => `${apiBase}/orgs/${orgId}/shared-app-templates/${encodeURIComponent(id)}/package`
64381
64387
  };
64382
64388
  }
64383
64389
 
@@ -64396,6 +64402,8 @@ var clipConnectionEndpoints = {
64396
64402
  CLIP_MCP_SUMMARIES: (orgId) => `/api/v1/orgs/${orgId}/clip-mcp-summaries`,
64397
64403
  EDGE_PROFILE_SUMMARIES: (orgId) => `/api/v1/orgs/${orgId}/edge/profile-summaries`,
64398
64404
  ORG_CLIP_MCP_OAUTH_ATTEMPT: (orgId, clipId, attemptId) => `/api/v1/orgs/${orgId}/clip-registry/${clipId}/mcp-oauth-attempts/${attemptId}`,
64405
+ /** The publisher org's display-name request for one connector (PUT files, DELETE withdraws). */
64406
+ ORG_CLIP_REGISTRY_DISPLAY_NAME_REQUEST: (orgId, clipId) => `/api/v1/orgs/${orgId}/clip-registry/${clipId}/display-name-request`,
64399
64407
  CLIP_CONNECTIONS_ALL: (orgId) => `/api/v1/orgs/${orgId}/clip-connections/all`,
64400
64408
  CLIP_CONNECTIONS: (orgId, clipId) => `/api/v1/orgs/${orgId}/clip-registry/${clipId}/connections`,
64401
64409
  CLIP_CONNECTION_ACCESS: (orgId, connId) => `/api/v1/orgs/${orgId}/clip-connections/${connId}/access`,
@@ -64497,7 +64505,11 @@ function billingEndpoints(apiBase) {
64497
64505
  BILLING_ACCOUNTS: (orgId) => `${apiBase}/orgs/${orgId}/billing/accounts`,
64498
64506
  BILLING_ACCOUNT_CLOSE: (orgId, accountId) => `${apiBase}/orgs/${orgId}/billing/accounts/${accountId}/close`,
64499
64507
  BILLING_SETTINGS: (orgId) => `${apiBase}/orgs/${orgId}/billing/settings`,
64500
- COMPUTE_PRICING: () => `${apiBase}/billing/compute-pricing`
64508
+ COMPUTE_PRICING: () => `${apiBase}/billing/compute-pricing`,
64509
+ // Gift credits earned while an organisation sets itself up.
64510
+ ONBOARDING_REWARDS: (orgId) => `${apiBase}/orgs/${orgId}/onboarding/rewards`,
64511
+ ONBOARDING_REWARDS_ENROLL: (orgId) => `${apiBase}/orgs/${orgId}/onboarding/rewards/enroll`,
64512
+ ONBOARDING_REWARDS_SURFACE: (orgId) => `${apiBase}/orgs/${orgId}/onboarding/rewards/surface`
64501
64513
  };
64502
64514
  }
64503
64515
 
@@ -64669,6 +64681,7 @@ var ENDPOINTS = {
64669
64681
  AGENT_ME: (orgId) => `${API_BASE2}/orgs/${orgId}/agents/me`,
64670
64682
  AGENT_REPLY_POLICY_CAPABILITY: (orgId) => `${API_BASE2}/orgs/${orgId}/agents/me/reply-policy-capability`,
64671
64683
  AGENT_RUNTIME_REPORT: (orgId) => `${API_BASE2}/orgs/${orgId}/agents/me/runtime-report`,
64684
+ AGENT_LLM_USAGE: (orgId) => `${API_BASE2}/orgs/${orgId}/agents/me/llm-usage`,
64672
64685
  ...secretEndpoints(API_BASE2),
64673
64686
  AGENT_NEW_SESSION: (orgId, agentId) => `${API_BASE2}/orgs/${orgId}/agents/${agentId}/new-session`,
64674
64687
  AGENT_DEEP_RESET: (orgId, agentId) => `${API_BASE2}/orgs/${orgId}/agents/${agentId}/deep-reset`,
@@ -65879,6 +65892,10 @@ var ClipConnectionClient = class extends ChannelConversationClient {
65879
65892
  };
65880
65893
  return this.request("PUT", ENDPOINTS.ORG_CLIP_MCP_CONFIG_BY_ID(orgId, clipId, configId), req, void 0, false, { headers: { "If-Match": `"${expectedVersion}"` }, timeoutMs: 4e4 });
65881
65894
  }
65895
+ /** Server-resolved hosted authorization; no client URL or secret fields. */
65896
+ async connectManagedMCP(orgId, clipId, alias, target) {
65897
+ return this.request(target ? "PUT" : "POST", target ? ENDPOINTS.ORG_CLIP_MCP_CONFIG_BY_ID(orgId, clipId, target.config_id) : ENDPOINTS.ORG_CLIP_MCP_CONFIGS(orgId, clipId), { auth_type: "managed", ...alias ? { alias } : {} }, void 0, false, { headers: target ? { "If-Match": `"${target.version}"` } : void 0, timeoutMs: 11e4 });
65898
+ }
65882
65899
  // ---- Clip connections ----
65883
65900
  /** Missing keys are unknown/hidden; present empty arrays are known empty. */
65884
65901
  async listClipMCPSummaries(orgId, clipIds) {
@@ -65955,6 +65972,20 @@ var ClipConnectionClient = class extends ChannelConversationClient {
65955
65972
  async deleteMyConnection(orgId, connId) {
65956
65973
  return this.request("DELETE", ENDPOINTS.ORG_MY_CONNECTION(orgId, connId));
65957
65974
  }
65975
+ /**
65976
+ * Ask Parall to change the connector's display name (its author or a human
65977
+ * owner/admin of the publishing org). Nothing changes until review approves;
65978
+ * a new request replaces the pending one. `null` asks to show `name` again.
65979
+ */
65980
+ async requestClipDisplayName(orgId, clipId, displayName) {
65981
+ return this.request("PUT", ENDPOINTS.ORG_CLIP_REGISTRY_DISPLAY_NAME_REQUEST(orgId, clipId), {
65982
+ display_name: displayName
65983
+ });
65984
+ }
65985
+ /** Withdraw the pending display-name request (404 when there is none). */
65986
+ async withdrawClipDisplayNameRequest(orgId, clipId) {
65987
+ await this.request("DELETE", ENDPOINTS.ORG_CLIP_REGISTRY_DISPLAY_NAME_REQUEST(orgId, clipId));
65988
+ }
65958
65989
  };
65959
65990
 
65960
65991
  // ts/sdk/dist/hosted-profile-creation.js
@@ -66315,8 +66346,41 @@ var AppTemplateClient = class extends ApprovalApproversClient {
66315
66346
  }
66316
66347
  };
66317
66348
 
66349
+ // ts/sdk/dist/app-template-share-client.js
66350
+ var SHARE_TIMEOUT_MS = 1e5;
66351
+ var AppTemplateShareClient = class extends AppTemplateClient {
66352
+ /** Share the app's current version as a template, or update its open
66353
+ * share to it (app.publish: an author of the app or an org owner/admin).
66354
+ * A 422 APP_TEMPLATE_SHARE_BLOCKED stores nothing; its findings are in
66355
+ * the error's extras. */
66356
+ async shareMiniAppTemplate(orgId, appId, data2, opts) {
66357
+ return this.request("POST", ENDPOINTS.MINI_APP_TEMPLATE_SHARE(orgId, appId), data2, void 0, false, { timeoutMs: SHARE_TIMEOUT_MS, signal: opts?.signal });
66358
+ }
66359
+ /** The app's open share; null when it has none (never shared, revoked or
66360
+ * expired). */
66361
+ async getMiniAppTemplateShare(orgId, appId) {
66362
+ const res = await this.request("GET", ENDPOINTS.MINI_APP_TEMPLATE_SHARE(orgId, appId));
66363
+ return res.share ?? null;
66364
+ }
66365
+ /** Revoke the app's open share: its link stops opening at once. Nothing
66366
+ * happens when the app has none. */
66367
+ async revokeMiniAppTemplateShare(orgId, appId) {
66368
+ await this.request("DELETE", ENDPOINTS.MINI_APP_TEMPLATE_SHARE(orgId, appId));
66369
+ }
66370
+ /** A shared template, read from orgId — the reader's organization, not
66371
+ * the sharer's. 404 APP_TEMPLATE_NOT_FOUND for every link that does not
66372
+ * open, whatever the reason. */
66373
+ async getSharedAppTemplate(orgId, id, opts) {
66374
+ return this.request("GET", ENDPOINTS.SHARED_APP_TEMPLATE(orgId, id), void 0, void 0, false, opts);
66375
+ }
66376
+ /** Where to download a shared template's source, for a few minutes. */
66377
+ async getSharedAppTemplatePackage(orgId, id) {
66378
+ return this.request("GET", ENDPOINTS.SHARED_APP_TEMPLATE_PACKAGE(orgId, id));
66379
+ }
66380
+ };
66381
+
66318
66382
  // ts/sdk/dist/chat-team-grant-client.js
66319
- var ChatTeamGrantClient = class extends AppTemplateClient {
66383
+ var ChatTeamGrantClient = class extends AppTemplateShareClient {
66320
66384
  /** The chat's team grants, for its members. */
66321
66385
  async listChatTeamGrants(orgId, chatId) {
66322
66386
  return this.request("GET", ENDPOINTS.CHAT_TEAM_GRANTS(orgId, chatId));
@@ -66380,10 +66444,25 @@ var AgentOwningTeamClient = class extends AgentTeamOnlyClient {
66380
66444
  }
66381
66445
  };
66382
66446
 
66447
+ // ts/sdk/dist/runtime-auth-llm-usage-client.js
66448
+ var RuntimeAuthLlmUsageClient = class extends AgentOwningTeamClient {
66449
+ /**
66450
+ * Record one batch of usage. The agent's own API key only (403 AGENT_ONLY
66451
+ * otherwise); 204 also for a batch already recorded; 400 for a batch out of
66452
+ * bounds; 409 LLM_ROUTE_NOT_RUNTIME_AUTH when the agent's model route is
66453
+ * not runtime_auth. A server without the endpoint answers 404 with no error
66454
+ * code. Every refusal surfaces as an ApiError with its status and code: what
66455
+ * to do about it is the caller's decision.
66456
+ */
66457
+ async reportRuntimeAuthLlmUsage(orgId, report, opts) {
66458
+ await this.request("POST", ENDPOINTS.AGENT_LLM_USAGE(orgId), report, void 0, false, opts);
66459
+ }
66460
+ };
66461
+
66383
66462
  // ts/sdk/dist/team-graph-client.js
66384
- var TeamGraphClient = class extends AgentOwningTeamClient {
66463
+ var TeamGraphClient = class extends RuntimeAuthLlmUsageClient {
66385
66464
  async getTeamGraph(orgId, opts) {
66386
- const query = opts?.includeAccess ? "?include=access" : "";
66465
+ const query = opts?.includeAccess ? "?include=access&include=apps" : "";
66387
66466
  return this.request("GET", `${ENDPOINTS.TEAM_GRAPH(orgId)}${query}`);
66388
66467
  }
66389
66468
  /**
@@ -66518,6 +66597,21 @@ var BillingClient = class extends TeamGraphClient {
66518
66597
  async updateBillingSettings(orgId, req) {
66519
66598
  return this.request("PATCH", ENDPOINTS.BILLING_SETTINGS(orgId), req);
66520
66599
  }
66600
+ // ---- Onboarding rewards (gift credits earned while setting up) ----
66601
+ /** What the organisation has earned so far and what each step pays. */
66602
+ async getOnboardingRewards(orgId) {
66603
+ return this.request("GET", ENDPOINTS.ONBOARDING_REWARDS(orgId));
66604
+ }
66605
+ /** Start earning (the owner only). An organisation that does not qualify
66606
+ * answers 200 with `enrolled: false`; calling it again changes nothing. */
66607
+ async enrollOnboardingRewards(orgId) {
66608
+ return this.request("POST", ENDPOINTS.ONBOARDING_REWARDS_ENROLL(orgId));
66609
+ }
66610
+ /** Record where the team works (owner or admin). Paid once, whatever is
66611
+ * chosen first; repeating it is a no-op. */
66612
+ async claimOnboardingSurface(orgId, surface) {
66613
+ return this.request("POST", ENDPOINTS.ONBOARDING_REWARDS_SURFACE(orgId), { surface });
66614
+ }
66521
66615
  // The admin grant endpoints (POST/GET /internal/admin/orgs/
66522
66616
  // {id}/grants) intentionally do NOT live on this public client — they
66523
66617
  // are mounted on the unauthenticated `/internal/*` surface and reachable
@@ -66667,6 +66761,25 @@ var TemplateCatalogClient = class extends ChatBookmarksClient {
66667
66761
  }
66668
66762
  };
66669
66763
 
66764
+ // ts/sdk/dist/org-deletion-client.js
66765
+ var orgDeletionPath = (orgId) => `${API_BASE2}/orgs/${orgId}/deletion`;
66766
+ var OrgDeletionClient = class extends TemplateCatalogClient {
66767
+ /**
66768
+ * Delete the organization: every member and agent loses access at once,
66769
+ * and its data is purged 30 days later. Only its owner, from a signed-in
66770
+ * session (an API key gets 403 JWT_REQUIRED), and never a personal
66771
+ * organization. `confirmName` must equal the organization's name exactly.
66772
+ * Refusals specific to this request are `ORG_DELETION_ERROR_CODES`.
66773
+ *
66774
+ * This is the deletion path; `deleteOrg` (`DELETE /orgs/{orgId}`) is always
66775
+ * refused by the server.
66776
+ */
66777
+ async requestOrgDeletion(orgId, confirmName) {
66778
+ const body = { confirm_name: confirmName };
66779
+ return this.request("POST", orgDeletionPath(orgId), body);
66780
+ }
66781
+ };
66782
+
66670
66783
  // ts/sdk/dist/wiki-changeset.js
66671
66784
  function normalizeWikiChangeset(changeset) {
66672
66785
  return {
@@ -66702,7 +66815,7 @@ function legacyHeartbeatFromReport(report) {
66702
66815
  detectedRuntimes
66703
66816
  };
66704
66817
  }
66705
- var ParallClient = class _ParallClient extends TemplateCatalogClient {
66818
+ var ParallClient = class _ParallClient extends OrgDeletionClient {
66706
66819
  baseUrl;
66707
66820
  wikiBaseUrl;
66708
66821
  token;
@@ -69243,9 +69356,8 @@ var ParallClient = class _ParallClient extends TemplateCatalogClient {
69243
69356
  }
69244
69357
  async createClipMCPConnection(orgId, clipId, req) {
69245
69358
  return this.request("POST", ENDPOINTS.ORG_CLIP_MCP_CONFIGS(orgId, clipId), req, void 0, false, {
69246
- // A card may start OAuth: allow discovery (30s) and persistence like
69247
- // createClipMCPOAuthConnection.
69248
- timeoutMs: "approval_id" in req ? 5e4 : 4e4
69359
+ // Managed no-auth cards also perform a bounded session probe and completion.
69360
+ timeoutMs: "approval_id" in req ? 11e4 : 4e4
69249
69361
  });
69250
69362
  }
69251
69363
  /** Delete one MCP config and its paired connection. */
@@ -69272,8 +69384,8 @@ var ParallClient = class _ParallClient extends TemplateCatalogClient {
69272
69384
  void 0,
69273
69385
  void 0,
69274
69386
  false,
69275
- // Same fixed 30s server-side probe budget as PUT (see putClipMCPConfig).
69276
- { timeoutMs: 4e4 }
69387
+ // Managed refresh includes account readback and session creation (60s).
69388
+ { timeoutMs: 7e4 }
69277
69389
  );
69278
69390
  }
69279
69391
  // ---- Deprecated method aliases (External* → Trigger* rename; same endpoints) ----
@@ -69478,6 +69590,9 @@ var dispatchContextStorage = new AsyncLocalStorage();
69478
69590
  // ts/agent-core/dist/gateway/lane-flow.js
69479
69591
  var TYPED_BACKOFF_CAP_MS = 5 * 6e4;
69480
69592
 
69593
+ // ts/agent-core/dist/gateway/runtime-usage-reporter.js
69594
+ var DEFAULT_INTERVAL_MS = 5 * 6e4;
69595
+
69481
69596
  // ts/agent-core/dist/http-keepalive.js
69482
69597
  var import_undici = __toESM(require_undici(), 1);
69483
69598