deepline 0.3.523 → 0.3.525

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 (177) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +68 -60
  2. package/dist/bundling-sources/sdk/src/http-core.ts +14 -0
  3. package/dist/bundling-sources/sdk/src/plays/play-description.ts +1 -0
  4. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  5. package/dist/bundling-sources/sdk/src/types.ts +10 -0
  6. package/dist/bundling-sources/shared_libs/monitors/signal-radars/inbound-dead-letter.ts +60 -14
  7. package/dist/bundling-sources/shared_libs/monitors/signal-radars/inbound-queue-delivery.ts +9 -3
  8. package/dist/bundling-sources/shared_libs/observability/dlq.ts +19 -0
  9. package/dist/bundling-sources/shared_libs/observability/queue-health.ts +9 -0
  10. package/dist/bundling-sources/shared_libs/observability/queue-item-connectors.ts +1 -0
  11. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +1 -1
  12. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +397 -22
  13. package/dist/bundling-sources/shared_libs/play-runtime/freshness-receipt-execution.ts +473 -13
  14. package/dist/bundling-sources/shared_libs/play-runtime/launch-identity.ts +28 -0
  15. package/dist/bundling-sources/shared_libs/play-runtime/run-retry-summary.ts +202 -0
  16. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +60 -8
  17. package/dist/bundling-sources/shared_libs/play-runtime/runtime-telemetry.ts +112 -0
  18. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +39 -1
  19. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/durable-run-sql.ts +13 -5
  20. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/play-run-recovery.ts +10 -1
  21. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/run-retry-facts.ts +62 -0
  22. package/dist/cli/auth-K7PMRXNG.js +43 -0
  23. package/dist/cli/{auth-ENQUQS56.mjs → auth-TH3VGYBK.mjs} +5 -5
  24. package/dist/cli/{billing-6A27ULCX.mjs → billing-CMHFI2LN.mjs} +8 -8
  25. package/dist/cli/{billing-6HONTJOY.js → billing-TWKVUFU2.js} +83 -83
  26. package/dist/cli/{chunk-JMMNCJ7Z.js → chunk-2WFVLOB7.js} +1 -1
  27. package/dist/cli/{chunk-S4YKRH3W.js → chunk-4UWXFXQF.js} +3 -3
  28. package/dist/cli/{chunk-PCORO245.mjs → chunk-5BSGWIQD.mjs} +2 -2
  29. package/dist/cli/{chunk-SBGKKOCC.js → chunk-5JFAQUZS.js} +26 -26
  30. package/dist/cli/{chunk-RVHUW4TN.js → chunk-5YAJGRWB.js} +17 -17
  31. package/dist/cli/{chunk-ITJ7NB2D.mjs → chunk-7AOFSZJM.mjs} +3 -1
  32. package/dist/cli/{chunk-JVEFMOY2.mjs → chunk-7C4F4TLR.mjs} +1 -1
  33. package/dist/cli/{chunk-QMBL5ZIQ.mjs → chunk-7OF3A4KJ.mjs} +3 -3
  34. package/dist/cli/{chunk-326WVSWS.js → chunk-AVDEYOVP.js} +269 -269
  35. package/dist/cli/{chunk-GJYLC4JB.mjs → chunk-BNH4Y35W.mjs} +2 -2
  36. package/dist/cli/{chunk-ZWN4RXC2.js → chunk-CKTRQSRA.js} +22 -22
  37. package/dist/cli/{chunk-I62LJ7NU.mjs → chunk-CLTL7ZJI.mjs} +1 -1
  38. package/dist/cli/{chunk-IEVXYHGJ.js → chunk-CQSANB3V.js} +5 -5
  39. package/dist/cli/{chunk-QYXIODWH.js → chunk-CWRL6IQP.js} +44 -29
  40. package/dist/cli/{chunk-WVQOXYTQ.mjs → chunk-CZNEQMJR.mjs} +37 -34
  41. package/dist/cli/{chunk-4NWY7JBB.js → chunk-DYS3KWYF.js} +11 -11
  42. package/dist/cli/{chunk-HSVGP4CI.mjs → chunk-EP6YH6QJ.mjs} +2 -2
  43. package/dist/cli/{chunk-XYL26236.js → chunk-ESWM2JW4.js} +2 -2
  44. package/dist/cli/{chunk-6OZ2WSHD.mjs → chunk-ETHVJ2ZE.mjs} +1 -1
  45. package/dist/cli/{chunk-6DBRBWHC.mjs → chunk-GCLNX72G.mjs} +2 -2
  46. package/dist/cli/{chunk-R2VZVHJP.mjs → chunk-GESIFFQX.mjs} +1 -1
  47. package/dist/cli/{chunk-QSAC3IVI.mjs → chunk-IMO3HXWZ.mjs} +1 -1
  48. package/dist/cli/{chunk-JGZQBDYG.mjs → chunk-JVWSIA2V.mjs} +4 -4
  49. package/dist/cli/{chunk-7GNKAACY.js → chunk-KBOSALBI.js} +10 -10
  50. package/dist/cli/{chunk-K326BEVR.js → chunk-KEZ3KBWW.js} +10 -10
  51. package/dist/cli/{chunk-7M5FRSFP.mjs → chunk-KPINGHIF.mjs} +2 -2
  52. package/dist/cli/{chunk-UH3EAFFN.mjs → chunk-LAMGJQDY.mjs} +2 -2
  53. package/dist/cli/{chunk-UQN4VTZL.js → chunk-LE537GBC.js} +13 -6
  54. package/dist/cli/{chunk-PESMXAUG.js → chunk-LXKH4MKH.js} +6 -6
  55. package/dist/cli/{chunk-4V63IJCL.mjs → chunk-M43ZYNDA.mjs} +5 -5
  56. package/dist/cli/{chunk-XVXEARHC.js → chunk-MHBSRNI7.js} +41 -41
  57. package/dist/cli/{chunk-HUC5SGJQ.js → chunk-MRUFGOJR.js} +2 -2
  58. package/dist/cli/{chunk-RQN4PHRE.js → chunk-N4MMU3QF.js} +21 -21
  59. package/dist/cli/{chunk-2BRDHM4S.js → chunk-NB2ECLQE.js} +9 -9
  60. package/dist/cli/{chunk-DNXP3D5H.mjs → chunk-NO4URKKT.mjs} +5 -5
  61. package/dist/cli/{chunk-MZROKQV3.js → chunk-NRBCETWL.js} +44 -44
  62. package/dist/cli/{chunk-JCTTXLAZ.mjs → chunk-OWQF6WVH.mjs} +10 -3
  63. package/dist/cli/{chunk-NWTMQGPP.mjs → chunk-OXFIJYN3.mjs} +8 -8
  64. package/dist/cli/{chunk-FBMOBNJY.js → chunk-P62LON53.js} +2 -2
  65. package/dist/cli/{chunk-NMU3VR5U.js → chunk-PMH4GLMD.js} +1 -0
  66. package/dist/cli/{chunk-S3A4IXBQ.mjs → chunk-PSX3WHIH.mjs} +1 -0
  67. package/dist/cli/{chunk-N5MLEXZ7.js → chunk-QR7VYYNM.js} +176 -173
  68. package/dist/cli/{chunk-RKREB7MU.mjs → chunk-RMZ6CISE.mjs} +3 -3
  69. package/dist/cli/{chunk-V46J3UTM.js → chunk-S5LUY3KJ.js} +7 -7
  70. package/dist/cli/{chunk-MCXPJYBN.js → chunk-TFEGJEYO.js} +3 -3
  71. package/dist/cli/{chunk-MT3WG3KR.js → chunk-TO72GW5I.js} +16 -16
  72. package/dist/cli/{chunk-H7275EZU.mjs → chunk-TXSBPBHB.mjs} +5 -5
  73. package/dist/cli/{chunk-SXTVJIGB.mjs → chunk-U4M32NFS.mjs} +1 -1
  74. package/dist/cli/{chunk-5WFQXAD4.mjs → chunk-UQYKSOGO.mjs} +5 -5
  75. package/dist/cli/{chunk-KILRUAXF.mjs → chunk-UXF3ODJJ.mjs} +2 -2
  76. package/dist/cli/{chunk-36LQQL5C.js → chunk-V2GN4PLK.js} +5 -5
  77. package/dist/cli/{chunk-HUIFUE4L.js → chunk-V65J64FL.js} +53 -53
  78. package/dist/cli/{chunk-U6DLLV3S.mjs → chunk-VYIAWAKJ.mjs} +1 -1
  79. package/dist/cli/{chunk-WGVJA4I5.js → chunk-WA3FG7DH.js} +14 -14
  80. package/dist/cli/{chunk-MHTRYBXY.mjs → chunk-WEYFSBAD.mjs} +44 -29
  81. package/dist/cli/{chunk-LZL6V5M5.mjs → chunk-WGRDOPAK.mjs} +2 -2
  82. package/dist/cli/{chunk-NTLBZUHD.js → chunk-XYIECA7M.js} +4 -2
  83. package/dist/cli/{chunk-QOO5W5XS.mjs → chunk-YC7FKAJ4.mjs} +12 -12
  84. package/dist/cli/{chunk-BN5VKY4X.js → chunk-ZS2WHWWL.js} +7 -7
  85. package/dist/cli/{chunk-F3WRLFFM.mjs → chunk-ZWFTHEPT.mjs} +2 -2
  86. package/dist/cli/command-docs.js +2 -2
  87. package/dist/cli/command-docs.mjs +1 -1
  88. package/dist/cli/{csv-UBACJK75.js → csv-5JHWVJ5N.js} +13 -13
  89. package/dist/cli/{csv-YFJ2JLUP.mjs → csv-OO554TPX.mjs} +4 -4
  90. package/dist/cli/{db-2ZPA2LZ7.js → db-CYQJ4OXF.js} +28 -28
  91. package/dist/cli/{db-NKGYTAQO.mjs → db-SQKJ6RKU.mjs} +7 -7
  92. package/dist/cli/describe-N7AKTUQV.mjs +50 -0
  93. package/dist/cli/describe-PASXOL3R.js +50 -0
  94. package/dist/cli/describe-core.d.mts +4 -2
  95. package/dist/cli/describe-core.d.ts +4 -2
  96. package/dist/cli/describe-core.js +5 -5
  97. package/dist/cli/describe-core.mjs +4 -4
  98. package/dist/cli/{executions-HTHQ7KKD.mjs → executions-F34DORW6.mjs} +7 -7
  99. package/dist/cli/{executions-NXMRGPIL.js → executions-K7EGCRKX.js} +9 -9
  100. package/dist/cli/{feedback-USP4T34P.mjs → feedback-GQHKCS66.mjs} +5 -5
  101. package/dist/cli/{feedback-TGVQACRO.js → feedback-NOQVCA3Q.js} +10 -10
  102. package/dist/cli/{git-KUONEHCD.mjs → git-2EEITXDB.mjs} +5 -5
  103. package/dist/cli/git-UU4YFJ2Q.js +25 -0
  104. package/dist/cli/index.js +146 -146
  105. package/dist/cli/index.mjs +45 -45
  106. package/dist/cli/{legacy-noops-B2GMHU42.mjs → legacy-noops-JHMY5XRB.mjs} +6 -6
  107. package/dist/cli/{legacy-noops-2JY3CQ24.js → legacy-noops-RFNHQ7RG.js} +9 -9
  108. package/dist/cli/{monitors-2OVBZJ6Z.mjs → monitors-RDMP6SPZ.mjs} +8 -8
  109. package/dist/cli/{monitors-XI6I52AX.js → monitors-UKRZ4BDK.js} +101 -101
  110. package/dist/cli/{org-5TUQ2H6Y.js → org-OX7TYTHV.js} +87 -87
  111. package/dist/cli/{org-BNJW764Y.mjs → org-RF3G4KMB.mjs} +7 -7
  112. package/dist/cli/{pages-QC3TQIPW.mjs → pages-FBM3MGSP.mjs} +7 -7
  113. package/dist/cli/{pages-UXCLX53Y.js → pages-MKQT5LFV.js} +19 -19
  114. package/dist/cli/{play-KRWMZ7FG.js → play-OOVX2DMV.js} +802 -713
  115. package/dist/cli/{play-45PPG5SZ.mjs → play-YWC2UORM.mjs} +197 -108
  116. package/dist/cli/{providers-RBUJ72Y3.js → providers-2CGZYLER.js} +10 -10
  117. package/dist/cli/{providers-JDT35MRL.mjs → providers-3PEQESIU.mjs} +7 -7
  118. package/dist/cli/{quickstart-JZ4Q3HFT.js → quickstart-6AANHKQZ.js} +6 -6
  119. package/dist/cli/{quickstart-GD2SWGAC.mjs → quickstart-KVB36SOW.mjs} +4 -4
  120. package/dist/cli/{run-JEAHA367.js → run-NJ7WV5TK.js} +46 -46
  121. package/dist/cli/{run-KIZ3HBI2.mjs → run-QC23NRKO.mjs} +27 -27
  122. package/dist/cli/{search-5UFNXHFK.mjs → search-7BMFFZI2.mjs} +9 -9
  123. package/dist/cli/search-NH4DTXUK.js +33 -0
  124. package/dist/cli/{search-output-HAXPKQO6.mjs → search-output-CALZ4ZI2.mjs} +4 -4
  125. package/dist/cli/{search-output-W3RDSVLE.js → search-output-XC2AVBFX.js} +6 -6
  126. package/dist/cli/{secrets-JAWT66B2.mjs → secrets-7ZHA57DI.mjs} +7 -7
  127. package/dist/cli/{secrets-PC7C2Q32.js → secrets-VHU4B2D4.js} +16 -16
  128. package/dist/cli/sessions-2TE5JWVP.js +18 -0
  129. package/dist/cli/{sessions-325V7G35.mjs → sessions-YYULWFZE.mjs} +6 -6
  130. package/dist/cli/{settings-FKHTA65P.mjs → settings-AVY4NNHI.mjs} +14 -14
  131. package/dist/cli/{settings-RGU6Y2QR.js → settings-WV77QJGD.js} +87 -87
  132. package/dist/cli/{setup-43GOYTFC.mjs → setup-AOUJ3RMU.mjs} +10 -10
  133. package/dist/cli/{setup-ZMZ7HU2I.js → setup-GE5TLTC4.js} +50 -50
  134. package/dist/cli/{skills-Q2VAHSXM.mjs → skills-FVWO2G66.mjs} +8 -8
  135. package/dist/cli/skills-OL7LD6QX.js +37 -0
  136. package/dist/cli/{tools-BUH7ZWDS.mjs → tools-URE655B4.mjs} +20 -20
  137. package/dist/cli/tools-VQ5JO6DI.js +57 -0
  138. package/dist/cli/{update-JFALWOHD.mjs → update-5B4G4345.mjs} +10 -10
  139. package/dist/cli/update-7ZOIOTZN.js +35 -0
  140. package/dist/cli/{artifacts-RBHR2DG4.mjs → views-GSECJ5IK.mjs} +77 -77
  141. package/dist/cli/views-IC762HEQ.js +270 -0
  142. package/dist/cli/{workflow-ISJKLY6X.mjs → workflow-6UQM565I.mjs} +8 -8
  143. package/dist/cli/{workflow-YELST32A.js → workflow-EME7ZEOV.js} +18 -18
  144. package/dist/{client-C2N7MofG.d.mts → client-Bd2meveV.d.mts} +1 -1
  145. package/dist/{client-C7lTRJjw.d.ts → client-CBCVhL8U.d.ts} +1 -1
  146. package/dist/{client-core-BTkDSKGn.d.mts → client-core-CGj8V9mw.d.mts} +110 -43
  147. package/dist/{client-core-hmhBi7Ib.d.ts → client-core-CsRRWCFy.d.ts} +110 -43
  148. package/dist/index.d.mts +3 -3
  149. package/dist/index.d.ts +3 -3
  150. package/dist/index.js +10 -10
  151. package/dist/index.mjs +7 -7
  152. package/dist/install-integrity.json +120 -118
  153. package/dist/plays/play-description.d.mts +1 -1
  154. package/dist/plays/play-description.d.ts +1 -1
  155. package/dist/plays/play-description.js +2 -2
  156. package/dist/plays/play-description.mjs +1 -1
  157. package/dist/plays/run-request.d.mts +1 -1
  158. package/dist/plays/run-request.d.ts +1 -1
  159. package/dist/release.d.mts +1 -1
  160. package/dist/release.d.ts +1 -1
  161. package/dist/release.js +2 -2
  162. package/dist/release.mjs +1 -1
  163. package/dist/server.d.mts +2 -2
  164. package/dist/server.d.ts +2 -2
  165. package/dist/server.js +6 -6
  166. package/dist/server.mjs +4 -4
  167. package/package.json +1 -1
  168. package/dist/cli/artifacts-RZTS2JHZ.js +0 -270
  169. package/dist/cli/auth-DPWYFQR5.js +0 -43
  170. package/dist/cli/describe-GX7DRKWZ.mjs +0 -50
  171. package/dist/cli/describe-WQZF7MEG.js +0 -50
  172. package/dist/cli/git-X3SCQREB.js +0 -25
  173. package/dist/cli/search-6JULJMD7.js +0 -33
  174. package/dist/cli/sessions-WFUCOJHZ.js +0 -18
  175. package/dist/cli/skills-3XTQ6FFM.js +0 -37
  176. package/dist/cli/tools-UK2R4YXQ.js +0 -57
  177. package/dist/cli/update-LNKPHS54.js +0 -35
