deepline 0.3.554 → 0.3.556

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 (154) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/sdk/src/types.ts +8 -2
  3. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +19 -0
  4. package/dist/cli/auth-HA7TI6SA.js +44 -0
  5. package/dist/cli/{auth-HJUNW7T2.mjs → auth-MT7DWCZO.mjs} +5 -5
  6. package/dist/cli/{billing-4TSA5HEC.js → billing-3HHUTNME.js} +102 -102
  7. package/dist/cli/{billing-SJYRJAQ2.mjs → billing-4NOM52PO.mjs} +9 -9
  8. package/dist/cli/{chunk-VV4XGZ24.js → chunk-2NZQ432X.js} +13 -13
  9. package/dist/cli/{chunk-6EXOAT6T.mjs → chunk-2ZS5PZB6.mjs} +2 -2
  10. package/dist/cli/{chunk-M7STM3MZ.js → chunk-3R6RBAQW.js} +26 -26
  11. package/dist/cli/{chunk-TJ6HLN56.js → chunk-4HSPHSUB.js} +5 -5
  12. package/dist/cli/{chunk-GRZENGNE.js → chunk-4U5HIMZY.js} +2 -2
  13. package/dist/cli/{chunk-TOO3YM5N.js → chunk-7ERE37SK.js} +6 -6
  14. package/dist/cli/{chunk-5CYZHOKI.js → chunk-7MD36QLK.js} +4 -4
  15. package/dist/cli/{chunk-BOZAP2EM.mjs → chunk-ASMHON7N.mjs} +5 -5
  16. package/dist/cli/{chunk-VQ75KX7G.mjs → chunk-ASOLVHDL.mjs} +2 -2
  17. package/dist/cli/{chunk-2ORPFQUA.mjs → chunk-B4RWCBU5.mjs} +3 -3
  18. package/dist/cli/{chunk-33WRQSQ2.mjs → chunk-BTKVXI3G.mjs} +3 -2
  19. package/dist/cli/{chunk-B6HO2XWH.mjs → chunk-C2XLKCRH.mjs} +5 -5
  20. package/dist/cli/{chunk-3Z4VFCXO.mjs → chunk-C4GWTN3J.mjs} +5 -5
  21. package/dist/cli/{chunk-2OVHNHCF.js → chunk-CJF7AFBD.js} +2 -2
  22. package/dist/cli/{chunk-2HMN5H54.js → chunk-CZ2RJTAQ.js} +48 -48
  23. package/dist/cli/{chunk-UBBYHB2B.mjs → chunk-DAQQL743.mjs} +2 -2
  24. package/dist/cli/{chunk-UNNOZKRT.js → chunk-DAS66RGZ.js} +1 -1
  25. package/dist/cli/{chunk-GHT2NDL7.js → chunk-F5CE3JZQ.js} +9 -9
  26. package/dist/cli/{chunk-OVEYWO4H.js → chunk-FFXLMJ5O.js} +8 -8
  27. package/dist/cli/{chunk-RBBTCYQB.mjs → chunk-FQYEHUVR.mjs} +3 -3
  28. package/dist/cli/{chunk-OPTV7D2V.js → chunk-G6BX5VJN.js} +100 -100
  29. package/dist/cli/{chunk-E74KGKFZ.js → chunk-GY4S6A72.js} +5 -5
  30. package/dist/cli/{chunk-RTHMGSZX.js → chunk-GZFYLAXJ.js} +15 -15
  31. package/dist/cli/{chunk-62HWJXST.mjs → chunk-HJO3MZ4M.mjs} +2 -2
  32. package/dist/cli/{chunk-YY55NYAH.mjs → chunk-IFHMGEDN.mjs} +11 -11
  33. package/dist/cli/{chunk-KZHBDMGF.mjs → chunk-JRYF5W3A.mjs} +2 -2
  34. package/dist/cli/{chunk-FBAFX43W.js → chunk-K4IPTGU5.js} +10 -10
  35. package/dist/cli/{chunk-XD3MFTHA.mjs → chunk-KA77KT46.mjs} +1 -1
  36. package/dist/cli/{chunk-UYCZFQYQ.js → chunk-KN3NETDA.js} +10 -8
  37. package/dist/cli/{chunk-UC4BDZKI.mjs → chunk-KNOS6H4E.mjs} +2 -2
  38. package/dist/cli/{chunk-ECHKAC7M.js → chunk-KONNXKKX.js} +2 -2
  39. package/dist/cli/{chunk-7OWI736E.js → chunk-KUDSTDSL.js} +23 -23
  40. package/dist/cli/{chunk-DSKSFFK2.mjs → chunk-L57JAXHI.mjs} +1 -1
  41. package/dist/cli/{chunk-W6CZDTIR.js → chunk-LU3OLGF3.js} +53 -53
  42. package/dist/cli/{chunk-S6W6SJ6E.mjs → chunk-LW2FKVCQ.mjs} +1 -1
  43. package/dist/cli/{chunk-FXQ3JKE3.mjs → chunk-MUIJGT2B.mjs} +1 -1
  44. package/dist/cli/{chunk-DUBXUAAO.js → chunk-N6LM2Q6V.js} +5 -5
  45. package/dist/cli/{chunk-VIUUTEHY.js → chunk-NGB2VSGB.js} +3 -3
  46. package/dist/cli/{chunk-XU6QNM4D.mjs → chunk-O7QRNMSW.mjs} +1 -1
  47. package/dist/cli/{chunk-62AUAWQV.mjs → chunk-P6ZIR4QD.mjs} +4 -4
  48. package/dist/cli/{chunk-YQKCH4R7.js → chunk-PWQ3IUD4.js} +20 -20
  49. package/dist/cli/{chunk-F7CMRKSK.mjs → chunk-QGQPVPJN.mjs} +1 -1
  50. package/dist/cli/{chunk-4DOFGIEJ.js → chunk-QVNX6AC3.js} +12 -12
  51. package/dist/cli/{chunk-WL7P32PI.js → chunk-SWVGAIJD.js} +20 -20
  52. package/dist/cli/{chunk-YCOGPOUX.mjs → chunk-UERLY7PX.mjs} +2 -2
  53. package/dist/cli/{chunk-PQQMPUCZ.js → chunk-UO7NPJEK.js} +3 -3
  54. package/dist/cli/{chunk-VLO5NFH2.mjs → chunk-UYPXQFJ4.mjs} +1 -1
  55. package/dist/cli/{chunk-Q7ACILL2.mjs → chunk-VCYPHVUE.mjs} +2 -2
  56. package/dist/cli/{chunk-GA2M3G3Y.mjs → chunk-VQZQCPCA.mjs} +4 -4
  57. package/dist/cli/{chunk-D6Z6POKE.mjs → chunk-W5JM2QCI.mjs} +5 -5
  58. package/dist/cli/{chunk-UOT7HPBH.js → chunk-YGW2CSB7.js} +41 -41
  59. package/dist/cli/{chunk-IVZKMJUK.js → chunk-YI4ADWTN.js} +3 -2
  60. package/dist/cli/{chunk-KVBQY4ST.mjs → chunk-YO2FDGAN.mjs} +4 -2
  61. package/dist/cli/{chunk-52Q5KETX.mjs → chunk-ZGOTBBY3.mjs} +1 -1
  62. package/dist/cli/command-docs.js +2 -2
  63. package/dist/cli/command-docs.mjs +1 -1
  64. package/dist/cli/{concurrent-runs-help-O3Q5IPLF.mjs → concurrent-runs-help-AFJDK2SY.mjs} +6 -6
  65. package/dist/cli/concurrent-runs-help-ZHOCLINF.js +22 -0
  66. package/dist/cli/{csv-Y3BFPEM6.mjs → csv-CATF6MZU.mjs} +4 -4
  67. package/dist/cli/{csv-4ZQ2RATI.js → csv-NTNQLQXG.js} +13 -13
  68. package/dist/cli/{db-VEIFS4M7.js → db-IKFKNLW5.js} +27 -27
  69. package/dist/cli/{db-3JYY4JNN.mjs → db-U3FK4FFM.mjs} +6 -6
  70. package/dist/cli/{describe-EVJ4MFVU.mjs → describe-F7OQQ7IO.mjs} +18 -18
  71. package/dist/cli/describe-ZHNZ4H6S.js +50 -0
  72. package/dist/cli/describe-core.d.mts +2 -2
  73. package/dist/cli/describe-core.d.ts +2 -2
  74. package/dist/cli/{executions-HPZXOOVX.js → executions-3TA5SATU.js} +8 -8
  75. package/dist/cli/{executions-PCXZKEHM.mjs → executions-6KUA7RPH.mjs} +6 -6
  76. package/dist/cli/{feedback-ZKFHFVL6.js → feedback-GX7RVC4O.js} +14 -14
  77. package/dist/cli/{feedback-Y6VKZNY6.mjs → feedback-U5I6UTJG.mjs} +6 -6
  78. package/dist/cli/git-6DK7N4V7.js +26 -0
  79. package/dist/cli/{git-UMPR2QYC.mjs → git-DYNKPPNT.mjs} +5 -5
  80. package/dist/cli/index.js +147 -147
  81. package/dist/cli/index.mjs +46 -46
  82. package/dist/cli/{integrations-V3TM6XAB.mjs → integrations-7FATBEB5.mjs} +7 -7
  83. package/dist/cli/{integrations-3GQCTRTF.js → integrations-PQX2FRPT.js} +15 -15
  84. package/dist/cli/{legacy-noops-VYCO7NGW.js → legacy-noops-JNXQWYUR.js} +9 -9
  85. package/dist/cli/{legacy-noops-JZBUD7ZE.mjs → legacy-noops-ODATBQUL.mjs} +6 -6
  86. package/dist/cli/{mcp-4OIWTCE6.js → mcp-RXBXC4HW.js} +24 -24
  87. package/dist/cli/{mcp-PH4KZ76P.mjs → mcp-UDNG33WQ.mjs} +4 -4
  88. package/dist/cli/{monitors-SSMGIDGX.mjs → monitors-L56QYFRW.mjs} +7 -7
  89. package/dist/cli/{monitors-E2A6VPBY.js → monitors-NDAGIRO4.js} +100 -100
  90. package/dist/cli/{org-SFDKSK5D.mjs → org-EA5DL5I7.mjs} +6 -6
  91. package/dist/cli/{org-WUDZGWBT.js → org-Q47O5ZTI.js} +121 -121
  92. package/dist/cli/{outcomes-Y7SZTLSL.js → outcomes-27ENBTWE.js} +14 -14
  93. package/dist/cli/{outcomes-QT7LQBPK.mjs → outcomes-773GPYXN.mjs} +6 -6
  94. package/dist/cli/{play-GDNHCRRR.js → play-BOZIT25U.js} +339 -327
  95. package/dist/cli/{play-EK7KSFPL.mjs → play-O6RGVBT7.mjs} +34 -22
  96. package/dist/cli/{providers-FVZLRXAU.mjs → providers-OOKYSLMJ.mjs} +6 -6
  97. package/dist/cli/{providers-ZKOSECLV.js → providers-S2E5IGFO.js} +9 -9
  98. package/dist/cli/{quickstart-UJZ6PIQV.mjs → quickstart-7GVZ7YCQ.mjs} +4 -4
  99. package/dist/cli/{quickstart-KSDKIXYD.js → quickstart-YXKRRK43.js} +6 -6
  100. package/dist/cli/{run-E7MZ7P35.mjs → run-3QGOVUHF.mjs} +27 -33
  101. package/dist/cli/{run-PD2BBG6S.js → run-7DXBARRO.js} +48 -54
  102. package/dist/cli/search-4DZYX3FR.js +32 -0
  103. package/dist/cli/{search-VTFUFTOY.mjs → search-5UIB4QSG.mjs} +7 -7
  104. package/dist/cli/{search-output-G2AGDCOY.js → search-output-C7ZPRC2B.js} +6 -6
  105. package/dist/cli/{search-output-PFVXQCWA.mjs → search-output-MSUN3KPW.mjs} +4 -4
  106. package/dist/cli/{secrets-BCOQ4U7U.js → secrets-FU3DFFB6.js} +15 -15
  107. package/dist/cli/{secrets-7CIMEMX7.mjs → secrets-JYJS2VHO.mjs} +6 -6
  108. package/dist/cli/sessions-E2IX3GU7.js +23 -0
  109. package/dist/cli/{sessions-IUCQZEF7.mjs → sessions-JBD64DOX.mjs} +6 -6
  110. package/dist/cli/{settings-KZN62UQK.mjs → settings-4KFYWSJI.mjs} +12 -12
  111. package/dist/cli/{settings-REL4736M.js → settings-GDJGQXKT.js} +85 -85
  112. package/dist/cli/{setup-2P7OG3OU.mjs → setup-46VMBV3K.mjs} +9 -9
  113. package/dist/cli/{setup-2XIVBBCS.js → setup-OKLUCTU7.js} +49 -49
  114. package/dist/cli/skills-GJS4Q7NU.js +37 -0
  115. package/dist/cli/{skills-VIGNDJKI.mjs → skills-XRJNXEEA.mjs} +7 -7
  116. package/dist/cli/tools-LICQXFYA.js +57 -0
  117. package/dist/cli/{tools-W3QT5EJY.mjs → tools-WEBVZN3X.mjs} +17 -17
  118. package/dist/cli/update-3XH3NVVY.js +37 -0
  119. package/dist/cli/{update-GZVBVMY3.mjs → update-RKTYJ6BO.mjs} +9 -9
  120. package/dist/cli/{views-BOGEH424.mjs → views-VTOQ4U75.mjs} +6 -6
  121. package/dist/cli/{views-TOLJNLSV.js → views-XLAPDQXQ.js} +21 -21
  122. package/dist/cli/{workflow-ENWFRK5M.js → workflow-HH4XVYPN.js} +17 -17
  123. package/dist/cli/{workflow-VDG2FDQV.mjs → workflow-RCO4R46B.mjs} +7 -7
  124. package/dist/{client-B8f7RNF8.d.mts → client-1ogYQqUw.d.mts} +1 -1
  125. package/dist/{client-C5TgXmJQ.d.ts → client-BoayTB7p.d.ts} +1 -1
  126. package/dist/{client-core-SLLGBTht.d.mts → client-core-Ch8CXaX4.d.mts} +8 -2
  127. package/dist/{client-core-p0sOxnkl.d.ts → client-core-DySw9x_E.d.ts} +8 -2
  128. package/dist/index.d.mts +3 -3
  129. package/dist/index.d.ts +3 -3
  130. package/dist/index.js +9 -9
  131. package/dist/index.mjs +6 -6
  132. package/dist/install-integrity.json +118 -118
  133. package/dist/plays/play-description.d.mts +1 -1
  134. package/dist/plays/play-description.d.ts +1 -1
  135. package/dist/plays/run-request.d.mts +1 -1
  136. package/dist/plays/run-request.d.ts +1 -1
  137. package/dist/release.d.mts +1 -1
  138. package/dist/release.d.ts +1 -1
  139. package/dist/release.js +2 -2
  140. package/dist/release.mjs +1 -1
  141. package/dist/server.d.mts +2 -2
  142. package/dist/server.d.ts +2 -2
  143. package/dist/server.js +5 -5
  144. package/dist/server.mjs +3 -3
  145. package/package.json +1 -1
  146. package/dist/cli/auth-SP6SKZJZ.js +0 -44
  147. package/dist/cli/concurrent-runs-help-ZFRZWX5V.js +0 -22
  148. package/dist/cli/describe-FG625QPF.js +0 -50
  149. package/dist/cli/git-RUBMALLH.js +0 -26
  150. package/dist/cli/search-TKSPTPHA.js +0 -32
  151. package/dist/cli/sessions-4CO556VD.js +0 -23
  152. package/dist/cli/skills-JYT5DEY6.js +0 -37
  153. package/dist/cli/tools-NTVUQ2TG.js +0 -57
  154. package/dist/cli/update-TWJZPUZM.js +0 -37
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  handleDeploymentGet,
3
3
  handleDeploymentsList
