deepline 0.3.387 → 0.3.389

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 (90) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/cli/auth-AOM2LA73.js +39 -0
  3. package/dist/cli/{auth-CKRRMJQU.mjs → auth-DEASEYUJ.mjs} +4 -4
  4. package/dist/cli/{billing-CVBGUOM6.js → billing-QIWD5GYZ.js} +73 -73
  5. package/dist/cli/{billing-QXZB3SP4.mjs → billing-TUTB4H6F.mjs} +4 -4
  6. package/dist/cli/{chunk-4HFMNLCQ.mjs → chunk-2L6BBM7Z.mjs} +4 -4
  7. package/dist/cli/{chunk-DVVYOV2O.js → chunk-5VCRXKAU.js} +50 -50
  8. package/dist/cli/{chunk-MZBR5BX2.mjs → chunk-63ZXA57X.mjs} +3 -3
  9. package/dist/cli/{chunk-7AOECVD3.js → chunk-7IPMWJNZ.js} +226 -226
  10. package/dist/cli/{chunk-7F5HBT3S.mjs → chunk-7WQGDKNO.mjs} +1 -1
  11. package/dist/cli/{chunk-CPB7PL4B.js → chunk-ABLS54ZL.js} +61 -61
  12. package/dist/cli/{chunk-HMSWH2JW.mjs → chunk-B6BQ6EAR.mjs} +6 -6
  13. package/dist/cli/{chunk-MTGIBXYZ.mjs → chunk-CCIEPJSX.mjs} +2 -2
  14. package/dist/cli/{chunk-FUTYFVJR.js → chunk-CLOICRTK.js} +6 -6
  15. package/dist/cli/{chunk-GJGHN34W.js → chunk-CMWDXAQH.js} +26 -26
  16. package/dist/cli/{chunk-3W3AW37A.js → chunk-FZXZLFNC.js} +15 -15
  17. package/dist/cli/{chunk-UKBXVON4.js → chunk-FZZC3A7J.js} +8 -8
  18. package/dist/cli/{chunk-BXRWG6ZG.mjs → chunk-GB3KEA34.mjs} +1 -1
  19. package/dist/cli/{chunk-BEEH7ZAL.mjs → chunk-HHRQYYHK.mjs} +7 -6
  20. package/dist/cli/{chunk-CQ6B46NN.js → chunk-KWGB3RWA.js} +9 -9
  21. package/dist/cli/{chunk-EUFASY6H.mjs → chunk-M6BQYSV3.mjs} +1 -1
  22. package/dist/cli/{chunk-S7HRCOFT.js → chunk-MCWGQIDV.js} +50 -49
  23. package/dist/cli/{chunk-4KTBZLGR.mjs → chunk-MP7FWY76.mjs} +2 -2
  24. package/dist/cli/{chunk-CWZRBSMO.mjs → chunk-NBXJJBBT.mjs} +1 -1
  25. package/dist/cli/{chunk-NJRWEFAY.js → chunk-OWP6SI5W.js} +8 -8
  26. package/dist/cli/{chunk-EWKW7ADZ.mjs → chunk-PPKNOVMF.mjs} +2 -2
  27. package/dist/cli/{chunk-RKYFX5G5.mjs → chunk-RHAP7ZW5.mjs} +2 -2
  28. package/dist/cli/{chunk-7JETEXCL.js → chunk-RPGSXBS3.js} +1 -1
  29. package/dist/cli/{chunk-LA6WXHEG.js → chunk-WRLYF4DS.js} +2 -2
  30. package/dist/cli/{chunk-A5L54JX6.js → chunk-Z43SUQUL.js} +4 -4
  31. package/dist/cli/{chunk-LQUNC2VM.mjs → chunk-Z4ZB2CDV.mjs} +1 -1
  32. package/dist/cli/{csv-IBQSV2LF.js → csv-FYI4XWEA.js} +12 -12
  33. package/dist/cli/{csv-L3NMNEK2.mjs → csv-GQ5K6MDD.mjs} +3 -3
  34. package/dist/cli/{db-6OPCFP3J.mjs → db-DYXQOAWZ.mjs} +4 -4
  35. package/dist/cli/{db-AWKMYFXN.js → db-WYSI3J43.js} +29 -29
  36. package/dist/cli/{describe-IFJ34VUV.js → describe-T25AHZEJ.js} +18 -18
  37. package/dist/cli/{describe-NEHPRI33.mjs → describe-YIIUMAZF.mjs} +8 -8
  38. package/dist/cli/{executions-FLGLIGRM.js → executions-3D7KAJ2C.js} +6 -6
  39. package/dist/cli/{executions-LDZEOSBO.mjs → executions-RYFSOPMQ.mjs} +4 -4
  40. package/dist/cli/{feedback-PWFQTP4G.mjs → feedback-CIZXMDMJ.mjs} +3 -3
  41. package/dist/cli/{feedback-W3LOHQOV.js → feedback-I7FWPC7V.js} +7 -7
  42. package/dist/cli/{git-E3G5SPN7.mjs → git-JCURDXPQ.mjs} +4 -4
  43. package/dist/cli/git-MVMIPHQ6.js +23 -0
  44. package/dist/cli/index.js +117 -105
  45. package/dist/cli/index.mjs +52 -40
  46. package/dist/cli/{legacy-noops-43UAYJOG.mjs → legacy-noops-4BW4EZJG.mjs} +4 -4
  47. package/dist/cli/{legacy-noops-LLIS3SCA.js → legacy-noops-G6F5LNUM.js} +7 -7
  48. package/dist/cli/{monitors-IRTHA34J.js → monitors-43UXU5C3.js} +85 -85
  49. package/dist/cli/{monitors-VFSBTSHJ.mjs → monitors-LTKH5IWE.mjs} +4 -4
  50. package/dist/cli/{org-3Z5SRXPW.js → org-7MSUEPXL.js} +64 -64
  51. package/dist/cli/{org-C3BNJMYT.mjs → org-I3WHUV67.mjs} +4 -4
  52. package/dist/cli/{play-W5XTHGLT.mjs → play-HRZXSNXV.mjs} +7 -7
  53. package/dist/cli/play-R5TYLP5L.js +157 -0
  54. package/dist/cli/{providers-ANLUHMBV.mjs → providers-BY6JPMKP.mjs} +4 -4
  55. package/dist/cli/{providers-W3O4DRDG.js → providers-DWLWK5VX.js} +7 -7
  56. package/dist/cli/{quickstart-5G65T2IR.mjs → quickstart-E647CKUQ.mjs} +3 -3
  57. package/dist/cli/{quickstart-6JAZF3FG.js → quickstart-QO6GCK4U.js} +5 -5
  58. package/dist/cli/search-34AC6FC7.js +26 -0
  59. package/dist/cli/{search-XQRGKA3F.mjs → search-3WUQBHRV.mjs} +5 -5
  60. package/dist/cli/{secrets-PUWRCDTC.js → secrets-CPNHE5XI.js} +13 -13
  61. package/dist/cli/{secrets-DF3EL5RU.mjs → secrets-WTGMFFP7.mjs} +4 -4
  62. package/dist/cli/{sessions-OYFE2CUC.mjs → sessions-6Q5E7GSY.mjs} +4 -4
  63. package/dist/cli/{sessions-OTRBNAPA.js → sessions-UFGGEDZP.js} +5 -5
  64. package/dist/cli/{settings-R7H4JXVO.js → settings-NF5726RU.js} +74 -74
  65. package/dist/cli/{settings-JSB64G57.mjs → settings-QMEIKOUI.mjs} +7 -7
  66. package/dist/cli/{setup-PL4QRM4U.js → setup-J35MMJ7C.js} +41 -41
  67. package/dist/cli/{setup-AJD5R5TW.mjs → setup-ZOQOJMJ7.mjs} +6 -6
  68. package/dist/cli/{skills-YN2BR22T.mjs → skills-UFDKCSYR.mjs} +4 -4
  69. package/dist/cli/skills-WGYISRE5.js +28 -0
  70. package/dist/cli/{tools-ATIA3P4H.mjs → tools-3SU3EUQT.mjs} +6 -6
  71. package/dist/cli/tools-Q642ZZ2M.js +40 -0
  72. package/dist/cli/{update-CWAXNG5N.mjs → update-SXYX4PMC.mjs} +6 -6
  73. package/dist/cli/update-T5MNWAQC.js +28 -0
  74. package/dist/cli/{workflow-ENCTHGP4.mjs → workflow-2LINUMOP.mjs} +5 -5
  75. package/dist/cli/{workflow-O2CW5YKT.js → workflow-XAIEXDUI.js} +15 -15
  76. package/dist/index.js +6 -6
  77. package/dist/index.mjs +3 -3
  78. package/dist/install-integrity.json +72 -72
  79. package/dist/release.d.mts +1 -1
  80. package/dist/release.d.ts +1 -1
  81. package/dist/release.js +2 -2
  82. package/dist/release.mjs +1 -1
  83. package/package.json +1 -1
  84. package/dist/cli/auth-M65RW5ZI.js +0 -39
  85. package/dist/cli/git-UJJKVNZ5.js +0 -23
  86. package/dist/cli/play-4QE3H5KN.js +0 -157
  87. package/dist/cli/search-HIY4H3T3.js +0 -26
  88. package/dist/cli/skills-HJXJ2R6P.js +0 -28
  89. package/dist/cli/tools-Y3HQI53B.js +0 -40
  90. package/dist/cli/update-F6RQFNQ5.js +0 -28