@@ -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 _chunkMCXPJYBNjs = require('./chunk-MCXPJYBN.js');
4
+ var _chunkTFEGJEYOjs = require('./chunk-TFEGJEYO.js');
5
5
 
6
6
 
7
7
 
8
8
 
9
9
 
10
- var _chunkUQN4VTZLjs = require('./chunk-UQN4VTZL.js');
10
+ var _chunkLE537GBCjs = require('./chunk-LE537GBC.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: _chunkUQN4VTZLjs.detectAgentRuntime.call(void 0, )
153
+ agent_runtime: _chunkLE537GBCjs.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 = _chunkUQN4VTZLjs.agentSessionIdFromEnvironment.call(void 0, );
174
+ const agentSessionId = _chunkLE537GBCjs.agentSessionIdFromEnvironment.call(void 0, );
175
175
  return {
176
- ..._chunkUQN4VTZLjs.deploymentProtectionHeaders.call(void 0, ),
176
+ ..._chunkLE537GBCjs.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/${_chunkUQN4VTZLjs.SDK_VERSION}`,
180
+ "User-Agent": `deepline-ts-sdk/${_chunkLE537GBCjs.SDK_VERSION}`,
181
181
  "X-Deepline-Client-Family": "sdk",
182
182
  "X-Deepline-CLI-Family": "sdk",
183
- "X-Deepline-Agent-Runtime": _chunkUQN4VTZLjs.detectAgentRuntime.call(void 0, ),
184
- "X-Deepline-CLI-Version": _chunkUQN4VTZLjs.SDK_VERSION,
185
- "X-Deepline-SDK-Version": _chunkUQN4VTZLjs.SDK_VERSION
183
+ "X-Deepline-Agent-Runtime": _chunkLE537GBCjs.detectAgentRuntime.call(void 0, ),
184
+ "X-Deepline-CLI-Version": _chunkLE537GBCjs.SDK_VERSION,
185
+ "X-Deepline-SDK-Version": _chunkLE537GBCjs.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 = _chunkMCXPJYBNjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
213
+ apiKey = _chunkTFEGJEYOjs.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: _chunkUQN4VTZLjs.SDK_VERSION,
240
+ cli_version: _chunkLE537GBCjs.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: _chunkUQN4VTZLjs.SDK_VERSION,
360
+ cli_version: _chunkLE537GBCjs.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 = _chunkMCXPJYBNjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
381
- const apiKey = _chunkMCXPJYBNjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
380
+ const baseUrl = _chunkTFEGJEYOjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
381
+ const apiKey = _chunkTFEGJEYOjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
382
382
  if (!apiKey) return false;
383
383
  return postFailureReport({
384
384
  baseUrl,
@@ -1181,18 +1181,16 @@ Related:
1181
1181
  "plays get": {
1182
1182
  core: `
1183
1183
  Purpose:
1184
- Full metadata for a play: revisions, source, triggers, and latest runs.
1184
+ [[cli:Full metadata for a play: revisions, source, triggers, and latest runs.]][[mcp:List or read the saved source files of one Play revision.]]
1185
1185
  When:
1186
- Only when describe is not enough: reading the source ([[--source]] [[--out]]
1187
- file.play.ts), checking revisions, or auditing a saved play.
1186
+ [[cli:Only when describe is not enough: reading the source (--source --out file.play.ts), checking revisions, or auditing a saved play.]][[mcp:Before editing a saved Play. List its source paths, then read each needed file at the exact returned revision.]]
1188
1187
  [[cli:
1189
1188
  Input:
1190
1189
  The play reference. --source prints or writes the source; --working,
1191
1190
  --live, --revision <n> pick which source.
1192
1191
  ]]
1193
1192
  Output (JSON):
1194
- The play record with revision and trigger metadata; with [[--source]], the
1195
- TypeScript source.
1193
+ [[cli:The play record with revision and trigger metadata; with --source, the TypeScript source.]][[mcp:The revision, entrypoint, and file paths. With a file selected, the source chunk and its next offset.]]
1196
1194
  Cost:
1197
1195
  Free.
1198
1196
  `
@@ -1250,7 +1248,11 @@ Input:
1250
1248
  --no-wait returns the run id immediately instead of waiting.
1251
1249
  --run-id-file <path> writes the run id as soon as the server accepts it.
1252
1250
  --from-run <run-id> starts a new run with that run's retained input and
1253
- pinned revision instead of a target and input.
1251
+ pinned revision instead of a target and input. With it, --idempotency-key
1252
+ <key> and --input-overrides <json> work as on runs rerun: a key dedups only
1253
+ the exact same rerun intent (source run, resulting input, pinned revision);
1254
+ the same key with a changed input gets a 409 conflict. Use one stable key
1255
+ per exact intent. Without a key each invocation starts a new run.
1254
1256
  ]]
1255
1257
  [[cli:
1256
1258
  Output (JSON, printed when the run ends):
@@ -1498,7 +1500,7 @@ Input:
1498
1500
  [[cli:
1499
1501
  Output (JSON):
1500
1502
  kind "run_overview", runUrl (the Play page with this run selected),
1501
- run {id, playName, status, startedAt, finishedAt, durationMs}, steps[] {id, kind, status, label, progress {total, executed,
1503
+ run {id, playName, status, startedAt, finishedAt, durationMs, retries}, steps[] {id, kind, status, label, progress {total, executed,
1502
1504
  reused, failed, completedRows}}, failures.steps[], errorDetails,
1503
1505
  rowOutcomes, warnings[], datasets[] {datasetId, name, rowCount, summary,
1504
1506
  storage {schema, table}, preview {returnedRows, totalRows, partial, rows}},
@@ -1528,6 +1530,15 @@ Output fields:
1528
1530
  run.status queued, running, completed, failed, or stopped. Only
1529
1531
  the last three are terminal.
1530
1532
  run.activity the current step while running, null when finished.
1533
+ run.retries failure-driven retries since the last resume:
1534
+ platformRecoveries {preCode, postCode} and
1535
+ recoveryOutcome (none, recovering, recovered,
1536
+ exhausted), plus resumeEpoch (runs resume count).
1537
+ Durable waits are not retries and are not counted. A
1538
+ retried attempt may repeat earlier work; these are
1539
+ counts, not proof that anything ran once. Provider
1540
+ retries inside one call are not counted; read them
1541
+ with runs logs <run-id> --kind activity.observed.
1531
1542
  steps[].label the step's state in one line, as the dashboard shows
1532
1543
  it.
1533
1544
  datasets[].summary.reportedPopulation {totalRows, persistedRows,
@@ -1784,7 +1795,11 @@ When:
1784
1795
  after fixing its cause, prefer runs resume.
1785
1796
  [[cli:
1786
1797
  Input:
1787
- The run id. --json.
1798
+ The run id. --json. --input-overrides <json> changes existing scalar input
1799
+ fields. --idempotency-key <key> makes a retry return the same rerun: a key
1800
+ dedups only the exact same rerun intent (source run, resulting input,
1801
+ pinned revision); the same key with a changed input gets a 409 conflict and
1802
+ starts nothing. Use one stable key per exact intent.
1788
1803
  ]]
1789
1804
  Output (JSON):
1790
1805
  The new run's package, as plays run --json prints.
@@ -2025,17 +2040,17 @@ Avoid:
2025
2040
  Do not post a link anywhere public: it opens the page for anyone holding it.
2026
2041
  `
2027
2042
  },
2028
- artifacts: {
2029
- rolloutFeature: "artifacts",
2043
+ views: {
2044
+ rolloutFeature: "views",
2030
2045
  core: `
2031
2046
  Purpose:
2032
- Show what a Play returns at a fixed URL, https://artifacts.deepline.com/<id>,
2047
+ Show what a Play returns at a fixed URL, https://views.deepline.com/<id>,
2033
2048
  and keep every run. Also called a report or dashboard; use it to turn a
2034
- static artifact into one that stays current.
2049
+ static view into one that stays current.
2035
2050
  When:
2036
2051
  To share results that change: run the Play again (or schedule it) and the
2037
- artifact shows the new run. People can switch to earlier runs in the
2038
- artifact itself.
2052
+ view shows the new run. People can switch to earlier runs in the
2053
+ view itself.
2039
2054
  How output is shown:
2040
2055
  HTML output, { type: "html", content: "<h1>\u2026</h1>" }, renders as a page in a
2041
2056
  sandbox. Scripts and https requests work; links to other sites ask first.
@@ -2044,16 +2059,16 @@ How output is shown:
2044
2059
  audio, video, files, graphs, and readable values for everything else; the
2045
2060
  same conventions as Deepline's browser extension.
2046
2061
  The sequence:
2047
- 1. Create it: [[artifacts create --name <name> --play <play>]]. The output
2062
+ 1. Create it: [[views create --name <name> --play <play>]]. The output
2048
2063
  prints the URL and id. --input saves the input Refresh runs the Play with.
2049
- 2. Fill it in: [[artifacts refresh <id>]] runs the Play. A scheduled Play
2064
+ 2. Fill it in: [[views refresh <id>]] runs the Play. A scheduled Play
2050
2065
  refreshes it automatically; every run of the Play appears in it.
2051
2066
  3. Share it: the URL opens for workspace members by default.
2052
- [[artifacts set-access <id> public]] lets anyone with the URL open it and
2067
+ [[views set-access <id> public]] lets anyone with the URL open it and
2053
2068
  see the output of every run of its Play, including runs started outside
2054
- the artifact (by hand, on a schedule, or from the CLI).
2055
- 4. Manage it: [[artifacts list]], [[artifacts get <id>]],
2056
- [[artifacts edit <id>]], [[artifacts runs <id>]], [[artifacts delete <id>]].
2069
+ the view (by hand, on a schedule, or from the CLI).
2070
+ 4. Manage it: [[views list]], [[views get <id>]],
2071
+ [[views edit <id>]], [[views runs <id>]], [[views delete <id>]].
2057
2072
  Buttons in HTML output:
2058
2073
  An HTML output may declare actions beside its content,
2059
2074
  actions: [{ id, type: "run_play", play, input? }], and use
@@ -2061,20 +2076,20 @@ Buttons in HTML output:
2061
2076
  opens a launch form where a signed-in member reviews the inputs and starts
2062
2077
  the run. Plays in this workspace only; never for public visitors.
2063
2078
  Permissions:
2064
- [[artifacts permissions]] shows who may create, edit, delete, set access, and
2065
- refresh; admins change them with [[artifacts permissions set]].
2079
+ [[views permissions]] shows who may create, edit, delete, set access, and
2080
+ refresh; admins change them with [[views permissions set]].
2066
2081
  Cost:
2067
- Artifacts are free. Refresh and buttons start ordinary Play runs.
2082
+ Views are free. Refresh and buttons start ordinary Play runs.
2068
2083
  Avoid:
2069
- Do not return secrets from a Play behind a public artifact, in any run. Do not create a
2070
- new artifact per run; one artifact keeps every run.
2084
+ Do not return secrets from a Play behind a public view, in any run. Do not create a
2085
+ new view per run; one view keeps every run.
2071
2086
  `
2072
2087
  },
2073
- "artifacts create": {
2074
- rolloutFeature: "artifacts",
2088
+ "views create": {
2089
+ rolloutFeature: "views",
2075
2090
  core: `
2076
2091
  Purpose:
2077
- Create an artifact that shows a Play's runs at a fixed URL.
2092
+ Create a view that shows a Play's runs at a fixed URL.
2078
2093
  [[cli:
2079
2094
  Input:
2080
2095
  --name <name> (1-120 characters). --play <play>: a Play in this workspace,
@@ -2084,7 +2099,7 @@ Input:
2084
2099
  Output (JSON):
2085
2100
  id, name, url, play, input, access (workspace).
2086
2101
  Errors (code):
2087
- name_invalid, play_invalid, input_invalid, forbidden, artifacts_not_enabled.
2102
+ name_invalid, play_invalid, input_invalid, forbidden, views_not_enabled.
2088
2103
  Cost:
2089
2104
  Free.
2090
2105
  `
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  autoDetectBaseUrl,
3
3
  resolveApiKeyForBaseUrl
4
- } from "./chunk-SXTVJIGB.mjs";
4
+ } from "./chunk-U4M32NFS.mjs";
5
5
  import {
6
6
  SDK_VERSION,
7
7
  agentSessionIdFromEnvironment,
8
8
  deploymentProtectionHeaders,
9
9
  detectAgentRuntime
10
- } from "./chunk-JCTTXLAZ.mjs";
10
+ } from "./chunk-OWQF6WVH.mjs";
11
11
  import {
12
12
  DeeplineError
13
13
  } from "./chunk-ZPGGW27Q.mjs";
@@ -3,7 +3,7 @@
3
3
  var _chunkAID3OYVJjs = require('./chunk-AID3OYVJ.js');
4
4
 
5
5
 
6
- var _chunkNMU3VR5Ujs = require('./chunk-NMU3VR5U.js');
6
+ var _chunkPMH4GLMDjs = require('./chunk-PMH4GLMD.js');
7
7
 
8
8
  // src/cli/described.ts
9
9
  var SHAPE = "{}";
@@ -777,6 +777,7 @@ function describedJson(described, view) {
777
777
  return {
778
778
  kind: described.kind,
779
779
  id: described.id,
780
+ ...described.playId ? { playId: described.playId } : {},
780
781
  ...described.provider ? { provider: described.provider } : {},
781
782
  ...described.displayName ? { displayName: described.displayName } : {},
782
783
  ...described.description ? { description: described.description } : {},
@@ -807,7 +808,7 @@ function buildPlayRunUrl(baseUrl, playName, runId) {
807
808
  }
808
809
  function describedPlay(play) {
809
810
  const reference = play.reference || play.name;
810
- const starter = _nullishCoalesce(play.cloneEditStarter, () => ( _chunkNMU3VR5Ujs.cloneEditStarter.call(void 0, play)));
811
+ const starter = _nullishCoalesce(play.cloneEditStarter, () => ( _chunkPMH4GLMDjs.cloneEditStarter.call(void 0, play)));
811
812
  const csv = _nullishCoalesce(play.csvInput, () => ( {}));
812
813
  const csvField = typeof csv.inputField === "string" ? csv.inputField : "csv";
813
814
  const alongside = /* @__PURE__ */ new Set([
@@ -836,6 +837,7 @@ function describedPlay(play) {
836
837
  ).map((field) => ({ ...field, required: true }));
837
838
  return {
838
839
  kind: play.ownerType === "deepline" ? "prebuilt_play" : "custom_play",
840
+ ...play.playId ? { playId: play.playId } : {},
839
841
  id: reference,
840
842
  ...play.displayName && play.displayName !== play.name ? { displayName: play.displayName } : {},
841
843
  ...play.description ? { description: play.description } : {},
@@ -2,11 +2,11 @@ import {
2
2
  addDescribeOptions,
3
3
  recordApiResponse,
4
4
  writeExecutionOutput
5
- } from "./chunk-KILRUAXF.mjs";
5
+ } from "./chunk-UXF3ODJJ.mjs";
6
6
  import {
7
7
  recentSearchRef,
8
8
  registerDeprecatedSearchCommand
9
- } from "./chunk-5WFQXAD4.mjs";
9
+ } from "./chunk-UQYKSOGO.mjs";
10
10
  import {
11
11
  Capability,
12
12
  arrayField,
@@ -27,10 +27,10 @@ import {
27
27
  toolInputFieldsForDisplay,
28
28
  toolMetadataJsonForDescribe,
29
29
  toolOutputFieldsForDisplay
30
- } from "./chunk-R2VZVHJP.mjs";
30
+ } from "./chunk-GESIFFQX.mjs";
31
31
  import {
32
32
  rateLimitQualifier
33
- } from "./chunk-ITJ7NB2D.mjs";
33
+ } from "./chunk-7AOFSZJM.mjs";
34
34
  import {
35
35
  shellQuote
36
36
  } from "./chunk-OVDNJAJN.mjs";
@@ -46,10 +46,10 @@ import {
46
46
  } from "./chunk-FIVKWNMT.mjs";
47
47
  import {
48
48
  DeeplineClient
49
- } from "./chunk-7M5FRSFP.mjs";
49
+ } from "./chunk-KPINGHIF.mjs";
50
50
  import {
51
51
  validateExecutionIdempotencyKey
52
- } from "./chunk-WVQOXYTQ.mjs";
52
+ } from "./chunk-CZNEQMJR.mjs";
53
53
  import {
54
54
  stableStringify
55
55
  } from "./chunk-UBKA33KY.mjs";
@@ -59,18 +59,18 @@ import {
59
59
  maybeAutoUpdateAndRelaunch,
60
60
  registerCompatibilityCatalog,
61
61
  runToolExecuteStage
62
- } from "./chunk-H7275EZU.mjs";
62
+ } from "./chunk-TXSBPBHB.mjs";
63
63
  import {
64
64
  isCliTraceEnabled,
65
65
  recordCliTrace,
66
66
  resolveCliMaintenancePolicy
67
- } from "./chunk-I62LJ7NU.mjs";
67
+ } from "./chunk-CLTL7ZJI.mjs";
68
68
  import {
69
69
  checkSdkCompatibility,
70
70
  enforceSdkCompatibilityResponse,
71
71
  flushDeferredSkillsSyncNotices,
72
72
  syncSdkSkillsIfNeeded
73
- } from "./chunk-4V63IJCL.mjs";
73
+ } from "./chunk-M43ZYNDA.mjs";
74
74
  import {
75
75
  printCommandEnvelope,
76
76
  printCompactJson,
@@ -78,12 +78,12 @@ import {
78
78
  printJsonError,
79
79
  renderCommandEnvelopeText,
80
80
  shouldEmitJson
81
- } from "./chunk-6DBRBWHC.mjs";
81
+ } from "./chunk-GCLNX72G.mjs";
82
82
  import {
83
83
  readSdkSkillsLocalVersion,
84
84
  resolveConfig,
85
85
  sdkCliStateDirPath
86
- } from "./chunk-SXTVJIGB.mjs";
86
+ } from "./chunk-U4M32NFS.mjs";
87
87
  import {
88
88
  DeeplineError
89
89
  } from "./chunk-ZPGGW27Q.mjs";
