deepline 0.3.373 → 0.3.374

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 (96) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-payload-transport.ts +1 -53
  3. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/daytona-runtime-watchdog.ts +15 -23
  4. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +65 -3
  5. package/dist/cli/auth-IFXXXZP6.js +33 -0
  6. package/dist/cli/{auth-7BMCDCRH.mjs → auth-YGCDA4WG.mjs} +4 -4
  7. package/dist/cli/{billing-RZEHHMPU.mjs → billing-3ZLR3CJU.mjs} +4 -4
  8. package/dist/cli/{billing-GKI7B4JF.js → billing-ZXRKPD5D.js} +73 -73
  9. package/dist/cli/{chunk-TB73PXE3.mjs → chunk-2DAWTVNN.mjs} +2 -2
  10. package/dist/cli/{chunk-JHUMUIU6.js → chunk-3XKAOV74.js} +6 -6
  11. package/dist/cli/{chunk-S5OTS6H5.js → chunk-53PZA4EP.js} +8 -8
  12. package/dist/cli/{chunk-JP2YA3AV.mjs → chunk-62IBVKWB.mjs} +1 -1
  13. package/dist/cli/{chunk-Y32GUTEN.mjs → chunk-A62HBMHY.mjs} +1 -1
  14. package/dist/cli/{chunk-PZ26EKNC.mjs → chunk-FT6O2ZVJ.mjs} +5 -5
  15. package/dist/cli/{chunk-YHHY2YHK.mjs → chunk-GT6KGIWV.mjs} +3 -3
  16. package/dist/cli/{chunk-E7MGPPM5.js → chunk-HC5L6KGE.js} +9 -9
  17. package/dist/cli/{chunk-P5JPGZNI.mjs → chunk-IZVGMVNX.mjs} +1 -1
  18. package/dist/cli/{chunk-ND4BVWWZ.js → chunk-JK547IDB.js} +4 -4
  19. package/dist/cli/{chunk-W3H422KP.js → chunk-MOBOAZMA.js} +60 -60
  20. package/dist/cli/{chunk-ECA6NQYL.mjs → chunk-MQ5UW5AZ.mjs} +4 -4
  21. package/dist/cli/{chunk-HNLXC5BP.mjs → chunk-NNYQ24O5.mjs} +1 -1
  22. package/dist/cli/{chunk-CLEB5KUZ.js → chunk-NOSIMGZV.js} +1 -1
  23. package/dist/cli/{chunk-D2CZ4Y5G.js → chunk-O7KJYX7R.js} +15 -15
  24. package/dist/cli/{chunk-QSV76EMO.mjs → chunk-OS7GXARW.mjs} +6 -6
  25. package/dist/cli/{chunk-6JCVL7CE.mjs → chunk-OYTPVM2R.mjs} +2 -2
  26. package/dist/cli/{chunk-NVZAZGHA.js → chunk-PCYCNZLR.js} +8 -8
  27. package/dist/cli/{chunk-IHQQNWU4.js → chunk-RT5ICJ5V.js} +2 -2
  28. package/dist/cli/{chunk-EYXSAB7O.js → chunk-RXR7A2MX.js} +26 -26
  29. package/dist/cli/{chunk-R6TPSZLN.mjs → chunk-SBB27CIJ.mjs} +2 -2
  30. package/dist/cli/{chunk-BM47AKUZ.js → chunk-T35LCTC7.js} +224 -224
  31. package/dist/cli/{chunk-ORBVXCTL.js → chunk-TZTGK5JQ.js} +50 -50
  32. package/dist/cli/{chunk-IUYKSTWB.mjs → chunk-VZSVYNZH.mjs} +1 -1
  33. package/dist/cli/{chunk-XJYUQBHY.js → chunk-X5V2QTDR.js} +49 -49
  34. package/dist/cli/{chunk-XMME4SCK.mjs → chunk-YFFH6NDU.mjs} +2 -2
  35. package/dist/cli/client-O6IEMURJ.js +20 -0
  36. package/dist/cli/{client-FO6LMHT4.mjs → client-TV254HC4.mjs} +3 -3
  37. package/dist/cli/{csv-3FNCVMWA.mjs → csv-VEHHRUG4.mjs} +3 -3
  38. package/dist/cli/{csv-NFQYQWWO.js → csv-WSRTANXI.js} +12 -12
  39. package/dist/cli/{db-VA7HULGR.mjs → db-BH25DX2G.mjs} +4 -4
  40. package/dist/cli/{db-CTLGRV3X.js → db-JXZNMFCE.js} +29 -29
  41. package/dist/cli/{describe-IUHOEPKY.js → describe-N2OBGVJM.js} +15 -15
  42. package/dist/cli/{describe-GXGRMP2M.mjs → describe-TMBECHTX.mjs} +8 -8
  43. package/dist/cli/{executions-DSK3HRPU.js → executions-TX5CQF66.js} +6 -6
  44. package/dist/cli/{executions-OZQDZQIK.mjs → executions-Y4HQHYSO.mjs} +4 -4
  45. package/dist/cli/{feedback-KTMLMWKV.js → feedback-ASEJ5A7I.js} +7 -7
  46. package/dist/cli/{feedback-ZOY7R4JD.mjs → feedback-W7SRXYSP.mjs} +3 -3
  47. package/dist/cli/{git-FIOI4IA2.mjs → git-2W7CZZRC.mjs} +4 -4
  48. package/dist/cli/git-SSSOIQ2L.js +23 -0
  49. package/dist/cli/index.js +81 -81
  50. package/dist/cli/index.mjs +32 -32
  51. package/dist/cli/{legacy-noops-WXAYRQMQ.js → legacy-noops-NJYAAGBY.js} +7 -7
  52. package/dist/cli/{legacy-noops-KQZWSABN.mjs → legacy-noops-TXMPY3P7.mjs} +4 -4
  53. package/dist/cli/{monitors-VHNWIF4V.mjs → monitors-G4L65QGQ.mjs} +4 -4
  54. package/dist/cli/{monitors-LPUCHRNJ.js → monitors-YLKTQ57D.js} +85 -85
  55. package/dist/cli/{org-UW7NPGEY.mjs → org-BCHOWKIA.mjs} +4 -4
  56. package/dist/cli/{org-GWHWBCMD.js → org-ENXO2A33.js} +64 -64
  57. package/dist/cli/{play-FNM2E66T.mjs → play-JBY7HUYN.mjs} +7 -7
  58. package/dist/cli/play-SSJ3PO4D.js +155 -0
  59. package/dist/cli/{providers-6D6R3PWX.js → providers-GWFX3E7C.js} +7 -7
  60. package/dist/cli/{providers-XAZMYDWS.mjs → providers-JV2DZG43.mjs} +4 -4
  61. package/dist/cli/{quickstart-OK65PGZL.mjs → quickstart-AIXURXZQ.mjs} +3 -3
  62. package/dist/cli/{quickstart-HBUWBVH6.js → quickstart-CASPK7F4.js} +5 -5
  63. package/dist/cli/{search-XY6JOTS2.mjs → search-DYQB7LHK.mjs} +5 -5
  64. package/dist/cli/search-N7K6A2YV.js +26 -0
  65. package/dist/cli/{secrets-6CYCPK7T.js → secrets-AZQG2E4U.js} +13 -13
  66. package/dist/cli/{secrets-W2LDLU2W.mjs → secrets-RQZPIPO5.mjs} +4 -4
  67. package/dist/cli/{sessions-JAX7PGXU.mjs → sessions-3FJJDMBB.mjs} +4 -4
  68. package/dist/cli/{sessions-GOYEKNTJ.js → sessions-ZY6RBYD4.js} +5 -5
  69. package/dist/cli/{settings-QMFYFCT7.js → settings-GXKWNR5V.js} +74 -74
  70. package/dist/cli/{settings-OACUQOCM.mjs → settings-UNZDQGSE.mjs} +7 -7
  71. package/dist/cli/{setup-2KA5TZBZ.mjs → setup-PIRXJ2KJ.mjs} +6 -6
  72. package/dist/cli/{setup-36VOOGVA.js → setup-UURZD4YO.js} +41 -41
  73. package/dist/cli/skills-4OUZLKTW.js +28 -0
  74. package/dist/cli/{skills-QY4BX5ZX.mjs → skills-B4AQEIAF.mjs} +4 -4
  75. package/dist/cli/tools-MIZS5UN6.js +40 -0
  76. package/dist/cli/{tools-UCB2QRVC.mjs → tools-UMGQKUSW.mjs} +6 -6
  77. package/dist/cli/update-3CO7LA4M.js +28 -0
  78. package/dist/cli/{update-327MHUO4.mjs → update-SFUTMEKL.mjs} +6 -6
  79. package/dist/cli/{workflow-G7BU54KW.js → workflow-CDAJCMT7.js} +15 -15
  80. package/dist/cli/{workflow-HJN4GA5A.mjs → workflow-ON6XVW36.mjs} +5 -5
  81. package/dist/index.js +6 -6
  82. package/dist/index.mjs +3 -3
  83. package/dist/install-integrity.json +74 -74
  84. package/dist/release.d.mts +1 -1
  85. package/dist/release.d.ts +1 -1
  86. package/dist/release.js +2 -2
  87. package/dist/release.mjs +1 -1
  88. package/package.json +1 -1
  89. package/dist/cli/auth-BWCNRUG3.js +0 -33
  90. package/dist/cli/client-KAWK7FJR.js +0 -20
  91. package/dist/cli/git-5P5FLEUC.js +0 -23
  92. package/dist/cli/play-EVBIC7Z5.js +0 -155
  93. package/dist/cli/search-6ZY2XWP2.js +0 -26
  94. package/dist/cli/skills-6GPIEPTP.js +0 -28
  95. package/dist/cli/tools-RTECP4WT.js +0 -40
  96. package/dist/cli/update-WR65EHBN.js +0 -28
