deepline 0.3.553 → 0.3.555

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 (166) 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/cli/auth-MRVTS74X.js +44 -0
  4. package/dist/cli/{auth-I3QAU4RV.mjs → auth-UFANBJW3.mjs} +5 -5
  5. package/dist/cli/{billing-YGFFVAIC.js → billing-BGIT2VYM.js} +102 -102
  6. package/dist/cli/{billing-3IC54OQQ.mjs → billing-S7MCXBND.mjs} +9 -9
  7. package/dist/cli/{chunk-HVI55MTK.js → chunk-3IKGZ4CG.js} +20 -10
  8. package/dist/cli/{chunk-LH5PZKER.mjs → chunk-57J3OOCR.mjs} +1 -1
  9. package/dist/cli/{chunk-55F6HNOY.mjs → chunk-5J6TKML2.mjs} +4 -4
  10. package/dist/cli/{chunk-LFOERUQY.mjs → chunk-66BQY77L.mjs} +1 -1
  11. package/dist/cli/{chunk-IMX7J4DU.js → chunk-6F5GNZQH.js} +5 -5
  12. package/dist/cli/{chunk-AGLR6QVN.js → chunk-6M2SDRWN.js} +4 -4
  13. package/dist/cli/{chunk-NDNHYONK.mjs → chunk-6R5Y7U52.mjs} +2 -2
  14. package/dist/cli/{chunk-2B5B5KAW.js → chunk-72VEVAIX.js} +53 -50
  15. package/dist/cli/{chunk-RMNOZKRI.mjs → chunk-732RWNDP.mjs} +3 -3
  16. package/dist/cli/{chunk-4BFTDNHU.mjs → chunk-7H753VC5.mjs} +1 -1
  17. package/dist/cli/{chunk-FM7LPUPA.js → chunk-7LM55DIN.js} +41 -41
  18. package/dist/cli/{chunk-QG6JIWUL.mjs → chunk-ASDVROA5.mjs} +5 -5
  19. package/dist/cli/{chunk-INEMTYMT.mjs → chunk-AUY53RLU.mjs} +7 -7
  20. package/dist/cli/{chunk-MLABYI4M.js → chunk-AYCC5JAS.js} +3 -3
  21. package/dist/cli/{chunk-Z7AOIHFE.mjs → chunk-BTKVXI3G.mjs} +7 -2
  22. package/dist/cli/chunk-BVXIGOBZ.js +32 -0
  23. package/dist/cli/{chunk-4SMCFQ23.mjs → chunk-DFL3UBW2.mjs} +1 -1
  24. package/dist/cli/{chunk-CACFJODG.js → chunk-DYWOBLYL.js} +8 -8
  25. package/dist/cli/{chunk-HEBO3XNZ.js → chunk-EG44APVW.js} +12 -12
  26. package/dist/cli/{chunk-IH6GDNKW.js → chunk-EN5NHCCQ.js} +17 -17
  27. package/dist/cli/{chunk-72V4PDH5.mjs → chunk-FO3U5YTL.mjs} +3 -3
  28. package/dist/cli/{chunk-DP64MD6U.mjs → chunk-HQK2NPXE.mjs} +1 -1
  29. package/dist/cli/{chunk-DZA7RFGL.mjs → chunk-I45RNMNZ.mjs} +13 -13
  30. package/dist/cli/{chunk-RTV4RF7N.js → chunk-IHWXC7UU.js} +26 -26
  31. package/dist/cli/{chunk-IUOGII7D.js → chunk-KSUI4YX5.js} +6 -6
  32. package/dist/cli/{chunk-3NTP2OSG.js → chunk-LU25WURE.js} +13 -13
  33. package/dist/cli/{chunk-TFEXSHPM.js → chunk-LY5MMXFF.js} +28 -14
  34. package/dist/cli/{chunk-HSJ6X2AQ.mjs → chunk-M2CW4UZV.mjs} +4 -4
  35. package/dist/cli/{chunk-LRDHPOZW.js → chunk-M5YBTQQX.js} +53 -53
  36. package/dist/cli/{chunk-7GEMELKI.js → chunk-MIXPZ4G7.js} +431 -330
  37. package/dist/cli/{chunk-Q6Z6N3A7.js → chunk-MOJ65E7L.js} +9 -9
  38. package/dist/cli/{chunk-AGICYWGN.mjs → chunk-N55EUVKV.mjs} +2 -2
  39. package/dist/cli/{chunk-CAEBJOYU.mjs → chunk-NFWZAQAU.mjs} +1 -1
  40. package/dist/cli/{chunk-4HYNMXXF.mjs → chunk-PC2FTUCP.mjs} +2 -2
  41. package/dist/cli/{chunk-GAVZ4EOD.mjs → chunk-PGPPZMXD.mjs} +1 -1
  42. package/dist/cli/{chunk-DP2VH7CO.js → chunk-QMDG7FKA.js} +14 -12
  43. package/dist/cli/{chunk-JLGP5XAJ.js → chunk-QZ2C5ARH.js} +5 -5
  44. package/dist/cli/{chunk-Z6XPSHKM.mjs → chunk-RL7ZI4ZG.mjs} +133 -32
  45. package/dist/cli/{chunk-TN4TY6TT.mjs → chunk-RO7SIWBG.mjs} +2 -2
  46. package/dist/cli/{chunk-XLIHTJVM.js → chunk-RWT6N2SU.js} +20 -20
  47. package/dist/cli/{chunk-BVDKFS2T.js → chunk-S2CNGS7O.js} +2 -2
  48. package/dist/cli/{chunk-SG3LUONJ.mjs → chunk-S65SZ74B.mjs} +5 -3
  49. package/dist/cli/{chunk-WOCHZCUJ.js → chunk-SE56PJ46.js} +2 -2
  50. package/dist/cli/{chunk-7YRJ5UC4.js → chunk-SF2LIUVO.js} +20 -20
  51. package/dist/cli/chunk-STXDSVQZ.mjs +32 -0
  52. package/dist/cli/{chunk-6NE3RRRY.js → chunk-T3QSHU6E.js} +1 -1
  53. package/dist/cli/{chunk-UVQJYV76.mjs → chunk-T4BFNFBL.mjs} +2 -2
  54. package/dist/cli/{chunk-YUA6HA6D.js → chunk-TFPKGTMD.js} +2 -2
  55. package/dist/cli/{chunk-UEVKMZLR.mjs → chunk-TGUQET3O.mjs} +14 -4
  56. package/dist/cli/{chunk-Y6SP3JMI.js → chunk-U6KGXTYS.js} +30 -30
  57. package/dist/cli/{chunk-QI5S5HWB.mjs → chunk-UUU5WUKM.mjs} +2 -2
  58. package/dist/cli/{chunk-A7DLBE5K.mjs → chunk-UYYOO7VT.mjs} +10 -7
  59. package/dist/cli/{chunk-45OAVGU6.mjs → chunk-W6K6WULS.mjs} +2 -2
  60. package/dist/cli/{chunk-74RES4DS.js → chunk-W7SPSF63.js} +5 -5
  61. package/dist/cli/{chunk-4747TPLV.js → chunk-WTQGJBHD.js} +3 -3
  62. package/dist/cli/{chunk-E7WZOX2A.mjs → chunk-XFZX6FNM.mjs} +20 -6
  63. package/dist/cli/{chunk-OTV2UUKW.mjs → chunk-XIHZUWIG.mjs} +1 -1
  64. package/dist/cli/{chunk-7O6J6A7P.js → chunk-YI4ADWTN.js} +7 -2
  65. package/dist/cli/{chunk-7SERLBNR.js → chunk-YXH5Q7OY.js} +20 -20
  66. package/dist/cli/{chunk-SBH4CKPN.js → chunk-Z2T7XTND.js} +10 -10
  67. package/dist/cli/{chunk-JJGWHITQ.mjs → chunk-Z3O5GCQM.mjs} +2 -2
  68. package/dist/cli/{chunk-AGIQDA2T.mjs → chunk-ZU6A4H6P.mjs} +2 -2
  69. package/dist/cli/command-docs.js +2 -2
  70. package/dist/cli/command-docs.mjs +1 -1
  71. package/dist/cli/concurrent-runs-help-CHBVPWYT.js +22 -0
  72. package/dist/cli/{concurrent-runs-help-DNV2X5AZ.mjs → concurrent-runs-help-I7ZLXZDD.mjs} +6 -6
  73. package/dist/cli/{csv-ZXZGHWOM.mjs → csv-K7FNSHIM.mjs} +4 -4
  74. package/dist/cli/{csv-SA6ELJY6.js → csv-Q2Y3KKK2.js} +13 -13
  75. package/dist/cli/{db-A54SP6AD.mjs → db-74RBHX6G.mjs} +7 -7
  76. package/dist/cli/{db-JHFEIQBU.js → db-E4XSIQDS.js} +29 -29
  77. package/dist/cli/describe-TUW35JSY.js +50 -0
  78. package/dist/cli/describe-UYB6WDHS.mjs +50 -0
  79. package/dist/cli/describe-core.d.mts +2 -2
  80. package/dist/cli/describe-core.d.ts +2 -2
  81. package/dist/cli/describe-core.js +5 -5
  82. package/dist/cli/describe-core.mjs +4 -4
  83. package/dist/cli/{executions-HL2M2DFU.mjs → executions-6LKXZRL4.mjs} +6 -6
  84. package/dist/cli/{executions-TLFZRHBJ.js → executions-LX6HJM72.js} +8 -8
  85. package/dist/cli/{feedback-5UEX5UZK.js → feedback-7D2JRVOM.js} +14 -14
  86. package/dist/cli/{feedback-QMBTNXVG.mjs → feedback-B2V64TYZ.mjs} +6 -6
  87. package/dist/cli/{git-LKGXVIVC.mjs → git-7KNCB2HN.mjs} +5 -5
  88. package/dist/cli/git-TH4M62KL.js +26 -0
  89. package/dist/cli/index.js +147 -147
  90. package/dist/cli/index.mjs +46 -46
  91. package/dist/cli/{integrations-6RUTLMN7.js → integrations-34UK7XET.js} +15 -15
  92. package/dist/cli/{integrations-FGGRVUJ7.mjs → integrations-J3RHOSAR.mjs} +7 -7
  93. package/dist/cli/{legacy-noops-J3Z7QRWZ.js → legacy-noops-HXJ6UMK7.js} +9 -9
  94. package/dist/cli/{legacy-noops-YIPRMVXZ.mjs → legacy-noops-WQUDES3K.mjs} +6 -6
  95. package/dist/cli/{mcp-6LWFP7RW.js → mcp-EZENPRPY.js} +24 -24
  96. package/dist/cli/{mcp-CHDYFO7F.mjs → mcp-JZPAPQYI.mjs} +4 -4
  97. package/dist/cli/{monitors-UGRY2BXI.mjs → monitors-GF2WEFF6.mjs} +7 -7
  98. package/dist/cli/{monitors-STM6A7OU.js → monitors-GS2P4OUK.js} +100 -100
  99. package/dist/cli/{org-ZOBSNSIB.js → org-V56HBHPB.js} +121 -121
  100. package/dist/cli/{org-3SYOUQCX.mjs → org-WJ2RO7ZE.mjs} +6 -6
  101. package/dist/cli/{outcomes-H4YYAT5X.js → outcomes-D6KXYKGW.js} +14 -14
  102. package/dist/cli/{outcomes-Z3P2JE67.mjs → outcomes-WP5WV54Y.mjs} +6 -6
  103. package/dist/cli/{play-SN5YWLS7.mjs → play-FHHCHNQH.mjs} +36 -24
  104. package/dist/cli/{play-SM4CW2GS.js → play-PXUVRS4K.js} +387 -375
  105. package/dist/cli/{providers-WZ4YBR5Y.mjs → providers-HJ77LN3M.mjs} +6 -6
  106. package/dist/cli/{providers-WZARYMCF.js → providers-TOXIJOY2.js} +9 -9
  107. package/dist/cli/{quickstart-PS4YHQJ6.js → quickstart-MDXLT5SR.js} +6 -6
  108. package/dist/cli/{quickstart-2575BNKA.mjs → quickstart-UEQHXEWP.mjs} +4 -4
  109. package/dist/cli/{run-FLZ6OTM7.js → run-2MXAEH6U.js} +55 -59
  110. package/dist/cli/{run-ZUHCZOJS.mjs → run-ZZ5ABZL7.mjs} +34 -38
  111. package/dist/cli/search-6DT2TGOU.js +32 -0
  112. package/dist/cli/{search-HLPPKQEO.mjs → search-AF4XVWC2.mjs} +7 -7
  113. package/dist/cli/{search-output-PDAXNOGP.mjs → search-output-3GFQJJGJ.mjs} +6 -6
  114. package/dist/cli/{search-output-RXJLU36B.js → search-output-LEKJVZSH.js} +9 -9
  115. package/dist/cli/{secrets-QJNG7G2Y.js → secrets-MR2FNFGD.js} +15 -15
  116. package/dist/cli/{secrets-CGELYQ3H.mjs → secrets-TLH3FKCT.mjs} +6 -6
  117. package/dist/cli/sessions-EJYLWV2M.js +23 -0
  118. package/dist/cli/{sessions-ELMWVR4M.mjs → sessions-LUL5P66K.mjs} +6 -6
  119. package/dist/cli/{settings-RR3LZXL7.mjs → settings-AWSRUTZR.mjs} +12 -12
  120. package/dist/cli/{settings-44I44P5F.js → settings-Z2HYUOL7.js} +85 -85
  121. package/dist/cli/{setup-KTEYOCJO.js → setup-FIMXN4IC.js} +51 -54
  122. package/dist/cli/{setup-KGWRWH4B.mjs → setup-PFPAJOUI.mjs} +11 -14
  123. package/dist/cli/skills-232RNG5G.js +37 -0
  124. package/dist/cli/{skills-FPRID2I5.mjs → skills-5DKSATY5.mjs} +7 -7
  125. package/dist/cli/{tools-PI4WMDLY.mjs → tools-BDNASCSH.mjs} +20 -20
  126. package/dist/cli/tools-P7FBJVJA.js +57 -0
  127. package/dist/cli/{update-VJOJAZ7B.mjs → update-CAFUZ5XT.mjs} +9 -9
  128. package/dist/cli/update-OC4UB2XE.js +37 -0
  129. package/dist/cli/{views-OVPSINZO.mjs → views-7PDXZUQA.mjs} +6 -6
  130. package/dist/cli/{views-NTUOLNQU.js → views-XJOBO6US.js} +21 -21
  131. package/dist/cli/{workflow-7OEFNXZC.mjs → workflow-2BMUGN7M.mjs} +7 -7
  132. package/dist/cli/{workflow-2UDYDM6F.js → workflow-KCPLU5R7.js} +17 -17
  133. package/dist/{client-B8f7RNF8.d.mts → client-1ogYQqUw.d.mts} +1 -1
  134. package/dist/{client-C5TgXmJQ.d.ts → client-BoayTB7p.d.ts} +1 -1
  135. package/dist/{client-core-SLLGBTht.d.mts → client-core-Ch8CXaX4.d.mts} +8 -2
  136. package/dist/{client-core-p0sOxnkl.d.ts → client-core-DySw9x_E.d.ts} +8 -2
  137. package/dist/index.d.mts +3 -3
  138. package/dist/index.d.ts +3 -3
  139. package/dist/index.js +9 -9
  140. package/dist/index.mjs +6 -6
  141. package/dist/install-integrity.json +126 -126
  142. package/dist/plays/play-description.d.mts +1 -1
  143. package/dist/plays/play-description.d.ts +1 -1
  144. package/dist/plays/run-request.d.mts +1 -1
  145. package/dist/plays/run-request.d.ts +1 -1
  146. package/dist/release.d.mts +1 -1
  147. package/dist/release.d.ts +1 -1
  148. package/dist/release.js +2 -2
  149. package/dist/release.mjs +1 -1
  150. package/dist/server.d.mts +2 -2
  151. package/dist/server.d.ts +2 -2
  152. package/dist/server.js +5 -5
  153. package/dist/server.mjs +3 -3
  154. package/package.json +1 -1
  155. package/dist/cli/auth-MQCN7WGZ.js +0 -44
  156. package/dist/cli/chunk-AID3OYVJ.js +0 -8
  157. package/dist/cli/chunk-OVDNJAJN.mjs +0 -8
  158. package/dist/cli/concurrent-runs-help-CFJH4KXV.js +0 -22
  159. package/dist/cli/describe-PHQ33AGS.mjs +0 -50
  160. package/dist/cli/describe-RHJ4XRFI.js +0 -50
  161. package/dist/cli/git-4JWOOHBG.js +0 -26
  162. package/dist/cli/search-JJWVHR3N.js +0 -32
  163. package/dist/cli/sessions-DHTBT2GN.js +0 -23
  164. package/dist/cli/skills-EPZPEXI2.js +0 -37
  165. package/dist/cli/tools-IGQQ5TML.js +0 -57
  166. package/dist/cli/update-4RNCVYGE.js +0 -37
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  httpJson
3
- } from "./chunk-72V4PDH5.mjs";
3
+ } from "./chunk-FO3U5YTL.mjs";
4
4
  import {
5
5
  PRICING_PAGE_NOTE
6
6
  } from "./chunk-2RIKOPIM.mjs";