@@ -1066,7 +1066,7 @@ Examples:
1066
1066
  process.exitCode = await narrowView();
1067
1067
  return;
1068
1068
  }
1069
- const { describeAnything } = await import("./describe-GX7DRKWZ.mjs");
1069
+ const { describeAnything } = await import("./describe-N7AKTUQV.mjs");
1070
1070
  process.exitCode = await describeAnything(
1071
1071
  toolId,
1072
1072
  {
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkNTLBZUHDjs = require('./chunk-NTLBZUHD.js');
5
+ var _chunkXYIECA7Mjs = require('./chunk-XYIECA7M.js');
6
6
 
7
7
 
8
8
  var _chunkJ33TSWO5js = require('./chunk-J33TSWO5.js');
@@ -280,7 +280,7 @@ function extractorValueType(name) {
280
280
  }
281
281
  const named = NAMED_VALUE_SHAPES[definition.valueKind];
282
282
  if (!named) return { type: "string" };
283
- const { type, fields } = _chunkNTLBZUHDjs.schemaField.call(void 0, name, named.schema, true);
283
+ const { type, fields } = _chunkXYIECA7Mjs.schemaField.call(void 0, name, named.schema, true);
284
284
  return { type, ...fields ? { fields } : {}, shape: named.shape };
285
285
  }
286
286
  function jsonSchemaOf(wrapper) {
@@ -317,7 +317,7 @@ function describedTool(tool, requestedToolId) {
317
317
  description,
318
318
  cost: stringField(recordField(tool, "pricing"), "displayText") || void 0,
319
319
  guidance: [],
320
- inputs: _chunkNTLBZUHDjs.schemaFields.call(void 0,
320
+ inputs: _chunkXYIECA7Mjs.schemaFields.call(void 0,
321
321
  recordField(tool, "payload_schema", "payloadSchema")
322
322
  ),
323
323
  outputs: [],
@@ -354,7 +354,7 @@ function describedTool(tool, requestedToolId) {
354
354
  (path) => path.replace(/^toolResponse\.raw\./, "")
355
355
  );
356
356
  const node = roots.flatMap((root) => paths.map((path) => schemaNodeAt(root, path))).find(isRecord);
357
- const { fields, ...typed } = _chunkNTLBZUHDjs.schemaField.call(void 0, name, node, true);
357
+ const { fields, ...typed } = _chunkXYIECA7Mjs.schemaField.call(void 0, name, node, true);
358
358
  const valueType = stringField(_nullishCoalesce(details.get(name), () => ( {})), "valueType");
359
359
  const deepline = kind === "extractedValues" ? extractorValueType(name) : void 0;
360
360
  const known = typed.type !== "unknown" ? void 0 : kind === "extractedLists" ? { type: "object[]" } : deepline;
@@ -423,7 +423,7 @@ function describedTool(tool, requestedToolId) {
423
423
  ],
424
424
  rateLimit: withPlanRateLimit(
425
425
  recordField(recordField(tool, "pricing"), "benefit").requestsPerMinute,
426
- _chunkNTLBZUHDjs.rateLimitSummary.call(void 0,
426
+ _chunkXYIECA7Mjs.rateLimitSummary.call(void 0,
427
427
  recordField(contract, "executionMetadata").configuredRateLimits
428
428
  )
429
429
  ),
@@ -431,9 +431,9 @@ function describedTool(tool, requestedToolId) {
431
431
  ...typeof tool.connected === "boolean" ? { connected: tool.connected } : {},
432
432
  ...credentialStatus ? { credentialStatus } : {},
433
433
  ...connectCommand ? { connectCommand } : {},
434
- inputs: _chunkNTLBZUHDjs.schemaFields.call(void 0, inputSchema),
434
+ inputs: _chunkXYIECA7Mjs.schemaFields.call(void 0, inputSchema),
435
435
  outputs: [...lists, ...values].map(({ field }) => field),
436
- rawResponse: _chunkNTLBZUHDjs.schemaFields.call(void 0, outputSchema),
436
+ rawResponse: _chunkXYIECA7Mjs.schemaFields.call(void 0, outputSchema),
437
437
  runner: playReference ? { via: "play", reference: playReference } : { via: "tool", toolId: String(contract.toolId), inputSchema }
438
438
  };
439
439
  }
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  traceCliSpan
3
- } from "./chunk-I62LJ7NU.mjs";
3
+ } from "./chunk-CLTL7ZJI.mjs";
4
4
  import {
5
5
  checkSdkCompatibility,
6
6
  enforceSdkCompatibilityResponse,
7
7
  flushDeferredSkillsSyncNotices
8
- } from "./chunk-4V63IJCL.mjs";
8
+ } from "./chunk-M43ZYNDA.mjs";
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -7,7 +7,7 @@
7
7
 
8
8
 
9
9
 
10
- var _chunkQYXIODWHjs = require('./chunk-QYXIODWH.js');
10
+ var _chunkCWRL6IQPjs = require('./chunk-CWRL6IQP.js');
11
11
  require('./chunk-R7J7CJPZ.js');
12
12
  require('./chunk-YGCKMI5P.js');
13
13
  require('./chunk-COGTRVWW.js');
@@ -20,4 +20,4 @@ require('./chunk-COGTRVWW.js');
20
20
 
21
21
 
22
22
 
23
- exports.CLI_DOC_SURFACE = _chunkQYXIODWHjs.CLI_DOC_SURFACE; exports.COMMAND_DOCS = _chunkQYXIODWHjs.COMMAND_DOCS; exports.PLAY_RUNTIME_PRICING_NOTE = _chunkQYXIODWHjs.PLAY_RUNTIME_PRICING_NOTE; exports.commandDocKey = _chunkQYXIODWHjs.commandDocKey; exports.helpDetailFromArgv = _chunkQYXIODWHjs.helpDetailFromArgv; exports.renderActionExplanation = _chunkQYXIODWHjs.renderActionExplanation; exports.renderCommandExplanation = _chunkQYXIODWHjs.renderCommandExplanation; exports.renderDocText = _chunkQYXIODWHjs.renderDocText;
23
+ exports.CLI_DOC_SURFACE = _chunkCWRL6IQPjs.CLI_DOC_SURFACE; exports.COMMAND_DOCS = _chunkCWRL6IQPjs.COMMAND_DOCS; exports.PLAY_RUNTIME_PRICING_NOTE = _chunkCWRL6IQPjs.PLAY_RUNTIME_PRICING_NOTE; exports.commandDocKey = _chunkCWRL6IQPjs.commandDocKey; exports.helpDetailFromArgv = _chunkCWRL6IQPjs.helpDetailFromArgv; exports.renderActionExplanation = _chunkCWRL6IQPjs.renderActionExplanation; exports.renderCommandExplanation = _chunkCWRL6IQPjs.renderCommandExplanation; exports.renderDocText = _chunkCWRL6IQPjs.renderDocText;
@@ -7,7 +7,7 @@ import {
7
7
  renderActionExplanation,
8
8
  renderCommandExplanation,
9
9
  renderDocText
10
- } from "./chunk-MHTRYBXY.mjs";
10
+ } from "./chunk-WEYFSBAD.mjs";
11
11
  import "./chunk-5LUF4LAR.mjs";