@@ -14,7 +14,7 @@ var _chunkAID3OYVJjs = require('./chunk-AID3OYVJ.js');
14
14
 
15
15
 
16
16
 
17
- var _chunkS5OTS6H5js = require('./chunk-S5OTS6H5.js');
17
+ var _chunk53PZA4EPjs = require('./chunk-53PZA4EP.js');
18
18
 
19
19
 
20
20
 
@@ -33,7 +33,7 @@ var _chunk5O4B6AUNjs = require('./chunk-5O4B6AUN.js');
33
33
 
34
34
 
35
35
 
36
- var _chunkE7MGPPM5js = require('./chunk-E7MGPPM5.js');
36
+ var _chunkHC5L6KGEjs = require('./chunk-HC5L6KGE.js');
37
37
 
38
38
 
39
39
 
@@ -47,11 +47,11 @@ var _chunkQJBJZVG6js = require('./chunk-QJBJZVG6.js');
47
47
 
48
48
 
49
49
 
50
- var _chunkJHUMUIU6js = require('./chunk-JHUMUIU6.js');
50
+ var _chunk3XKAOV74js = require('./chunk-3XKAOV74.js');
51
51
 
52
52
 
53
53
 
54
- var _chunkND4BVWWZjs = require('./chunk-ND4BVWWZ.js');
54
+ var _chunkJK547IDBjs = require('./chunk-JK547IDB.js');
55
55
 
56
56
 
57
57
  var _chunk7P5AA3SNjs = require('./chunk-7P5AA3SN.js');
@@ -96,10 +96,10 @@ var ToolCallRecovery = class _ToolCallRecovery {
96
96
  }
97
97
  };