@@ -13,7 +13,7 @@ var _chunkAID3OYVJjs = require('./chunk-AID3OYVJ.js');
13
13
 
14
14
 
15
15
 
16
- var _chunkNJRWEFAYjs = require('./chunk-NJRWEFAY.js');
16
+ var _chunkOWP6SI5Wjs = require('./chunk-OWP6SI5W.js');
17
17
 
18
18
 
19
19
 
@@ -32,7 +32,7 @@ var _chunk5O4B6AUNjs = require('./chunk-5O4B6AUN.js');
32
32
 
33
33
 
34
34
 
35
- var _chunkCQ6B46NNjs = require('./chunk-CQ6B46NN.js');
35
+ var _chunkKWGB3RWAjs = require('./chunk-KWGB3RWA.js');
36
36
 
37
37
 
38
38
 
@@ -46,11 +46,11 @@ var _chunkQJBJZVG6js = require('./chunk-QJBJZVG6.js');
46
46
 
47
47
 
48
48
 
49
- var _chunkFUTYFVJRjs = require('./chunk-FUTYFVJR.js');
49
+ var _chunkCLOICRTKjs = require('./chunk-CLOICRTK.js');
50
50
 
51
51
 
52
52
 
53
- var _chunkA5L54JX6js = require('./chunk-A5L54JX6.js');
53
+ var _chunkZ43SUQULjs = require('./chunk-Z43SUQUL.js');
54
54
 
55
55
 
56
56
  var _chunk7P5AA3SNjs = require('./chunk-7P5AA3SN.js');
@@ -95,10 +95,10 @@ var ToolCallRecovery = class _ToolCallRecovery {
95
95
  }
96
96
  };
