deepline 0.3.348 → 0.3.349

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 (97) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +38 -13
  3. package/dist/bundling-sources/shared_libs/product-notifications/billing-sales.ts +1 -1
  4. package/dist/bundling-sources/shared_libs/product-notifications/catalog.ts +1 -1
  5. package/dist/bundling-sources/shared_libs/product-notifications/events.ts +5 -1
  6. package/dist/cli/auth-KGXZELZ3.js +31 -0
  7. package/dist/cli/{auth-ME53BGXD.mjs → auth-MPHXSP64.mjs} +4 -4
  8. package/dist/cli/{billing-EMRJAWNG.js → billing-2KUUGVDZ.js} +73 -73
  9. package/dist/cli/{billing-466LUN65.mjs → billing-K5WCTRBE.mjs} +4 -4
  10. package/dist/cli/{chunk-2G7KMDDI.mjs → chunk-6OVLJLYH.mjs} +1 -1
  11. package/dist/cli/{chunk-KGKPHGDT.js → chunk-6YZDQZE6.js} +2 -2
  12. package/dist/cli/{chunk-CEC3BXRV.mjs → chunk-BEGPN6NG.mjs} +1 -1
  13. package/dist/cli/{chunk-MM6X5ADB.mjs → chunk-BPJTGASI.mjs} +2 -2
  14. package/dist/cli/{chunk-IICCYB57.js → chunk-CRSMVSER.js} +45 -45
  15. package/dist/cli/{chunk-XVWOERRO.mjs → chunk-DOHULRK2.mjs} +4 -4
  16. package/dist/cli/{chunk-U5U2DJ3A.js → chunk-GHYMVZID.js} +60 -60
  17. package/dist/cli/{chunk-5UWZ52IW.mjs → chunk-GXN7DGNL.mjs} +2 -2
  18. package/dist/cli/{chunk-Q37KLZXK.mjs → chunk-HVD3DK7S.mjs} +5 -5
  19. package/dist/cli/{chunk-NX4WJO5P.js → chunk-I4VZKXMX.js} +26 -26
  20. package/dist/cli/{chunk-5HLM2PGK.js → chunk-IHYVEM5Q.js} +8 -8
  21. package/dist/cli/{chunk-GVJPI7MB.js → chunk-JBGR6U57.js} +4 -4
  22. package/dist/cli/{chunk-VWSEZMCR.mjs → chunk-JKJSTQ2I.mjs} +1 -1
  23. package/dist/cli/{chunk-PQZURAHR.js → chunk-KW25DKRC.js} +1 -1
  24. package/dist/cli/{chunk-6NM2IY4B.js → chunk-M42H2BPA.js} +8 -8
  25. package/dist/cli/{chunk-SIE7MILM.js → chunk-MVQ3JAJA.js} +225 -225
  26. package/dist/cli/{chunk-L645OZEB.mjs → chunk-O2FM2MS5.mjs} +6 -6
  27. package/dist/cli/{chunk-4JJN7BDI.js → chunk-QAM2K3CG.js} +48 -48
  28. package/dist/cli/{chunk-EWYHXSV4.js → chunk-QCSLIEMC.js} +6 -6
  29. package/dist/cli/{chunk-5IYFQJHX.js → chunk-S347PHNB.js} +9 -9
  30. package/dist/cli/{chunk-BAJXRIRP.mjs → chunk-SPB6CF4S.mjs} +2 -2
  31. package/dist/cli/{chunk-2JRKH263.js → chunk-TVS3TAFR.js} +15 -15
  32. package/dist/cli/{chunk-CA7RR4UD.mjs → chunk-UE7DS2YV.mjs} +3 -3
  33. package/dist/cli/{chunk-35PLGSH6.mjs → chunk-VDOH4A34.mjs} +1 -1
  34. package/dist/cli/{chunk-UCVFMPAO.mjs → chunk-WOFHIUOT.mjs} +2 -2
  35. package/dist/cli/{chunk-5AZNXX2S.mjs → chunk-ZQ6UF55Y.mjs} +1 -1
  36. package/dist/cli/{client-K3EFOESB.mjs → client-JWKYNLCR.mjs} +3 -3
  37. package/dist/cli/client-O4DPNWVJ.js +20 -0
  38. package/dist/cli/{csv-4UFHUMIR.js → csv-IW75DRFX.js} +12 -12
  39. package/dist/cli/{csv-ZFH725GM.mjs → csv-Y2O237NO.mjs} +3 -3
  40. package/dist/cli/{db-EJHH7IBM.js → db-6Q4VK5T2.js} +29 -29
  41. package/dist/cli/{db-KTJSJ6LJ.mjs → db-JW6UUJXC.mjs} +4 -4
  42. package/dist/cli/{describe-ZQXDXWKZ.js → describe-DI65QISF.js} +15 -15
  43. package/dist/cli/{describe-2GXTRRSJ.mjs → describe-JLN4RTGM.mjs} +8 -8
  44. package/dist/cli/{executions-FEBZXTAI.js → executions-GB2E3BU6.js} +6 -6
  45. package/dist/cli/{executions-ZFEW2R3V.mjs → executions-UK6LA2O5.mjs} +4 -4
  46. package/dist/cli/{feedback-F3LKI327.js → feedback-MJE3A5ON.js} +7 -7
  47. package/dist/cli/{feedback-BYMYIBHU.mjs → feedback-N2KAFS3R.mjs} +3 -3
  48. package/dist/cli/git-A7J4SSRV.js +23 -0
  49. package/dist/cli/{git-A3V2AKGA.mjs → git-NWRJFNII.mjs} +4 -4
  50. package/dist/cli/index.js +79 -79
  51. package/dist/cli/index.mjs +31 -31
  52. package/dist/cli/{legacy-noops-TYXWVLSD.js → legacy-noops-EIO65N6W.js} +7 -7
  53. package/dist/cli/{legacy-noops-IMOMP5NH.mjs → legacy-noops-RR4W2TTE.mjs} +4 -4
  54. package/dist/cli/{monitors-PJWHKJAG.mjs → monitors-HNUCJYET.mjs} +4 -4
  55. package/dist/cli/{monitors-BG2EP4M2.js → monitors-U7NVJDQL.js} +85 -85
  56. package/dist/cli/{org-CVCRHGQF.mjs → org-O7MFRQNG.mjs} +4 -4
  57. package/dist/cli/{org-NM7EROYH.js → org-UBHNTBSB.js} +60 -60
  58. package/dist/cli/{play-ESB6ZDMP.mjs → play-4EIIEFQK.mjs} +7 -7
  59. package/dist/cli/play-IHLNNVPR.js +153 -0
  60. package/dist/cli/{providers-EXITLSJG.js → providers-CJ56HZIT.js} +7 -7
  61. package/dist/cli/{providers-BPDX7QBF.mjs → providers-REJIT7CX.mjs} +4 -4
  62. package/dist/cli/{quickstart-55MBPFRI.js → quickstart-BZUQWQK5.js} +5 -5
  63. package/dist/cli/{quickstart-P5HLSTZB.mjs → quickstart-DQN2LYBC.mjs} +3 -3
  64. package/dist/cli/{search-UJ3KOFZV.mjs → search-35UOMFL2.mjs} +5 -5
  65. package/dist/cli/search-4EPCIU2T.js +26 -0
  66. package/dist/cli/{secrets-TLV2Q4Z5.js → secrets-G4RYNUUD.js} +13 -13
  67. package/dist/cli/{secrets-XJCZM2M2.mjs → secrets-YJB66UXU.mjs} +4 -4
  68. package/dist/cli/{sessions-4XMG3DEE.mjs → sessions-BUWSRUSJ.mjs} +4 -4
  69. package/dist/cli/{sessions-DJWLUVXM.js → sessions-DGS7S6XX.js} +5 -5
  70. package/dist/cli/{settings-3ZGLOANJ.mjs → settings-OCMJXIFD.mjs} +7 -7
  71. package/dist/cli/{settings-KBNCPN3E.js → settings-OTWDMCM5.js} +74 -74
  72. package/dist/cli/{setup-WZZXC7H5.js → setup-MYD34DUG.js} +41 -41
  73. package/dist/cli/{setup-R3UV4ZXN.mjs → setup-UXYFRGIX.mjs} +6 -6
  74. package/dist/cli/skills-7UHWU7XL.js +28 -0
  75. package/dist/cli/{skills-44RXNHZH.mjs → skills-LOWITZWQ.mjs} +4 -4
  76. package/dist/cli/tools-CBYKQ7IY.js +40 -0
  77. package/dist/cli/{tools-NLUPNYR3.mjs → tools-YJHZJLES.mjs} +6 -6
  78. package/dist/cli/update-5M3OKPEU.js +28 -0
  79. package/dist/cli/{update-57GQJRXF.mjs → update-PB5UCW4I.mjs} +6 -6
  80. package/dist/cli/{workflow-XI7LZRTQ.js → workflow-DJYTA2YM.js} +15 -15
  81. package/dist/cli/{workflow-ARCLSKBC.mjs → workflow-IH2FQSYZ.mjs} +5 -5
  82. package/dist/index.js +6 -6
  83. package/dist/index.mjs +3 -3
  84. package/dist/install-integrity.json +74 -74
  85. package/dist/release.d.mts +1 -1
  86. package/dist/release.d.ts +1 -1
  87. package/dist/release.js +2 -2
  88. package/dist/release.mjs +1 -1
  89. package/package.json +1 -1
  90. package/dist/cli/auth-YHS2NN4I.js +0 -31
  91. package/dist/cli/client-F47WSZBF.js +0 -20
  92. package/dist/cli/git-PWHYGNBR.js +0 -23
  93. package/dist/cli/play-MYWKV6MH.js +0 -153
  94. package/dist/cli/search-2JFDCWWK.js +0 -26
  95. package/dist/cli/skills-52WTBX7A.js +0 -28
  96. package/dist/cli/tools-4ESTBMSN.js +0 -40
  97. package/dist/cli/update-V2FZCYNP.js +0 -28