98
98
  function pendingToolExecutionPath(input) {
99
- const config = _chunkND4BVWWZjs.resolveConfig.call(void 0, );
99
+ const config = _chunkJK547IDBjs.resolveConfig.call(void 0, );
100
100
  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(_chunk3VN4FTE3js.stableStringify.call(void 0, input.params)).update("\0").update(input.responseIntent).digest("hex");
101
101
  return _path.join.call(void 0,
102
- _chunkND4BVWWZjs.sdkCliStateDirPath.call(void 0, config.baseUrl),
102
+ _chunkJK547IDBjs.sdkCliStateDirPath.call(void 0, config.baseUrl),
103
103
  `pending-tool-execution-${fingerprint}.json`
104
104
  );
105
105
  }
@@ -620,12 +620,12 @@ function categoryEnumerationRender(summaries) {
620
620
  };
621
621
  }
622
622
  async function listToolCategories(emitJson, compact) {
623
- const client = new (0, _chunkE7MGPPM5js.DeeplineClient)();
623
+ const client = new (0, _chunkHC5L6KGEjs.DeeplineClient)();
624
624
  const rawTools = await client.listTools({ compact });
625
625
  const items = rawTools.map(toListedTool);
626
626
  const summaries = aggregateCategorySummaries(rawTools);
627
627
  const outputItems = compact ? items.map(compactTool) : items;
628
- _chunkJHUMUIU6js.printCommandEnvelope.call(void 0,
628
+ _chunk3XKAOV74js.printCommandEnvelope.call(void 0,
629
629
  {
630
630
  tools: outputItems,
631
631
  count: outputItems.length,
@@ -644,7 +644,7 @@ function unknownCategoryError(category, summaries, emitJson) {
644
644
  const known = summaries.map((item) => item.name);
645
645
  const message = `Unknown tool category "${category}". Run \`deepline tools list\` to browse categories.`;
646
646
  if (emitJson) {
647
- _chunkJHUMUIU6js.printJson.call(void 0, {
647
+ _chunk3XKAOV74js.printJson.call(void 0, {
648
648
  ok: false,
649
649
  exitCode: 4,
650
650
  code: "TOOL_CATEGORY_NOT_FOUND",
@@ -658,13 +658,13 @@ function unknownCategoryError(category, summaries, emitJson) {
658
658
  const render = categoryEnumerationRender(summaries);
659
659
  console.error(message);
660
660
  console.error("");
661
- console.error(_chunkJHUMUIU6js.renderCommandEnvelopeText.call(void 0, { render }).trimEnd());
661
+ console.error(_chunk3XKAOV74js.renderCommandEnvelopeText.call(void 0, { render }).trimEnd());
662
662
  console.error("");
663
663
  console.error(`Valid categories: ${known.join(", ")}`);
664
664
  return 4;
665
665
  }
666
666
  async function listToolsInCategory(category, emitJson) {
667
- const client = new (0, _chunkE7MGPPM5js.DeeplineClient)();
667
+ const client = new (0, _chunkHC5L6KGEjs.DeeplineClient)();
668
668
  const rawTools = await client.listTools({
669
669
  categories: category,
670
670
  compact: false
@@ -701,7 +701,7 @@ async function listToolsInCategory(category, emitJson) {
701
701
  }
702
702
  ]
703
703
  };
704
- _chunkJHUMUIU6js.printCommandEnvelope.call(void 0,
704
+ _chunk3XKAOV74js.printCommandEnvelope.call(void 0,
705
705
  {
706
706
  category,
707
707
  total: rows.length,
@@ -714,7 +714,7 @@ async function listToolsInCategory(category, emitJson) {
714
714
  return 0;
715
715
  }
716
716
  async function listToolsForCategoryFilter(requestedCategories, emitJson, compact) {
717
- const client = new (0, _chunkE7MGPPM5js.DeeplineClient)();
717
+ const client = new (0, _chunkHC5L6KGEjs.DeeplineClient)();
718
718
  const items = (await client.listTools({
719
719
  categories: requestedCategories.join(","),
720
720
  compact
@@ -743,7 +743,7 @@ async function listToolsForCategoryFilter(requestedCategories, emitJson, compact
743
743
  ]
744
744
  };
745
745
  const outputItems = compact ? items.map(compactTool) : items;
746
- _chunkJHUMUIU6js.printCommandEnvelope.call(void 0,
746
+ _chunk3XKAOV74js.printCommandEnvelope.call(void 0,
747
747
  {
748
748
  tools: outputItems,
749
749
  count: outputItems.length,
@@ -762,13 +762,13 @@ async function listTools(category, options = {}) {
762
762
  const positional = _nullishCoalesce(_optionalChain([category, 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]), () => ( ""));
763
763
  const flagCategories = (_nullishCoalesce(options.categories, () => ( ""))).split(",").map((item) => item.trim()).filter(Boolean);
764
764
  const compact = options.compact !== false;
765
- const emitJson = options.json === true || _chunkJHUMUIU6js.shouldEmitJson.call(void 0, );
765
+ const emitJson = options.json === true || _chunk3XKAOV74js.shouldEmitJson.call(void 0, );
766
766
  if (positional && flagCategories.length > 0) {
767
767
  const flagIsSameSingle = flagCategories.length === 1 && flagCategories[0] === positional;
768
768
  if (!flagIsSameSingle) {
769
769
  const message = `Category "${positional}" and --categories ${flagCategories.join(",")} disagree. Pass one: deepline tools list ${positional}`;
770
770
  if (emitJson) {
771
- _chunkJHUMUIU6js.printJson.call(void 0, {
771
+ _chunk3XKAOV74js.printJson.call(void 0, {
772
772
  ok: false,
773
773
  exitCode: 2,
774
774
  code: "TOOL_LIST_CATEGORY_CONFLICT",
@@ -795,7 +795,7 @@ async function grepTools(queryInput, options = {}) {
795
795
  console.error("Usage: deepline tools grep <query> [--json]");
796
796
  return 1;
797
797
  }
798
- const client = new (0, _chunkE7MGPPM5js.DeeplineClient)();
798
+ const client = new (0, _chunkHC5L6KGEjs.DeeplineClient)();
799
799
  const requestedCategories = options.categories ? options.categories.split(",").map((item) => item.trim()).filter(Boolean) : [];
800
800
  const mode = _nullishCoalesce(options.mode, () => ( "all"));
801
801
  const jsonOutput = options.json === true;
@@ -838,7 +838,7 @@ async function grepTools(queryInput, options = {}) {
838
838
  query,
839
839
  mode
840
840
  }) : null;
841
- _chunkJHUMUIU6js.printCommandEnvelope.call(void 0,
841
+ _chunk3XKAOV74js.printCommandEnvelope.call(void 0,
842
842
  {
843
843
  tools: outputTools,
844
844
  count: outputTools.length,
@@ -856,7 +856,7 @@ async function grepTools(queryInput, options = {}) {
856
856
  } : {},
857
857
  commandTemplates: TOOL_COMMAND_TEMPLATES
858
858
  },
859
- { json: options.json || _chunkJHUMUIU6js.shouldEmitJson.call(void 0, ) }
859
+ { json: options.json || _chunk3XKAOV74js.shouldEmitJson.call(void 0, ) }
860
860
  );
861
861
  return 0;
862
862
  }
@@ -1013,7 +1013,7 @@ Examples:
1013
1013
  json: Boolean(options.json)
1014
1014
  });
1015
1015
  });
1016
- _chunkS5OTS6H5js.registerDeprecatedSearchCommand.call(void 0, tools, () => ["tools", "monitors"]);
1016
+ _chunk53PZA4EPjs.registerDeprecatedSearchCommand.call(void 0, tools, () => ["tools", "monitors"]);
1017
1017
  tools.command("grep <query>").description(
1018
1018
  "Literal grep over tool ids, descriptions, categories, and input fields."
1019
1019
  ).addHelpText(
@@ -1118,7 +1118,7 @@ Examples:
1118
1118
  process.exitCode = await narrowView();
1119
1119
  return;
1120
1120
  }
1121
- const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-IUHOEPKY.js")));
1121
+ const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-N2OBGVJM.js")));
1122
1122
  process.exitCode = await describeAnything(
1123
1123
  toolId,
1124
1124
  {
@@ -1204,7 +1204,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1204
1204
  console.error("Usage: deepline tools describe <toolId> [--json]");
1205
1205
  return 1;
1206
1206
  }
1207
- const client = new (0, _chunkE7MGPPM5js.DeeplineClient)();
1207
+ const client = new (0, _chunkHC5L6KGEjs.DeeplineClient)();
1208
1208
  let tool;
1209
1209
  try {
1210
1210
  tool = await _asyncNullishCoalesce(compatibilityMetadata, async () => ( await client.getTool(toolId)));
@@ -1258,7 +1258,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1258
1258
  if (options.byok) {
1259
1259
  const resolvedToolId = String(tool.toolId || toolId);
1260
1260
  const byok = recordField(tool, "byok");
1261
- _chunkJHUMUIU6js.printCommandEnvelope.call(void 0,
1261
+ _chunk3XKAOV74js.printCommandEnvelope.call(void 0,
1262
1262
  { toolId: resolvedToolId, byok },
1263
1263
  {
1264
1264
  json: Boolean(options.json || options.contractJson),
@@ -1272,10 +1272,10 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1272
1272
  const lines = toolPricingOnlyLines(tool, toolId);
1273
1273
  if (inferenceQuote)
1274
1274
  lines.push(...inferenceQuoteSummaryLines(inferenceQuote));
1275
- _chunkJHUMUIU6js.printCommandEnvelope.call(void 0,
1275
+ _chunk3XKAOV74js.printCommandEnvelope.call(void 0,
1276
1276
  {
1277
1277
  toolId: String(tool.toolId || toolId),
1278
- cost: _chunkS5OTS6H5js.Capability.fromCatalogEntry(tool).describe().customerCost(),
1278
+ cost: _chunk53PZA4EPjs.Capability.fromCatalogEntry(tool).describe().customerCost(),
1279
1279
  ...modelDescription ? { modelOptions: modelDescription } : {},
1280
1280
  ...isMonitorTypeTool(tool) ? { pricing: recordField(tool, "pricing") } : {},
1281
1281
  ...inferenceQuote ? { inferenceQuote } : {}
@@ -1290,7 +1290,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1290
1290
  }
1291
1291
  if ((options.schemaOnly || options.examplesOnly || options.gettersOnly) && !isMonitorTypeTool(tool) && !isPlayLikeTool(tool) && (options.json || options.contractJson)) {
1292
1292
  const contract = toolContractJsonForDescribe(tool, toolId);
1293
- _chunkJHUMUIU6js.printCompactJson.call(void 0, {
1293
+ _chunk3XKAOV74js.printCompactJson.call(void 0, {
1294
1294
  toolId: contract.toolId,
1295
1295
  ...options.schemaOnly ? {
1296
1296
  inputSchema: contract.inputSchema,
@@ -1313,7 +1313,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1313
1313
  return 0;
1314
1314
  }
1315
1315
  if (options.contractJson) {
1316
- _chunkJHUMUIU6js.printCompactJson.call(void 0, {
1316
+ _chunk3XKAOV74js.printCompactJson.call(void 0, {
1317
1317
  ...toolContractJsonForDescribe(tool, toolId),
1318
1318
  ...modelDescription ? { modelOptions: modelDescription } : {},
1319
1319
  ...inferenceQuote ? { inferenceQuote } : {}
@@ -1322,7 +1322,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1322
1322
  }
1323
1323
  const emitJson = options.json === true;
1324
1324
  if (emitJson) {
1325
- _chunkJHUMUIU6js.printCompactJson.call(void 0, {
1325
+ _chunk3XKAOV74js.printCompactJson.call(void 0, {
1326
1326
  ...toolMetadataJsonForDescribe(tool, toolId),
1327
1327
  ...modelDescription ? { modelOptions: modelDescription } : {},
1328
1328
  ...inferenceQuote ? { inferenceQuote } : {}
@@ -1399,7 +1399,7 @@ function toolContractJsonForDescribe(tool, requestedToolId, authoringContractEdi
1399
1399
  const extractedValues = extractionContractEntries(
1400
1400
  arrayField2(toolExecutionResult, "extractedValues", "extracted_values")
1401
1401
  );
1402
- const pricing = _chunkS5OTS6H5js.Capability.fromCatalogEntry(tool).describe().customerCost();
1402
+ const pricing = _chunk53PZA4EPjs.Capability.fromCatalogEntry(tool).describe().customerCost();
1403
1403
  const executionMetadataRecord = recordField(
1404
1404
  tool,
1405
1405
  "executionMetadata",
@@ -1736,7 +1736,7 @@ function describedTool(tool, requestedToolId) {
1736
1736
  stringField2(cost, "displayText"),
1737
1737
  // "Free (free)" says the same thing twice.
1738
1738
  billing.toLowerCase() === stringField2(cost, "displayText").toLowerCase() ? "" : billing && `(${billing})`,
1739
- _chunkS5OTS6H5js.observedMaxText.call(void 0, cost) && `\u2014 ${_chunkS5OTS6H5js.observedMaxText.call(void 0, cost)}`
1739
+ _chunk53PZA4EPjs.observedMaxText.call(void 0, cost) && `\u2014 ${_chunk53PZA4EPjs.observedMaxText.call(void 0, cost)}`
1740
1740
  ].filter(Boolean).join(" ") || void 0,
1741
1741
  guidance: [
1742
1742
  ...contract.deprecated === true ? [`Deprecated. ${stringField2(deprecation, "message")}`.trim()] : [],
@@ -1873,7 +1873,7 @@ function toolPricingOnlyLines(tool, requestedToolId, options = {}) {
1873
1873
  return monitorTypePricingLines(tool);
1874
1874
  }
1875
1875
  const toolId = String(tool.toolId || requestedToolId);
1876
- const cost = _chunkS5OTS6H5js.Capability.fromCatalogEntry(tool).describe().customerCost();
1876
+ const cost = _chunk53PZA4EPjs.Capability.fromCatalogEntry(tool).describe().customerCost();
1877
1877
  const pricingModel = stringField2(cost, "pricingModel") || "unknown";
1878
1878
  const billing = stringField2(cost, "billingSourceLabel") || stringField2(cost, "billingSource") || stringField2(cost, "billingMode") || "unknown";
1879
1879
  const explicitUnit = stringField2(cost, "unit");
@@ -1885,7 +1885,7 @@ function toolPricingOnlyLines(tool, requestedToolId, options = {}) {
1885
1885
  const price = displayText || summary || (credits !== null ? `${formatDecimal(credits)} Deepline credits${usd !== null ? ` / ${formatUsd(usd)}` : ""} per ${unit}` : "pricing unavailable");
1886
1886
  return [
1887
1887
  `${_nullishCoalesce(options.heading, () => ( `Pricing: ${toolId}`))}: ${price}`,
1888
- ..._chunkS5OTS6H5js.observedMaxText.call(void 0, cost) ? [` ${_chunkS5OTS6H5js.observedMaxText.call(void 0, cost)}`] : [],
1888
+ ..._chunk53PZA4EPjs.observedMaxText.call(void 0, cost) ? [` ${_chunk53PZA4EPjs.observedMaxText.call(void 0, cost)}`] : [],
1889
1889
  ...cost.observedReference || cost.estimatedRange ? [
1890
1890
  ...summary ? [` ${summary}`] : [],
1891
1891
  ...(_nullishCoalesce(cost.details, () => ( []))).map((detail) => ` ${detail}`)
@@ -2163,7 +2163,7 @@ function toolMetadataJsonForDescribe(tool, requestedToolId) {
2163
2163
  } = tool;
2164
2164
  const outputSchemaRecord = recordField(tool, "outputSchema", "output_schema");
2165
2165
  return {
2166
- cost: _chunkS5OTS6H5js.Capability.fromCatalogEntry(tool).describe().customerCost(),
2166
+ cost: _chunk53PZA4EPjs.Capability.fromCatalogEntry(tool).describe().customerCost(),
2167
2167
  ...publicTool,
2168
2168
  toolId,
2169
2169
  provider: tool.provider,
@@ -2777,7 +2777,7 @@ function parseExecuteOptions(toolId, options, output) {
2777
2777
  outputFormat = normalizeOutputFormat(options.outputFormat);
2778
2778
  }
2779
2779
  if (options.idempotencyKey !== void 0) {
2780
- _chunkE7MGPPM5js.validateExecutionIdempotencyKey.call(void 0, options.idempotencyKey);
2780
+ _chunkHC5L6KGEjs.validateExecutionIdempotencyKey.call(void 0, options.idempotencyKey);
2781
2781
  }
2782
2782
  if (options.recoveryTimeoutMs !== void 0) {
2783
2783
  const parsed = Number(options.recoveryTimeoutMs);
@@ -3088,20 +3088,20 @@ function buildToolExecuteRowArtifactEnvelope(input) {
3088
3088
  }
3089
3089
  async function executeTool(toolId, options) {
3090
3090
  const output = toolExecuteJsonOption(options.json);
3091
- const wantsJson = _chunkJHUMUIU6js.shouldEmitJson.call(void 0, output.requested) || (_nullishCoalesce(options.outputFormat, () => ( "auto"))).trim().toLowerCase() !== "csv";
3091
+ const wantsJson = _chunk3XKAOV74js.shouldEmitJson.call(void 0, output.requested) || (_nullishCoalesce(options.outputFormat, () => ( "auto"))).trim().toLowerCase() !== "csv";
3092
3092
  let parsed;
3093
3093
  try {
3094
3094
  parsed = parseExecuteOptions(toolId, options, output);
3095
3095
  } catch (error) {
3096
3096
  if (wantsJson) {
3097
- _chunkJHUMUIU6js.printJsonError.call(void 0, error);
3097
+ _chunk3XKAOV74js.printJsonError.call(void 0, error);
3098
3098
  } else {
3099
3099
  console.error(error instanceof Error ? error.message : String(error));
3100
3100
  }
3101
3101
  return error instanceof _chunk7P5AA3SNjs.DeeplineError && error.code === "IDEMPOTENCY_KEY_INVALID" ? 2 : 1;
3102
3102
  }
3103
3103
  const cliInvocationId = _nullishCoalesce(_chunkQJBJZVG6js.getToolExecuteInvocationId.call(void 0, ), () => ( _chunkQJBJZVG6js.beginToolExecuteCommand.call(void 0, )));
3104
- const client = new (0, _chunkE7MGPPM5js.DeeplineClient)();
3104
+ const client = new (0, _chunkHC5L6KGEjs.DeeplineClient)();
3105
3105
  let metadata;
3106
3106
  try {
3107
3107
  metadata = await _chunkQJBJZVG6js.runToolExecuteStage.call(void 0,
@@ -3116,7 +3116,7 @@ async function executeTool(toolId, options) {
3116
3116
  );
3117
3117
  if (play) {
3118
3118
  if (wantsJson) {
3119
- _chunkJHUMUIU6js.printJsonError.call(void 0,
3119
+ _chunk3XKAOV74js.printJsonError.call(void 0,
3120
3120
  new Error(playAliasToolErrorMessage(parsed.toolId, play))
3121
3121
  );
3122
3122
  } else {
@@ -3129,7 +3129,7 @@ async function executeTool(toolId, options) {
3129
3129
  }
3130
3130
  if (isPlayLikeTool(metadata)) {
3131
3131
  if (wantsJson) {
3132
- _chunkJHUMUIU6js.printJsonError.call(void 0,
3132
+ _chunk3XKAOV74js.printJsonError.call(void 0,
3133
3133
  new Error(
3134
3134
  playLikeToolExecuteErrorMessage(
3135
3135
  parsed.toolId,
@@ -3165,7 +3165,7 @@ async function executeTool(toolId, options) {
3165
3165
  responseIntent,
3166
3166
  ...idempotencyKey ? { idempotencyKey } : {},
3167
3167
  ...parsed.recoveryTimeoutMs !== void 0 ? { recoveryTimeoutMs: parsed.recoveryTimeoutMs } : {},
3168
- searchRef: _chunkS5OTS6H5js.recentSearchRef.call(void 0, ),
3168
+ searchRef: _chunk53PZA4EPjs.recentSearchRef.call(void 0, ),
3169
3169
  cliInvocationId,
3170
3170
  onResponseReceived: _chunkYPVTQRUMjs.recordApiResponse
3171
3171
  }).catch((error) => {
@@ -3206,7 +3206,7 @@ async function executeTool(toolId, options) {
3206
3206
  const executeExitCode = toolExecuteExitCode(baseEnvelope);
3207
3207
  const delivered = await _chunkQJBJZVG6js.runToolExecuteStage.call(void 0, "output delivery", () => {
3208
3208
  if (!parsed.outPath && (parsed.outputFormat === "json" || parsed.outputFormat === "auto" && wantsJson)) {
3209
- _chunkJHUMUIU6js.printCommandEnvelope.call(void 0, baseEnvelope, { json: true });
3209
+ _chunk3XKAOV74js.printCommandEnvelope.call(void 0, baseEnvelope, { json: true });
3210
3210
  return true;
3211
3211
  }
3212
3212
  if (parsed.outputFormat === "json_file") {
@@ -3214,7 +3214,7 @@ async function executeTool(toolId, options) {
3214
3214
  rawResponse,
3215
3215
  `payload_${parsed.toolId}`
3216
3216
  );
3217
- _chunkJHUMUIU6js.printCommandEnvelope.call(void 0,
3217
+ _chunk3XKAOV74js.printCommandEnvelope.call(void 0,
3218
3218
  {
3219
3219
  ...baseEnvelope,
3220
3220
  local: {
@@ -3236,7 +3236,7 @@ async function executeTool(toolId, options) {
3236
3236
  `${parsed.toolId} did not expose row-shaped output to write as CSV. ${inspection.inspectDescription} Run: ${inspection.inspect}`
3237
3237
  );
3238
3238
  if (wantsJson) {
3239
- _chunkJHUMUIU6js.printJsonError.call(void 0, error);
3239
+ _chunk3XKAOV74js.printJsonError.call(void 0, error);
3240
3240
  } else {
3241
3241
  console.error(error.message);
3242
3242
  }
@@ -3247,7 +3247,7 @@ async function executeTool(toolId, options) {
3247
3247
  rawResponse,
3248
3248
  `payload_${parsed.toolId}`
3249
3249
  );
3250
- _chunkJHUMUIU6js.printCommandEnvelope.call(void 0,
3250
+ _chunk3XKAOV74js.printCommandEnvelope.call(void 0,
3251
3251
  {
3252
3252
  ...baseEnvelope,
3253
3253
  local: {
@@ -3258,7 +3258,7 @@ async function executeTool(toolId, options) {
3258
3258
  );
3259
3259
  return true;
3260
3260
  }
3261
- _chunkJHUMUIU6js.printCommandEnvelope.call(void 0, baseEnvelope, { json: false });
3261
+ _chunk3XKAOV74js.printCommandEnvelope.call(void 0, baseEnvelope, { json: false });
3262
3262
  return true;
3263
3263
  }
3264
3264
  const rowOutput = _chunk3VN4FTE3js.projectRowOutput.call(void 0, listConversion);
@@ -3282,7 +3282,7 @@ async function executeTool(toolId, options) {
3282
3282
  seededScript
3283
3283
  });
3284
3284
  if (parsed.outputFormat === "csv_file") {
3285
- _chunkJHUMUIU6js.printCommandEnvelope.call(void 0, materializedEnvelope, { json: true });
3285
+ _chunk3XKAOV74js.printCommandEnvelope.call(void 0, materializedEnvelope, { json: true });
3286
3286
  return true;
3287
3287
  }
3288
3288
  if (parsed.outPath) {
@@ -3290,7 +3290,7 @@ async function executeTool(toolId, options) {
3290
3290
  toolId: parsed.toolId,
3291
3291
  idempotencyKey
3292
3292
  });
3293
- _chunkJHUMUIU6js.printCommandEnvelope.call(void 0, materializedEnvelope, {
3293
+ _chunk3XKAOV74js.printCommandEnvelope.call(void 0, materializedEnvelope, {
3294
3294
  json: wantsJson,
3295
3295
  text: `Wrote ${csv.rowCount} row(s) to ${csv.path}
3296
3296
  inspect: ${inspection.inspect}
@@ -3299,7 +3299,7 @@ inspect: ${inspection.inspect}
3299
3299
  return true;
3300
3300
  }
3301
3301
  if (parsed.noPreview) {
3302
- _chunkJHUMUIU6js.printCommandEnvelope.call(void 0,
3302
+ _chunk3XKAOV74js.printCommandEnvelope.call(void 0,
3303
3303
  {
3304
3304
  ...materializedEnvelope,
3305
3305
  local: {
@@ -3312,7 +3312,7 @@ inspect: ${inspection.inspect}
3312
3312
  );
3313
3313
  return true;
3314
3314
  }
3315
- _chunkJHUMUIU6js.printCommandEnvelope.call(void 0, materializedEnvelope, {
3315
+ _chunk3XKAOV74js.printCommandEnvelope.call(void 0, materializedEnvelope, {
3316
3316
  json: wantsJson && parsed.outputFormat !== "csv"
3317
3317
  });
3318
3318
  return true;
@@ -2,7 +2,7 @@ import {
2
2
  argsWantJson,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-HNLXC5BP.mjs";
5
+ } from "./chunk-NNYQ24O5.mjs";
6
6
  import {
7
7
  ACTIVE_ORG_ID_ENV,
8
8
  ACTIVE_ORG_NAME_ENV,
@@ -25,7 +25,7 @@ import {
25
25
  saveHostEnvValues,
26
26
  saveProjectDeeplineEnvValues,
27
27
  storedHostApiKey
28
- } from "./chunk-IUYKSTWB.mjs";
28
+ } from "./chunk-VZSVYNZH.mjs";
29
29
 
30
30
  // src/cli/commands/auth.ts
31
31
  import {
@@ -0,0 +1,20 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+ var _chunkHC5L6KGEjs = require('./chunk-HC5L6KGE.js');
7
+ require('./chunk-S6R3OX7B.js');
8
+ require('./chunk-LA46MMTL.js');
9
+ require('./chunk-JK547IDB.js');
10
+ require('./chunk-XNYIZMNQ.js');
11
+ require('./chunk-7P5AA3SN.js');
12
+ require('./chunk-NOSIMGZV.js');
13
+ require('./chunk-OG64RBAC.js');
14
+ require('./chunk-COGTRVWW.js');
15
+
16
+
17
+
18
+
19
+
20
+ exports.DeeplineClient = _chunkHC5L6KGEjs.DeeplineClient; exports.MONITOR_JOB_PHASES = _chunkHC5L6KGEjs.MONITOR_JOB_PHASES; exports.MONITOR_JOB_RECONCILIATION_STATES = _chunkHC5L6KGEjs.MONITOR_JOB_RECONCILIATION_STATES; exports.MONITOR_JOB_STATES = _chunkHC5L6KGEjs.MONITOR_JOB_STATES;
@@ -3,13 +3,13 @@ import {
3
3
  MONITOR_JOB_PHASES,
4
4
  MONITOR_JOB_RECONCILIATION_STATES,
5
5
  MONITOR_JOB_STATES
6
- } from "./chunk-Y32GUTEN.mjs";
6
+ } from "./chunk-A62HBMHY.mjs";
7
7
  import "./chunk-6IKARAYD.mjs";
8
8
  import "./chunk-CBVIJSHF.mjs";
9
- import "./chunk-IUYKSTWB.mjs";
9
+ import "./chunk-VZSVYNZH.mjs";
10
10
  import "./chunk-DLIRSHV6.mjs";
11
11
  import "./chunk-NXGCO4JB.mjs";
12
- import "./chunk-P5JPGZNI.mjs";
12
+ import "./chunk-IZVGMVNX.mjs";
13
13
  import "./chunk-WZYKRD7T.mjs";
14
14
  import "./chunk-KRD6H754.mjs";
15
15
  export {
@@ -4,11 +4,11 @@ import {
4
4
  printCommandEnvelope,
5
5
  printJson,
6
6
  readCsvRows
7
- } from "./chunk-HNLXC5BP.mjs";
8
- import "./chunk-IUYKSTWB.mjs";
7
+ } from "./chunk-NNYQ24O5.mjs";
8
+ import "./chunk-VZSVYNZH.mjs";
9
9
  import "./chunk-DLIRSHV6.mjs";
10
10
  import "./chunk-NXGCO4JB.mjs";
11
- import "./chunk-P5JPGZNI.mjs";
11
+ import "./chunk-IZVGMVNX.mjs";
12
12
  import "./chunk-WZYKRD7T.mjs";
13
13
  import "./chunk-KRD6H754.mjs";
14
14
 
@@ -4,11 +4,11 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkJHUMUIU6js = require('./chunk-JHUMUIU6.js');
8
- require('./chunk-ND4BVWWZ.js');
7
+ var _chunk3XKAOV74js = require('./chunk-3XKAOV74.js');
8
+ require('./chunk-JK547IDB.js');
9
9
  require('./chunk-XNYIZMNQ.js');
10
10
  require('./chunk-7P5AA3SN.js');
11
- require('./chunk-CLEB5KUZ.js');
11
+ require('./chunk-NOSIMGZV.js');
12
12
  require('./chunk-OG64RBAC.js');
13
13
  require('./chunk-COGTRVWW.js');
14
14
 
@@ -126,7 +126,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
126
126
  column.length,
127
127
  ...rows.map((row) => {
128
128
  const value = _nullishCoalesce(row[column], () => ( ""));
129
- return (verbose ? value : _chunkJHUMUIU6js.clip.call(void 0, value, 42)).length;
129
+ return (verbose ? value : _chunk3XKAOV74js.clip.call(void 0, value, 42)).length;
130
130
  })
131
131
  )
132
132
  ])
@@ -136,7 +136,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
136
136
  const body = rows.map(
137
137
  (row) => columns.map((column) => {
138
138
  const raw = _nullishCoalesce(row[column], () => ( ""));
139
- const display = verbose ? raw : _chunkJHUMUIU6js.clip.call(void 0, raw, 42);
139
+ const display = verbose ? raw : _chunk3XKAOV74js.clip.call(void 0, raw, 42);
140
140
  return display.padEnd(widths[column]);
141
141
  }).join(" | ")
142
142
  );
@@ -156,7 +156,7 @@ async function handleCsvShow(path, options, command) {
156
156
  { exitCode: 2 }
157
157
  );
158
158
  }
159
- const allRows = _chunkJHUMUIU6js.readCsvRows.call(void 0, csvPath);
159
+ const allRows = _chunk3XKAOV74js.readCsvRows.call(void 0, csvPath);
160
160
  const [rowStart, rowEnd] = parseRowRange(options.rows);
161
161
  const rows = options.summary && options.rows === void 0 ? allRows : selectRows(allRows, rowStart, rowEnd);
162
162
  const { rows: selected, columns } = selectColumns(
@@ -169,7 +169,7 @@ async function handleCsvShow(path, options, command) {
169
169
  if (options.summary) {
170
170
  const summaries = summarizeColumns(selected, columns);
171
171
  if (format === "json") {
172
- _chunkJHUMUIU6js.printJson.call(void 0, {
172
+ _chunk3XKAOV74js.printJson.call(void 0, {
173
173
  rows: summaries,
174
174
  total_rows: selected.length,
175
175
  source_total_rows: allRows.length
@@ -178,7 +178,7 @@ async function handleCsvShow(path, options, command) {
178
178
  }
179
179
  const displayRows = summaryDisplayRows(summaries);
180
180
  if (format === "csv") {
181
- process.stdout.write(_chunkJHUMUIU6js.csvStringFromRows.call(void 0, displayRows));
181
+ process.stdout.write(_chunk3XKAOV74js.csvStringFromRows.call(void 0, displayRows));
182
182
  return;
183
183
  }
184
184
  process.stdout.write(
@@ -193,7 +193,7 @@ async function handleCsvShow(path, options, command) {
193
193
  return;
194
194
  }
195
195
  if (format === "json") {
196
- _chunkJHUMUIU6js.printJson.call(void 0, {
196
+ _chunk3XKAOV74js.printJson.call(void 0, {
197
197
  rows: selected.map((row, index) => ({ __row: rowStart + index, ...row }))
198
198
  });
199
199
  return;
@@ -436,7 +436,7 @@ async function handleCsvRenderStart(options) {
436
436
  if (log) {
437
437
  detail = `
438
438
  CSV render log:
439
- ${_chunkJHUMUIU6js.clip.call(void 0, log, 2e3)}`;
439
+ ${_chunk3XKAOV74js.clip.call(void 0, log, 2e3)}`;
440
440
  }
441
441
  } catch (e7) {
442
442
  }
@@ -487,7 +487,7 @@ async function handleCsvRenderStatus(options) {
487
487
  if (payload.pid) lines.push(`Render PID: ${payload.pid}`);
488
488
  if (payload.url) lines.push(`Render URL: ${payload.url}`);
489
489
  lines.push(`Render Health: ${payload.health_status}`);
490
- _chunkJHUMUIU6js.printCommandEnvelope.call(void 0, payload, {
490
+ _chunk3XKAOV74js.printCommandEnvelope.call(void 0, payload, {
491
491
  json: options.json,
492
492
  text: `${lines.join("\n")}
493
493
  `
@@ -523,7 +523,7 @@ async function handleCsvRenderStop(options) {
523
523
  };
524
524
  const text = stopped.length > 0 ? `Stopped CSV render process(es): ${stopped.join(" ")}
525
525
  ` : "No running CSV render process found.\n";
526
- _chunkJHUMUIU6js.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
526
+ _chunk3XKAOV74js.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
527
527
  }
528
528
  async function handleCsvRender(action, options) {
529
529
  const normalized = _nullishCoalesce(action, () => ( "start"));
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  DeeplineClient,
6
6
  planCustomerDbQuery
7
- } from "./chunk-Y32GUTEN.mjs";
7
+ } from "./chunk-A62HBMHY.mjs";
8
8
  import "./chunk-6IKARAYD.mjs";
9
9
  import "./chunk-CBVIJSHF.mjs";
10
10
  import {
@@ -16,15 +16,15 @@ import {
16
16
  printCommandEnvelope,
17
17
  recordRows,
18
18
  shouldEmitJson
19
- } from "./chunk-HNLXC5BP.mjs";
19
+ } from "./chunk-NNYQ24O5.mjs";
20
20
  import {
21
21
  CustomerDbQueryOutcomeUnknownError
22
- } from "./chunk-IUYKSTWB.mjs";
22
+ } from "./chunk-VZSVYNZH.mjs";
23
23
  import "./chunk-DLIRSHV6.mjs";
24
24
  import {
25
25
  DeeplineError
26
26
  } from "./chunk-NXGCO4JB.mjs";
27
- import "./chunk-P5JPGZNI.mjs";
27
+ import "./chunk-IZVGMVNX.mjs";
28
28
  import "./chunk-WZYKRD7T.mjs";
29
29
  import "./chunk-KRD6H754.mjs";
30
30