deepline 0.3.516 → 0.3.518

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 (167) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +18 -0
  3. package/dist/bundling-sources/shared_libs/play-runtime/bounded-batch-function.ts +21 -3
  4. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +163 -63
  5. package/dist/bundling-sources/shared_libs/play-runtime/deployment/vercel-production-gate.ts +32 -5
  6. package/dist/bundling-sources/shared_libs/play-runtime/durable-call-policy.ts +8 -13
  7. package/dist/bundling-sources/shared_libs/play-runtime/durable-receipt-execution.ts +14 -0
  8. package/dist/bundling-sources/shared_libs/play-runtime/freshness-receipt-execution.ts +119 -9
  9. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-payload-transport.ts +8 -2
  10. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-session-execution.ts +12 -11
  11. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/detached-runner-readiness-pacing.ts +44 -0
  12. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +16 -6
  13. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +42 -1
  14. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/receipt-completion-coalescer.ts +8 -0
  15. package/dist/bundling-sources/shared_libs/play-runtime/tool-call/runtime-step-receipts-adapter.ts +22 -0
  16. package/dist/bundling-sources/shared_libs/plays/authoring-contract.ts +6 -7
  17. package/dist/cli/{artifacts-KMWS32R5.js → artifacts-EAOGAB5K.js} +21 -19
  18. package/dist/cli/{artifacts-G56FISIE.mjs → artifacts-LGFPVJSE.mjs} +9 -7
  19. package/dist/cli/auth-CLNPH65D.js +43 -0
  20. package/dist/cli/{auth-RSS7MOBV.mjs → auth-FXXZIWLI.mjs} +5 -5
  21. package/dist/cli/{billing-2ALO3XEG.mjs → billing-4Q5WAB5D.mjs} +7 -7
  22. package/dist/cli/{billing-RCC6WBIZ.js → billing-ESZXVREA.js} +82 -82
  23. package/dist/cli/{chunk-ZFRN3B2R.mjs → chunk-2DRW5ALK.mjs} +1 -1
  24. package/dist/cli/{chunk-YS7AI7R6.js → chunk-2G6MARKU.js} +7 -7
  25. package/dist/cli/{chunk-LWUFEX26.mjs → chunk-2LBKIVIW.mjs} +2 -2
  26. package/dist/cli/{chunk-UW5QWTUG.js → chunk-3NMQ5EIV.js} +14 -14
  27. package/dist/cli/{chunk-Q47MAAHI.mjs → chunk-4YR3W2YB.mjs} +1 -1
  28. package/dist/cli/{chunk-4IIK6GIY.js → chunk-5X4P3MNG.js} +9 -9
  29. package/dist/cli/{chunk-LZROM6VQ.js → chunk-6IPKRQMH.js} +2 -2
  30. package/dist/cli/{chunk-W5I53WQ4.js → chunk-7X32UR2E.js} +96 -96
  31. package/dist/cli/{chunk-6ZLL5GDN.js → chunk-B26LSUCI.js} +2 -2
  32. package/dist/cli/{chunk-LCKAG5RL.mjs → chunk-B2MSOFEI.mjs} +2 -2
  33. package/dist/cli/{chunk-RB3OR32I.js → chunk-BVQDUYXJ.js} +16 -16
  34. package/dist/cli/{chunk-WCQ7JGDV.mjs → chunk-DYWQ72ZQ.mjs} +1 -1
  35. package/dist/cli/{chunk-N6Q5SDGA.js → chunk-ENVSFG5E.js} +44 -44
  36. package/dist/cli/{chunk-HY6KAW5H.mjs → chunk-G6BD4K3K.mjs} +5 -5
  37. package/dist/cli/{chunk-7R2V5Z6O.js → chunk-GDMO6MMY.js} +41 -41
  38. package/dist/cli/{chunk-PPYJXP4Z.js → chunk-HIJM54NU.js} +22 -22
  39. package/dist/cli/{chunk-D4OZSC3C.js → chunk-HYR34KFA.js} +5 -4
  40. package/dist/cli/{chunk-JB6FEEDQ.js → chunk-ICHUGGZ3.js} +2 -2
  41. package/dist/cli/{chunk-FIIBDWAO.js → chunk-J2UOHFDH.js} +53 -53
  42. package/dist/cli/{chunk-72L5HQ3J.js → chunk-JKSLK5PS.js} +5 -5
  43. package/dist/cli/{chunk-PKKSXXZ5.js → chunk-K5GUMXRT.js} +26 -26
  44. package/dist/cli/{chunk-V46UBZBJ.mjs → chunk-KIYDPAGX.mjs} +2 -2
  45. package/dist/cli/{chunk-X2YP36YP.mjs → chunk-KP5AAMJ3.mjs} +1 -1
  46. package/dist/cli/{chunk-ZMCQP4EU.mjs → chunk-KQV75ZUA.mjs} +10 -10
  47. package/dist/cli/{chunk-QG4LIOGI.mjs → chunk-L256EFFV.mjs} +2 -2
  48. package/dist/cli/{chunk-E7ZM2ZRD.mjs → chunk-L4RQDVCN.mjs} +5 -5
  49. package/dist/cli/{chunk-CKEZXNMV.js → chunk-LLO5UYI5.js} +6 -6
  50. package/dist/cli/{chunk-6ADGVZRX.mjs → chunk-LTCNF6KG.mjs} +5 -5
  51. package/dist/cli/{chunk-WE223LFR.js → chunk-M4DA3HTT.js} +16 -16
  52. package/dist/cli/{chunk-RB5EMAWD.mjs → chunk-MNWLM3FA.mjs} +1 -1
  53. package/dist/cli/{chunk-TZNQRKDF.js → chunk-NQFVQCCV.js} +1 -1
  54. package/dist/cli/{chunk-72MFP7V4.mjs → chunk-QX4QFGU7.mjs} +1 -1
  55. package/dist/cli/{chunk-QG3MRMU5.js → chunk-R4ZEJD5F.js} +4 -4
  56. package/dist/cli/{chunk-JPLEDOEW.mjs → chunk-RASCFMYI.mjs} +2 -2
  57. package/dist/cli/{chunk-VIZJIBI4.js → chunk-REEWKGQZ.js} +10 -10
  58. package/dist/cli/{chunk-J4VMWSQK.mjs → chunk-RFUJBBJE.mjs} +6 -6
  59. package/dist/cli/{chunk-C2SR3X7Y.mjs → chunk-RYHNKT4P.mjs} +2 -2
  60. package/dist/cli/{chunk-QUSYG3VP.js → chunk-SNFRDG7G.js} +3 -3
  61. package/dist/cli/{chunk-PMS3LQ6B.js → chunk-ST7WCRVQ.js} +5 -5
  62. package/dist/cli/{chunk-2YEFJHAF.mjs → chunk-TH2AQ4VG.mjs} +3 -3
  63. package/dist/cli/{chunk-CA24C3XL.mjs → chunk-TU5RR775.mjs} +3 -3
  64. package/dist/cli/{chunk-QX7WDG4V.js → chunk-UY5JSZDA.js} +11 -11
  65. package/dist/cli/{chunk-C72J6JE3.mjs → chunk-V6DIYGTK.mjs} +1 -1
  66. package/dist/cli/{chunk-YXGTO5XA.mjs → chunk-VE6FHVXZ.mjs} +5 -4
  67. package/dist/cli/{chunk-RLI6FDQM.js → chunk-VHFICSS7.js} +6 -6
  68. package/dist/cli/{chunk-PVVWKOEB.mjs → chunk-W3UFYU63.mjs} +1 -1
  69. package/dist/cli/{chunk-EYWP5JPU.mjs → chunk-WTQF2Z6X.mjs} +4 -4
  70. package/dist/cli/{chunk-5NU37KME.mjs → chunk-X6H3JGOP.mjs} +2 -2
  71. package/dist/cli/{chunk-H6BSB2YJ.mjs → chunk-XA7OTIYW.mjs} +1 -1
  72. package/dist/cli/{chunk-P6AADORO.js → chunk-XJ5NVLIP.js} +3 -3
  73. package/dist/cli/{chunk-Z3KLCDCB.mjs → chunk-YNIH4YTR.mjs} +5 -5
  74. package/dist/cli/{chunk-XEQBYK4B.js → chunk-ZJ3HEEGF.js} +7 -7
  75. package/dist/cli/command-docs.js +2 -2
  76. package/dist/cli/command-docs.mjs +1 -1
  77. package/dist/cli/{csv-YXK5TB47.mjs → csv-KRGEVVN7.mjs} +4 -4
  78. package/dist/cli/{csv-RPR64UBS.js → csv-RLFOF4P4.js} +13 -13
  79. package/dist/cli/{db-UQYILAMF.mjs → db-2B6G4YO3.mjs} +6 -6
  80. package/dist/cli/{db-KO3JCGRG.js → db-NJC3NPOL.js} +27 -27
  81. package/dist/cli/{describe-P2OK5X2S.mjs → describe-BLJFAM4U.mjs} +18 -18
  82. package/dist/cli/describe-DRMUODJN.js +50 -0
  83. package/dist/cli/describe-core.d.mts +3 -3
  84. package/dist/cli/describe-core.d.ts +3 -3
  85. package/dist/cli/{executions-IQCRQXVA.mjs → executions-25XYBGJ5.mjs} +6 -6
  86. package/dist/cli/{executions-5Z7H7HV3.js → executions-ENELLT7A.js} +8 -8
  87. package/dist/cli/{feedback-ZO6A4HTV.mjs → feedback-5OAKHVQE.mjs} +5 -5
  88. package/dist/cli/{feedback-EDZJDARP.js → feedback-UPI2JQPL.js} +10 -10
  89. package/dist/cli/{git-OBXSILWM.mjs → git-MRYSIZV4.mjs} +5 -5
  90. package/dist/cli/git-P4OPT6Q7.js +25 -0
  91. package/dist/cli/index.js +145 -145
  92. package/dist/cli/index.mjs +44 -44
  93. package/dist/cli/{legacy-noops-HKXU2EU6.js → legacy-noops-DHEWQKER.js} +9 -9
  94. package/dist/cli/{legacy-noops-4UJM3FMN.mjs → legacy-noops-OJD5KYUO.mjs} +6 -6
  95. package/dist/cli/{monitors-7EP3Q2DX.js → monitors-22AFKUQN.js} +100 -100
  96. package/dist/cli/{monitors-ZXF2KCW7.mjs → monitors-24JM24NV.mjs} +7 -7
  97. package/dist/cli/{org-GFGOTUWP.js → org-HNYKUDJB.js} +72 -72
  98. package/dist/cli/{org-EDHCUR6V.mjs → org-I2X7ZZGQ.mjs} +6 -6
  99. package/dist/cli/{pages-EGEWMPJN.mjs → pages-4LSYUDES.mjs} +6 -6
  100. package/dist/cli/{pages-TLFQQL5S.js → pages-OUSF2RNH.js} +18 -18
  101. package/dist/cli/{play-NBO3MPDL.mjs → play-64XKQRA4.mjs} +18 -18
  102. package/dist/cli/{play-XDHJY5R4.js → play-ESY43EFW.js} +317 -317
  103. package/dist/cli/{providers-RU6BGEDM.js → providers-ENWSSRYR.js} +9 -9
  104. package/dist/cli/{providers-NXJ7WPNH.mjs → providers-VHK26CSP.mjs} +6 -6
  105. package/dist/cli/{quickstart-YBNDPNAR.mjs → quickstart-4NNLQMD7.mjs} +4 -4
  106. package/dist/cli/{quickstart-4ZZBMZPF.js → quickstart-TZ6IAUMS.js} +6 -6
  107. package/dist/cli/{run-LX52KVZM.mjs → run-DOH3AMYU.mjs} +23 -23
  108. package/dist/cli/{run-374CTJBV.js → run-RR7KPWP7.js} +41 -41
  109. package/dist/cli/search-SE6PM33H.js +33 -0
  110. package/dist/cli/{search-EH6JPV62.mjs → search-YFOCGXWL.mjs} +8 -8
  111. package/dist/cli/{search-output-NATLJOWW.js → search-output-AOTV6C36.js} +6 -6
  112. package/dist/cli/{search-output-XIQERUHF.mjs → search-output-IV2HSRLQ.mjs} +4 -4
  113. package/dist/cli/{secrets-A3UXDE5V.js → secrets-ATPM2AXV.js} +15 -15
  114. package/dist/cli/{secrets-VRJQFUKF.mjs → secrets-GMFCHPTV.mjs} +6 -6
  115. package/dist/cli/sessions-NN3H2KSE.js +18 -0
  116. package/dist/cli/{sessions-5TTH5FGZ.mjs → sessions-X3M4H2WY.mjs} +6 -6
  117. package/dist/cli/{settings-LX5EGLVT.js → settings-4V52LMWP.js} +86 -86
  118. package/dist/cli/{settings-VRGFTOTJ.mjs → settings-GRXFOR5V.mjs} +13 -13
  119. package/dist/cli/{setup-FXP5Y3Y6.mjs → setup-63WAXGPH.mjs} +10 -10
  120. package/dist/cli/{setup-QL4YWKOR.js → setup-OCCXAVQL.js} +50 -50
  121. package/dist/cli/skills-6XXVKQP4.js +37 -0
  122. package/dist/cli/{skills-ET4PMBJE.mjs → skills-IVGTO4NE.mjs} +8 -8
  123. package/dist/cli/tools-5COWG5TH.js +57 -0
  124. package/dist/cli/{tools-WPL3NZAA.mjs → tools-KGHX6MLB.mjs} +17 -17
  125. package/dist/cli/{update-OCAHAKL2.mjs → update-2OBZ4IUJ.mjs} +10 -10
  126. package/dist/cli/update-SQD25OCL.js +35 -0
  127. package/dist/cli/{workflow-CWO3XL4O.js → workflow-HGLO4V7R.js} +17 -17
  128. package/dist/cli/{workflow-NPZ2RLQG.mjs → workflow-ZZOATQYV.mjs} +7 -7
  129. package/dist/{client-K1g4ab5Y.d.mts → client-CpSiHSti.d.mts} +1 -1
  130. package/dist/{client-CQSPuqxh.d.ts → client-CswZYCGj.d.ts} +1 -1
  131. package/dist/{client-core-BksGf5Gd.d.mts → client-core-C1xVOg8Y.d.mts} +1 -1
  132. package/dist/{client-core-BlaqOlQ7.d.ts → client-core-D2pLt36Q.d.ts} +1 -1
  133. package/dist/{compiler-manifest-BliMS7ax.d.mts → compiler-manifest-B4mIIbw7.d.mts} +3 -3
  134. package/dist/{compiler-manifest-BliMS7ax.d.ts → compiler-manifest-B4mIIbw7.d.ts} +3 -3
  135. package/dist/{errors-BZ6Zq1cz.d.mts → errors-C2F4qzAq.d.mts} +1 -1
  136. package/dist/{errors-xfNscfS1.d.ts → errors-Gj9i5Rkd.d.ts} +1 -1
  137. package/dist/{index-DbvCg4zg.d.mts → index-5JZBufdF.d.mts} +1 -1
  138. package/dist/{index-FGdQv8J8.d.ts → index-BXtSj8bv.d.ts} +1 -1
  139. package/dist/index.d.mts +7 -7
  140. package/dist/index.d.ts +7 -7
  141. package/dist/index.js +9 -9
  142. package/dist/index.mjs +6 -6
  143. package/dist/install-integrity.json +117 -116
  144. package/dist/plays/bundle-play-file.d.mts +3 -3
  145. package/dist/plays/bundle-play-file.d.ts +3 -3
  146. package/dist/plays/bundle-play-file.mjs +3 -4
  147. package/dist/plays/play-description.d.mts +2 -2
  148. package/dist/plays/play-description.d.ts +2 -2
  149. package/dist/plays/run-request.d.mts +2 -2
  150. package/dist/plays/run-request.d.ts +2 -2
  151. package/dist/release.d.mts +1 -1
  152. package/dist/release.d.ts +1 -1
  153. package/dist/release.js +2 -2
  154. package/dist/release.mjs +1 -1
  155. package/dist/server.d.mts +4 -4
  156. package/dist/server.d.ts +4 -4
  157. package/dist/server.js +5 -5
  158. package/dist/server.mjs +3 -3
  159. package/package.json +1 -1
  160. package/dist/cli/auth-6EIEZ3UE.js +0 -43
  161. package/dist/cli/describe-BPX3U2BF.js +0 -50
  162. package/dist/cli/git-Y34J73QC.js +0 -25
  163. package/dist/cli/search-YS4DHSQC.js +0 -33
  164. package/dist/cli/sessions-EXII5VOV.js +0 -18
  165. package/dist/cli/skills-5L4CYX3V.js +0 -37
  166. package/dist/cli/tools-5V77VIUA.js +0 -57
  167. package/dist/cli/update-G5RSSWM5.js +0 -35
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  autoDetectBaseUrl,
3
3
  resolveApiKeyForBaseUrl