4
- } from "./chunk-KZHBDMGF.mjs";
4
+ } from "./chunk-JRYF5W3A.mjs";
5
5
  import {
6
6
  DEFAULT_MAX_CONCURRENT_EXTERNAL_CALLS,
7
7
  MAX_CONFIGURABLE_CONCURRENT_EXTERNAL_CALLS,
@@ -9,7 +9,7 @@ import {
9
9
  parsePlayRunHeaderFlag,
10
10
  parsePlayRunOptions,
11
11
  resolvePlayRunCliOptions
12
- } from "./chunk-VQ75KX7G.mjs";
12
+ } from "./chunk-ASOLVHDL.mjs";
13
13
  import {
14
14
  ExecutionOutputError,
15
15
  TABLE_EXPORT_ERROR_COLUMN,
@@ -22,10 +22,10 @@ import {
22
22
  underscoreKeysLast,
23
23
  writeExecutionOutput,
24
24
  writeRunDatasetCsv
25
- } from "./chunk-KVBQY4ST.mjs";
25
+ } from "./chunk-YO2FDGAN.mjs";
26
26
  import {
27
27
  registerDeprecatedSearchCommand
28
- } from "./chunk-GA2M3G3Y.mjs";
28
+ } from "./chunk-VQZQCPCA.mjs";
29
29
  import "./chunk-5AEDYVB6.mjs";