7
7
  import {
8
8
  autoDetectBaseUrl,
9
9
  resolveApiKeyForBaseUrl
10
- } from "./chunk-LFOERUQY.mjs";
10
+ } from "./chunk-66BQY77L.mjs";
11
11
 
12
12
  // src/cli/concurrent-runs-help.ts
13
13
  var CONCURRENT_RUNS_HELP_COMMANDS = /* @__PURE__ */ new Set([
@@ -1,10 +1,10 @@
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 _chunkCACFJODGjs = require('./chunk-CACFJODG.js');
3
+ var _chunkDYWOBLYLjs = require('./chunk-DYWOBLYL.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkMLABYI4Mjs = require('./chunk-MLABYI4M.js');
7
+ var _chunkAYCC5JASjs = require('./chunk-AYCC5JAS.js');
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -137,9 +137,9 @@ async function pinLocalPlayImports(client, graph) {
137
137
 
138
138
  // src/plays/client.ts
139
139
  function createPlayClient(options) {
140
- const config = _chunkMLABYI4Mjs.resolveConfig.call(void 0, options);
141
- return new (0, _chunkCACFJODGjs.PlayClient)(
142
- new (0, _chunkMLABYI4Mjs.HttpClient)(config),
140
+ const config = _chunkAYCC5JASjs.resolveConfig.call(void 0, options);
141
+ return new (0, _chunkDYWOBLYLjs.PlayClient)(
142
+ new (0, _chunkAYCC5JASjs.HttpClient)(config),
143
143
  _nullishCoalesce(config.environment, () => ( process.env))
144
144
  );
145
145
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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; } var _class;
2
2
 
3
- var _chunkXLIHTJVMjs = require('./chunk-XLIHTJVM.js');
3
+ var _chunkRWT6N2SUjs = require('./chunk-RWT6N2SU.js');
4
4
 
5
5
  // src/cli/progress.ts
6
6
  var _worker_threads = require('worker_threads');
@@ -19,7 +19,7 @@ var CliProgress = (_class = class {
19
19
  __init9() {this.quiet = false}
20
20
  // --json output is one JSON document: progress never renders under it.
21
21
  constructor(enabled) {;_class.prototype.__init.call(this);_class.prototype.__init2.call(this);_class.prototype.__init3.call(this);_class.prototype.__init4.call(this);_class.prototype.__init5.call(this);_class.prototype.__init6.call(this);_class.prototype.__init7.call(this);_class.prototype.__init8.call(this);_class.prototype.__init9.call(this);
22
- this.enabled = enabled && !_chunkXLIHTJVMjs.isJsonOutputMode.call(void 0, );
22
+ this.enabled = enabled && !_chunkRWT6N2SUjs.isJsonOutputMode.call(void 0, );
23
23
  }
24
24
  setLogWriter(writer) {
25
25
  this.logWriter = writer;
@@ -59,7 +59,7 @@ var CliProgress = (_class = class {
59
59
  this.logWriter(line);
60
60
  return;
61
61
  }
62
- if (_chunkXLIHTJVMjs.isJsonOutputMode.call(void 0, )) return;
62
+ if (_chunkRWT6N2SUjs.isJsonOutputMode.call(void 0, )) return;
63
63
  if (!this.enabled) {
64
64
  process.stderr.write(`${line}
65
65
  `);
@@ -1,6 +1,7 @@
1
1
  import {
2
- shellQuote
3
- } from "./chunk-OVDNJAJN.mjs";
2
+ exampleInputFileLine,
3
+ exampleJsonInput
4
+ } from "./chunk-STXDSVQZ.mjs";
4
5
  import {
5
6
  cloneEditStarter
6
7
  } from "./chunk-PSX3WHIH.mjs";
@@ -606,7 +607,9 @@ function examples(described, options) {
606
607
  if (!(error instanceof InputFileExampleRequired)) throw error;
607
608
  }
608
609
  const input = inputValue && JSON.stringify(inputValue);
609
- const inputArgument = input === void 0 ? "--input-file input.json" : `--input ${shellQuote(input)}`;
610
+ const jsonInput = input === void 0 ? void 0 : exampleJsonInput(input, options.platform);
611
+ const inputArgument = jsonInput?.argument ?? "--input-file input.json";
612
+ const inputFile = jsonInput?.file ? { inputFile: jsonInput.file } : {};
610
613
  const inputExpression = input ?? "input";
611
614
  const read = options.verbose ? described.outputs : described.outputs.filter((field) => !field.secondary).slice(0, 1);
612
615
  const reads = (expression) => read.flatMap((field) => {
@@ -629,6 +632,7 @@ function examples(described, options) {
629
632
  return {
630
633
  cli: `deepline run ${runner.toolId} ${inputArgument}`,
631
634
  ...inputValue ? { input: inputValue } : {},
635
+ ...inputFile,
632
636
  play: playFunction(
633
637
  [
634
638
  "const result = await deepline.tools.execute({",
@@ -647,6 +651,7 @@ function examples(described, options) {
647
651
  return {
648
652
  cli: `deepline run ${runner.reference} ${inputArgument}`,
649
653
  ...inputValue ? { input: inputValue } : {},
654
+ ...inputFile,
650
655
  play: playFunction(
651
656
  [
652
657
  `const output = await deepline.runPlay('${safeIdentifier(runner.reference.replace(/^.*\//, ""))}', '${runner.reference}', ${inputExpression});`,
@@ -681,7 +686,7 @@ function discoveryAuthLines(auth) {
681
686
  ]);
682
687
  }
683
688
  function describedLines(described, view) {
684
- const { cli, play } = examples(described, view);
689
+ const { cli, play, inputFile } = examples(described, view);
685
690
  const explanation = EXPLANATIONS[described.runner.via];
686
691
  const indented = (text) => text.split("\n").map((line) => ` ${line}`);
687
692
  const section = (lines) => lines.length ? ["", ...lines] : [];
@@ -711,6 +716,7 @@ function describedLines(described, view) {
711
716
  ...section(
712
717
  view.cli ? [
713
718
  "Run from the CLI:",
719
+ ...inputFile ? indented(exampleInputFileLine(inputFile)) : [],
714
720
  ...indented(cli),
715
721
  ...view.explain ? indented(explanation.cli) : []
716
722
  ] : []
@@ -794,7 +800,9 @@ function describedJson(described, view) {
794
800
  })
795
801
  };
796
802
  }
797
- const { cli, play, input } = examples(described, { verbose: view.verbose });
803
+ const { cli, play, input, inputFile } = examples(described, {
804
+ verbose: view.verbose
805
+ });
798
806
  return {
799
807
  kind: described.kind,
800
808
  id: described.id,
@@ -817,7 +825,13 @@ function describedJson(described, view) {
817
825
  ...described.csvInput ? { csvInput: described.csvInput } : {},
818
826
  ...used.size ? { types } : {},
819
827
  ...described.exclusive ? { exclusive: described.exclusive } : {},
820
- run: { cli, ...play ? { play } : {}, ...input ? { input } : {} },
828
+ run: {
829
+ cli,
830
+ ...play ? { play } : {},
831
+ ...input ? { input } : {},
832
+ // On Windows `cli` reads `input` from this file instead of inline.
833
+ ...inputFile ? { inputFile: inputFile.path } : {}
834
+ },
821
835
  ...described.source ? { source: described.source } : {},
822
836
  ...hidden.length ? { hidden } : {}
823
837
  };
@@ -21,7 +21,7 @@ import {
21
21
  } from "./chunk-2MGZAI54.mjs";
22
22
  import {
23
23
  SDK_RELEASE
24
- } from "./chunk-GAVZ4EOD.mjs";
24
+ } from "./chunk-PGPPZMXD.mjs";
25
25
 
26
26
  // src/version.ts
27
27
  var SDK_VERSION = SDK_RELEASE.version;
@@ -654,8 +654,9 @@ Output:
654
654
  error.retry says whether sending the same call again can succeed, and
655
655
  error.upstreamResponse holds a connected provider's status and body.
656
656
  Cost:
657
- What the tool or play charges. --max-credits caps a play run. Running an
658
- interrupted call again replays it without paying twice.
657
+ What the tool or play charges. --max-credits caps a play run's posted
658
+ charges; parallel calls in flight can end it somewhat over (plays run
659
+ --help). Running an interrupted call again replays it without paying twice.
659
660
  Next:
660
661
  Read the saved file. deepline runs get <id> shows the run again.
661
662
  `
@@ -1041,6 +1042,10 @@ Input:
1041
1042
  --input '{"email":"a@b.com"}' inline JSON object
1042
1043
  --input @input.json read the JSON object from a file
1043
1044
  -p email=a@b.com one key=value per -p, repeatable
1045
+ A -p value is text unless the tool's input schema types it as a boolean or
1046
+ number: -p only_verified_email=true sends true. Windows: cmd.exe has no
1047
+ single quotes and Windows PowerShell 5.1 strips the quotes inside JSON, so
1048
+ use --input "@input.json" there (PowerShell reads a bare @ as splatting).
1044
1049
  --payload is an alias of --input. There is no --payload-file flag; use
1045
1050
  @path. --out <file.csv> writes row-shaped output to a CSV file.
1046
1051
  --connection <name> selects an org authorization for supported
@@ -1,23 +1,23 @@
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 _chunkYUA6HA6Djs = require('./chunk-YUA6HA6D.js');
4
+ var _chunkTFPKGTMDjs = require('./chunk-TFPKGTMD.js');
5
5
 
6
6
 
7
- var _chunkFM7LPUPAjs = require('./chunk-FM7LPUPA.js');
7
+ var _chunk7LM55DINjs = require('./chunk-7LM55DIN.js');
8
8
 
9
9
 
10
- var _chunk2B5B5KAWjs = require('./chunk-2B5B5KAW.js');
10
+ var _chunk72VEVAIXjs = require('./chunk-72VEVAIX.js');
11
11
 
12
12
 
13
- var _chunkXLIHTJVMjs = require('./chunk-XLIHTJVM.js');
13
+ var _chunkRWT6N2SUjs = require('./chunk-RWT6N2SU.js');
14
14
 
15
15
 
16
16
 
17
17
 
18
18
 
19
19
 
20
- var _chunkMLABYI4Mjs = require('./chunk-MLABYI4M.js');
20
+ var _chunkAYCC5JASjs = require('./chunk-AYCC5JAS.js');
21
21
 
22
22
  // src/cli/commands/update.ts
23
23
  var _child_process = require('child_process');
@@ -499,7 +499,7 @@ function normalizedNpmPrefix(value) {
499
499
  }
500
500
  function resolveNpmGlobalPrefix(env) {
501
501
  try {
502
- const plan = _chunk2B5B5KAWjs.resolveShellSpawn.call(void 0,
502
+ const plan = _chunk72VEVAIXjs.resolveShellSpawn.call(void 0,
503
503
  "npm",
504
504
  ["prefix", "-g"],
505
505
  process.platform,
@@ -561,8 +561,8 @@ function resolveUpdatePlan(options = {}) {
561
561
  const npmGlobalPrefix = options.npmGlobalPrefix !== void 0 ? options.npmGlobalPrefix : resolveNpmGlobalPrefix(env);
562
562
  const hasVerifiedNpmOwnership = inferredInstallPrefix !== null && normalizedNpmPrefix(inferredInstallPrefix) === normalizedNpmPrefix(npmGlobalPrefix);
563
563
  const installPrefix = options.requireVerifiedNpmOwnership ? hasVerifiedNpmOwnership ? inferredInstallPrefix : null : inferredInstallPrefix;
564
- const npmVersion = options.npmVersion === void 0 ? _chunkYUA6HA6Djs.readNpmVersion.call(void 0, env) : options.npmVersion;
565
- const npmGlobalInstallFlags = _chunkYUA6HA6Djs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
564
+ const npmVersion = options.npmVersion === void 0 ? _chunkTFPKGTMDjs.readNpmVersion.call(void 0, env) : options.npmVersion;
565
+ const npmGlobalInstallFlags = _chunkTFPKGTMDjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
566
566
  const args = installPrefix ? [
567
567
  "install",
568
568
  "-g",
@@ -572,7 +572,7 @@ function resolveUpdatePlan(options = {}) {
572
572
  packageSpec
573
573
  ] : ["install", "-g", ...npmGlobalInstallFlags, packageSpec];
574
574
  const fallbackRegistryUrl = options.npmFallbackRegistryUrl !== void 0 ? options.npmFallbackRegistryUrl : publicNpmFallbackRegistryUrl(
575
- _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkMLABYI4Mjs.autoDetectBaseUrl.call(void 0, )
575
+ _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkAYCC5JASjs.autoDetectBaseUrl.call(void 0, )
576
576
  );
577
577
  return {
578
578
  kind: "npm-global",
@@ -821,7 +821,7 @@ function sidecarInstallFailure(versionDir) {
821
821
  function runCommand(command, args, env = process.env) {
822
822
  return new Promise((resolveResult) => {
823
823
  let output = "";
824
- const plan = _chunk2B5B5KAWjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
824
+ const plan = _chunk72VEVAIXjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
825
825
  const child = _child_process.spawn.call(void 0, plan.command, plan.args, {
826
826
  windowsHide: true,
827
827
  stdio: ["inherit", "pipe", "pipe"],
@@ -1169,7 +1169,7 @@ function normalizePinnedVersion(value) {
1169
1169
  }
1170
1170
  async function readPinMetadata(registryUrl, version) {
1171
1171
  const controller = new AbortController();
1172
- const timeout = setTimeout(() => controller.abort(), _chunkMLABYI4Mjs.DEFAULT_TIMEOUT);
1172
+ const timeout = setTimeout(() => controller.abort(), _chunkAYCC5JASjs.DEFAULT_TIMEOUT);
1173
1173
  try {
1174
1174
  const response = await fetch(
1175
1175
  new URL(
@@ -1185,7 +1185,7 @@ async function readPinMetadata(registryUrl, version) {
1185
1185
  if (!response.ok) {
1186
1186
  return {
1187
1187
  kind: "miss",
1188
- transient: _chunkMLABYI4Mjs.TRANSIENT_HTTP_STATUSES.has(response.status),
1188
+ transient: _chunkAYCC5JASjs.TRANSIENT_HTTP_STATUSES.has(response.status),
1189
1189
  error: new Error(`${registryUrl} returned HTTP ${response.status}`)
1190
1190
  };
1191
1191
  }
@@ -1219,8 +1219,8 @@ async function publishedVersionSupportsPin(version, fallbackRegistryUrl, retry =
1219
1219
  "https://registry.npmjs.org/",
1220
1220
  ...fallbackRegistryUrl ? [fallbackRegistryUrl] : []
1221
1221
  ];
1222
- const maxRetries = _nullishCoalesce(retry.maxRetries, () => ( _chunkMLABYI4Mjs.DEFAULT_MAX_RETRIES));
1223
- const backoffMs = _nullishCoalesce(retry.backoffMs, () => ( _chunkMLABYI4Mjs.defaultRetryBackoffMs));
1222
+ const maxRetries = _nullishCoalesce(retry.maxRetries, () => ( _chunkAYCC5JASjs.DEFAULT_MAX_RETRIES));
1223
+ const backoffMs = _nullishCoalesce(retry.backoffMs, () => ( _chunkAYCC5JASjs.defaultRetryBackoffMs));
1224
1224
  let lastError = null;
1225
1225
  for (let round = 1; ; round += 1) {
1226
1226
  let transientOnly = true;
@@ -1283,14 +1283,14 @@ async function resolveInstalledVersionIfLatest(plan) {
1283
1283
  return null;
1284
1284
  }
1285
1285
  async function runUpdateCommand(options, dependencies = {}) {
1286
- const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkMLABYI4Mjs.autoDetectBaseUrl));
1286
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkAYCC5JASjs.autoDetectBaseUrl));
1287
1287
  const resolvePlan = _nullishCoalesce(dependencies.resolvePlan, () => ( resolveUpdatePlan));
1288
1288
  const runPlan = _nullishCoalesce(dependencies.runPlan, () => ( runUpdatePlan));
1289
1289
  const syncSkills = _nullishCoalesce(dependencies.syncSkillsIfNeeded, () => ( (async () => {
1290
1290
  const originalWrite = process.stdout.write.bind(process.stdout);
1291
1291
  process.stdout.write = (() => true);
1292
1292
  try {
1293
- const exitCode = await _chunkFM7LPUPAjs.runSkillsCommand.call(void 0, { json: true });
1293
+ const exitCode = await _chunk7LM55DINjs.runSkillsCommand.call(void 0, { json: true });
1294
1294
  if (exitCode !== 0) {
1295
1295
  throw new Error(
1296
1296
  `Deepline skills update failed with exit ${exitCode}.`
@@ -1363,7 +1363,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1363
1363
  };
1364
1364
  if (options.json && !options.executeWithJson) {
1365
1365
  const upToDateVersion2 = pinnedVersion || options.force ? null : await resolveUpToDateVersion(plan);
1366
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
1366
+ _chunkRWT6N2SUjs.printCommandEnvelope.call(void 0,
1367
1367
  {
1368
1368
  ...plan,
1369
1369
  updated: false,
@@ -1375,7 +1375,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1375
1375
  return 0;
1376
1376
  }
1377
1377
  if (options.printCommand) {
1378
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
1378
+ _chunkRWT6N2SUjs.printCommandEnvelope.call(void 0,
1379
1379
  {
1380
1380
  ...plan,
1381
1381
  render: {
@@ -1388,7 +1388,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1388
1388
  return 0;
1389
1389
  }
1390
1390
  if (plan.kind === "source" || plan.kind === "homebrew") {
1391
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1391
+ _chunkRWT6N2SUjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1392
1392
  return 0;
1393
1393
  }
1394
1394
  const upToDateVersion = pinnedVersion || options.force ? null : await resolveUpToDateVersion(plan);
@@ -1426,7 +1426,7 @@ To retry with full installer output, run: deepline skills install
1426
1426
  );
1427
1427
  }
1428
1428
  if (options.executeWithJson && options.json) {
1429
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
1429
+ _chunkRWT6N2SUjs.printCommandEnvelope.call(void 0,
1430
1430
  {
1431
1431
  ok: true,
1432
1432
  pinnedVersion,
@@ -3,16 +3,16 @@
3
3
  var _chunkD3BCSAN7js = require('./chunk-D3BCSAN7.js');
4
4
 
5
5
 
6
- var _chunkJLGP5XAJjs = require('./chunk-JLGP5XAJ.js');
6
+ var _chunkQZ2C5ARHjs = require('./chunk-QZ2C5ARH.js');
7
7
 
8
8
 
9
9
 
10
10
 
11
- var _chunkXLIHTJVMjs = require('./chunk-XLIHTJVM.js');
11
+ var _chunkRWT6N2SUjs = require('./chunk-RWT6N2SU.js');
12
12
 
13
13
 
14
14
 
15
- var _chunkMLABYI4Mjs = require('./chunk-MLABYI4M.js');
15
+ var _chunkAYCC5JASjs = require('./chunk-AYCC5JAS.js');
16
16
 
17
17
  // src/cli/commands/search.ts
18
18
  var _commander = require('commander');
@@ -22,7 +22,7 @@ var _fs = require('fs');
22
22
  var _path = require('path');
23
23
  var SEARCH_REF_TTL_MS = 15 * 6e4;
24
24
  function lastSearchPath() {
25
- return _path.join.call(void 0, _chunkMLABYI4Mjs.sdkCliStateDirPath.call(void 0, _chunkMLABYI4Mjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
25
+ return _path.join.call(void 0, _chunkAYCC5JASjs.sdkCliStateDirPath.call(void 0, _chunkAYCC5JASjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
26
26
  }
27
27
  function rememberSearchRef(searchRef) {
28
28
  writeSearchRefs({ searchRef });
@@ -132,9 +132,9 @@ async function runSearch(queryInputs, options, types, exclude = []) {
132
132
  console.error("--summary-width must be an integer of at least 2.");
133
133
  return 1;
134
134
  }
135
- const client = new (0, _chunkJLGP5XAJjs.DeeplineClient)();
135
+ const client = new (0, _chunkQZ2C5ARHjs.DeeplineClient)();
136
136
  const json = options.json === true;
137
- const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-RXJLU36B.js")));
137
+ const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-LEKJVZSH.js")));
138
138
  const searches = [];
139
139
  const chunks = [];
140
140
  const refs = /* @__PURE__ */ new Map();
@@ -157,7 +157,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
157
157
  const text = _optionalChain([renderer, 'optionalAccess', _12 => _12.renderSearchResults, 'call', _13 => _13(result, summaryWidth)]);
158
158
  if (!multiple) {
159
159
  if (searchRef) rememberSearchRef(searchRef);
160
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0, result, { json, text });
160
+ _chunkRWT6N2SUjs.printCommandEnvelope.call(void 0, result, { json, text });
161
161
  return 0;
162
162
  }
163
163
  searches.push({ ...result, query });
@@ -171,8 +171,8 @@ ${text}`);
171
171
  }
172
172
  } catch (error) {
173
173
  if (!multiple) throw error;
174
- const payload = _chunkXLIHTJVMjs.errorToJsonPayload.call(void 0, error);
175
- const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunkXLIHTJVMjs.resolveSdkCliFailureExitCode.call(void 0, error)));
174
+ const payload = _chunkRWT6N2SUjs.errorToJsonPayload.call(void 0, error);
175
+ const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunkRWT6N2SUjs.resolveSdkCliFailureExitCode.call(void 0, error)));
176
176
  searches.push({ ...payload, query, exitCode: queryExitCode });
177
177
  if (!json) {
178
178
  console.error(`${JSON.stringify(query)}: ${payload.error.message}`);
@@ -184,7 +184,7 @@ Search failed.
184
184
  }
185
185
  }
186
186
  rememberSearchRefsByTool(refs);
187
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0,
187
+ _chunkRWT6N2SUjs.printCommandEnvelope.call(void 0,
188
188
  { searches },
189
189
  {
190
190
  json,
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-MF7PCM6C.mjs";
4
4
  import {
5
5
  parseLogLevel
6
- } from "./chunk-LH5PZKER.mjs";
6
+ } from "./chunk-57J3OOCR.mjs";
7
7
  import {
8
8
  setDottedInputValue
9
9
  } from "./chunk-5TYLSS4Q.mjs";
@@ -11,7 +11,7 @@ import {
11
11
  argsWantJson,
12
12
  jsonFieldArgs,
13
13
  parseJsonFields
14
- } from "./chunk-AGICYWGN.mjs";
14
+ } from "./chunk-N55EUVKV.mjs";
15
15
  import {
16
16
  DeeplineError
17
17
  } from "./chunk-Z3A2S3QM.mjs";
@@ -2,10 +2,10 @@ import {
2
2
  getAuthedHttpClient,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-AGICYWGN.mjs";
5
+ } from "./chunk-N55EUVKV.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-LFOERUQY.mjs";
8
+ } from "./chunk-66BQY77L.mjs";
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -7,7 +7,7 @@
7
7
 
8
8
 
9
9
 
10
- var _chunk7O6J6A7Pjs = require('./chunk-7O6J6A7P.js');
10
+ var _chunkYI4ADWTNjs = require('./chunk-YI4ADWTN.js');
11
11
  require('./chunk-H4ALLC2X.js');
12
12
  require('./chunk-E2G2DNAB.js');
13
13
  require('./chunk-YGCKMI5P.js');
@@ -21,4 +21,4 @@ require('./chunk-COGTRVWW.js');
21
21
 
22
22
 
23
23
 
24
- exports.CLI_DOC_SURFACE = _chunk7O6J6A7Pjs.CLI_DOC_SURFACE; exports.COMMAND_DOCS = _chunk7O6J6A7Pjs.COMMAND_DOCS; exports.PLAY_RUNTIME_PRICING_NOTE = _chunk7O6J6A7Pjs.PLAY_RUNTIME_PRICING_NOTE; exports.commandDocKey = _chunk7O6J6A7Pjs.commandDocKey; exports.helpDetailFromArgv = _chunk7O6J6A7Pjs.helpDetailFromArgv; exports.renderActionExplanation = _chunk7O6J6A7Pjs.renderActionExplanation; exports.renderCommandExplanation = _chunk7O6J6A7Pjs.renderCommandExplanation; exports.renderDocText = _chunk7O6J6A7Pjs.renderDocText;
24
+ exports.CLI_DOC_SURFACE = _chunkYI4ADWTNjs.CLI_DOC_SURFACE; exports.COMMAND_DOCS = _chunkYI4ADWTNjs.COMMAND_DOCS; exports.PLAY_RUNTIME_PRICING_NOTE = _chunkYI4ADWTNjs.PLAY_RUNTIME_PRICING_NOTE; exports.commandDocKey = _chunkYI4ADWTNjs.commandDocKey; exports.helpDetailFromArgv = _chunkYI4ADWTNjs.helpDetailFromArgv; exports.renderActionExplanation = _chunkYI4ADWTNjs.renderActionExplanation; exports.renderCommandExplanation = _chunkYI4ADWTNjs.renderCommandExplanation; exports.renderDocText = _chunkYI4ADWTNjs.renderDocText;
@@ -7,7 +7,7 @@ import {
7
7
  renderActionExplanation,
8
8
  renderCommandExplanation,
9
9
  renderDocText
10
- } from "./chunk-Z7AOIHFE.mjs";
10
+ } from "./chunk-BTKVXI3G.mjs";
11
11
  import "./chunk-2RIKOPIM.mjs";
12
12
  import "./chunk-LRZGS6RZ.mjs";
13
13
  import "./chunk-7I4B6V2S.mjs";
@@ -0,0 +1,22 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+ var _chunk6F5GNZQHjs = require('./chunk-6F5GNZQH.js');
6
+ require('./chunk-M5YBTQQX.js');
7
+ require('./chunk-H4ALLC2X.js');
8
+ require('./chunk-RWT6N2SU.js');
9
+ require('./chunk-AYCC5JAS.js');
10
+ require('./chunk-6M2SDRWN.js');
11
+ require('./chunk-6VLFQZK6.js');
12
+ require('./chunk-XNYIZMNQ.js');
13
+ require('./chunk-LFQJW4S2.js');
14
+ require('./chunk-CFJFUVX2.js');
15
+ require('./chunk-T3QSHU6E.js');
16
+ require('./chunk-OG64RBAC.js');
17
+ require('./chunk-COGTRVWW.js');
18
+
19
+
20
+
21
+
22
+ exports.CONCURRENT_RUNS_HELP_COMMANDS = _chunk6F5GNZQHjs.CONCURRENT_RUNS_HELP_COMMANDS; exports.concurrentRunsHelpStatus = _chunk6F5GNZQHjs.concurrentRunsHelpStatus; exports.concurrentRunsLine = _chunk6F5GNZQHjs.concurrentRunsLine;
@@ -2,17 +2,17 @@ import {
2
2
  CONCURRENT_RUNS_HELP_COMMANDS,
3
3
  concurrentRunsHelpStatus,
4
4
  concurrentRunsLine
5
- } from "./chunk-45OAVGU6.mjs";
6
- import "./chunk-72V4PDH5.mjs";
5
+ } from "./chunk-W6K6WULS.mjs";
6
+ import "./chunk-FO3U5YTL.mjs";
7
7
  import "./chunk-2RIKOPIM.mjs";
8
- import "./chunk-AGICYWGN.mjs";
9
- import "./chunk-LFOERUQY.mjs";
10
- import "./chunk-OTV2UUKW.mjs";
8
+ import "./chunk-N55EUVKV.mjs";
9
+ import "./chunk-66BQY77L.mjs";
10
+ import "./chunk-XIHZUWIG.mjs";
11
11
  import "./chunk-ASB47RXJ.mjs";
12
12
  import "./chunk-DLIRSHV6.mjs";
13
13
  import "./chunk-Z3A2S3QM.mjs";
14
14
  import "./chunk-2MGZAI54.mjs";
15
- import "./chunk-GAVZ4EOD.mjs";
15
+ import "./chunk-PGPPZMXD.mjs";
16
16
  import "./chunk-WZYKRD7T.mjs";
17
17
  import "./chunk-KRD6H754.mjs";
18
18
  export {
@@ -4,14 +4,14 @@ import {
4
4
  printCommandEnvelope,
5
5
  printJson,
6
6
  readCsvRows
7
- } from "./chunk-AGICYWGN.mjs";
8
- import "./chunk-LFOERUQY.mjs";
9
- import "./chunk-OTV2UUKW.mjs";
7
+ } from "./chunk-N55EUVKV.mjs";
8
+ import "./chunk-66BQY77L.mjs";
9
+ import "./chunk-XIHZUWIG.mjs";
10
10
  import "./chunk-ASB47RXJ.mjs";
11
11
  import "./chunk-DLIRSHV6.mjs";
12
12
  import "./chunk-Z3A2S3QM.mjs";
13
13
  import "./chunk-2MGZAI54.mjs";
14
- import "./chunk-GAVZ4EOD.mjs";
14
+ import "./chunk-PGPPZMXD.mjs";
15
15
  import "./chunk-WZYKRD7T.mjs";
16
16
  import "./chunk-KRD6H754.mjs";
17
17
 
@@ -4,14 +4,14 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkXLIHTJVMjs = require('./chunk-XLIHTJVM.js');
8
- require('./chunk-MLABYI4M.js');
9
- require('./chunk-AGLR6QVN.js');
7
+ var _chunkRWT6N2SUjs = require('./chunk-RWT6N2SU.js');
8
+ require('./chunk-AYCC5JAS.js');
9
+ require('./chunk-6M2SDRWN.js');
10
10
  require('./chunk-6VLFQZK6.js');
11
11
  require('./chunk-XNYIZMNQ.js');
12
12
  require('./chunk-LFQJW4S2.js');
13
13
  require('./chunk-CFJFUVX2.js');
14
- require('./chunk-6NE3RRRY.js');
14
+ require('./chunk-T3QSHU6E.js');
15
15
  require('./chunk-OG64RBAC.js');
16
16
  require('./chunk-COGTRVWW.js');
17
17
 
@@ -129,7 +129,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
129
129
  column.length,
130
130
  ...rows.map((row) => {
131
131
  const value = _nullishCoalesce(row[column], () => ( ""));
132
- return (verbose ? value : _chunkXLIHTJVMjs.clip.call(void 0, value, 42)).length;
132
+ return (verbose ? value : _chunkRWT6N2SUjs.clip.call(void 0, value, 42)).length;
133
133
  })
134
134
  )
135
135
  ])
@@ -139,7 +139,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
139
139
  const body = rows.map(
140
140
  (row) => columns.map((column) => {
141
141
  const raw = _nullishCoalesce(row[column], () => ( ""));
142
- const display = verbose ? raw : _chunkXLIHTJVMjs.clip.call(void 0, raw, 42);
142
+ const display = verbose ? raw : _chunkRWT6N2SUjs.clip.call(void 0, raw, 42);
143
143
  return display.padEnd(widths[column]);
144
144
  }).join(" | ")
145
145
  );
@@ -159,7 +159,7 @@ async function handleCsvShow(path, options, command) {
159
159
  { exitCode: 2 }
160
160
  );
161
161
  }
162
- const allRows = _chunkXLIHTJVMjs.readCsvRows.call(void 0, csvPath);
162
+ const allRows = _chunkRWT6N2SUjs.readCsvRows.call(void 0, csvPath);
163
163
  const [rowStart, rowEnd] = parseRowRange(options.rows);
164
164
  const rows = options.summary && options.rows === void 0 ? allRows : selectRows(allRows, rowStart, rowEnd);
165
165
  const { rows: selected, columns } = selectColumns(
@@ -172,7 +172,7 @@ async function handleCsvShow(path, options, command) {
172
172
  if (options.summary) {
173
173
  const summaries = summarizeColumns(selected, columns);
174
174
  if (format === "json") {
175
- _chunkXLIHTJVMjs.printJson.call(void 0, {
175
+ _chunkRWT6N2SUjs.printJson.call(void 0, {
176
176
  rows: summaries,
177
177
  total_rows: selected.length,
178
178
  source_total_rows: allRows.length
@@ -181,7 +181,7 @@ async function handleCsvShow(path, options, command) {
181
181
  }
182
182
  const displayRows = summaryDisplayRows(summaries);
183
183
  if (format === "csv") {
184
- process.stdout.write(_chunkXLIHTJVMjs.csvStringFromRows.call(void 0, displayRows));
184
+ process.stdout.write(_chunkRWT6N2SUjs.csvStringFromRows.call(void 0, displayRows));
185
185
  return;
186
186
  }
187
187
  process.stdout.write(
@@ -196,7 +196,7 @@ async function handleCsvShow(path, options, command) {
196
196
  return;
197
197
  }
198
198
  if (format === "json") {
199
- _chunkXLIHTJVMjs.printJson.call(void 0, {
199
+ _chunkRWT6N2SUjs.printJson.call(void 0, {
200
200
  rows: selected.map((row, index) => ({ __row: rowStart + index, ...row }))
201
201
  });
202
202
  return;
@@ -444,7 +444,7 @@ async function handleCsvRenderStart(options) {
444
444
  if (log) {
445
445
  detail = `
446
446
  CSV render log:
447
- ${_chunkXLIHTJVMjs.clip.call(void 0, log, 2e3)}`;
447
+ ${_chunkRWT6N2SUjs.clip.call(void 0, log, 2e3)}`;
448
448
  }
449
449
  } catch (e7) {
450
450
  }
@@ -495,7 +495,7 @@ async function handleCsvRenderStatus(options) {
495
495
  if (payload.pid) lines.push(`Render PID: ${payload.pid}`);
496
496
  if (payload.url) lines.push(`Render URL: ${payload.url}`);
497
497
  lines.push(`Render Health: ${payload.health_status}`);
498
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0, payload, {
498
+ _chunkRWT6N2SUjs.printCommandEnvelope.call(void 0, payload, {
499
499
  json: options.json,
500
500
  text: `${lines.join("\n")}
501
501
  `
@@ -531,7 +531,7 @@ async function handleCsvRenderStop(options) {
531
531
  };
532
532
  const text = stopped.length > 0 ? `Stopped CSV render process(es): ${stopped.join(" ")}
533
533
  ` : "No running CSV render process found.\n";
534
- _chunkXLIHTJVMjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
534
+ _chunkRWT6N2SUjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
535
535
  }
536
536
  async function handleCsvRender(action, options) {
537
537
  const normalized = _nullishCoalesce(action, () => ( "start"));