@@ -11,7 +11,7 @@ var _chunkAID3OYVJjs = require('./chunk-AID3OYVJ.js');
11
11
 
12
12
 
13
13
 
14
- var _chunk6NM2IY4Bjs = require('./chunk-6NM2IY4B.js');
14
+ var _chunkM42H2BPAjs = require('./chunk-M42H2BPA.js');
15
15
 
16
16
 
17
17
 
@@ -23,7 +23,7 @@ var _chunkNXDRDJ4Kjs = require('./chunk-NXDRDJ4K.js');
23
23
 
24
24
 
25
25
 
26
- var _chunk5IYFQJHXjs = require('./chunk-5IYFQJHX.js');
26
+ var _chunkS347PHNBjs = require('./chunk-S347PHNB.js');
27
27
 
28
28
 
29
29
 
@@ -37,11 +37,11 @@ var _chunkQJBJZVG6js = require('./chunk-QJBJZVG6.js');
37
37
 
38
38
 
39
39
 
40
- var _chunkEWYHXSV4js = require('./chunk-EWYHXSV4.js');
40
+ var _chunkQCSLIEMCjs = require('./chunk-QCSLIEMC.js');
41
41
 
42
42
 
43
43
 
44
- var _chunkGVJPI7MBjs = require('./chunk-GVJPI7MB.js');
44
+ var _chunkJBGR6U57js = require('./chunk-JBGR6U57.js');
45
45
 
