deepline 0.3.578 → 0.3.580

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.
Files changed (175) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +20 -2
  2. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  3. package/dist/bundling-sources/shared_libs/monitors/billing/public-pricing.ts +470 -15
  4. package/dist/bundling-sources/shared_libs/monitors/billing/tamradar.ts +12 -0
  5. package/dist/bundling-sources/shared_libs/monitors/billing/types.ts +59 -0
  6. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-capability.ts +5 -3
  7. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +3 -1
  8. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/early-sandbox.ts +18 -0
  9. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +124 -57
  10. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/early-sandbox-lane.ts +4 -0
  11. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +182 -80
  12. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-ledger-outbox-recovery.ts +39 -2
  13. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-worker-wake.ts +25 -0
  14. package/dist/bundling-sources/shared_libs/plays/sandbox-runtime-limits.ts +83 -0
  15. package/dist/cli/{agents-MCU3ITQZ.js → agents-BF5VX5ZB.js} +31 -31
  16. package/dist/cli/{agents-LRBANBZH.mjs → agents-JRFTZE7G.mjs} +4 -4
  17. package/dist/cli/auth-25MVD7TK.js +44 -0
  18. package/dist/cli/{auth-5BJKVYMQ.mjs → auth-XJXZ64R4.mjs} +5 -5
  19. package/dist/cli/{billing-EBBI4MVL.mjs → billing-TXJBGP2I.mjs} +69 -64
  20. package/dist/cli/{billing-NT57POHH.js → billing-VGMTJI7W.js} +158 -153
  21. package/dist/cli/{chunk-XBO4ERH6.js → chunk-2ZCFAUCV.js} +3 -3
  22. package/dist/cli/{chunk-P35YQAUC.js → chunk-3OSNEWGR.js} +281 -275
  23. package/dist/cli/{chunk-7J473OJ5.mjs → chunk-3P4QZIJ5.mjs} +1 -1
  24. package/dist/cli/{chunk-SKHUWQZE.js → chunk-3S5KFHQH.js} +17 -7
  25. package/dist/cli/{chunk-4LMTY4RQ.mjs → chunk-3ZBPXNSW.mjs} +2 -2
  26. package/dist/cli/{chunk-H7DY5NQ3.mjs → chunk-5BPJW6X5.mjs} +5 -5
  27. package/dist/cli/{chunk-A7NKOXBV.js → chunk-6VSUP4WN.js} +4 -4
  28. package/dist/cli/{chunk-4KNRCUKY.mjs → chunk-7HOG3JZE.mjs} +21 -15
  29. package/dist/cli/{chunk-OAQYLTUN.mjs → chunk-7ORX33JX.mjs} +5 -5
  30. package/dist/cli/{chunk-24FGR73C.js → chunk-ANX3PYLT.js} +13 -13
  31. package/dist/cli/{chunk-VVZ7JZMQ.js → chunk-APJ7IPRT.js} +15 -15
  32. package/dist/cli/{chunk-MXPCTF57.js → chunk-AZTQJJH7.js} +17 -2
  33. package/dist/cli/{chunk-3GF33QJJ.mjs → chunk-BAXLPQTM.mjs} +4 -4
  34. package/dist/cli/{chunk-DDJN4RR6.mjs → chunk-BK4Z62CF.mjs} +4 -4
  35. package/dist/cli/{chunk-IFWB4BYZ.mjs → chunk-C6YXUGX2.mjs} +3 -3
  36. package/dist/cli/{chunk-J7PCSLRY.js → chunk-COAAKSFX.js} +5 -5
  37. package/dist/cli/{chunk-Y2TK7OXN.js → chunk-D6I7QWOZ.js} +2 -2
  38. package/dist/cli/{chunk-W47SXEWQ.js → chunk-DQEHBAHL.js} +9 -9
  39. package/dist/cli/{chunk-ITYSPUKD.mjs → chunk-EI7KTESB.mjs} +2 -2
  40. package/dist/cli/{chunk-HZXF2HFF.mjs → chunk-FCJJPEKN.mjs} +5 -5
  41. package/dist/cli/{chunk-NEH7NZFT.js → chunk-GDBNH57Z.js} +10 -10
  42. package/dist/cli/{chunk-CFG3ZM7M.mjs → chunk-GE4ZEMMA.mjs} +2 -2
  43. package/dist/cli/{chunk-4YSJOSBG.mjs → chunk-GIZIWNL5.mjs} +1 -1
  44. package/dist/cli/{chunk-PJXPHUAR.mjs → chunk-H3B6QM6V.mjs} +3 -3
  45. package/dist/cli/{chunk-25SSGQJJ.js → chunk-HEZ24K5F.js} +2 -2
  46. package/dist/cli/{chunk-LYZPGP3P.mjs → chunk-HLMF53HZ.mjs} +1 -1
  47. package/dist/cli/{chunk-T2CCLYHV.mjs → chunk-IERWFFDB.mjs} +7 -7
  48. package/dist/cli/{chunk-CFLAGRWL.mjs → chunk-IG3CXIJY.mjs} +1 -1
  49. package/dist/cli/{chunk-ALXYCC4K.mjs → chunk-IM322G7M.mjs} +1 -1
  50. package/dist/cli/{chunk-RW3URFZK.mjs → chunk-KLBIHDZB.mjs} +2 -2
  51. package/dist/cli/{chunk-VMCJKGZS.mjs → chunk-LC4ETCOA.mjs} +2 -2
  52. package/dist/cli/{chunk-CS36W3RL.js → chunk-LHV3HPAY.js} +26 -26
  53. package/dist/cli/{chunk-CPNTDIJK.js → chunk-MBOPKQJF.js} +1 -1
  54. package/dist/cli/{chunk-BPMA4S3O.js → chunk-MCYZO3RB.js} +21 -21
  55. package/dist/cli/{chunk-JQPFICW3.mjs → chunk-MEDA3STC.mjs} +1 -1
  56. package/dist/cli/{chunk-ZO65VJRJ.js → chunk-MOZDEYQC.js} +11 -1
  57. package/dist/cli/{chunk-6UFTWNC5.mjs → chunk-MP6XUVAJ.mjs} +2 -2
  58. package/dist/cli/{chunk-HGQT6EGK.js → chunk-NNWEQDZR.js} +20 -20
  59. package/dist/cli/{chunk-AZFSCPYK.mjs → chunk-NV5IJ3NY.mjs} +17 -2
  60. package/dist/cli/{chunk-QPOJLAFT.mjs → chunk-O7AWGIDD.mjs} +2 -2
  61. package/dist/cli/{chunk-G7PH2QVM.js → chunk-PFNYLTCZ.js} +5 -5
  62. package/dist/cli/{chunk-DWUESXDD.mjs → chunk-QXQBTTRD.mjs} +11 -1
  63. package/dist/cli/{chunk-5IMWXYVB.js → chunk-R77IVVEZ.js} +53 -53
  64. package/dist/cli/{chunk-MXK4M7HP.js → chunk-S2YKIWCD.js} +17 -17
  65. package/dist/cli/{chunk-FYKHAT2F.mjs → chunk-SECFDB27.mjs} +10 -0
  66. package/dist/cli/{chunk-NTHN7ODR.mjs → chunk-SQBSK74D.mjs} +7 -3
  67. package/dist/cli/{chunk-M3ITWEGS.js → chunk-TSOXJZSW.js} +41 -41
  68. package/dist/cli/{chunk-CSPOWVWS.mjs → chunk-U4VCAECC.mjs} +8 -3
  69. package/dist/cli/{chunk-RLPPLS6A.js → chunk-URZPR54R.js} +6 -6
  70. package/dist/cli/{chunk-27HAQRGH.js → chunk-V5NDHTBB.js} +23 -23
  71. package/dist/cli/{chunk-HKZN33F2.mjs → chunk-VF3EGTHU.mjs} +3 -3
  72. package/dist/cli/{chunk-5LCV36BR.js → chunk-VOQWPUIF.js} +20 -20
  73. package/dist/cli/{chunk-3ZUKYLC6.js → chunk-WJUAVMQC.js} +217 -213
  74. package/dist/cli/{chunk-W66GXHYR.mjs → chunk-X5RXG6VS.mjs} +1 -1
  75. package/dist/cli/{chunk-UKSOIH2P.js → chunk-XFVJ3JNA.js} +5 -5
  76. package/dist/cli/{chunk-RWDYULX2.js → chunk-XQUVLYOL.js} +17 -12
  77. package/dist/cli/{chunk-XE66BGLB.js → chunk-YY6EB252.js} +2 -2
  78. package/dist/cli/{chunk-XX7TZM4N.js → chunk-Z6DERGHY.js} +48 -48
  79. package/dist/cli/{chunk-PXMCPEE2.js → chunk-ZADJC22U.js} +3 -3
  80. package/dist/cli/{chunk-4CNHOBUO.mjs → chunk-ZR7PDXIA.mjs} +2 -2
  81. package/dist/cli/command-docs.js +2 -2
  82. package/dist/cli/command-docs.mjs +1 -1
  83. package/dist/cli/concurrent-runs-help-DEN63DUM.js +22 -0
  84. package/dist/cli/{concurrent-runs-help-2MHLIUC6.mjs → concurrent-runs-help-DSUQRWZQ.mjs} +6 -6
  85. package/dist/cli/{csv-RYYDAC76.js → csv-HSHF6JYZ.js} +13 -13
  86. package/dist/cli/{csv-J6SRBMOT.mjs → csv-QNXJBT5T.mjs} +4 -4
  87. package/dist/cli/{db-WK226TM7.mjs → db-RAWY3SWS.mjs} +6 -6
  88. package/dist/cli/{db-5QLH6QK5.js → db-VHYWVLLU.js} +27 -27
  89. package/dist/cli/{describe-UBSCFPH5.mjs → describe-WZOVHWAM.mjs} +21 -21
  90. package/dist/cli/describe-YHZ2EGBQ.js +50 -0
  91. package/dist/cli/describe-core.d.mts +4 -2
  92. package/dist/cli/describe-core.d.ts +4 -2
  93. package/dist/cli/describe-core.js +4 -4
  94. package/dist/cli/describe-core.mjs +3 -3
  95. package/dist/cli/{executions-AGV5V7SD.js → executions-DQIFH4Z6.js} +8 -8
  96. package/dist/cli/{executions-XF5BNCFS.mjs → executions-QABOXV4K.mjs} +6 -6
  97. package/dist/cli/{feedback-3RDEZE2M.js → feedback-6IER2W4G.js} +14 -14
  98. package/dist/cli/{feedback-LT3PDK72.mjs → feedback-DW4O63DG.mjs} +6 -6
  99. package/dist/cli/{git-7VBTCCBV.mjs → git-3NAPGZGR.mjs} +5 -5
  100. package/dist/cli/git-SQ2MAKAH.js +26 -0
  101. package/dist/cli/index.js +148 -148
  102. package/dist/cli/index.mjs +47 -47
  103. package/dist/cli/{integrations-JP732FQB.js → integrations-5LHIBBXB.js} +29 -29
  104. package/dist/cli/{integrations-E7QRWMKZ.mjs → integrations-TSRUTENK.mjs} +7 -7
  105. package/dist/cli/{legacy-noops-UFNQBPIT.mjs → legacy-noops-4N63A6H7.mjs} +6 -6
  106. package/dist/cli/{legacy-noops-UTL4W5WE.js → legacy-noops-S22XGYGN.js} +9 -9
  107. package/dist/cli/{mcp-YHETA3AU.mjs → mcp-4EJHRRFV.mjs} +4 -4
  108. package/dist/cli/{mcp-5X4XFB4V.js → mcp-JERBGJYE.js} +24 -24
  109. package/dist/cli/{monitors-WFVZ42OQ.mjs → monitors-7BTLBD6S.mjs} +16 -11
  110. package/dist/cli/{monitors-AN6KH4XY.js → monitors-FF35CGC4.js} +109 -104
  111. package/dist/cli/{org-CN3XJZLA.js → org-ADCDO7KU.js} +121 -121
  112. package/dist/cli/{org-OMDV7WDF.mjs → org-QYIIBKA2.mjs} +6 -6
  113. package/dist/cli/{outcomes-7HCZ6K3Q.js → outcomes-2LW4GK2L.js} +14 -14
  114. package/dist/cli/{outcomes-I4ZTG5ND.mjs → outcomes-C5DIBG4Q.mjs} +6 -6
  115. package/dist/cli/{play-TSNBSHGA.mjs → play-DTTDTISL.mjs} +20 -20
  116. package/dist/cli/{play-45VXZ57A.js → play-S5MZ2GRA.js} +349 -349
  117. package/dist/cli/{providers-4TB56ZLK.mjs → providers-AXOEFQ6Q.mjs} +6 -6
  118. package/dist/cli/{providers-RB3TT7AE.js → providers-N2IWEJBW.js} +9 -9
  119. package/dist/cli/{quickstart-XHZ3PG5I.mjs → quickstart-ADWSZBV6.mjs} +4 -4
  120. package/dist/cli/{quickstart-ZNDM6VUD.js → quickstart-UC5AJZWU.js} +6 -6
  121. package/dist/cli/{run-XNEJGAKV.js → run-6TDYUL7L.js} +49 -48
  122. package/dist/cli/{run-7PY4G6GB.mjs → run-R2FVH3K6.mjs} +27 -26
  123. package/dist/cli/{search-BG7KCIOG.mjs → search-GRHUFSLY.mjs} +7 -7
  124. package/dist/cli/search-V7ANBX3J.js +32 -0
  125. package/dist/cli/{search-output-3ZBNTHGO.js → search-output-O7NY3VMD.js} +8 -8
  126. package/dist/cli/{search-output-TWKKP2BE.mjs → search-output-UPQNAFAF.mjs} +5 -5
  127. package/dist/cli/{secrets-FNR6MX6A.js → secrets-72GJHFER.js} +15 -15
  128. package/dist/cli/{secrets-AZZCE7E3.mjs → secrets-NKAEJLIQ.mjs} +6 -6
  129. package/dist/cli/sessions-EO6RTMUC.js +23 -0
  130. package/dist/cli/{sessions-ZAMKN3AF.mjs → sessions-VIMF3UF5.mjs} +6 -6
  131. package/dist/cli/{settings-QGASFWV3.js → settings-HFAW5HIF.js} +85 -85
  132. package/dist/cli/{settings-WKWOOOI2.mjs → settings-KCQHBFNZ.mjs} +12 -12
  133. package/dist/cli/{setup-KUZDCR3F.js → setup-2MHWGEAD.js} +49 -49
  134. package/dist/cli/{setup-U36W42LE.mjs → setup-2ZD5ZIUH.mjs} +9 -9
  135. package/dist/cli/skills-ID6KKDLH.js +37 -0
  136. package/dist/cli/{skills-25CSZQIK.mjs → skills-X2DZZG5P.mjs} +7 -7
  137. package/dist/cli/tools-7UY7GERW.js +57 -0
  138. package/dist/cli/{tools-4NZQ22AA.mjs → tools-KPTOWKD4.mjs} +19 -19
  139. package/dist/cli/{update-CJYP36TG.mjs → update-6PMQCEUP.mjs} +9 -9
  140. package/dist/cli/update-T2RDLLSY.js +37 -0
  141. package/dist/cli/{views-76UIPWJD.js → views-MNBHNO6C.js} +37 -24
  142. package/dist/cli/{views-GYGE7FSV.mjs → views-VRZ5CTFL.mjs} +21 -8
  143. package/dist/cli/{workflow-LZSWALZS.mjs → workflow-7JUJWA5S.mjs} +7 -7
  144. package/dist/cli/{workflow-NCVXBATM.js → workflow-SSMFO7YE.js} +17 -17
  145. package/dist/{client-CF-bsrtI.d.mts → client-CmG8MT0x.d.mts} +1 -1
  146. package/dist/{client-BrdMPFCM.d.ts → client-QznpkWrk.d.ts} +1 -1
  147. package/dist/{client-core-rMoUWSYM.d.ts → client-core-CXDqfeiB.d.ts} +12 -1
  148. package/dist/{client-core-DM1ZedOG.d.mts → client-core-CY0jNW0e.d.mts} +12 -1
  149. package/dist/index.d.mts +3 -3
  150. package/dist/index.d.ts +3 -3
  151. package/dist/index.js +9 -9
  152. package/dist/index.mjs +6 -6
  153. package/dist/install-integrity.json +126 -126
  154. package/dist/plays/play-description.d.mts +1 -1
  155. package/dist/plays/play-description.d.ts +1 -1
  156. package/dist/plays/run-request.d.mts +1 -1
  157. package/dist/plays/run-request.d.ts +1 -1
  158. package/dist/release.d.mts +1 -1
  159. package/dist/release.d.ts +1 -1
  160. package/dist/release.js +2 -2
  161. package/dist/release.mjs +1 -1
  162. package/dist/server.d.mts +2 -2
  163. package/dist/server.d.ts +2 -2
  164. package/dist/server.js +5 -5
  165. package/dist/server.mjs +3 -3
  166. package/package.json +1 -1
  167. package/dist/cli/auth-VSW3MTFO.js +0 -44
  168. package/dist/cli/concurrent-runs-help-ATT2GVTQ.js +0 -22
  169. package/dist/cli/describe-Q27SRQWM.js +0 -50
  170. package/dist/cli/git-BBTP3H7J.js +0 -26
  171. package/dist/cli/search-ZBU5GW4W.js +0 -32
  172. package/dist/cli/sessions-GCY62GAW.js +0 -23
  173. package/dist/cli/skills-43DHMLRW.js +0 -37
  174. package/dist/cli/tools-5BGKNMFU.js +0 -57
  175. package/dist/cli/update-CUO2MTB6.js +0 -37
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isJsonOutputMode
3
- } from "./chunk-4LMTY4RQ.mjs";
3
+ } from "./chunk-3ZBPXNSW.mjs";
4
4
 