4
- } from "./chunk-ZFRN3B2R.mjs";
4
+ } from "./chunk-2DRW5ALK.mjs";
5
5
  import {
6
6
  SDK_VERSION,
7
7
  agentSessionIdFromEnvironment,
8
8
  deploymentProtectionHeaders,
9
9
  detectAgentRuntime
10
- } from "./chunk-PVVWKOEB.mjs";
10
+ } from "./chunk-W3UFYU63.mjs";
11
11
  import {
12
12
  DeeplineError
13
13
  } from "./chunk-ZPGGW27Q.mjs";
@@ -1,13 +1,13 @@
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
3
 
4
- var _chunkQUSYG3VPjs = require('./chunk-QUSYG3VP.js');
4
+ var _chunkSNFRDG7Gjs = require('./chunk-SNFRDG7G.js');
5
5
 
6
6
 
7
7
 
8
8
 
9
9
 
10
- var _chunkQG3MRMU5js = require('./chunk-QG3MRMU5.js');
10
+ var _chunkR4ZEJD5Fjs = require('./chunk-R4ZEJD5F.js');
11
11
 
12
12
 
13
13
  var _chunkSQWET4SLjs = require('./chunk-SQWET4SL.js');
@@ -150,7 +150,7 @@ function buildEnvironmentContext() {
150
150
  node_version: process.version,
151
151
  runtime: "Node.js",
152
152
  hostname: _os.hostname.call(void 0, ),
153
- agent_runtime: _chunkQG3MRMU5js.detectAgentRuntime.call(void 0, )
153
+ agent_runtime: _chunkR4ZEJD5Fjs.detectAgentRuntime.call(void 0, )
154
154
  };