46
46
 
47
47
  var _chunk5O4B6AUNjs = require('./chunk-5O4B6AUN.js');
@@ -89,10 +89,10 @@ var ToolCallRecovery = class _ToolCallRecovery {
89
89
  }
90
90
  };
91
91
  function pendingToolExecutionPath(input) {
92
- const config = _chunkGVJPI7MBjs.resolveConfig.call(void 0, );
92
+ const config = _chunkJBGR6U57js.resolveConfig.call(void 0, );
93
93
  const fingerprint = _crypto.createHash.call(void 0, "sha256").update(config.baseUrl).update("\0").update(_crypto.createHash.call(void 0, "sha256").update(config.apiKey).digest("hex")).update("\0").update(input.toolId).update("\0").update(_chunkNXDRDJ4Kjs.stableStringify.call(void 0, input.params)).update("\0").update(input.responseIntent).digest("hex");
94
94
  return _path.join.call(void 0,
95
- _chunkGVJPI7MBjs.sdkCliStateDirPath.call(void 0, config.baseUrl),
95
+ _chunkJBGR6U57js.sdkCliStateDirPath.call(void 0, config.baseUrl),
96
96
  `pending-tool-execution-${fingerprint}.json`
97
97
  );
98
98
  }
@@ -536,12 +536,12 @@ function categoryEnumerationRender(summaries) {
536
536
  };