5
5
  // src/cli/progress.ts
6
6
  import { Worker } from "worker_threads";
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkZO65VJRJjs = require('./chunk-ZO65VJRJ.js');
5
+ var _chunkMOZDEYQCjs = require('./chunk-MOZDEYQC.js');
6
6
 
7
7
 
8
8
 
@@ -80,6 +80,9 @@ var CapabilityDescription = class _CapabilityDescription {
80
80
  const billingSourceLabel = stringValue(
81
81
  _nullishCoalesce(this.#catalogEntry.billingSourceLabel, () => ( this.#catalogEntry.billing_source_label))
82
82
  );
83
+ const credentialSource = stringValue(
84
+ _nullishCoalesce(this.#catalogEntry.credentialSource, () => ( this.#catalogEntry.credential_source))
85
+ );
83
86
  const isFree = billingSource === "free";
84
87
  const displayText = stringValue(
85
88
  _nullishCoalesce(pricing.displayText, () => ( pricing.display_text))
@@ -99,6 +102,7 @@ var CapabilityDescription = class _CapabilityDescription {
99
102
  ),
100
103
  billingSource,
101
104
  billingSourceLabel,
105
+ ...credentialSource ? { credentialSource } : {},
102
106
  deeplineCreditsPerPricingUnit: isFree ? 0 : canonicalCredits,
103
107
  deeplineUsdPerPricingUnit: isFree ? 0 : canonicalUsd,
104
108
  ...pricing.estimatedRange && showManagedPricing ? {
@@ -314,7 +318,7 @@ function extractorValueType(name) {
314
318
  }
315
319
  const named = NAMED_VALUE_SHAPES[definition.valueKind];
316
320
  if (!named) return { type: "string" };
317
- const { type, fields } = _chunkZO65VJRJjs.schemaField.call(void 0, name, named.schema, true);
321
+ const { type, fields } = _chunkMOZDEYQCjs.schemaField.call(void 0, name, named.schema, true);
318
322
  return { type, ...fields ? { fields } : {}, shape: named.shape };
319
323
  }
320
324
  function jsonSchemaOf(wrapper) {
@@ -374,7 +378,7 @@ function describedTool(tool, requestedToolId) {
374
378
  // The server's public monitor pricing sends `display`.
375
379
  cost: stringField(pricing, "display", "displayText") || void 0,
376
380
  guidance: [],
377
- inputs: _chunkZO65VJRJjs.schemaFields.call(void 0,
381
+ inputs: _chunkMOZDEYQCjs.schemaFields.call(void 0,
378
382
  recordField(tool, "payload_schema", "payloadSchema")
379
383
  ),
380
384
  outputs: [],
@@ -411,7 +415,7 @@ function describedTool(tool, requestedToolId) {
411
415
  (path) => path.replace(/^toolResponse\.raw\./, "")
412
416
  );
413
417
  const node = roots.flatMap((root) => paths.map((path) => schemaNodeAt(root, path))).find(isRecord);
414
- const { fields, ...typed } = _chunkZO65VJRJjs.schemaField.call(void 0, name, node, true);
418
+ const { fields, ...typed } = _chunkMOZDEYQCjs.schemaField.call(void 0, name, node, true);
415
419
  const valueType = stringField(_nullishCoalesce(details.get(name), () => ( {})), "valueType");
416
420
  const deepline = kind === "extractedValues" ? extractorValueType(name) : void 0;
417
421
  const known = typed.type !== "unknown" ? void 0 : kind === "extractedLists" ? { type: "object[]" } : deepline;
@@ -460,12 +464,18 @@ function describedTool(tool, requestedToolId) {
460
464
  );
461
465
  const provider = stringField(tool, "provider");
462
466
  const connectCommand = credentialStatus === "requires_connection" && (!byok || byok.setupUrl) && /^[a-z0-9][a-z0-9_-]*$/.test(provider) ? `deepline integrations connect ${provider} --link --json` : void 0;
467
+ const credentialSource = stringField(
468
+ tool,
469
+ "credentialSource",
470
+ "credential_source"
471
+ );
463
472
  return {
464
473
  kind: "tool",
465
474
  id: String(contract.toolId),
466
475
  ...provider ? { provider } : {},
467
476
  displayName,
468
477
  description,
478
+ ...credentialSource ? { credentialSource } : {},
469
479
  cost: [
470
480
  stringField(cost, "displayText"),
471
481
  // "Free (free)" says the same thing twice, as does "Uses your provided
@@ -481,7 +491,7 @@ function describedTool(tool, requestedToolId) {
481
491
  ],
482
492
  rateLimit: withPlanRateLimit(
483
493
  recordField(recordField(tool, "pricing"), "benefit").requestsPerMinute,
484
- _chunkZO65VJRJjs.rateLimitSummary.call(void 0,
494
+ _chunkMOZDEYQCjs.rateLimitSummary.call(void 0,
485
495
  recordField(contract, "executionMetadata").configuredRateLimits
486
496
  )
487
497
  ),
@@ -491,9 +501,9 @@ function describedTool(tool, requestedToolId) {
491
501
  ...connectCommand && !_optionalChain([tool, 'access', _5 => _5.auth, 'optionalAccess', _6 => _6.connectionRequired]) ? { connectCommand } : {},
492
502
  ...tool.auth ? { auth: tool.auth } : {},
493
503
  ...tool.toolUsage ? { toolUsage: tool.toolUsage } : {},
494
- inputs: _chunkZO65VJRJjs.schemaFields.call(void 0, inputSchema),
504
+ inputs: _chunkMOZDEYQCjs.schemaFields.call(void 0, inputSchema),
495
505
  outputs: [...lists, ...values].map(({ field }) => field),
496
- rawResponse: _chunkZO65VJRJjs.schemaFields.call(void 0, outputSchema),
506
+ rawResponse: _chunkMOZDEYQCjs.schemaFields.call(void 0, outputSchema),
497
507
  runner: playReference ? { via: "play", reference: playReference } : { via: "tool", toolId: String(contract.toolId), inputSchema }
498
508
  };
499
509
  }
@@ -4,14 +4,14 @@ import {
4
4
  resolveApiKeyForBaseUrl,
5
5
  resolveCliCommandContext,
6
6
  resolveConfig
7
- } from "./chunk-W66GXHYR.mjs";
7
+ } from "./chunk-X5RXG6VS.mjs";
8
8
  import {
9
9
  SDK_VERSION,
10
10
  agentSessionIdFromEnvironment,
11
11
  deploymentProtectionHeaders,
12
12
  detectAgentRuntime,
13
13
  readToolFailureHint
14
- } from "./chunk-CFLAGRWL.mjs";
14
+ } from "./chunk-IG3CXIJY.mjs";
15
15
  import {
16
16
  DeeplineError,
17
17
  normalizeToolExecutionFailure,
@@ -4,22 +4,22 @@ import {
4
4
  resolveUpdatePlan,
5
5
  runAutomaticUpdatePlan,
6
6
  shouldRunCliAutoUpdate
7
- } from "./chunk-HZXF2HFF.mjs";
7
+ } from "./chunk-FCJJPEKN.mjs";
8
8
  import {
9
9
  isCiEnvironment,
10
10
  resolveShellSpawn,
11
11
  syncSdkSkillsIfNeeded
12
- } from "./chunk-OAQYLTUN.mjs";
12
+ } from "./chunk-7ORX33JX.mjs";
13
13
  import {
14
14
  addJsonNotice,
15
15
  isJsonOutputMode
16
- } from "./chunk-4LMTY4RQ.mjs";
16
+ } from "./chunk-3ZBPXNSW.mjs";
17
17
  import {
18
18
  resolveApiKeyForBaseUrl
19
- } from "./chunk-W66GXHYR.mjs";
19
+ } from "./chunk-X5RXG6VS.mjs";
20
20
  import {
21
21
  SDK_VERSION
22
- } from "./chunk-CFLAGRWL.mjs";
22
+ } from "./chunk-IG3CXIJY.mjs";
23
23
 
24
24
  // src/cli/compatibility-catalog.ts
25
25
  var readers = /* @__PURE__ */ new WeakMap();
@@ -21,12 +21,12 @@ var _chunkLFQJW4S2js = require('./chunk-LFQJW4S2.js');
21
21
  var _chunkCFJFUVX2js = require('./chunk-CFJFUVX2.js');
22
22
 
23
23
 
24
- var _chunkCPNTDIJKjs = require('./chunk-CPNTDIJK.js');
24
+ var _chunkMBOPKQJFjs = require('./chunk-MBOPKQJF.js');
25
25
 
26
26
  // src/version.ts
27
- var SDK_VERSION = _chunkCPNTDIJKjs.SDK_RELEASE.version;
28
- var SDK_API_MAJOR = _chunkCPNTDIJKjs.SDK_RELEASE.contracts.api.currentMajor;
29
- var SDK_API_CONTRACT = _nullishCoalesce(_chunkCPNTDIJKjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
27
+ var SDK_VERSION = _chunkMBOPKQJFjs.SDK_RELEASE.version;
28
+ var SDK_API_MAJOR = _chunkMBOPKQJFjs.SDK_RELEASE.contracts.api.currentMajor;
29
+ var SDK_API_CONTRACT = _nullishCoalesce(_chunkMBOPKQJFjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
30
30
 
31
31
  // src/agent-runtime.ts
32
32
  var _fs = require('fs');
@@ -2,7 +2,7 @@ import {
2
2
  addDescribeOptions,
3
3
  recordApiResponse,
4
4
  writeExecutionOutput
5
- } from "./chunk-CSPOWVWS.mjs";
5
+ } from "./chunk-U4VCAECC.mjs";
6
6
  import {
7
7
  registerIntegrationBalanceCommand,
8
8
  registerIntegrationConnectCommand,
@@ -11,11 +11,11 @@ import {
11
11
  registerLegacyHubSpotMembersCommand,
12
12
  registerLegacyWorkspaceConnectionCommand,
13
13
  registerWorkspaceConnectionListCommand
14
- } from "./chunk-IFWB4BYZ.mjs";
14
+ } from "./chunk-C6YXUGX2.mjs";
15
15
  import {
16
16
  recentSearchRef,
17
17
  registerDeprecatedSearchCommand
18
- } from "./chunk-DDJN4RR6.mjs";
18
+ } from "./chunk-BK4Z62CF.mjs";
19
19
  import {
20
20
  Capability,
21
21
  arrayField,
@@ -37,10 +37,10 @@ import {
37
37
  toolInputFieldsForDisplay,
38
38
  toolMetadataJsonForDescribe,
39
39
  toolOutputFieldsForDisplay
40
- } from "./chunk-DWUESXDD.mjs";
40
+ } from "./chunk-QXQBTTRD.mjs";
41
41
  import {
42
42
  rateLimitQualifier
43
- } from "./chunk-FYKHAT2F.mjs";
43
+ } from "./chunk-SECFDB27.mjs";
44
44
  import {
45
45
  shellArgument,
46
46
  shellQuote
@@ -57,29 +57,29 @@ import {
57
57
  } from "./chunk-FIVKWNMT.mjs";
58
58
  import {
59
59
  DeeplineClient
60
- } from "./chunk-ITYSPUKD.mjs";
60
+ } from "./chunk-EI7KTESB.mjs";
61
61
  import {
62
62
  validateExecutionIdempotencyKey
63
- } from "./chunk-NTHN7ODR.mjs";
63
+ } from "./chunk-SQBSK74D.mjs";
64
64
  import {
65
65
  beginToolExecuteCommand,
66
66
  getToolExecuteInvocationId,
67
67
  maybeAutoUpdateAndRelaunch,
68
68
  registerCompatibilityCatalog,
69
69
  runToolExecuteStage
70
- } from "./chunk-H7DY5NQ3.mjs";
70
+ } from "./chunk-5BPJW6X5.mjs";
71
71
  import {
72
72
  isCliTraceEnabled,
73
73
  recordCliTrace,
74
74
  resolveCliMaintenancePolicy
75
- } from "./chunk-JQPFICW3.mjs";
75
+ } from "./chunk-MEDA3STC.mjs";
76
76
  import {
77
77
  checkSdkCompatibility,
78
78
  enforceSdkCompatibilityResponse,
79
79
  flushDeferredSkillsSyncNotices,
80
80
  requireSdkCompatibility,
81
81
  syncSdkSkillsIfNeeded
82
- } from "./chunk-OAQYLTUN.mjs";
82
+ } from "./chunk-7ORX33JX.mjs";
83
83
  import {
84
84
  errorToJsonPayload,
85
85
  printCommandEnvelope,
@@ -88,12 +88,12 @@ import {
88
88
  printJsonError,
89
89
  renderCommandEnvelopeText,
90
90
  shouldEmitJson
91
- } from "./chunk-4LMTY4RQ.mjs";
91
+ } from "./chunk-3ZBPXNSW.mjs";
92
92
  import {
93
93
  readSdkSkillsLocalVersion,
94
94
  resolveConfig,
95
95
  sdkCliStateDirPath
96
- } from "./chunk-W66GXHYR.mjs";
96
+ } from "./chunk-X5RXG6VS.mjs";
97
97
  import {
98
98
  DeeplineError
99
99
  } from "./chunk-Z3A2S3QM.mjs";