30
30
  import {
31
31
  buildPlayDashboardUrl,
@@ -51,10 +51,10 @@ import {
51
51
  import {
52
52
  pinLocalPlayImports,
53
53
  planLocalPlayExecution
54
- } from "./chunk-UBBYHB2B.mjs";
54
+ } from "./chunk-DAQQL743.mjs";
55
55
  import {
56
56
  DeeplineClient
57
- } from "./chunk-6EXOAT6T.mjs";
57
+ } from "./chunk-2ZS5PZB6.mjs";
58
58
  import {
59
59
  RUN_EVENT_SEARCH_KIND_VALUES,
60
60
  RunEventQueryInputError,
@@ -67,7 +67,7 @@ import {
67
67
  normalizePlayStatus,
68
68
  normalizeRunEventOperationRequest,
69
69
  parseLogLevel
70
- } from "./chunk-VLO5NFH2.mjs";
70
+ } from "./chunk-UYPXQFJ4.mjs";
71
71
  import "./chunk-FZHMNK6F.mjs";
72
72
  import {
73
73
  CSV_DATA_INPUT_KEY,
@@ -90,18 +90,18 @@ import {
90
90
  import {
91
91
  checkPlayRunCompatibility,
92
92
  usesCliPlayAdmission
93
- } from "./chunk-YCOGPOUX.mjs";
93
+ } from "./chunk-UERLY7PX.mjs";
94
94
  import {
95
95
  isCliTraceEnabled,
96
96
  recordCliTrace,
97
97
  resolveCliMaintenancePolicy,
98
98
  traceCliSpan
99
- } from "./chunk-F7CMRKSK.mjs";
100
- import "./chunk-BOZAP2EM.mjs";
99
+ } from "./chunk-QGQPVPJN.mjs";
100
+ import "./chunk-ASMHON7N.mjs";
101
101
  import {
102
102
  createCliProgress,
103
103
  getActiveCliProgress
104
- } from "./chunk-DSKSFFK2.mjs";
104
+ } from "./chunk-L57JAXHI.mjs";
105
105
  import {
106
106
  formatNonStandardSandboxRuntimeWarning
107
107
  } from "./chunk-LRZGS6RZ.mjs";