97
97
  function pendingToolExecutionPath(input) {
98
- const config = _chunkA5L54JX6js.resolveConfig.call(void 0, );
98
+ const config = _chunkZ43SUQULjs.resolveConfig.call(void 0, );
99
99
  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");
100
100
  return _path.join.call(void 0,
101
- _chunkA5L54JX6js.sdkCliStateDirPath.call(void 0, config.baseUrl),
101
+ _chunkZ43SUQULjs.sdkCliStateDirPath.call(void 0, config.baseUrl),
102
102
  `pending-tool-execution-${fingerprint}.json`
103
103
  );
104
104
  }
@@ -619,12 +619,12 @@ function categoryEnumerationRender(summaries) {
619
619
  };
620
620
  }
621
621
  async function listToolCategories(emitJson, compact) {
622
- const client = new (0, _chunkCQ6B46NNjs.DeeplineClient)();
622
+ const client = new (0, _chunkKWGB3RWAjs.DeeplineClient)();
623
623
  const rawTools = await client.listTools({ compact });
624
624
  const items = rawTools.map(toListedTool);
625
625
  const summaries = aggregateCategorySummaries(rawTools);
626
626
  const outputItems = compact ? items.map(compactTool) : items;
627
- _chunkFUTYFVJRjs.printCommandEnvelope.call(void 0,
627
+ _chunkCLOICRTKjs.printCommandEnvelope.call(void 0,
628
628
  {
629
629
  tools: outputItems,
630
630
  count: outputItems.length,
@@ -643,7 +643,7 @@ function unknownCategoryError(category, summaries, emitJson) {
643
643
  const known = summaries.map((item) => item.name);
644
644
  const message = `Unknown tool category "${category}". Run \`deepline tools list\` to browse categories.`;
645
645
  if (emitJson) {
646
- _chunkFUTYFVJRjs.printJson.call(void 0, {
646
+ _chunkCLOICRTKjs.printJson.call(void 0, {
647
647
  ok: false,
648
648
  exitCode: 4,
649
649
  code: "TOOL_CATEGORY_NOT_FOUND",
@@ -657,13 +657,13 @@ function unknownCategoryError(category, summaries, emitJson) {
657
657
  const render = categoryEnumerationRender(summaries);
658
658
  console.error(message);
659
659
  console.error("");
660
- console.error(_chunkFUTYFVJRjs.renderCommandEnvelopeText.call(void 0, { render }).trimEnd());
660
+ console.error(_chunkCLOICRTKjs.renderCommandEnvelopeText.call(void 0, { render }).trimEnd());
661
661
  console.error("");
662
662
  console.error(`Valid categories: ${known.join(", ")}`);
663
663
  return 4;
664
664
  }
665
665
  async function listToolsInCategory(category, emitJson) {
666
- const client = new (0, _chunkCQ6B46NNjs.DeeplineClient)();
666
+ const client = new (0, _chunkKWGB3RWAjs.DeeplineClient)();
667
667
  const rawTools = await client.listTools({
668
668
  categories: category,
669
669
  compact: false
@@ -700,7 +700,7 @@ async function listToolsInCategory(category, emitJson) {
700
700
  }
701
701
  ]
702
702
  };
703
- _chunkFUTYFVJRjs.printCommandEnvelope.call(void 0,
703
+ _chunkCLOICRTKjs.printCommandEnvelope.call(void 0,
704
704
  {
705
705
  category,
706
706
  total: rows.length,
@@ -713,7 +713,7 @@ async function listToolsInCategory(category, emitJson) {
713
713
  return 0;
714
714
  }
715
715
  async function listToolsForCategoryFilter(requestedCategories, emitJson, compact) {
716
- const client = new (0, _chunkCQ6B46NNjs.DeeplineClient)();
716
+ const client = new (0, _chunkKWGB3RWAjs.DeeplineClient)();
717
717
  const items = (await client.listTools({
718
718
  categories: requestedCategories.join(","),
719
719
  compact
@@ -742,7 +742,7 @@ async function listToolsForCategoryFilter(requestedCategories, emitJson, compact
742
742
  ]
743
743
  };
744
744
  const outputItems = compact ? items.map(compactTool) : items;
745
- _chunkFUTYFVJRjs.printCommandEnvelope.call(void 0,
745
+ _chunkCLOICRTKjs.printCommandEnvelope.call(void 0,
746
746
  {
747
747
  tools: outputItems,
748
748
  count: outputItems.length,
@@ -761,13 +761,13 @@ async function listTools(category, options = {}) {
761
761
  const positional = _nullishCoalesce(_optionalChain([category, 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]), () => ( ""));
762
762
  const flagCategories = (_nullishCoalesce(options.categories, () => ( ""))).split(",").map((item) => item.trim()).filter(Boolean);
763
763
  const compact = options.compact !== false;
764
- const emitJson = options.json === true || _chunkFUTYFVJRjs.shouldEmitJson.call(void 0, );
764
+ const emitJson = options.json === true || _chunkCLOICRTKjs.shouldEmitJson.call(void 0, );
765
765
  if (positional && flagCategories.length > 0) {
766
766
  const flagIsSameSingle = flagCategories.length === 1 && flagCategories[0] === positional;
767
767
  if (!flagIsSameSingle) {
768
768
  const message = `Category "${positional}" and --categories ${flagCategories.join(",")} disagree. Pass one: deepline tools list ${positional}`;
769
769
  if (emitJson) {
770
- _chunkFUTYFVJRjs.printJson.call(void 0, {
770
+ _chunkCLOICRTKjs.printJson.call(void 0, {
771
771
  ok: false,
772
772
  exitCode: 2,
773
773
  code: "TOOL_LIST_CATEGORY_CONFLICT",
@@ -794,7 +794,7 @@ async function grepTools(queryInput, options = {}) {
794
794
  console.error("Usage: deepline tools grep <query> [--json]");
795
795
  return 1;
796
796
  }
797
- const client = new (0, _chunkCQ6B46NNjs.DeeplineClient)();
797
+ const client = new (0, _chunkKWGB3RWAjs.DeeplineClient)();
798
798
  const requestedCategories = options.categories ? options.categories.split(",").map((item) => item.trim()).filter(Boolean) : [];
799
799
  const mode = _nullishCoalesce(options.mode, () => ( "all"));
800
800
  const jsonOutput = options.json === true;
@@ -837,7 +837,7 @@ async function grepTools(queryInput, options = {}) {
837
837
  query,
838
838
  mode
839
839
  }) : null;
840
- _chunkFUTYFVJRjs.printCommandEnvelope.call(void 0,
840
+ _chunkCLOICRTKjs.printCommandEnvelope.call(void 0,
841
841
  {
842
842
  tools: outputTools,
843
843
  count: outputTools.length,
@@ -855,7 +855,7 @@ async function grepTools(queryInput, options = {}) {
855
855
  } : {},
856
856
  commandTemplates: TOOL_COMMAND_TEMPLATES
857
857
  },
858
- { json: options.json || _chunkFUTYFVJRjs.shouldEmitJson.call(void 0, ) }
858
+ { json: options.json || _chunkCLOICRTKjs.shouldEmitJson.call(void 0, ) }
859
859
  );
860
860
  return 0;
861
861
  }
@@ -1011,7 +1011,7 @@ Examples:
1011
1011
  json: Boolean(options.json)
1012
1012
  });
1013
1013
  });
1014
- _chunkNJRWEFAYjs.registerDeprecatedSearchCommand.call(void 0, tools, () => ["tools", "monitors"]);
1014
+ _chunkOWP6SI5Wjs.registerDeprecatedSearchCommand.call(void 0, tools, () => ["tools", "monitors"]);
1015
1015
  tools.command("grep <query>").description(
1016
1016
  "Literal grep over tool ids, descriptions, categories, and input fields."
1017
1017
  ).addHelpText(
@@ -1112,7 +1112,7 @@ Examples:
1112
1112
  process.exitCode = await narrowView();
1113
1113
  return;
1114
1114
  }
1115
- const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-IFJ34VUV.js")));
1115
+ const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-T25AHZEJ.js")));
1116
1116
  process.exitCode = await describeAnything(
1117
1117
  toolId,
1118
1118
  {
@@ -1198,7 +1198,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1198
1198
  console.error("Usage: deepline tools describe <toolId> [--json]");
1199
1199
  return 1;
1200
1200
  }
1201
- const client = new (0, _chunkCQ6B46NNjs.DeeplineClient)();
1201
+ const client = new (0, _chunkKWGB3RWAjs.DeeplineClient)();
1202
1202
  let tool;
1203
1203
  try {
1204
1204
  tool = await _asyncNullishCoalesce(compatibilityMetadata, async () => ( await client.getTool(toolId)));
@@ -1252,10 +1252,10 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1252
1252
  const lines = toolPricingOnlyLines(tool, toolId);
1253
1253
  if (inferenceQuote)
1254
1254
  lines.push(...inferenceQuoteSummaryLines(inferenceQuote));
1255
- _chunkFUTYFVJRjs.printCommandEnvelope.call(void 0,
1255
+ _chunkCLOICRTKjs.printCommandEnvelope.call(void 0,
1256
1256
  {
1257
1257
  toolId: String(tool.toolId || toolId),
1258
- cost: _chunkNJRWEFAYjs.Capability.fromCatalogEntry(tool).describe().customerCost(),
1258
+ cost: _chunkOWP6SI5Wjs.Capability.fromCatalogEntry(tool).describe().customerCost(),
1259
1259
  ...modelDescription ? { modelOptions: modelDescription } : {},
1260
1260
  ...isMonitorTypeTool(tool) ? { pricing: recordField(tool, "pricing") } : {},
1261
1261
  ...inferenceQuote ? { inferenceQuote } : {}
@@ -1270,7 +1270,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1270
1270
  }
1271
1271
  if ((options.schemaOnly || options.examplesOnly || options.gettersOnly) && !isMonitorTypeTool(tool) && !isPlayLikeTool(tool) && (options.json || options.contractJson)) {
1272
1272
  const contract = toolContractJsonForDescribe(tool, toolId);
1273
- _chunkFUTYFVJRjs.printCompactJson.call(void 0, {
1273
+ _chunkCLOICRTKjs.printCompactJson.call(void 0, {
1274
1274
  toolId: contract.toolId,
1275
1275
  ...options.schemaOnly ? {
1276
1276
  inputSchema: contract.inputSchema,
@@ -1293,7 +1293,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1293
1293
  return 0;
1294
1294
  }
1295
1295
  if (options.contractJson) {
1296
- _chunkFUTYFVJRjs.printCompactJson.call(void 0, {
1296
+ _chunkCLOICRTKjs.printCompactJson.call(void 0, {
1297
1297
  ...toolContractJsonForDescribe(tool, toolId),
1298
1298
  ...modelDescription ? { modelOptions: modelDescription } : {},
1299
1299
  ...inferenceQuote ? { inferenceQuote } : {}
@@ -1302,7 +1302,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1302
1302
  }
1303
1303
  const emitJson = options.json === true;
1304
1304
  if (emitJson) {
1305
- _chunkFUTYFVJRjs.printCompactJson.call(void 0, {
1305
+ _chunkCLOICRTKjs.printCompactJson.call(void 0, {
1306
1306
  ...toolMetadataJsonForDescribe(tool, toolId),
1307
1307
  ...modelDescription ? { modelOptions: modelDescription } : {},
1308
1308
  ...inferenceQuote ? { inferenceQuote } : {}
@@ -1379,7 +1379,7 @@ function toolContractJsonForDescribe(tool, requestedToolId, authoringContractEdi
1379
1379
  const extractedValues = extractionContractEntries(
1380
1380
  arrayField2(toolExecutionResult, "extractedValues", "extracted_values")
1381
1381
  );
1382
- const pricing = _chunkNJRWEFAYjs.Capability.fromCatalogEntry(tool).describe().customerCost();
1382
+ const pricing = _chunkOWP6SI5Wjs.Capability.fromCatalogEntry(tool).describe().customerCost();
1383
1383
  const executionMetadataRecord = recordField(
1384
1384
  tool,
1385
1385
  "executionMetadata",
@@ -1689,7 +1689,8 @@ function describedTool(tool, requestedToolId) {
1689
1689
  return { field, node };
1690
1690
  });
1691
1691
  };
1692
- const lists = getterOutputs("extractedLists", [outputSchema]);
1692
+ const declaredLists = getterOutputs("extractedLists", [outputSchema]);
1693
+ const lists = declaredLists.some(({ node }) => node) ? declaredLists.filter(({ node }) => node) : declaredLists;
1693
1694
  const values = getterOutputs("extractedValues", [
1694
1695
  outputSchema,
1695
1696
  ...lists.map(({ node }) => _optionalChain([node, 'optionalAccess', _15 => _15.items]))
@@ -1716,7 +1717,7 @@ function describedTool(tool, requestedToolId) {
1716
1717
  stringField2(cost, "displayText"),
1717
1718
  // "Free (free)" says the same thing twice.
1718
1719
  billing.toLowerCase() === stringField2(cost, "displayText").toLowerCase() ? "" : billing && `(${billing})`,
1719
- _chunkNJRWEFAYjs.observedMaxText.call(void 0, cost) && `\u2014 ${_chunkNJRWEFAYjs.observedMaxText.call(void 0, cost)}`
1720
+ _chunkOWP6SI5Wjs.observedMaxText.call(void 0, cost) && `\u2014 ${_chunkOWP6SI5Wjs.observedMaxText.call(void 0, cost)}`
1720
1721
  ].filter(Boolean).join(" ") || void 0,
1721
1722
  guidance: [
1722
1723
  ...contract.deprecated === true ? [`Deprecated. ${stringField2(deprecation, "message")}`.trim()] : [],
@@ -1853,7 +1854,7 @@ function toolPricingOnlyLines(tool, requestedToolId, options = {}) {
1853
1854
  return monitorTypePricingLines(tool);
1854
1855
  }
1855
1856
  const toolId = String(tool.toolId || requestedToolId);
1856
- const cost = _chunkNJRWEFAYjs.Capability.fromCatalogEntry(tool).describe().customerCost();
1857
+ const cost = _chunkOWP6SI5Wjs.Capability.fromCatalogEntry(tool).describe().customerCost();
1857
1858
  const pricingModel = stringField2(cost, "pricingModel") || "unknown";
1858
1859
  const billing = stringField2(cost, "billingSourceLabel") || stringField2(cost, "billingSource") || stringField2(cost, "billingMode") || "unknown";
1859
1860
  const explicitUnit = stringField2(cost, "unit");
@@ -1865,7 +1866,7 @@ function toolPricingOnlyLines(tool, requestedToolId, options = {}) {
1865
1866
  const price = displayText || summary || (credits !== null ? `${formatDecimal(credits)} Deepline credits${usd !== null ? ` / ${formatUsd(usd)}` : ""} per ${unit}` : "pricing unavailable");
1866
1867
  return [
1867
1868
  `${_nullishCoalesce(options.heading, () => ( `Pricing: ${toolId}`))}: ${price}`,
1868
- ..._chunkNJRWEFAYjs.observedMaxText.call(void 0, cost) ? [` ${_chunkNJRWEFAYjs.observedMaxText.call(void 0, cost)}`] : [],
1869
+ ..._chunkOWP6SI5Wjs.observedMaxText.call(void 0, cost) ? [` ${_chunkOWP6SI5Wjs.observedMaxText.call(void 0, cost)}`] : [],
1869
1870
  ...cost.observedReference || cost.estimatedRange ? [
1870
1871
  ...summary ? [` ${summary}`] : [],
1871
1872
  ...(_nullishCoalesce(cost.details, () => ( []))).map((detail) => ` ${detail}`)
@@ -2143,7 +2144,7 @@ function toolMetadataJsonForDescribe(tool, requestedToolId) {
2143
2144
  } = tool;
2144
2145
  const outputSchemaRecord = recordField(tool, "outputSchema", "output_schema");
2145
2146
  return {
2146
- cost: _chunkNJRWEFAYjs.Capability.fromCatalogEntry(tool).describe().customerCost(),
2147
+ cost: _chunkOWP6SI5Wjs.Capability.fromCatalogEntry(tool).describe().customerCost(),
2147
2148
  ...publicTool,
2148
2149
  toolId,
2149
2150
  provider: tool.provider,
@@ -2757,7 +2758,7 @@ function parseExecuteOptions(toolId, options, output) {
2757
2758
  outputFormat = normalizeOutputFormat(options.outputFormat);
2758
2759
  }
2759
2760
  if (options.idempotencyKey !== void 0) {
2760
- _chunkCQ6B46NNjs.validateExecutionIdempotencyKey.call(void 0, options.idempotencyKey);
2761
+ _chunkKWGB3RWAjs.validateExecutionIdempotencyKey.call(void 0, options.idempotencyKey);
2761
2762
  }
2762
2763
  if (options.recoveryTimeoutMs !== void 0) {
2763
2764
  const parsed = Number(options.recoveryTimeoutMs);
@@ -3068,20 +3069,20 @@ function buildToolExecuteRowArtifactEnvelope(input) {
3068
3069
  }
3069
3070
  async function executeTool(toolId, options) {
3070
3071
  const output = toolExecuteJsonOption(options.json);
3071
- const wantsJson = _chunkFUTYFVJRjs.shouldEmitJson.call(void 0, output.requested) || (_nullishCoalesce(options.outputFormat, () => ( "auto"))).trim().toLowerCase() !== "csv";
3072
+ const wantsJson = _chunkCLOICRTKjs.shouldEmitJson.call(void 0, output.requested) || (_nullishCoalesce(options.outputFormat, () => ( "auto"))).trim().toLowerCase() !== "csv";
3072
3073
  let parsed;
3073
3074
  try {
3074
3075
  parsed = parseExecuteOptions(toolId, options, output);
3075
3076
  } catch (error) {
3076
3077
  if (wantsJson) {
3077
- _chunkFUTYFVJRjs.printJsonError.call(void 0, error);
3078
+ _chunkCLOICRTKjs.printJsonError.call(void 0, error);
3078
3079
  } else {
3079
3080
  console.error(error instanceof Error ? error.message : String(error));
3080
3081
  }
3081
3082
  return error instanceof _chunk7P5AA3SNjs.DeeplineError && error.code === "IDEMPOTENCY_KEY_INVALID" ? 2 : 1;
3082
3083
  }
3083
3084
  const cliInvocationId = _nullishCoalesce(_chunkQJBJZVG6js.getToolExecuteInvocationId.call(void 0, ), () => ( _chunkQJBJZVG6js.beginToolExecuteCommand.call(void 0, )));
3084
- const client = new (0, _chunkCQ6B46NNjs.DeeplineClient)();
3085
+ const client = new (0, _chunkKWGB3RWAjs.DeeplineClient)();
3085
3086
  let metadata;
3086
3087
  try {
3087
3088
  metadata = await _chunkQJBJZVG6js.runToolExecuteStage.call(void 0,
@@ -3096,7 +3097,7 @@ async function executeTool(toolId, options) {
3096
3097
  );
3097
3098
  if (play) {
3098
3099
  if (wantsJson) {
3099
- _chunkFUTYFVJRjs.printJsonError.call(void 0,
3100
+ _chunkCLOICRTKjs.printJsonError.call(void 0,
3100
3101
  new Error(playAliasToolErrorMessage(parsed.toolId, play))
3101
3102
  );
3102
3103
  } else {
@@ -3109,7 +3110,7 @@ async function executeTool(toolId, options) {
3109
3110
  }
3110
3111
  if (isPlayLikeTool(metadata)) {
3111
3112
  if (wantsJson) {
3112
- _chunkFUTYFVJRjs.printJsonError.call(void 0,
3113
+ _chunkCLOICRTKjs.printJsonError.call(void 0,
3113
3114
  new Error(
3114
3115
  playLikeToolExecuteErrorMessage(
3115
3116
  parsed.toolId,
@@ -3145,7 +3146,7 @@ async function executeTool(toolId, options) {
3145
3146
  responseIntent,
3146
3147
  ...idempotencyKey ? { idempotencyKey } : {},
3147
3148
  ...parsed.recoveryTimeoutMs !== void 0 ? { recoveryTimeoutMs: parsed.recoveryTimeoutMs } : {},
3148
- searchRef: _chunkNJRWEFAYjs.recentSearchRef.call(void 0, ),
3149
+ searchRef: _chunkOWP6SI5Wjs.recentSearchRef.call(void 0, ),
3149
3150
  cliInvocationId,
3150
3151
  onResponseReceived: _chunkZMVJSS6Njs.recordApiResponse
3151
3152
  }).catch((error) => {
@@ -3186,7 +3187,7 @@ async function executeTool(toolId, options) {
3186
3187
  const executeExitCode = toolExecuteExitCode(baseEnvelope);
3187
3188
  const delivered = await _chunkQJBJZVG6js.runToolExecuteStage.call(void 0, "output delivery", () => {
3188
3189
  if (!parsed.outPath && (parsed.outputFormat === "json" || parsed.outputFormat === "auto" && wantsJson)) {
3189
- _chunkFUTYFVJRjs.printCommandEnvelope.call(void 0, baseEnvelope, { json: true });
3190
+ _chunkCLOICRTKjs.printCommandEnvelope.call(void 0, baseEnvelope, { json: true });
3190
3191
  return true;
3191
3192
  }
3192
3193
  if (parsed.outputFormat === "json_file") {
@@ -3194,7 +3195,7 @@ async function executeTool(toolId, options) {
3194
3195
  rawResponse,
3195
3196
  `payload_${parsed.toolId}`
3196
3197
  );
3197
- _chunkFUTYFVJRjs.printCommandEnvelope.call(void 0,
3198
+ _chunkCLOICRTKjs.printCommandEnvelope.call(void 0,
3198
3199
  {
3199
3200
  ...baseEnvelope,
3200
3201
  local: {
@@ -3216,7 +3217,7 @@ async function executeTool(toolId, options) {
3216
3217
  `${parsed.toolId} did not expose row-shaped output to write as CSV. ${inspection.inspectDescription} Run: ${inspection.inspect}`
3217
3218
  );
3218
3219
  if (wantsJson) {
3219
- _chunkFUTYFVJRjs.printJsonError.call(void 0, error);
3220
+ _chunkCLOICRTKjs.printJsonError.call(void 0, error);
3220
3221
  } else {
3221
3222
  console.error(error.message);
3222
3223
  }
@@ -3227,7 +3228,7 @@ async function executeTool(toolId, options) {
3227
3228
  rawResponse,
3228
3229
  `payload_${parsed.toolId}`
3229
3230
  );
3230
- _chunkFUTYFVJRjs.printCommandEnvelope.call(void 0,
3231
+ _chunkCLOICRTKjs.printCommandEnvelope.call(void 0,
3231
3232
  {
3232
3233
  ...baseEnvelope,
3233
3234
  local: {
@@ -3238,7 +3239,7 @@ async function executeTool(toolId, options) {
3238
3239
  );
3239
3240
  return true;
3240
3241
  }
3241
- _chunkFUTYFVJRjs.printCommandEnvelope.call(void 0, baseEnvelope, { json: false });
3242
+ _chunkCLOICRTKjs.printCommandEnvelope.call(void 0, baseEnvelope, { json: false });
3242
3243
  return true;
3243
3244
  }
3244
3245
  const rowOutput = _chunk3VN4FTE3js.projectRowOutput.call(void 0, listConversion);
@@ -3262,7 +3263,7 @@ async function executeTool(toolId, options) {
3262
3263
  seededScript
3263
3264
  });
3264
3265
  if (parsed.outputFormat === "csv_file") {
3265
- _chunkFUTYFVJRjs.printCommandEnvelope.call(void 0, materializedEnvelope, { json: true });
3266
+ _chunkCLOICRTKjs.printCommandEnvelope.call(void 0, materializedEnvelope, { json: true });
3266
3267
  return true;
3267
3268
  }
3268
3269
  if (parsed.outPath) {
@@ -3270,7 +3271,7 @@ async function executeTool(toolId, options) {
3270
3271
  toolId: parsed.toolId,
3271
3272
  idempotencyKey
3272
3273
  });
3273
- _chunkFUTYFVJRjs.printCommandEnvelope.call(void 0, materializedEnvelope, {
3274
+ _chunkCLOICRTKjs.printCommandEnvelope.call(void 0, materializedEnvelope, {
3274
3275
  json: wantsJson,
3275
3276
  text: `Wrote ${csv.rowCount} row(s) to ${csv.path}
3276
3277
  inspect: ${inspection.inspect}
@@ -3279,7 +3280,7 @@ inspect: ${inspection.inspect}
3279
3280
  return true;
3280
3281
  }
3281
3282
  if (parsed.noPreview) {
3282
- _chunkFUTYFVJRjs.printCommandEnvelope.call(void 0,
3283
+ _chunkCLOICRTKjs.printCommandEnvelope.call(void 0,
3283
3284
  {
3284
3285
  ...materializedEnvelope,
3285
3286
  local: {
@@ -3292,7 +3293,7 @@ inspect: ${inspection.inspect}
3292
3293
  );
3293
3294
  return true;
3294
3295
  }
3295
- _chunkFUTYFVJRjs.printCommandEnvelope.call(void 0, materializedEnvelope, {
3296
+ _chunkCLOICRTKjs.printCommandEnvelope.call(void 0, materializedEnvelope, {
3296
3297
  json: wantsJson && parsed.outputFormat !== "csv"
3297
3298
  });
3298
3299
  return true;
@@ -2,7 +2,7 @@ import {
2
2
  argsWantJson,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-BXRWG6ZG.mjs";
5
+ } from "./chunk-GB3KEA34.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-7F5HBT3S.mjs";
28
+ } from "./chunk-7WQGDKNO.mjs";
29
29
 
30
30
  // src/cli/commands/auth.ts
31
31
  import {
@@ -49,7 +49,7 @@ var SDK_RELEASE = {
49
49
  // getters keep their established compatibility behavior.
50
50
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
51
51
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
52
- version: "0.3.387",
52
+ version: "0.3.389",
53
53
  updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.",
54
54
  packageCapabilities: {
55
55
  updatePreferences: 1
@@ -1,14 +1,14 @@
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
- var _chunkCQ6B46NNjs = require('./chunk-CQ6B46NN.js');
3
+ var _chunkKWGB3RWAjs = require('./chunk-KWGB3RWA.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkFUTYFVJRjs = require('./chunk-FUTYFVJR.js');
7
+ var _chunkCLOICRTKjs = require('./chunk-CLOICRTK.js');
8
8
 
9
9
 
10
10
 
11
- var _chunkA5L54JX6js = require('./chunk-A5L54JX6.js');
11
+ var _chunkZ43SUQULjs = require('./chunk-Z43SUQUL.js');
12
12
 
13
13
  // src/cli/commands/search.ts
14
14
  var _commander = require('commander');
@@ -18,7 +18,7 @@ var _fs = require('fs');
18
18
  var _path = require('path');
19
19
  var SEARCH_REF_TTL_MS = 15 * 6e4;
20
20
  function lastSearchPath() {
21
- return _path.join.call(void 0, _chunkA5L54JX6js.sdkCliStateDirPath.call(void 0, _chunkA5L54JX6js.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
21
+ return _path.join.call(void 0, _chunkZ43SUQULjs.sdkCliStateDirPath.call(void 0, _chunkZ43SUQULjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
22
22
  }
23
23
  function rememberSearchRef(searchRef) {
24
24
  try {
@@ -259,7 +259,7 @@ function searchRow(item) {
259
259
  }
260
260
  function renderSearchResults(result) {
261
261
  if (result.results.length === 0)
262
- return _chunkFUTYFVJRjs.renderCommandEnvelopeText.call(void 0, result);
262
+ return _chunkCLOICRTKjs.renderCommandEnvelopeText.call(void 0, result);
263
263
  const rows = result.results.map(searchRow);
264
264
  const kinds = new Set(rows.map((row) => row.kind));
265
265
  const onlyTools = kinds.size === 1 && kinds.has("tool");
@@ -283,7 +283,7 @@ function renderSearchResults(result) {
283
283
  actions: _optionalChain([render, 'optionalAccess', _11 => _11.actions])
284
284
  };
285
285
  const followUps = _optionalChain([remaining, 'access', _12 => _12.sections, 'optionalAccess', _13 => _13.length]) || _optionalChain([remaining, 'access', _14 => _14.actions, 'optionalAccess', _15 => _15.length]) ? `
286
- ${_chunkFUTYFVJRjs.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
286
+ ${_chunkCLOICRTKjs.renderCommandEnvelopeText.call(void 0, { render: remaining })}` : "";
287
287
  const notes = rows.flatMap(
288
288
  (row) => row.notes.map((note) => ` ${row.id}: ${note}`)
289
289
  );
@@ -360,7 +360,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
360
360
  console.error(USAGE);
361
361
  return 1;
362
362
  }
363
- const { search_ref: searchRef, ...result } = await new (0, _chunkCQ6B46NNjs.DeeplineClient)().search({
363
+ const { search_ref: searchRef, ...result } = await new (0, _chunkKWGB3RWAjs.DeeplineClient)().search({
364
364
  query,
365
365
  types,
366
366
  exclude,
@@ -374,7 +374,7 @@ async function runSearch(queryInput, options, types, exclude = []) {
374
374
  });
375
375
  if (searchRef) rememberSearchRef(searchRef);
376
376
  pointAtDescribe(result);
377
- _chunkFUTYFVJRjs.printCommandEnvelope.call(void 0, result, {
377
+ _chunkCLOICRTKjs.printCommandEnvelope.call(void 0, result, {
378
378
  json: options.json === true,
379
379
  text: renderSearchResults(result)
380
380
  });
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  getAuthedHttpClient,
3
3
  printCommandEnvelope
4
- } from "./chunk-BXRWG6ZG.mjs";
4
+ } from "./chunk-GB3KEA34.mjs";
5
5
  import {
6
6
  agentSessionIdFromEnvironment
7
- } from "./chunk-7F5HBT3S.mjs";
7
+ } from "./chunk-7WQGDKNO.mjs";
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
  import {
@@ -2,10 +2,10 @@ import {
2
2
  getAuthedHttpClient,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-BXRWG6ZG.mjs";
5
+ } from "./chunk-GB3KEA34.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-7F5HBT3S.mjs";
8
+ } from "./chunk-7WQGDKNO.mjs";
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -49,7 +49,7 @@ var SDK_RELEASE = {
49
49
  // getters keep their established compatibility behavior.
50
50
  // 0.3.1 deprecated the legacy `deepline enrich` command in favor of Plays.
51
51
  // 0.3.90 is the first deliberately versioned SDK release for API v3.
52
- version: "0.3.387",
52
+ version: "0.3.389",
53
53
  updateSummary: "Play grep now returns concise results with the matched fields and terms. Automatic CLI updates are enabled by default; use `deepline settings autoupdate off` to opt out, `deepline settings autoupdate on` to re-enable updates, or `deepline settings autoupdate pin <version>` to hold an exact release.",
54
54
  packageCapabilities: {
55
55
  updatePreferences: 1
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } 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
- var _chunkCPB7PL4Bjs = require('./chunk-CPB7PL4B.js');
3
+ var _chunkABLS54ZLjs = require('./chunk-ABLS54ZL.js');
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  var _child_process = require('child_process');
@@ -13,7 +13,7 @@ function npmSupportsAllowScripts(version) {
13
13
  }
14
14
  function readNpmVersion(env) {
15
15
  try {
16
- const plan = _chunkCPB7PL4Bjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
16
+ const plan = _chunkABLS54ZLjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
17
17
  const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
18
18
  encoding: "utf8",
19
19
  env,
@@ -14,7 +14,7 @@ var _chunkXNYIZMNQjs = require('./chunk-XNYIZMNQ.js');
14
14
  var _chunk7P5AA3SNjs = require('./chunk-7P5AA3SN.js');
15
15
 
16
16
 
17
- var _chunk7JETEXCLjs = require('./chunk-7JETEXCL.js');
17
+ var _chunkRPGSXBS3js = require('./chunk-RPGSXBS3.js');
18
18
 
19
19
  // src/errors.ts
20
20
  var CustomerDbQueryOutcomeUnknownError = (_class = class extends _chunk7P5AA3SNjs.DeeplineError {
@@ -743,9 +743,9 @@ function resolveCliCommandContext(inputConfig, requestedScope) {
743
743
  }
744
744
 
745
745
  // src/version.ts
746
- var SDK_VERSION = _chunk7JETEXCLjs.SDK_RELEASE.version;
747
- var SDK_API_MAJOR = _chunk7JETEXCLjs.SDK_RELEASE.contracts.api.currentMajor;
748
- var SDK_API_CONTRACT = _nullishCoalesce(_chunk7JETEXCLjs.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
746
+ var SDK_VERSION = _chunkRPGSXBS3js.SDK_RELEASE.version;
747
+ var SDK_API_MAJOR = _chunkRPGSXBS3js.SDK_RELEASE.contracts.api.currentMajor;
748
+ var SDK_API_CONTRACT = _nullishCoalesce(_chunkRPGSXBS3js.SDK_RELEASE.contracts.api.legacyWireIds[0], () => ( `api-v${SDK_API_MAJOR}`));
749
749
 
750
750
  // src/agent-runtime.ts
751
751
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveShellSpawn
3
- } from "./chunk-MTGIBXYZ.mjs";
3
+ } from "./chunk-CCIEPJSX.mjs";
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  import { spawnSync } from "child_process";