12
12
  import "./chunk-7I4B6V2S.mjs";
13
13
  import "./chunk-KRD6H754.mjs";
@@ -4,13 +4,13 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkV46J3UTMjs = require('./chunk-V46J3UTM.js');
8
- require('./chunk-MCXPJYBN.js');
9
- require('./chunk-UQN4VTZL.js');
7
+ var _chunkS5LUY3KJjs = require('./chunk-S5LUY3KJ.js');
8
+ require('./chunk-TFEGJEYO.js');
9
+ require('./chunk-LE537GBC.js');
10
10
  require('./chunk-T2N3B7IQ.js');
11
11
  require('./chunk-XNYIZMNQ.js');
12
12
  require('./chunk-SQWET4SL.js');
13
- require('./chunk-JMMNCJ7Z.js');
13
+ require('./chunk-2WFVLOB7.js');
14
14
  require('./chunk-OG64RBAC.js');
15
15
  require('./chunk-COGTRVWW.js');
16
16
 
@@ -128,7 +128,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
128
128
  column.length,
129
129
  ...rows.map((row) => {
130
130
  const value = _nullishCoalesce(row[column], () => ( ""));
131
- return (verbose ? value : _chunkV46J3UTMjs.clip.call(void 0, value, 42)).length;
131
+ return (verbose ? value : _chunkS5LUY3KJjs.clip.call(void 0, value, 42)).length;
132
132
  })