@@ -122,13 +122,13 @@ import {
122
122
  printJsonError,
123
123
  renderCommandEnvelopeText,
124
124
  shouldEmitJson
125
- } from "./chunk-UC4BDZKI.mjs";
125
+ } from "./chunk-KNOS6H4E.mjs";
126
126
  import {
127
127
  cliFeatureEnabled
128
- } from "./chunk-52Q5KETX.mjs";
128
+ } from "./chunk-ZGOTBBY3.mjs";
129
129
  import {
130
130
  fetchWithDeploymentProtection
131
- } from "./chunk-S6W6SJ6E.mjs";
131
+ } from "./chunk-LW2FKVCQ.mjs";
132
132
  import "./chunk-ASB47RXJ.mjs";
133
133
  import "./chunk-DLIRSHV6.mjs";
134
134
  import {
@@ -138,7 +138,7 @@ import {
138
138
  playRunIdLookupPrefix,
139
139
  shortPlayRunId
140
140
  } from "./chunk-2MGZAI54.mjs";
141
- import "./chunk-FXQ3JKE3.mjs";
141
+ import "./chunk-MUIJGT2B.mjs";
142
142
  import "./chunk-WZYKRD7T.mjs";
143
143
  import {
144
144
  __commonJS,
@@ -14205,6 +14205,7 @@ async function writePlayRunReceipt(client, status, output) {
14205
14205
  const allCollections = outputCollections(data).map(
14206
14206
  (collection) => byRows.get(collection.rows) ?? collection
14207
14207
  );
14208
+ const credits = status.billingTotalCreditsRollup ?? status.billing?.totalCredits ?? null;
14208
14209
  writeExecutionOutput(
14209
14210
  {
14210
14211
  id: status.runId,
@@ -14213,13 +14214,17 @@ async function writePlayRunReceipt(client, status, output) {
14213
14214
  ...allCollections.length ? { collections: allCollections } : {},
14214
14215
  complete: allCollections.every((c) => c.complete === true) ? true : allCollections.some((c) => c.complete === false) ? false : null,
14215
14216
  error,
14216
- credits: status.billingTotalCreditsRollup ?? status.billing?.totalCredits ?? null,
14217
+ credits,
14218
+ ...credits !== null ? { creditsPostedSoFar: true } : {},
14217
14219
  ...playName ? { page: buildPlayRunUrl(client.baseUrl, playName, status.runId) } : {},
14218
14220
  warnings: [
14219
14221
  ...buildRunWarnings(status, null),
14220
14222
  ...status.status === "completed" && collections.length && collections.every((collection) => collection.rows.length === 0) ? ["Run completed with 0 output rows."] : []
14221
14223
  ],
14222
- next
14224
+ next: {
14225
+ ...next,
14226
+ settledCost: `deepline billing usage --run-id ${shellQuote(status.runId)}`
14227
+ }
14223
14228
  },
14224
14229
  output
14225
14230
  );
@@ -16748,7 +16753,7 @@ async function handlePlaySave(args) {
16748
16753
  }
16749
16754
  }
16750
16755
  async function enforceOutcomeGuardrail(input) {
16751
- const { requireOutcomeGuardrail } = await import("./outcomes-QT7LQBPK.mjs");
16756
+ const { requireOutcomeGuardrail } = await import("./outcomes-773GPYXN.mjs");
16752
16757
  try {
16753
16758
  const gate = await requireOutcomeGuardrail({ ...input, phase: "reserve" });
16754
16759
  return {
@@ -16776,7 +16781,7 @@ async function enforceOutcomeGuardrail(input) {
16776
16781
  }
16777
16782
  }
16778
16783
  async function settleOutcomeApproval(input) {
16779
- const { requireOutcomeGuardrail } = await import("./outcomes-QT7LQBPK.mjs");
16784
+ const { requireOutcomeGuardrail } = await import("./outcomes-773GPYXN.mjs");
16780
16785
  const id = `${input.outcome}/${input.approval.seq}`;
16781
16786
  try {
16782
16787
  await requireOutcomeGuardrail({
@@ -17337,7 +17342,14 @@ Notes:
17337
17342
  resolvers. Accepted range: 1-${MAX_CONFIGURABLE_CONCURRENT_ROWS}. The runtime
17338
17343
  may lower it when source-row size exceeds the active-row memory budget.
17339
17344
  --max-credits replaces the play's billing.maxCreditsPerRun for this run.
17340
- Tool calls that would exceed it are denied.
17345
+ Before each tool call, its quoted price is added to what the run has
17346
+ already been charged; a call that would go over the cap is refused with
17347
+ RUN_BILLING_CAP_EXCEEDED. The cap counts charges already posted, not
17348
+ calls still in flight, so calls that run in parallel can together end the
17349
+ run somewhat over the cap. Compute is always charged and never refused by
17350
+ the cap, so it can also take the run over it.
17351
+ Charges can post a few seconds after the run ends;
17352
+ deepline billing usage --run-id <run-id> shows the settled cost.
17341
17353
  This command starts cloud work and may spend Deepline credits through tool calls.
17342
17354
 
17343
17355
  Idempotent execution:
@@ -17783,7 +17795,7 @@ Examples:
17783
17795
  process.exitCode = await ownView();
17784
17796
  return;
17785
17797
  }
17786
- const { describeAnything } = await import("./describe-EVJ4MFVU.mjs");
17798
+ const { describeAnything } = await import("./describe-F7OQQ7IO.mjs");
17787
17799
  process.exitCode = await describeAnything(
17788
17800
  name,
17789
17801
  {
@@ -18174,7 +18186,7 @@ Examples:
18174
18186
  new Option2("--log-failed", "Attach terminal-failure logs").hideHelp()
18175
18187
  ).action(async (runId, options) => {
18176
18188
  if (TOOL_EXECUTION_ID.test(runId)) {
18177
- const { getToolExecutionReceipt } = await import("./tools-W3QT5EJY.mjs");
18189
+ const { getToolExecutionReceipt } = await import("./tools-WEBVZN3X.mjs");
18178
18190
  process.exitCode = await getToolExecutionReceipt(runId, {
18179
18191
  receiptJson: options.json !== void 0
18180
18192
  });
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  DeeplineClient
3
- } from "./chunk-6EXOAT6T.mjs";
4
- import "./chunk-VLO5NFH2.mjs";
3
+ } from "./chunk-2ZS5PZB6.mjs";
4
+ import "./chunk-UYPXQFJ4.mjs";
5
5
  import "./chunk-FZHMNK6F.mjs";
6
6
  import "./chunk-5TYLSS4Q.mjs";
7
7
  import "./chunk-PSX3WHIH.mjs";
8
8
  import {
9
9
  printCommandEnvelope,
10
10
  shouldEmitJson
11
- } from "./chunk-UC4BDZKI.mjs";
12
- import "./chunk-52Q5KETX.mjs";
13
- import "./chunk-S6W6SJ6E.mjs";
11
+ } from "./chunk-KNOS6H4E.mjs";
12
+ import "./chunk-ZGOTBBY3.mjs";
13
+ import "./chunk-LW2FKVCQ.mjs";
14
14
  import "./chunk-ASB47RXJ.mjs";
15
15
  import "./chunk-DLIRSHV6.mjs";
16
16
  import "./chunk-Z3A2S3QM.mjs";
17
17
  import "./chunk-2MGZAI54.mjs";
18
- import "./chunk-FXQ3JKE3.mjs";
18
+ import "./chunk-MUIJGT2B.mjs";
19
19
  import "./chunk-WZYKRD7T.mjs";
20
20
  import "./chunk-KRD6H754.mjs";
21
21
 
@@ -1,29 +1,29 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkDUBXUAAOjs = require('./chunk-DUBXUAAO.js');
4
- require('./chunk-OVEYWO4H.js');
3
+ var _chunkN6LM2Q6Vjs = require('./chunk-N6LM2Q6V.js');
4
+ require('./chunk-FFXLMJ5O.js');
5
5
  require('./chunk-4WAM6TLD.js');
6
6
  require('./chunk-MJTVX4QK.js');
7
7
  require('./chunk-PMH4GLMD.js');
8
8
 
9
9
 
10
10
 
11
- var _chunkYQKCH4R7js = require('./chunk-YQKCH4R7.js');
12
- require('./chunk-VIUUTEHY.js');
13
- require('./chunk-5CYZHOKI.js');
11
+ var _chunkPWQ3IUD4js = require('./chunk-PWQ3IUD4.js');
12
+ require('./chunk-NGB2VSGB.js');
13
+ require('./chunk-7MD36QLK.js');
14
14
  require('./chunk-6VLFQZK6.js');
15
15
  require('./chunk-XNYIZMNQ.js');
16
16
  require('./chunk-LFQJW4S2.js');
17
17
  require('./chunk-CFJFUVX2.js');
18
- require('./chunk-UNNOZKRT.js');
18
+ require('./chunk-DAS66RGZ.js');
19
19
  require('./chunk-OG64RBAC.js');
20
20
  require('./chunk-COGTRVWW.js');
21
21
 
22
22
  // src/cli/commands/providers.ts
23
23
  async function listProviders(options = {}) {
24
- const client = new (0, _chunkDUBXUAAOjs.DeeplineClient)();
24
+ const client = new (0, _chunkN6LM2Q6Vjs.DeeplineClient)();
25
25
  const changed = options.changed === true;
26
- const emitJson = options.json === true || _chunkYQKCH4R7js.shouldEmitJson.call(void 0, );
26
+ const emitJson = options.json === true || _chunkPWQ3IUD4js.shouldEmitJson.call(void 0, );
27
27
  const providers = await client.listProviders({ changed });
28
28
  const render = {
29
29
  sections: [
@@ -43,7 +43,7 @@ async function listProviders(options = {}) {
43
43
  }
44
44
  ]
45
45
  };
46
- _chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
46
+ _chunkPWQ3IUD4js.printCommandEnvelope.call(void 0,
47
47
  {
48
48
  providers,
49
49
  count: providers.length,
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  printCommandEnvelope,
3
3
  shouldEmitJson
4
- } from "./chunk-UC4BDZKI.mjs";
5
- import "./chunk-52Q5KETX.mjs";
6
- import "./chunk-S6W6SJ6E.mjs";
4
+ } from "./chunk-KNOS6H4E.mjs";
5
+ import "./chunk-ZGOTBBY3.mjs";
6
+ import "./chunk-LW2FKVCQ.mjs";
7
7
  import "./chunk-ASB47RXJ.mjs";
8
8
  import "./chunk-DLIRSHV6.mjs";
9
9
  import "./chunk-Z3A2S3QM.mjs";
10
10
  import "./chunk-2MGZAI54.mjs";
11
- import "./chunk-FXQ3JKE3.mjs";
11
+ import "./chunk-MUIJGT2B.mjs";
12
12
  import "./chunk-WZYKRD7T.mjs";
13
13
  import {
14
14
  DEEPLINE_GTM_SKILL,
@@ -1,14 +1,14 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkYQKCH4R7js = require('./chunk-YQKCH4R7.js');
5
- require('./chunk-VIUUTEHY.js');
6
- require('./chunk-5CYZHOKI.js');
4
+ var _chunkPWQ3IUD4js = require('./chunk-PWQ3IUD4.js');
5
+ require('./chunk-NGB2VSGB.js');
6
+ require('./chunk-7MD36QLK.js');
7
7
  require('./chunk-6VLFQZK6.js');
8
8
  require('./chunk-XNYIZMNQ.js');
9
9
  require('./chunk-LFQJW4S2.js');
10
10
  require('./chunk-CFJFUVX2.js');
11
- require('./chunk-UNNOZKRT.js');
11
+ require('./chunk-DAS66RGZ.js');
12
12
  require('./chunk-OG64RBAC.js');
13
13
 
14
14
 
@@ -18,12 +18,12 @@ require('./chunk-COGTRVWW.js');
18
18
 
19
19
  // src/cli/commands/quickstart.ts
20
20
  async function handleQuickstart(options) {
21
- const jsonOutput = _chunkYQKCH4R7js.shouldEmitJson.call(void 0, options.json === true);
21
+ const jsonOutput = _chunkPWQ3IUD4js.shouldEmitJson.call(void 0, options.json === true);
22
22
  const gettingStarted = {
23
23
  skill: _chunkRLX5ZFNXjs.DEEPLINE_GTM_SKILL,
24
24
  examples: _chunkRLX5ZFNXjs.DEEPLINE_GTM_STARTER_PROMPTS
25
25
  };
26
- _chunkYQKCH4R7js.printCommandEnvelope.call(void 0,
26
+ _chunkPWQ3IUD4js.printCommandEnvelope.call(void 0,
27
27
  {
28
28
  ok: true,
29
29
  status: "deprecated",
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  looksLikeFilePath,
3
3
  resolvePlayRunCliOptions
4
- } from "./chunk-VQ75KX7G.mjs";
4
+ } from "./chunk-ASOLVHDL.mjs";
5
5
  import {
6
6
  findNamed,
7
7
  nothingNamed
8
- } from "./chunk-3Z4VFCXO.mjs";
8
+ } from "./chunk-C4GWTN3J.mjs";
9
9
  import {
10
10
  jsonFileText
11
- } from "./chunk-YY55NYAH.mjs";
11
+ } from "./chunk-IFHMGEDN.mjs";
12
12
  import {
13
13
  ExecutionOutputError,
14
14
  openLogDestination,
15
15
  preflightExecutionOutput,
16
16
  writeExecutionOutput
17
- } from "./chunk-KVBQY4ST.mjs";
18
- import "./chunk-62HWJXST.mjs";
19
- import "./chunk-GA2M3G3Y.mjs";
17
+ } from "./chunk-YO2FDGAN.mjs";
18
+ import "./chunk-HJO3MZ4M.mjs";
19
+ import "./chunk-VQZQCPCA.mjs";
20
20
  import "./chunk-5AEDYVB6.mjs";
21
21
  import {
22
22
  DEEPLINE_NAMESPACE
@@ -27,31 +27,31 @@ import "./chunk-STXDSVQZ.mjs";
27
27
  import "./chunk-MF7PCM6C.mjs";
28
28
  import "./chunk-FR2ILQ4G.mjs";
29
29
  import "./chunk-FIVKWNMT.mjs";
30
- import "./chunk-6EXOAT6T.mjs";
30
+ import "./chunk-2ZS5PZB6.mjs";
31
31
  import "./chunk-2GEYN3H4.mjs";
32
- import "./chunk-VLO5NFH2.mjs";
32
+ import "./chunk-UYPXQFJ4.mjs";
33
33
  import "./chunk-FZHMNK6F.mjs";
34
34
  import "./chunk-5TYLSS4Q.mjs";
35
35
  import "./chunk-PSX3WHIH.mjs";
36
- import "./chunk-B6HO2XWH.mjs";
37
- import "./chunk-F7CMRKSK.mjs";
38
- import "./chunk-D6Z6POKE.mjs";
39
- import "./chunk-XD3MFTHA.mjs";
40
- import "./chunk-62AUAWQV.mjs";
41
- import "./chunk-BOZAP2EM.mjs";
36
+ import "./chunk-C2XLKCRH.mjs";
37
+ import "./chunk-QGQPVPJN.mjs";
38
+ import "./chunk-W5JM2QCI.mjs";
39
+ import "./chunk-KA77KT46.mjs";
40
+ import "./chunk-P6ZIR4QD.mjs";
41
+ import "./chunk-ASMHON7N.mjs";
42
42
  import {
43
43
  createCliProgress
44
- } from "./chunk-DSKSFFK2.mjs";
44
+ } from "./chunk-L57JAXHI.mjs";
45
45
  import {
46
46
  errorToJsonPayload
47
- } from "./chunk-UC4BDZKI.mjs";
48
- import "./chunk-52Q5KETX.mjs";
49
- import "./chunk-S6W6SJ6E.mjs";
47
+ } from "./chunk-KNOS6H4E.mjs";
48
+ import "./chunk-ZGOTBBY3.mjs";
49
+ import "./chunk-LW2FKVCQ.mjs";
50
50
  import "./chunk-ASB47RXJ.mjs";
51
51
  import "./chunk-DLIRSHV6.mjs";
52
52
  import "./chunk-Z3A2S3QM.mjs";
53
53
  import "./chunk-2MGZAI54.mjs";
54
- import "./chunk-FXQ3JKE3.mjs";
54
+ import "./chunk-MUIJGT2B.mjs";
55
55
  import "./chunk-WZYKRD7T.mjs";
56
56
  import "./chunk-5JPKRDFC.mjs";
57
57
  import "./chunk-KRD6H754.mjs";
@@ -121,7 +121,7 @@ async function runAnything(name, options) {
121
121
  throw new Error("--max-credits takes a number of credits above 0.");
122
122
  }
123
123
  if (options.timeout !== void 0 && options.timeout !== "0") {
124
- const { parseToolExecuteTimeout } = await import("./tools-W3QT5EJY.mjs");
124
+ const { parseToolExecuteTimeout } = await import("./tools-WEBVZN3X.mjs");
125
125
  timeoutMs = parseToolExecuteTimeout(options.timeout);
126
126
  }
127
127
  } catch (error) {
@@ -142,7 +142,7 @@ async function runAnything(name, options) {
142
142
  if (name !== void 0) {
143
143
  return refuse("Use a name or -e, not both.", output);
144
144
  }
145
- const { writeInlinePlay } = await import("./play-EK7KSFPL.mjs");
145
+ const { writeInlinePlay } = await import("./play-O6RGVBT7.mjs");
146
146
  let file;
147
147
  try {
148
148
  file = writeInlinePlay(options.eval);
@@ -202,7 +202,7 @@ async function runAnything(name, options) {
202
202
  if (runner.via === "play") {
203
203
  return runPlay(runner.reference, { ...play, revision });
204
204
  }
205
- const { executeToolForReceipt } = await import("./tools-W3QT5EJY.mjs");
205
+ const { executeToolForReceipt } = await import("./tools-WEBVZN3X.mjs");
206
206
  return executeToolForReceipt({
207
207
  toolId: runner.toolId,
208
208
  params: input,
@@ -233,7 +233,7 @@ function dryRun(described, input, output) {
233
233
  return missing.length ? 2 : 0;
234
234
  }
235
235
  async function runPlay(reference, play) {
236
- const { handlePlayRun, writePlayRunReceipt } = await import("./play-EK7KSFPL.mjs");
236
+ const { handlePlayRun, writePlayRunReceipt } = await import("./play-O6RGVBT7.mjs");
237
237
  const { output, options, revision } = play;
238
238
  if (options.dryRun) {
239
239
  const dryRunOptions = resolvePlayRunCliOptions(reference, {
@@ -296,17 +296,11 @@ async function runPlay(reference, play) {
296
296
  writeResult: async (client, status) => {
297
297
  id = status.runId;
298
298
  written = true;
299
- const full = status.result === void 0 && ["completed", "failed", "cancelled"].includes(status.status) ? await client.getPlayStatus(status.runId, {
300
- full: true,
301
- billing: false
302
- }) : status;
299
+ const full = ["completed", "failed", "cancelled"].includes(
300
+ status.status
301
+ ) ? await client.getPlayStatus(status.runId, { full: true }) : status;
303
302
  const final = full.status === status.status ? full : status;
304
- await writePlayRunReceipt(
305
- client,
306
- // The full read skips billing; keep the cost the run reported.
307
- { ...final, billing: final.billing ?? status.billing },
308
- output
309
- );
303
+ await writePlayRunReceipt(client, final, output);
310
304
  },
311
305
  writeStarted: (runId, status, page) => {
312
306
  written = true;