537
537
  }
538
538
  async function listToolCategories(emitJson, compact) {
539
- const client = new (0, _chunk5IYFQJHXjs.DeeplineClient)();
539
+ const client = new (0, _chunkS347PHNBjs.DeeplineClient)();
540
540
  const rawTools = await client.listTools({ compact });
541
541
  const items = rawTools.map(toListedTool);
542
542
  const summaries = aggregateCategorySummaries(rawTools);
543
543
  const outputItems = compact ? items.map(compactTool) : items;
544
- _chunkEWYHXSV4js.printCommandEnvelope.call(void 0,
544
+ _chunkQCSLIEMCjs.printCommandEnvelope.call(void 0,
545
545
  {
546
546
  tools: outputItems,
547
547
  count: outputItems.length,
@@ -560,7 +560,7 @@ function unknownCategoryError(category, summaries, emitJson) {
560
560
  const known = summaries.map((item) => item.name);
561
561
  const message = `Unknown tool category "${category}". Run \`deepline tools list\` to browse categories.`;
562
562
  if (emitJson) {
563
- _chunkEWYHXSV4js.printJson.call(void 0, {
563
+ _chunkQCSLIEMCjs.printJson.call(void 0, {
564
564
  ok: false,
565
565
  exitCode: 4,
566
566
  code: "TOOL_CATEGORY_NOT_FOUND",
@@ -574,13 +574,13 @@ function unknownCategoryError(category, summaries, emitJson) {
574
574
  const render = categoryEnumerationRender(summaries);
575
575
  console.error(message);
576
576
  console.error("");
577
- console.error(_chunkEWYHXSV4js.renderCommandEnvelopeText.call(void 0, { render }).trimEnd());
577
+ console.error(_chunkQCSLIEMCjs.renderCommandEnvelopeText.call(void 0, { render }).trimEnd());
578
578
  console.error("");
579
579
  console.error(`Valid categories: ${known.join(", ")}`);
580
580
  return 4;
581
581
  }
582
582
  async function listToolsInCategory(category, emitJson) {
583
- const client = new (0, _chunk5IYFQJHXjs.DeeplineClient)();
583
+ const client = new (0, _chunkS347PHNBjs.DeeplineClient)();
584
584
  const rawTools = await client.listTools({
585
585
  categories: category,
586
586
  compact: false
@@ -617,7 +617,7 @@ async function listToolsInCategory(category, emitJson) {
617
617
  }
618
618
  ]
619
619
  };
620
- _chunkEWYHXSV4js.printCommandEnvelope.call(void 0,
620
+ _chunkQCSLIEMCjs.printCommandEnvelope.call(void 0,
621
621
  {
622
622
  category,
623
623
  total: rows.length,
@@ -630,7 +630,7 @@ async function listToolsInCategory(category, emitJson) {
630
630
  return 0;
631
631
  }
632
632
  async function listToolsForCategoryFilter(requestedCategories, emitJson, compact) {
633
- const client = new (0, _chunk5IYFQJHXjs.DeeplineClient)();
633
+ const client = new (0, _chunkS347PHNBjs.DeeplineClient)();
634
634
  const items = (await client.listTools({
635
635
  categories: requestedCategories.join(","),
636
636
  compact
@@ -659,7 +659,7 @@ async function listToolsForCategoryFilter(requestedCategories, emitJson, compact
659
659
  ]
660
660
  };
661
661
  const outputItems = compact ? items.map(compactTool) : items;
662
- _chunkEWYHXSV4js.printCommandEnvelope.call(void 0,
662
+ _chunkQCSLIEMCjs.printCommandEnvelope.call(void 0,
663
663
  {
664
664
  tools: outputItems,
665
665
  count: outputItems.length,
@@ -678,13 +678,13 @@ async function listTools(category, options = {}) {
678
678
  const positional = _nullishCoalesce(_optionalChain([category, 'optionalAccess', _9 => _9.trim, 'call', _10 => _10()]), () => ( ""));
679
679
  const flagCategories = (_nullishCoalesce(options.categories, () => ( ""))).split(",").map((item) => item.trim()).filter(Boolean);
680
680
  const compact = options.compact !== false;
681
- const emitJson = options.json === true || _chunkEWYHXSV4js.shouldEmitJson.call(void 0, );
681
+ const emitJson = options.json === true || _chunkQCSLIEMCjs.shouldEmitJson.call(void 0, );
682
682
  if (positional && flagCategories.length > 0) {
683
683
  const flagIsSameSingle = flagCategories.length === 1 && flagCategories[0] === positional;
684
684
  if (!flagIsSameSingle) {
685
685
  const message = `Category "${positional}" and --categories ${flagCategories.join(",")} disagree. Pass one: deepline tools list ${positional}`;
686
686
  if (emitJson) {
687
- _chunkEWYHXSV4js.printJson.call(void 0, {
687
+ _chunkQCSLIEMCjs.printJson.call(void 0, {
688
688
  ok: false,
689
689
  exitCode: 2,
690
690
  code: "TOOL_LIST_CATEGORY_CONFLICT",
@@ -711,7 +711,7 @@ async function grepTools(queryInput, options = {}) {
711
711
  console.error("Usage: deepline tools grep <query> [--json]");
712
712
  return 1;
713
713
  }
714
- const client = new (0, _chunk5IYFQJHXjs.DeeplineClient)();
714
+ const client = new (0, _chunkS347PHNBjs.DeeplineClient)();
715
715
  const requestedCategories = options.categories ? options.categories.split(",").map((item) => item.trim()).filter(Boolean) : [];
716
716
  const mode = _nullishCoalesce(options.mode, () => ( "all"));
717
717
  const jsonOutput = options.json === true;
@@ -754,7 +754,7 @@ async function grepTools(queryInput, options = {}) {
754
754
  query,
755
755
  mode
756
756
  }) : null;
757
- _chunkEWYHXSV4js.printCommandEnvelope.call(void 0,
757
+ _chunkQCSLIEMCjs.printCommandEnvelope.call(void 0,
758
758
  {
759
759
  tools: outputTools,
760
760
  count: outputTools.length,
@@ -772,7 +772,7 @@ async function grepTools(queryInput, options = {}) {
772
772
  } : {},
773
773
  commandTemplates: TOOL_COMMAND_TEMPLATES
774
774
  },
775
- { json: options.json || _chunkEWYHXSV4js.shouldEmitJson.call(void 0, ) }
775
+ { json: options.json || _chunkQCSLIEMCjs.shouldEmitJson.call(void 0, ) }
776
776
  );
777
777
  return 0;
778
778
  }
@@ -928,7 +928,7 @@ Examples:
928
928
  json: Boolean(options.json)
929
929
  });
930
930
  });
931
- _chunk6NM2IY4Bjs.registerDeprecatedSearchCommand.call(void 0, tools, () => ["tools", "monitors"]);
931
+ _chunkM42H2BPAjs.registerDeprecatedSearchCommand.call(void 0, tools, () => ["tools", "monitors"]);
932
932
  tools.command("grep <query>").description(
933
933
  "Literal grep over tool ids, descriptions, categories, and input fields."
934
934
  ).addHelpText(
@@ -1030,7 +1030,7 @@ Examples:
1030
1030
  process.exitCode = await narrowView();
1031
1031
  return;
1032
1032
  }
1033
- const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-ZQXDXWKZ.js")));
1033
+ const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-DI65QISF.js")));
1034
1034
  process.exitCode = await describeAnything(
1035
1035
  toolId,
1036
1036
  { ...options, kinds: ["tools", "monitors"], fetchedTool: metadata },
@@ -1112,7 +1112,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1112
1112
  console.error("Usage: deepline tools describe <toolId> [--json]");
1113
1113
  return 1;
1114
1114
  }
1115
- const client = new (0, _chunk5IYFQJHXjs.DeeplineClient)();
1115
+ const client = new (0, _chunkS347PHNBjs.DeeplineClient)();
1116
1116
  let tool;
1117
1117
  try {
1118
1118
  tool = await _asyncNullishCoalesce(compatibilityMetadata, async () => ( await client.getTool(toolId)));
@@ -1166,7 +1166,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1166
1166
  const lines = toolPricingOnlyLines(tool, toolId);
1167
1167
  if (inferenceQuote)
1168
1168
  lines.push(...inferenceQuoteSummaryLines(inferenceQuote));
1169
- _chunkEWYHXSV4js.printCommandEnvelope.call(void 0,
1169
+ _chunkQCSLIEMCjs.printCommandEnvelope.call(void 0,
1170
1170
  {
1171
1171
  toolId: String(tool.toolId || toolId),
1172
1172
  cost: Capability.fromCatalogEntry(tool).describe().customerCost(),
@@ -1184,7 +1184,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1184
1184
  }
1185
1185
  if ((options.schemaOnly || options.examplesOnly || options.gettersOnly) && !isMonitorTypeTool(tool) && !isPlayLikeTool(tool) && (options.json || options.contractJson)) {
1186
1186
  const contract = toolContractJsonForDescribe(tool, toolId);
1187
- _chunkEWYHXSV4js.printCompactJson.call(void 0, {
1187
+ _chunkQCSLIEMCjs.printCompactJson.call(void 0, {
1188
1188
  toolId: contract.toolId,
1189
1189
  ...options.schemaOnly ? {
1190
1190
  inputSchema: contract.inputSchema,
@@ -1207,7 +1207,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1207
1207
  return 0;
1208
1208
  }
1209
1209
  if (options.contractJson) {
1210
- _chunkEWYHXSV4js.printCompactJson.call(void 0, {
1210
+ _chunkQCSLIEMCjs.printCompactJson.call(void 0, {
1211
1211
  ...toolContractJsonForDescribe(tool, toolId),
1212
1212
  ...modelDescription ? { modelOptions: modelDescription } : {},
1213
1213
  ...inferenceQuote ? { inferenceQuote } : {}
@@ -1216,7 +1216,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1216
1216
  }
1217
1217
  const emitJson = options.json === true;
1218
1218
  if (emitJson) {
1219
- _chunkEWYHXSV4js.printCompactJson.call(void 0, {
1219
+ _chunkQCSLIEMCjs.printCompactJson.call(void 0, {
1220
1220
  ...toolMetadataJsonForDescribe(tool, toolId),
1221
1221
  ...modelDescription ? { modelOptions: modelDescription } : {},
1222
1222
  ...inferenceQuote ? { inferenceQuote } : {}
@@ -2627,7 +2627,7 @@ function parseExecuteOptions(toolId, options, output) {
2627
2627
  outputFormat = normalizeOutputFormat(options.outputFormat);
2628
2628
  }
2629
2629
  if (options.idempotencyKey !== void 0) {
2630
- _chunk5IYFQJHXjs.validateExecutionIdempotencyKey.call(void 0, options.idempotencyKey);
2630
+ _chunkS347PHNBjs.validateExecutionIdempotencyKey.call(void 0, options.idempotencyKey);
2631
2631
  }
2632
2632
  if (options.recoveryTimeoutMs !== void 0) {
2633
2633
  const parsed = Number(options.recoveryTimeoutMs);
@@ -2938,20 +2938,20 @@ function buildToolExecuteRowArtifactEnvelope(input) {
2938
2938
  }
2939
2939
  async function executeTool(toolId, options) {
2940
2940
  const output = toolExecuteJsonOption(options.json);
2941
- const wantsJson = _chunkEWYHXSV4js.shouldEmitJson.call(void 0, output.requested);
2941
+ const wantsJson = _chunkQCSLIEMCjs.shouldEmitJson.call(void 0, output.requested);
2942
2942
  let parsed;
2943
2943
  try {
2944
2944
  parsed = parseExecuteOptions(toolId, options, output);
2945
2945
  } catch (error) {
2946
2946
  if (wantsJson) {
2947
- _chunkEWYHXSV4js.printJsonError.call(void 0, error);
2947
+ _chunkQCSLIEMCjs.printJsonError.call(void 0, error);
2948
2948
  } else {
2949
2949
  console.error(error instanceof Error ? error.message : String(error));
2950
2950
  }
2951
2951
  return error instanceof _chunk7P5AA3SNjs.DeeplineError && error.code === "IDEMPOTENCY_KEY_INVALID" ? 2 : 1;
2952
2952
  }
2953
2953
  const cliInvocationId = _nullishCoalesce(_chunkQJBJZVG6js.getToolExecuteInvocationId.call(void 0, ), () => ( _chunkQJBJZVG6js.beginToolExecuteCommand.call(void 0, )));
2954
- const client = new (0, _chunk5IYFQJHXjs.DeeplineClient)();
2954
+ const client = new (0, _chunkS347PHNBjs.DeeplineClient)();
2955
2955
  let metadata;
2956
2956
  try {
2957
2957
  metadata = await _chunkQJBJZVG6js.runToolExecuteStage.call(void 0,
@@ -2966,7 +2966,7 @@ async function executeTool(toolId, options) {
2966
2966
  );
2967
2967
  if (play) {
2968
2968
  if (wantsJson) {
2969
- _chunkEWYHXSV4js.printJsonError.call(void 0,
2969
+ _chunkQCSLIEMCjs.printJsonError.call(void 0,
2970
2970
  new Error(playAliasToolErrorMessage(parsed.toolId, play))
2971
2971
  );
2972
2972
  } else {
@@ -2979,7 +2979,7 @@ async function executeTool(toolId, options) {
2979
2979
  }
2980
2980
  if (isPlayLikeTool(metadata)) {
2981
2981
  if (wantsJson) {
2982
- _chunkEWYHXSV4js.printJsonError.call(void 0,
2982
+ _chunkQCSLIEMCjs.printJsonError.call(void 0,
2983
2983
  new Error(
2984
2984
  playLikeToolExecuteErrorMessage(
2985
2985
  parsed.toolId,
@@ -3015,7 +3015,7 @@ async function executeTool(toolId, options) {
3015
3015
  responseIntent,
3016
3016
  ...idempotencyKey ? { idempotencyKey } : {},
3017
3017
  ...parsed.recoveryTimeoutMs !== void 0 ? { recoveryTimeoutMs: parsed.recoveryTimeoutMs } : {},
3018
- searchRef: _chunk6NM2IY4Bjs.recentSearchRef.call(void 0, ),
3018
+ searchRef: _chunkM42H2BPAjs.recentSearchRef.call(void 0, ),
3019
3019
  cliInvocationId,
3020
3020
  onResponseReceived: _chunkMX53GIOBjs.recordApiResponse
3021
3021
  }).catch((error) => {
@@ -3055,8 +3055,8 @@ async function executeTool(toolId, options) {
3055
3055
  );
3056
3056
  const executeExitCode = toolExecuteExitCode(baseEnvelope);
3057
3057
  const delivered = await _chunkQJBJZVG6js.runToolExecuteStage.call(void 0, "output delivery", () => {
3058
- if (!parsed.outPath && (parsed.outputFormat === "json" || parsed.outputFormat === "auto" && _chunkEWYHXSV4js.shouldEmitJson.call(void 0, ))) {
3059
- _chunkEWYHXSV4js.printCommandEnvelope.call(void 0, baseEnvelope, { json: true });
3058
+ if (!parsed.outPath && (parsed.outputFormat === "json" || parsed.outputFormat === "auto" && _chunkQCSLIEMCjs.shouldEmitJson.call(void 0, ))) {
3059
+ _chunkQCSLIEMCjs.printCommandEnvelope.call(void 0, baseEnvelope, { json: true });
3060
3060
  return true;
3061
3061
  }
3062
3062
  if (parsed.outputFormat === "json_file") {
@@ -3064,7 +3064,7 @@ async function executeTool(toolId, options) {
3064
3064
  rawResponse,
3065
3065
  `payload_${parsed.toolId}`
3066
3066
  );
3067
- _chunkEWYHXSV4js.printCommandEnvelope.call(void 0,
3067
+ _chunkQCSLIEMCjs.printCommandEnvelope.call(void 0,
3068
3068
  {
3069
3069
  ...baseEnvelope,
3070
3070
  local: {
@@ -3086,7 +3086,7 @@ async function executeTool(toolId, options) {
3086
3086
  `${parsed.toolId} did not expose row-shaped output to write as CSV. ${inspection.inspectDescription} Run: ${inspection.inspect}`
3087
3087
  );
3088
3088
  if (wantsJson) {
3089
- _chunkEWYHXSV4js.printJsonError.call(void 0, error);
3089
+ _chunkQCSLIEMCjs.printJsonError.call(void 0, error);
3090
3090
  } else {
3091
3091
  console.error(error.message);
3092
3092
  }
@@ -3097,18 +3097,18 @@ async function executeTool(toolId, options) {
3097
3097
  rawResponse,
3098
3098
  `payload_${parsed.toolId}`
3099
3099
  );
3100
- _chunkEWYHXSV4js.printCommandEnvelope.call(void 0,
3100
+ _chunkQCSLIEMCjs.printCommandEnvelope.call(void 0,
3101
3101
  {
3102
3102
  ...baseEnvelope,
3103
3103
  local: {
3104
3104
  payload_file: jsonPath
3105
3105
  }
3106
3106
  },
3107
- { json: parsed.outputFormat === "csv_file" || _chunkEWYHXSV4js.shouldEmitJson.call(void 0, ) }
3107
+ { json: parsed.outputFormat === "csv_file" || _chunkQCSLIEMCjs.shouldEmitJson.call(void 0, ) }
3108
3108
  );
3109
3109
  return true;
3110
3110
  }
3111
- _chunkEWYHXSV4js.printCommandEnvelope.call(void 0, baseEnvelope, { json: false });
3111
+ _chunkQCSLIEMCjs.printCommandEnvelope.call(void 0, baseEnvelope, { json: false });
3112
3112
  return true;
3113
3113
  }
3114
3114
  const rowOutput = _chunkNXDRDJ4Kjs.projectRowOutput.call(void 0, listConversion);
@@ -3132,7 +3132,7 @@ async function executeTool(toolId, options) {
3132
3132
  seededScript
3133
3133
  });
3134
3134
  if (parsed.outputFormat === "csv_file") {
3135
- _chunkEWYHXSV4js.printCommandEnvelope.call(void 0, materializedEnvelope, { json: true });
3135
+ _chunkQCSLIEMCjs.printCommandEnvelope.call(void 0, materializedEnvelope, { json: true });
3136
3136
  return true;
3137
3137
  }
3138
3138
  if (parsed.outPath) {
@@ -3140,7 +3140,7 @@ async function executeTool(toolId, options) {
3140
3140
  toolId: parsed.toolId,
3141
3141
  idempotencyKey
3142
3142
  });
3143
- _chunkEWYHXSV4js.printCommandEnvelope.call(void 0, materializedEnvelope, {
3143
+ _chunkQCSLIEMCjs.printCommandEnvelope.call(void 0, materializedEnvelope, {
3144
3144
  json: wantsJson,
3145
3145
  text: `Wrote ${csv.rowCount} row(s) to ${csv.path}
3146
3146
  inspect: ${inspection.inspect}
@@ -3149,7 +3149,7 @@ inspect: ${inspection.inspect}
3149
3149
  return true;
3150
3150
  }
3151
3151
  if (parsed.noPreview) {
3152
- _chunkEWYHXSV4js.printCommandEnvelope.call(void 0,
3152
+ _chunkQCSLIEMCjs.printCommandEnvelope.call(void 0,
3153
3153
  {
3154
3154
  ...materializedEnvelope,
3155
3155
  local: {
@@ -3157,12 +3157,12 @@ inspect: ${inspection.inspect}
3157
3157
  output_path: csv.path
3158
3158
  }
3159
3159
  },
3160
- { json: _chunkEWYHXSV4js.shouldEmitJson.call(void 0, ), text: `${csv.path}
3160
+ { json: _chunkQCSLIEMCjs.shouldEmitJson.call(void 0, ), text: `${csv.path}
3161
3161
  ` }
3162
3162
  );
3163
3163
  return true;
3164
3164
  }
3165
- _chunkEWYHXSV4js.printCommandEnvelope.call(void 0, materializedEnvelope, { json: false });
3165
+ _chunkQCSLIEMCjs.printCommandEnvelope.call(void 0, materializedEnvelope, { json: false });
3166
3166
  return true;
3167
3167
  });
3168
3168
  if (delivered) {
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-CEC3BXRV.mjs";
4
+ } from "./chunk-BEGPN6NG.mjs";
5
5
  import {
6
6
  resolveShellSpawn,
7
7
  runSkillsCommand
8
- } from "./chunk-BAJXRIRP.mjs";
8
+ } from "./chunk-SPB6CF4S.mjs";
9
9
  import {
10
10
  printCommandEnvelope
11
- } from "./chunk-5AZNXX2S.mjs";
11
+ } from "./chunk-ZQ6UF55Y.mjs";
12
12
  import {
13
13
  autoDetectBaseUrl
14
- } from "./chunk-VWSEZMCR.mjs";
14
+ } from "./chunk-JKJSTQ2I.mjs";
15
15
 
16
16
  // src/cli/commands/update.ts
17
17
  import { spawn, spawnSync } from "child_process";