@@ -1057,7 +1057,7 @@ Examples:
1057
1057
  process.exitCode = await narrowView();
1058
1058
  return;
1059
1059
  }
1060
- const { describeAnything } = await import("./describe-UBSCFPH5.mjs");
1060
+ const { describeAnything } = await import("./describe-WZOVHWAM.mjs");
1061
1061
  process.exitCode = await describeAnything(
1062
1062
  toolId,
1063
1063
  {
@@ -1430,7 +1430,10 @@ function monitorTypePricingLines(tool) {
1430
1430
  );
1431
1431
  const keys = Object.keys(byType);
1432
1432
  if (!keys.length) {
1433
- return ["Pricing: Deepline credits per accepted event"];
1433
+ const sentence = stringField(pricing, "display") || stringField(pricing, "customer_visible");
1434
+ return [
1435
+ sentence ? `Pricing: ${sentence}` : "Pricing: Deepline credits per accepted event"
1436
+ ];
1434
1437
  }
1435
1438
  const lines = ["Pricing (Deepline credits per accepted event):"];
1436
1439
  for (const key of keys) {
@@ -2574,7 +2577,9 @@ function writeToolReceipt(input) {
2574
2577
  const toolResponse = recordField(envelope, "toolResponse");
2575
2578
  const data = Object.hasOwn(toolResponse, "rawV2") ? toolResponse.rawV2 : Object.hasOwn(toolResponse, "raw") ? toolResponse.raw : Object.hasOwn(envelope, "output") ? envelope.output : Object.hasOwn(envelope, "result") ? envelope.result : response;
2576
2579
  const status = typeof envelope.status === "string" ? envelope.status : "completed";
2577
- const charged = recordField(envelope, "billing").credits_charged;
2580
+ const billing = recordField(envelope, "billing");
2581
+ const charged = billing.credits_charged;
2582
+ const credentialSource = stringField(billing, "credential_source");
2578
2583
  writeExecutionOutput(
2579
2584
  {
2580
2585
  id: input.key ?? jobId,
@@ -2584,6 +2589,7 @@ function writeToolReceipt(input) {
2584
2589
  complete: null,
2585
2590
  declared: declaredOutputs(metadata, envelope, data),
2586
2591
  credits: typeof charged === "number" ? charged : null,
2592
+ ...credentialSource ? { credentialSource } : {},
2587
2593
  warnings: [
2588
2594
  ...input.warnings ?? [],
2589
2595
  ...extractToolExecutionWarningMessages(response)
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  getActiveCliProgress
3
- } from "./chunk-7J473OJ5.mjs";
3
+ } from "./chunk-3P4QZIJ5.mjs";
4
4
  import {
5
5
  maybeReportAutomaticSkillsSyncFailure
6
- } from "./chunk-4LMTY4RQ.mjs";
6
+ } from "./chunk-3ZBPXNSW.mjs";
7
7
  import {
8
8
  DEFAULT_MAX_RETRIES,
9
9
  DEFAULT_SKILL_AGENTS,
@@ -18,20 +18,20 @@ import {
18
18
  sdkCliStateDirPath,
19
19
  skillsAgentPathSegment,
20
20
  writeSdkSkillsLocalVersion
21
- } from "./chunk-W66GXHYR.mjs";
21
+ } from "./chunk-X5RXG6VS.mjs";
22
22
  import {
23
23
  SDK_API_CONTRACT,
24
24
  SDK_API_MAJOR,
25
25
  SDK_VERSION,
26
26
  deploymentProtectionHeaders,
27
27
  detectAgentRuntime
28
- } from "./chunk-CFLAGRWL.mjs";
28
+ } from "./chunk-IG3CXIJY.mjs";
29
29
  import {
30
30
  DeeplineError
31
31
  } from "./chunk-Z3A2S3QM.mjs";
32
32
  import {
33
33
  SDK_RELEASE
34
- } from "./chunk-4YSJOSBG.mjs";
34
+ } from "./chunk-GIZIWNL5.mjs";
35
35
 
36
36
  // src/compat.ts
37
37
  import { randomUUID } from "crypto";
@@ -1,15 +1,15 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkY2TK7OXNjs = require('./chunk-Y2TK7OXN.js');
3
+ var _chunkD6I7QWOZjs = require('./chunk-D6I7QWOZ.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkHGQT6EGKjs = require('./chunk-HGQT6EGK.js');
7
+ var _chunkNNWEQDZRjs = require('./chunk-NNWEQDZR.js');
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunkA7NKOXBVjs = require('./chunk-A7NKOXBV.js');
12
+ var _chunk6VSUP4WNjs = require('./chunk-6VSUP4WN.js');
13
13
 
14
14
  // src/cli/commands/sessions.ts
15
15
 
@@ -55,7 +55,7 @@ function codexSessionsRoot() {
55
55
  }
56
56
  function listClaudeSessionFiles() {
57
57
  const files = [];
58
- for (const root of _chunkA7NKOXBVjs.claudeProjectsRoots.call(void 0, )) {
58
+ for (const root of _chunk6VSUP4WNjs.claudeProjectsRoots.call(void 0, )) {
59
59
  files.push(...listClaudeSessionFilesIn(root));
60
60
  }
61
61
  return files;
@@ -147,7 +147,7 @@ function currentSessionFile(agent) {
147
147
  const newestFirst = listSessionFiles(agent).sort(
148
148
  (a, b) => b.mtimeMs - a.mtimeMs
149
149
  );
150
- const sessionId = _chunkA7NKOXBVjs.agentSessionIdFromEnvironment.call(void 0,
150
+ const sessionId = _chunk6VSUP4WNjs.agentSessionIdFromEnvironment.call(void 0,
151
151
  process.env,
152
152
  agent === "auto" ? void 0 : agent === "claude" ? "claude_code" : "codex"
153
153
  );
@@ -156,7 +156,7 @@ function currentSessionFile(agent) {
156
156
  (candidate) => candidate.sessionId === sessionId
157
157
  );
158
158
  if (named) return named;
159
- const cowork = agent === "codex" ? null : _chunkA7NKOXBVjs.coworkTranscriptFromEnvironment.call(void 0, );
159
+ const cowork = agent === "codex" ? null : _chunk6VSUP4WNjs.coworkTranscriptFromEnvironment.call(void 0, );
160
160
  const coworkStat = cowork ? statIfReadable(cowork.filePath) : null;
161
161
  if (cowork && coworkStat) {
162
162
  return { agent: "claude", ...cowork, mtimeMs: coworkStat.mtimeMs };
@@ -166,7 +166,7 @@ function currentSessionFile(agent) {
166
166
  ), () => ( newestFirst[0])), () => ( null));
167
167
  }
168
168
  function feedbackAgentSessionId(agentRuntime) {
169
- return _nullishCoalesce(_chunkA7NKOXBVjs.agentSessionIdFromEnvironment.call(void 0, process.env, agentRuntime), () => ( (agentRuntime === "claude_cowork" || agentRuntime === "claude_code" ? _nullishCoalesce(_optionalChain([_chunkA7NKOXBVjs.coworkTranscriptFromEnvironment.call(void 0, ), 'optionalAccess', _17 => _17.sessionId]), () => ( null)) : null)));
169
+ return _nullishCoalesce(_chunk6VSUP4WNjs.agentSessionIdFromEnvironment.call(void 0, process.env, agentRuntime), () => ( (agentRuntime === "claude_cowork" || agentRuntime === "claude_code" ? _nullishCoalesce(_optionalChain([_chunk6VSUP4WNjs.coworkTranscriptFromEnvironment.call(void 0, ), 'optionalAccess', _17 => _17.sessionId]), () => ( null)) : null)));
170
170
  }
171
171
  function sessionStartedInDirectory(candidate, cwd) {
172
172
  if (candidate.agent === "claude") {
@@ -215,7 +215,7 @@ function readCodexSessionId(filePath) {
215
215
  return null;
216
216
  }
217
217
  function sessionSearchDescription(agent) {
218
- const claude = _chunkA7NKOXBVjs.claudeProjectsRoots.call(void 0, ).map((root) => _path.join.call(void 0, root, "*", "<session-id>.jsonl")).join(", ");
218
+ const claude = _chunk6VSUP4WNjs.claudeProjectsRoots.call(void 0, ).map((root) => _path.join.call(void 0, root, "*", "<session-id>.jsonl")).join(", ");
219
219
  if (agent === "claude") return claude;
220
220
  if (agent === "codex") return "~/.codex/sessions/**/*.jsonl";
221
221
  return `${claude} or ~/.codex/sessions/**/*.jsonl`;
@@ -472,7 +472,7 @@ function buildSessionUploadContent(raw) {
472
472
  return { encodedContent: encoded, needsChunking: true };
473
473
  }
474
474
  async function uploadPayload(path, payload) {
475
- const { http } = _chunkHGQT6EGKjs.getAuthedHttpClient.call(void 0, );
475
+ const { http } = _chunkNNWEQDZRjs.getAuthedHttpClient.call(void 0, );
476
476
  return await http.post(path, payload);
477
477
  }
478
478
  async function uploadChunkedSessions(sessions, options) {
@@ -550,7 +550,7 @@ async function uploadAgentSession(agentRuntime) {
550
550
  return target.sessionId;
551
551
  }
552
552
  async function handleSessionsSend(options) {
553
- if (_chunkY2TK7OXNjs.rejectRestrictedFeedback.call(void 0, options)) return;
553
+ if (_chunkD6I7QWOZjs.rejectRestrictedFeedback.call(void 0, options)) return;
554
554
  const rating = parseSessionRating(options.rating);
555
555
  if (options.file) {
556
556
  const filePath = _path.resolve.call(void 0, options.file);
@@ -562,7 +562,7 @@ async function handleSessionsSend(options) {
562
562
  filename: _path.basename.call(void 0, filePath),
563
563
  ...rating ? { rating } : {}
564
564
  });
565
- _chunkHGQT6EGKjs.printCommandEnvelope.call(void 0,
565
+ _chunkNNWEQDZRjs.printCommandEnvelope.call(void 0,
566
566
  {
567
567
  ...response2,
568
568
  ok: true,
@@ -594,7 +594,7 @@ async function handleSessionsSend(options) {
594
594
  labeled: Boolean(_optionalChain([options, 'access', _27 => _27.label, 'optionalAccess', _28 => _28.length]))
595
595
  });
596
596
  const sessionIds = built.map((session) => session.sessionId);
597
- _chunkHGQT6EGKjs.printCommandEnvelope.call(void 0,
597
+ _chunkNNWEQDZRjs.printCommandEnvelope.call(void 0,
598
598
  {
599
599
  ...response,
600
600
  ok: true,
@@ -702,7 +702,7 @@ ${refreshMeta}
702
702
  </body>
703
703
  </html>`;
704
704
  _fs.writeFileSync.call(void 0, outputPath, html, "utf8");
705
- _chunkHGQT6EGKjs.printCommandEnvelope.call(void 0,
705
+ _chunkNNWEQDZRjs.printCommandEnvelope.call(void 0,
706
706
  {
707
707
  ok: true,
708
708
  file: outputPath,
@@ -1,19 +1,19 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkUKSOIH2Pjs = require('./chunk-UKSOIH2P.js');
3
+ var _chunkXFVJ3JNAjs = require('./chunk-XFVJ3JNA.js');
4
4
 
5
5
 
6
- var _chunkHGQT6EGKjs = require('./chunk-HGQT6EGK.js');
6
+ var _chunkNNWEQDZRjs = require('./chunk-NNWEQDZR.js');
7
7
 
8
8
 
9
- var _chunkXBO4ERH6js = require('./chunk-XBO4ERH6.js');
9
+ var _chunk2ZCFAUCVjs = require('./chunk-2ZCFAUCV.js');
10
10
 
11
11
  // src/cli/commands/integration-commands.ts
12
12
  var _commander = require('commander');
13
13
  var _fs = require('fs');
14
14
  var _path = require('path');
15
15
  function printIntegrationResult(value, json, lines, nextCursor) {
16
- _chunkHGQT6EGKjs.printCommandEnvelope.call(void 0,
16
+ _chunkNNWEQDZRjs.printCommandEnvelope.call(void 0,
17
17
  {},
18
18
  {
19
19
  json: json || void 0,
@@ -29,7 +29,7 @@ function registerIntegrationBalanceCommand(parent, hidden = false) {
29
29
  return parent.command("balance <provider>", { hidden }).description(
30
30
  "Read a fresh balance using this org\u2019s own provider connection (LeadMagic)."
31
31
  ).option("--json", "Print the balance and observation timestamp as JSON").action(async (provider, options) => {
32
- const balance = await new (0, _chunkUKSOIH2Pjs.DeeplineClient)().getIntegrationBalance(
32
+ const balance = await new (0, _chunkXFVJ3JNAjs.DeeplineClient)().getIntegrationBalance(
33
33
  provider
34
34
  );
35
35
  printIntegrationResult(balance, options.json, [
@@ -43,7 +43,7 @@ function registerWorkspaceConnectionListCommand(parent, name = "workspace-connec
43
43
  "List teammates\u2019 personal connections for this provider"
44
44
  ).option("--cursor <cursor>", "Read the next page of members").action(
45
45
  async (options) => {
46
- const client = new (0, _chunkUKSOIH2Pjs.DeeplineClient)();
46
+ const client = new (0, _chunkXFVJ3JNAjs.DeeplineClient)();
47
47
  if (name === "list" && options.cursor && !options.members)
48
48
  throw new Error(
49
49
  "Use --cursor with --members to continue a member page."
@@ -85,7 +85,7 @@ function registerWorkspaceConnectionListCommand(parent, name = "workspace-connec
85
85
  }
86
86
  function registerLegacyHubSpotMembersCommand(parent, hidden = false) {
87
87
  return parent.command("hubspot-members", { hidden }).description("List personal HubSpot connection status for org members.").option("--cursor <cursor>", "Read the next roster page").option("--json", "Print the roster page as JSON").action(async (options) => {
88
- const page = await new (0, _chunkUKSOIH2Pjs.DeeplineClient)().listPersonalHubSpotMembers(
88
+ const page = await new (0, _chunkXFVJ3JNAjs.DeeplineClient)().listPersonalHubSpotMembers(
89
89
  options.cursor
90
90
  );
91
91
  const rows = page.members.map((member) => {
@@ -111,7 +111,7 @@ function registerLegacyWorkspaceConnectionCommand(parent, hidden = false) {
111
111
  );
112
112
  if (options.autoName && (action !== "connect" || options.name !== void 0))
113
113
  throw new Error("Use --auto-name with connect and omit --name.");
114
- const client = new (0, _chunkUKSOIH2Pjs.DeeplineClient)();
114
+ const client = new (0, _chunkXFVJ3JNAjs.DeeplineClient)();
115
115
  const { connections } = action === "connect" ? { connections: [] } : options.name ? await client.listWorkspaceConnectionInventory(provider) : await client.listWorkspaceIntegrationConnections();
116
116
  const row = connections.find(
117
117
  (connection) => connection.provider === provider && (!("type" in connection) || connection.type === "oauth") && (options.name === void 0 || "name" in connection && connection.name === options.name)
@@ -144,7 +144,7 @@ function registerLegacyCalendarDelegationCommand(parent, hidden = false) {
144
144
  "Print the proposed change without contacting Google or saving it"
145
145
  ).option("--json", "Print the result as JSON").action(
146
146
  async (action, options) => {
147
- const client = new (0, _chunkUKSOIH2Pjs.DeeplineClient)();
147
+ const client = new (0, _chunkXFVJ3JNAjs.DeeplineClient)();
148
148
  if (action === "list") {
149
149
  const inventory = await client.listCalendarAvailabilityConnections();
150
150
  const approvals = _optionalChain([inventory, 'access', _3 => _3.approvals, 'optionalAccess', _4 => _4.length]) ? inventory.approvals.map(
@@ -294,7 +294,7 @@ function registerLegacyCalendarDelegationCommand(parent, hidden = false) {
294
294
  }
295
295
  function registerLegacyAvailabilityCalendarsCommand(parent, hidden = false) {
296
296
  return parent.command("availability-calendars", { hidden }).description("Calendar discovery compatibility command for the pilot.").option("--cursor <cursor>", "Legacy calendar page cursor").option("--json", "Print the response as JSON").action(async (options) => {
297
- const page = await new (0, _chunkUKSOIH2Pjs.DeeplineClient)().listAvailabilityCalendars(
297
+ const page = await new (0, _chunkXFVJ3JNAjs.DeeplineClient)().listAvailabilityCalendars(
298
298
  options.cursor
299
299
  );
300
300
  printIntegrationResult(page, options.json, [
@@ -372,7 +372,7 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
372
372
  );
373
373
  return;
374
374
  }
375
- const result2 = await new (0, _chunkUKSOIH2Pjs.DeeplineClient)().connectManagedIntegration(
375
+ const result2 = await new (0, _chunkXFVJ3JNAjs.DeeplineClient)().connectManagedIntegration(
376
376
  provider,
377
377
  {
378
378
  termsVersion: options.acceptTerms,
@@ -409,7 +409,7 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
409
409
  printSetupPlan({ provider, action: "connect_link" }, options.json);
410
410
  return;
411
411
  }
412
- const link = await new (0, _chunkUKSOIH2Pjs.DeeplineClient)().getIntegrationConnectLink(
412
+ const link = await new (0, _chunkXFVJ3JNAjs.DeeplineClient)().getIntegrationConnectLink(
413
413
  provider
414
414
  );
415
415
  printIntegrationResult(link, options.json, [link.connect_url]);
@@ -439,7 +439,7 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
439
439
  );
440
440
  return;
441
441
  }
442
- const result2 = await new (0, _chunkUKSOIH2Pjs.DeeplineClient)().startIntegrationOAuth(
442
+ const result2 = await new (0, _chunkXFVJ3JNAjs.DeeplineClient)().startIntegrationOAuth(
443
443
  provider,
444
444
  {
445
445
  ...options.preset !== void 0 ? { preset: options.preset } : {},
@@ -501,7 +501,7 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
501
501
  "--credentials-file must contain a nonempty JSON object of string credential values."
502
502
  );
503
503
  }
504
- const result = await new (0, _chunkUKSOIH2Pjs.DeeplineClient)().setIntegrationCredentials(
504
+ const result = await new (0, _chunkXFVJ3JNAjs.DeeplineClient)().setIntegrationCredentials(
505
505
  provider,
506
506
  credentials,
507
507
  { expectedConnectionId: options.expectedConnectionId, teamId }
@@ -530,7 +530,7 @@ function registerIntegrationConnectCommand(parent, defaultLink = false, hidden =
530
530
  function connectTeamId(orgDefault) {
531
531
  if (orgDefault) return null;
532
532
  try {
533
- return _nullishCoalesce(_chunkXBO4ERH6js.resolveConfig.call(void 0, ).workspace, () => ( null));
533
+ return _nullishCoalesce(_chunk2ZCFAUCVjs.resolveConfig.call(void 0, ).workspace, () => ( null));
534
534
  } catch (e2) {
535
535
  return _optionalChain([process, 'access', _9 => _9.env, 'access', _10 => _10.DEEPLINE_WORKSPACE_ID, 'optionalAccess', _11 => _11.trim, 'call', _12 => _12()]) || null;
536
536
  }
@@ -524,6 +524,13 @@ Output fields:
524
524
  quota.* monthly cap, when enabled.
525
525
  recent activity one line per billed call in
526
526
  render.sections, newest first.
527
+ recent.entries[].credential_source the provider key the call ran
528
+ on: managed (Deepline's),
529
+ user (yours), or unknown
530
+ (recorded before it was
531
+ stored, or no provider key).
532
+ api_key_id is the Deepline
533
+ key that called.
527
534
  ]]
528
535
  Cases:
529
536
  A run that is still active shows a partial spend; read it again after the
@@ -647,8 +654,10 @@ Examples:
647
654
  deepline run -e 'return { doubled: input.n * 2 };' --input '{"n":21}'
648
655
  Output:
649
656
  A receipt: what ran, its status and cost, where the data was saved, and
650
- the first values. --receipt-out <path> writes the JSON receipt only to that
651
- new file, even with --json. File errors go to stderr. Use --json-out - or
657
+ the first values. A tool call's credentialSource says which provider key it
658
+ ran on (or, with --dry-run, would run on): managed is Deepline's key, user
659
+ is your own connected key. --receipt-out <path> writes the JSON receipt only
660
+ to that new file, even with --json. File errors go to stderr. Use --json-out - or
652
661
  --csv-out - to pipe result data to stdout.
653
662
  --fields picks values and CSV columns. Exit code 0 completed, 1 failed or
654
663
  still running, 2 nothing ran.
@@ -4233,6 +4242,12 @@ The sequence:
4233
4242
  [[views set-access <id> public]] lets anyone with the URL open it and
4234
4243
  see the output of every run of its Play, including runs started outside
4235
4244
  the view (by hand, on a schedule, or from the CLI).
4245
+ To embed a public view in an iframe, use
4246
+ [[views set-access <id> public --embed-origin https://example.com]]
4247
+ and use the printed Embed URL as the iframe src. List each exact HTTPS
4248
+ origin after --embed-origin to replace the allowlist. Use
4249
+ --clear-embed-origins to turn embedding off. Embeds show public output
4250
+ without signing visitors in or letting them start runs.
4236
4251
  To share with specific people instead, create a signed link:
4237
4252
  [[views links create <id> --expires 7d --email a@b.com]]. Whoever holds
4238
4253
  it can open the view, with each run's input, until it expires or
@@ -11,20 +11,20 @@ import {
11
11
  skillsInstallLeasePath,
12
12
  skillsSourceUrl,
13
13
  syncSdkSkillsIfNeeded
14
- } from "./chunk-OAQYLTUN.mjs";
14
+ } from "./chunk-7ORX33JX.mjs";
15
15
  import {
16
16
  printCommandEnvelope
17
- } from "./chunk-4LMTY4RQ.mjs";
17
+ } from "./chunk-3ZBPXNSW.mjs";
18
18
  import {
19
19
  autoDetectBaseUrl,
20
20
  ensureProjectPrivatePathsIgnored,
21
21
  resolveProjectPinTarget,
22
22
  sdkCliStateDirPath
23
- } from "./chunk-W66GXHYR.mjs";
23
+ } from "./chunk-X5RXG6VS.mjs";
24
24
  import {
25
25
  SDK_VERSION,
26
26
  detectAgentRuntime
27
- } from "./chunk-CFLAGRWL.mjs";
27
+ } from "./chunk-IG3CXIJY.mjs";
28
28
  import {
29
29
  DEEPLINE_GTM_GLOBAL_SKILL_ROOTS
30
30
  } from "./chunk-5JPKRDFC.mjs";
@@ -3,16 +3,16 @@ import {
3
3
  } from "./chunk-5AEDYVB6.mjs";
4
4
  import {
5
5
  DeeplineClient
6
- } from "./chunk-ITYSPUKD.mjs";
6
+ } from "./chunk-EI7KTESB.mjs";
7
7
  import {
8
8
  errorToJsonPayload,
9
9
  printCommandEnvelope,
10
10
  resolveSdkCliFailureExitCode
11
- } from "./chunk-4LMTY4RQ.mjs";
11
+ } from "./chunk-3ZBPXNSW.mjs";
12
12
  import {
13
13
  resolveConfig,
14
14
  sdkCliStateDirPath
15
- } from "./chunk-W66GXHYR.mjs";
15
+ } from "./chunk-X5RXG6VS.mjs";
16
16
 
17
17
  // src/cli/commands/search.ts
18
18
  import { Option } from "commander";
@@ -134,7 +134,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
134
134
  }
135
135
  const client = new DeeplineClient();
136
136
  const json = options.json === true;
137
- const renderer = json ? void 0 : await import("./search-output-TWKKP2BE.mjs");
137
+ const renderer = json ? void 0 : await import("./search-output-UPQNAFAF.mjs");
138
138
  const searches = [];
139
139
  const chunks = [];
140
140
  const refs = /* @__PURE__ */ new Map();