155
155
  for (const key of ["CLAUDE_CODE_REMOTE", "DEEPLINE_PLUGIN_MODE"]) {
156
156
  const normalized = _optionalChain([process, 'access', _5 => _5.env, 'access', _6 => _6[key], 'optionalAccess', _7 => _7.trim, 'call', _8 => _8()]);
@@ -171,18 +171,18 @@ function buildEnvironmentContext() {
171
171
  return context;
172
172
  }
173
173
  function failureReportHeaders(apiKey) {
174
- const agentSessionId = _chunkQG3MRMU5js.agentSessionIdFromEnvironment.call(void 0, );
174
+ const agentSessionId = _chunkR4ZEJD5Fjs.agentSessionIdFromEnvironment.call(void 0, );
175
175
  return {
176
- ..._chunkQG3MRMU5js.deploymentProtectionHeaders.call(void 0, ),
176
+ ..._chunkR4ZEJD5Fjs.deploymentProtectionHeaders.call(void 0, ),
177
177
  ...agentSessionId ? { "X-Deepline-Agent-Session-Id": agentSessionId } : {},
178
178
  Authorization: `Bearer ${apiKey}`,
179
179
  "Content-Type": "application/json",
180
- "User-Agent": `deepline-ts-sdk/${_chunkQG3MRMU5js.SDK_VERSION}`,
180
+ "User-Agent": `deepline-ts-sdk/${_chunkR4ZEJD5Fjs.SDK_VERSION}`,
181
181
  "X-Deepline-Client-Family": "sdk",
182
182
  "X-Deepline-CLI-Family": "sdk",
183
- "X-Deepline-Agent-Runtime": _chunkQG3MRMU5js.detectAgentRuntime.call(void 0, ),
184
- "X-Deepline-CLI-Version": _chunkQG3MRMU5js.SDK_VERSION,
185
- "X-Deepline-SDK-Version": _chunkQG3MRMU5js.SDK_VERSION
183
+ "X-Deepline-Agent-Runtime": _chunkR4ZEJD5Fjs.detectAgentRuntime.call(void 0, ),
184
+ "X-Deepline-CLI-Version": _chunkR4ZEJD5Fjs.SDK_VERSION,
185
+ "X-Deepline-SDK-Version": _chunkR4ZEJD5Fjs.SDK_VERSION
186
186
  };
187
187
  }
188
188
  async function postFailureReport(input) {
@@ -210,7 +210,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
210
210
  if (isFailureReportingDisabled()) return false;
211
211
  let apiKey = "";
212
212
  try {
213
- apiKey = _chunkQUSYG3VPjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
213
+ apiKey = _chunkSNFRDG7Gjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
214
214
  } catch (e2) {
215
215
  return false;
216
216
  }
@@ -237,7 +237,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
237
237
  failure_code: failureCode2,
238
238
  failure_stage: failureStage,
239
239
  error_body: "Automatic Deepline skills installation failed.",
240
- cli_version: _chunkQG3MRMU5js.SDK_VERSION,
240
+ cli_version: _chunkR4ZEJD5Fjs.SDK_VERSION,
241
241
  context: {
242
242
  environment: buildEnvironmentContext(),
243
243
  skills_sync: {
@@ -357,7 +357,7 @@ function buildFailureReport(input) {
357
357
  failure_kind: failureKind,
358
358
  failure_code: code,
359
359
  failure_stage: input.error === void 0 ? "command_exit" : "cli_main",
360
- cli_version: _chunkQG3MRMU5js.SDK_VERSION,
360
+ cli_version: _chunkR4ZEJD5Fjs.SDK_VERSION,
361
361
  context: {
362
362
  base_url: redactFailureText(input.baseUrl, 400),
363
363
  command_summary: sanitizeCommand(input.argv),
@@ -377,8 +377,8 @@ async function maybeReportSdkCliFailure(input) {
377
377
  if (isServerLoggedPlayRunStartFailure(input)) return false;
378
378
  const exitCode = resolvedExitCode(input);
379
379
  if (!shouldReport({ exitCode, error: input.error })) return false;
380
- const baseUrl = _chunkQUSYG3VPjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
381
- const apiKey = _chunkQUSYG3VPjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
380
+ const baseUrl = _chunkSNFRDG7Gjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
381
+ const apiKey = _chunkSNFRDG7Gjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
382
382
  if (!apiKey) return false;
383
383
  return postFailureReport({
384
384
  baseUrl,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  printCommandEnvelope
3
- } from "./chunk-V46UBZBJ.mjs";
3
+ } from "./chunk-KIYDPAGX.mjs";
4
4
 
5
5
  // src/cli/feedback-preferences.ts
6
6
  import {
@@ -3,7 +3,7 @@
3
3
  var _chunkVLEVVDWGjs = require('./chunk-VLEVVDWG.js');
4
4
 
5
5
 
6
- var _chunkYS7AI7R6js = require('./chunk-YS7AI7R6.js');
6
+ var _chunk2G6MARKUjs = require('./chunk-2G6MARKU.js');
7
7
 
8
8
 
9
9
  var _chunk6Y3DDRRNjs = require('./chunk-6Y3DDRRN.js');
@@ -11,7 +11,7 @@ var _chunk6Y3DDRRNjs = require('./chunk-6Y3DDRRN.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkXEQBYK4Bjs = require('./chunk-XEQBYK4B.js');
14
+ var _chunkZJ3HEEGFjs = require('./chunk-ZJ3HEEGF.js');
15
15
 
16
16
 
17
17
  var _chunkSQWET4SLjs = require('./chunk-SQWET4SL.js');
@@ -581,7 +581,7 @@ function parseInputFlagValue(raw) {
581
581
  return raw;
582
582
  }
583
583
  function parsePlayRunOptions(args, initialInput = null) {
584
- const selection = _chunkXEQBYK4Bjs.parseJsonFields.call(void 0, args, "run");
584
+ const selection = _chunkZJ3HEEGFjs.parseJsonFields.call(void 0, args, "run");
585
585
  args = selection.args;
586
586
  const usage = "Usage: deepline plays run <play-name> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run <play-file.ts> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --file <play-file.ts> [--input '{...}'] [--profile <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --name <name> [--input '{...}'] [--profile <id>] [--live|--latest|--revision-id <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--json] [--full] [--<input> value]\n Runs use the Absurd CJS runtime.\n --header '<name>: <value>' may repeat; each is sent on every request for this run.\n Unknown --<input> value flags, such as --limit 5, are passed into play input.\nRun `deepline plays run --help` for idempotent call caching and deepline.dataset guidance.";
587
587
  let filePath = null;
@@ -593,7 +593,7 @@ function parsePlayRunOptions(args, initialInput = null) {
593
593
  let revisionSelector = null;
594
594
  const watch = !args.includes("--no-wait");
595
595
  const dryRun = args.includes("--dry-run");
596
- let jsonOutput = dryRun ? _chunkXEQBYK4Bjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkXEQBYK4Bjs.argsWantJson.call(void 0, args);
596
+ let jsonOutput = dryRun ? _chunkZJ3HEEGFjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkZJ3HEEGFjs.argsWantJson.call(void 0, args);
597
597
  const fullJson = args.includes("--full");
598
598
  const force = args.includes("--force") || args.includes("--from-start");
599
599
  const forceToolRefresh = args.includes("--force-tool-refresh") || args.includes("--refresh-cache");
@@ -656,7 +656,7 @@ function parsePlayRunOptions(args, initialInput = null) {
656
656
  "--log-level requires one of: debug, info, warn, error."
657
657
  );
658
658
  }
659
- const parsed = _chunkYS7AI7R6js.parseLogLevel.call(void 0, value);
659
+ const parsed = _chunk2G6MARKUjs.parseLogLevel.call(void 0, value);
660
660
  if (!parsed) {
661
661
  throw new Error(
662
662
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -974,7 +974,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
974
974
  const hasExplicitLogLevel = options.logLevel !== void 0 || inputArgs.some(
975
975
  (arg) => arg === "--log-level" || arg.startsWith("--log-level=")
976
976
  );
977
- let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkYS7AI7R6js.parseLogLevel.call(void 0, options.logLevel);
977
+ let logLevel = options.logLevel === void 0 ? base.logLevel : _chunk2G6MARKUjs.parseLogLevel.call(void 0, options.logLevel);
978
978
  if (!logLevel)
979
979
  throw new Error("--log-level requires one of: debug, info, warn, error.");
980
980
  const debugAlias = options.logs || options.debug === true || inputArgs.some(
@@ -988,13 +988,13 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
988
988
  if (debugAlias || debugMapLatency && logLevel === "info")
989
989
  logLevel = "debug";
990
990
  const fullJson = _nullishCoalesce(options.full, () => ( base.fullJson));
991
- const jsonFields = options.json === void 0 ? base.jsonFields : _chunkXEQBYK4Bjs.parseJsonFields.call(void 0,
992
- [...fullJson ? ["--full"] : [], ..._chunkXEQBYK4Bjs.jsonFieldArgs.call(void 0, options.json)],
991
+ const jsonFields = options.json === void 0 ? base.jsonFields : _chunkZJ3HEEGFjs.parseJsonFields.call(void 0,
992
+ [...fullJson ? ["--full"] : [], ..._chunkZJ3HEEGFjs.jsonFieldArgs.call(void 0, options.json)],
993
993
  "run"
994
994
  ).fields;
995
995
  const watch = options.wait === false ? false : base.watch;
996
996
  const explicitJson = options.json !== void 0 ? options.json !== false : base.jsonOutput;
997
- const jsonOutput = dryRun || !watch ? explicitJson || _chunkXEQBYK4Bjs.argsWantJson.call(void 0, []) : explicitJson;
997
+ const jsonOutput = dryRun || !watch ? explicitJson || _chunkZJ3HEEGFjs.argsWantJson.call(void 0, []) : explicitJson;
998
998
  const verboseLogs = Boolean(
999
999
  debugAlias || logLevel === "debug" || debugMapLatency
1000
1000
  );
@@ -1,6 +1,6 @@
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 _chunkXEQBYK4Bjs = require('./chunk-XEQBYK4B.js');
3
+ var _chunkZJ3HEEGFjs = require('./chunk-ZJ3HEEGF.js');
4
4
 
5
5
  // src/cli/maintenance-policy.ts
6
6
  var _commander = require('commander');
@@ -33,7 +33,7 @@ function recordCliTrace(event) {
33
33
  sinceStartMs: now - cliTraceStartedAt,
34
34
  ...event
35
35
  };
36
- _chunkXEQBYK4Bjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
36
+ _chunkZJ3HEEGFjs.writeRawStderr.call(void 0, `[cli-trace] ${JSON.stringify(payload)}
37
37
  `);
38
38
  }
39
39
  async function traceCliSpan(phase, fields, run) {