@parall/daemon 1.92.0 → 1.93.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.93.0",
3
+ "built_at": "2026-11-15T13:50:02.507Z",
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": "503aa19c8aad4af1fe79dfa031ce4dbf798a7aa7032135b07afd27737d1b84ee",
20
+ "size": 3105670
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": "015b60e60f28268d757457b278696de2448c5e7b176f3d8c345f8ca13b0a030b",
28
+ "size": 3142866
29
29
  },
30
30
  "parall-codex-agent.js": {
31
- "sha256": "759717264f00010b3b017cfde9835dd5d6b859752abe25d04c579f9892ae56e5",
32
- "size": 3137794
31
+ "sha256": "ec33a2f049eb12d18361e72a67e0f0056d54df8ae022c9212b8392b2d177f936",
32
+ "size": 3151433
33
33
  },
34
34
  "parall-daemon.js": {
35
- "sha256": "c18468ccb30d57c0f4f2c5ff42c87445a77ecfd40a9922f200627599e94c7f50",
36
- "size": 3304834
35
+ "sha256": "d0158ba506866c1253fdeabad55f9876d4cf49eef12a171836a3303380076bf6",
36
+ "size": 3307529
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": "3p9uledRj/dZqfkVqo3aezxTYQS3UNBFi6OiqoDYccy/Gri540vJv7M62aQ/i1Vn3r+QSAaWk4WwIT1na4uZDQ=="
44
44
  }
@@ -64669,6 +64669,7 @@ var ENDPOINTS = {
64669
64669
  AGENT_ME: (orgId) => `${API_BASE2}/orgs/${orgId}/agents/me`,
64670
64670
  AGENT_REPLY_POLICY_CAPABILITY: (orgId) => `${API_BASE2}/orgs/${orgId}/agents/me/reply-policy-capability`,
64671
64671
  AGENT_RUNTIME_REPORT: (orgId) => `${API_BASE2}/orgs/${orgId}/agents/me/runtime-report`,
64672
+ AGENT_LLM_USAGE: (orgId) => `${API_BASE2}/orgs/${orgId}/agents/me/llm-usage`,
64672
64673
  ...secretEndpoints(API_BASE2),
64673
64674
  AGENT_NEW_SESSION: (orgId, agentId) => `${API_BASE2}/orgs/${orgId}/agents/${agentId}/new-session`,
64674
64675
  AGENT_DEEP_RESET: (orgId, agentId) => `${API_BASE2}/orgs/${orgId}/agents/${agentId}/deep-reset`,
@@ -65879,6 +65880,10 @@ var ClipConnectionClient = class extends ChannelConversationClient {
65879
65880
  };
65880
65881
  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
65882
  }
65883
+ /** Server-resolved hosted authorization; no client URL or secret fields. */
65884
+ async connectManagedMCP(orgId, clipId, alias, target) {
65885
+ 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 });
65886
+ }
65882
65887
  // ---- Clip connections ----
65883
65888
  /** Missing keys are unknown/hidden; present empty arrays are known empty. */
65884
65889
  async listClipMCPSummaries(orgId, clipIds) {
@@ -66380,10 +66385,25 @@ var AgentOwningTeamClient = class extends AgentTeamOnlyClient {
66380
66385
  }
66381
66386
  };
66382
66387
 
66388
+ // ts/sdk/dist/runtime-auth-llm-usage-client.js
66389
+ var RuntimeAuthLlmUsageClient = class extends AgentOwningTeamClient {
66390
+ /**
66391
+ * Record one batch of usage. The agent's own API key only (403 AGENT_ONLY
66392
+ * otherwise); 204 also for a batch already recorded; 400 for a batch out of
66393
+ * bounds; 409 LLM_ROUTE_NOT_RUNTIME_AUTH when the agent's model route is
66394
+ * not runtime_auth. A server without the endpoint answers 404 with no error
66395
+ * code. Every refusal surfaces as an ApiError with its status and code: what
66396
+ * to do about it is the caller's decision.
66397
+ */
66398
+ async reportRuntimeAuthLlmUsage(orgId, report, opts) {
66399
+ await this.request("POST", ENDPOINTS.AGENT_LLM_USAGE(orgId), report, void 0, false, opts);
66400
+ }
66401
+ };
66402
+
66383
66403
  // ts/sdk/dist/team-graph-client.js
66384
- var TeamGraphClient = class extends AgentOwningTeamClient {
66404
+ var TeamGraphClient = class extends RuntimeAuthLlmUsageClient {
66385
66405
  async getTeamGraph(orgId, opts) {
66386
- const query = opts?.includeAccess ? "?include=access" : "";
66406
+ const query = opts?.includeAccess ? "?include=access&include=apps" : "";
66387
66407
  return this.request("GET", `${ENDPOINTS.TEAM_GRAPH(orgId)}${query}`);
66388
66408
  }
66389
66409
  /**
@@ -69243,9 +69263,8 @@ var ParallClient = class _ParallClient extends TemplateCatalogClient {
69243
69263
  }
69244
69264
  async createClipMCPConnection(orgId, clipId, req) {
69245
69265
  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
69266
+ // Managed no-auth cards also perform a bounded session probe and completion.
69267
+ timeoutMs: "approval_id" in req ? 11e4 : 4e4
69249
69268
  });
69250
69269
  }
69251
69270
  /** Delete one MCP config and its paired connection. */
@@ -69272,8 +69291,8 @@ var ParallClient = class _ParallClient extends TemplateCatalogClient {
69272
69291
  void 0,
69273
69292
  void 0,
69274
69293
  false,
69275
- // Same fixed 30s server-side probe budget as PUT (see putClipMCPConfig).
69276
- { timeoutMs: 4e4 }
69294
+ // Managed refresh includes account readback and session creation (60s).
69295
+ { timeoutMs: 7e4 }
69277
69296
  );
69278
69297
  }
69279
69298
  // ---- Deprecated method aliases (External* → Trigger* rename; same endpoints) ----
@@ -69478,6 +69497,9 @@ var dispatchContextStorage = new AsyncLocalStorage();
69478
69497
  // ts/agent-core/dist/gateway/lane-flow.js
69479
69498
  var TYPED_BACKOFF_CAP_MS = 5 * 6e4;
69480
69499
 
69500
+ // ts/agent-core/dist/gateway/runtime-usage-reporter.js
69501
+ var DEFAULT_INTERVAL_MS = 5 * 6e4;
69502
+
69481
69503
  // ts/agent-core/dist/http-keepalive.js
69482
69504
  var import_undici = __toESM(require_undici(), 1);
69483
69505