133
133
  )
134
134
  ])
@@ -138,7 +138,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
138
138
  const body = rows.map(
139
139
  (row) => columns.map((column) => {
140
140
  const raw = _nullishCoalesce(row[column], () => ( ""));
141
- const display = verbose ? raw : _chunkV46J3UTMjs.clip.call(void 0, raw, 42);
141
+ const display = verbose ? raw : _chunkS5LUY3KJjs.clip.call(void 0, raw, 42);
142
142
  return display.padEnd(widths[column]);
143
143
  }).join(" | ")
144
144
  );
@@ -158,7 +158,7 @@ async function handleCsvShow(path, options, command) {
158
158
  { exitCode: 2 }
159
159
  );
160
160
  }
161
- const allRows = _chunkV46J3UTMjs.readCsvRows.call(void 0, csvPath);
161
+ const allRows = _chunkS5LUY3KJjs.readCsvRows.call(void 0, csvPath);
162
162
  const [rowStart, rowEnd] = parseRowRange(options.rows);
163
163
  const rows = options.summary && options.rows === void 0 ? allRows : selectRows(allRows, rowStart, rowEnd);
164
164
  const { rows: selected, columns } = selectColumns(
@@ -171,7 +171,7 @@ async function handleCsvShow(path, options, command) {
171
171
  if (options.summary) {
172
172
  const summaries = summarizeColumns(selected, columns);
173
173
  if (format === "json") {
174
- _chunkV46J3UTMjs.printJson.call(void 0, {
174
+ _chunkS5LUY3KJjs.printJson.call(void 0, {
175
175
  rows: summaries,
176
176
  total_rows: selected.length,
177
177
  source_total_rows: allRows.length
@@ -180,7 +180,7 @@ async function handleCsvShow(path, options, command) {
180
180
  }
181
181
  const displayRows = summaryDisplayRows(summaries);
182
182
  if (format === "csv") {
183
- process.stdout.write(_chunkV46J3UTMjs.csvStringFromRows.call(void 0, displayRows));
183
+ process.stdout.write(_chunkS5LUY3KJjs.csvStringFromRows.call(void 0, displayRows));
184
184
  return;
185
185
  }
186
186
  process.stdout.write(
@@ -195,7 +195,7 @@ async function handleCsvShow(path, options, command) {
195
195
  return;
196
196
  }
197
197
  if (format === "json") {
198
- _chunkV46J3UTMjs.printJson.call(void 0, {
198
+ _chunkS5LUY3KJjs.printJson.call(void 0, {
199
199
  rows: selected.map((row, index) => ({ __row: rowStart + index, ...row }))
200
200
  });
201
201
  return;
@@ -438,7 +438,7 @@ async function handleCsvRenderStart(options) {
438
438
  if (log) {
439
439
  detail = `
440
440
  CSV render log:
441
- ${_chunkV46J3UTMjs.clip.call(void 0, log, 2e3)}`;
441
+ ${_chunkS5LUY3KJjs.clip.call(void 0, log, 2e3)}`;
442
442
  }
443
443
  } catch (e7) {
444
444
  }
@@ -489,7 +489,7 @@ async function handleCsvRenderStatus(options) {
489
489
  if (payload.pid) lines.push(`Render PID: ${payload.pid}`);
490
490
  if (payload.url) lines.push(`Render URL: ${payload.url}`);
491
491
  lines.push(`Render Health: ${payload.health_status}`);
492
- _chunkV46J3UTMjs.printCommandEnvelope.call(void 0, payload, {
492
+ _chunkS5LUY3KJjs.printCommandEnvelope.call(void 0, payload, {
493
493
  json: options.json,
494
494
  text: `${lines.join("\n")}
495
495
  `
@@ -525,7 +525,7 @@ async function handleCsvRenderStop(options) {
525
525
  };
526
526
  const text = stopped.length > 0 ? `Stopped CSV render process(es): ${stopped.join(" ")}
527
527
  ` : "No running CSV render process found.\n";
528
- _chunkV46J3UTMjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
528
+ _chunkS5LUY3KJjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
529
529
  }
530
530
  async function handleCsvRender(action, options) {
531
531
  const normalized = _nullishCoalesce(action, () => ( "start"));
@@ -4,13 +4,13 @@ import {
4
4
  printCommandEnvelope,
5
5
  printJson,
6
6
  readCsvRows
7
- } from "./chunk-6DBRBWHC.mjs";
8
- import "./chunk-SXTVJIGB.mjs";
9
- import "./chunk-JCTTXLAZ.mjs";
7
+ } from "./chunk-GCLNX72G.mjs";
8
+ import "./chunk-U4M32NFS.mjs";
9
+ import "./chunk-OWQF6WVH.mjs";
10
10
  import "./chunk-QNHHZ63P.mjs";
11
11
  import "./chunk-DLIRSHV6.mjs";
12
12
  import "./chunk-ZPGGW27Q.mjs";
13
- import "./chunk-JVEFMOY2.mjs";
13
+ import "./chunk-7C4F4TLR.mjs";
14
14
  import "./chunk-WZYKRD7T.mjs";
15
15
  import "./chunk-KRD6H754.mjs";
16
16