deepline 0.3.398 → 0.3.399

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 (87) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/monitors/provider-monitor-state.ts +6 -0
  3. package/dist/cli/{auth-7ZBPAAZU.mjs → auth-QHVIMKL3.mjs} +4 -4
  4. package/dist/cli/auth-YYB4S5HO.js +40 -0
  5. package/dist/cli/{billing-QTWEEL27.mjs → billing-3V4GX5FX.mjs} +4 -4
  6. package/dist/cli/{billing-WHP3YMNQ.js → billing-O2HRFIPG.js} +73 -73
  7. package/dist/cli/{chunk-LCRQKI7D.mjs → chunk-2S44J5UG.mjs} +1 -1
  8. package/dist/cli/{chunk-JU3PF7WM.js → chunk-A3T7YPEP.js} +4 -4
  9. package/dist/cli/{chunk-52HHMLRM.mjs → chunk-AVTJXBXL.mjs} +5 -5
  10. package/dist/cli/{chunk-CTZJLQ7A.js → chunk-BX7ZF5Z7.js} +8 -8
  11. package/dist/cli/{chunk-NUBIAJI2.js → chunk-BZZX56J2.js} +6 -6
  12. package/dist/cli/{chunk-CH6EFAJ3.mjs → chunk-CCH3ZVR5.mjs} +1 -1
  13. package/dist/cli/{chunk-FDAMQFQ7.js → chunk-CI4Q6UP4.js} +50 -50
  14. package/dist/cli/{chunk-S22ZQZMU.js → chunk-CVTH2VUI.js} +6 -6
  15. package/dist/cli/{chunk-ATDUVJCW.mjs → chunk-DHLYCZWS.mjs} +3 -3
  16. package/dist/cli/{chunk-G6BP55EP.js → chunk-EFEMS43P.js} +26 -26
  17. package/dist/cli/{chunk-U46S43LV.js → chunk-EMNKA5WK.js} +2 -2
  18. package/dist/cli/{chunk-HFDBZXMV.js → chunk-GT4NODCJ.js} +1 -1
  19. package/dist/cli/{chunk-6CBU7W56.js → chunk-HNHFC3PM.js} +15 -15
  20. package/dist/cli/{chunk-Q3FNSWJG.js → chunk-IB6R2SZJ.js} +44 -44
  21. package/dist/cli/{chunk-OVUFHUMG.mjs → chunk-PQB2PTMA.mjs} +2 -2
  22. package/dist/cli/{chunk-6HXULNTW.mjs → chunk-T523SXCK.mjs} +2 -2
  23. package/dist/cli/{chunk-6DVXLWPB.mjs → chunk-VV6EPCDS.mjs} +2 -2
  24. package/dist/cli/{chunk-QP2TRM7M.mjs → chunk-XES27RSC.mjs} +1 -1
  25. package/dist/cli/{chunk-ZJ7HLJRF.mjs → chunk-XUHQWWJW.mjs} +1 -1
  26. package/dist/cli/{chunk-AWQNG55D.mjs → chunk-Y3MRTY2F.mjs} +1 -1
  27. package/dist/cli/{chunk-OU2RZYVS.js → chunk-YADFPKH2.js} +65 -65
  28. package/dist/cli/{chunk-J4WYPANC.js → chunk-ZKKXQQWL.js} +8 -8
  29. package/dist/cli/{chunk-IJU5YQSF.mjs → chunk-ZNWNAC7E.mjs} +3 -3
  30. package/dist/cli/{chunk-2QC2T7E3.mjs → chunk-ZPDNT7LJ.mjs} +4 -4
  31. package/dist/cli/{csv-NM25BBX7.js → csv-IDABZWW3.js} +12 -12
  32. package/dist/cli/{csv-TSBHKVNU.mjs → csv-Z5TYV7XE.mjs} +3 -3
  33. package/dist/cli/{db-JQN6SYLK.mjs → db-23MIKNVU.mjs} +4 -4
  34. package/dist/cli/{db-GBDNQJF3.js → db-4KKNX3Y2.js} +25 -25
  35. package/dist/cli/{describe-NVLINP5A.js → describe-RKZKZ7UR.js} +10 -10
  36. package/dist/cli/{describe-ETTGW5LT.mjs → describe-XNGCKRPN.mjs} +6 -6
  37. package/dist/cli/{executions-IH5JUPIT.js → executions-NTXHTAM6.js} +6 -6
  38. package/dist/cli/{executions-6S4KIVEY.mjs → executions-XUKNAELQ.mjs} +4 -4
  39. package/dist/cli/{feedback-ER375ZCB.js → feedback-6INY66DC.js} +7 -7
  40. package/dist/cli/{feedback-PGOZLNXU.mjs → feedback-LWJSTHZ2.mjs} +3 -3
  41. package/dist/cli/git-2TH3NROT.js +24 -0
  42. package/dist/cli/{git-7SBFCM52.mjs → git-CRKOKS7B.mjs} +4 -4
  43. package/dist/cli/index.js +89 -89
  44. package/dist/cli/index.mjs +32 -32
  45. package/dist/cli/{legacy-noops-IOEF2SB7.js → legacy-noops-LPTMKYC7.js} +7 -7
  46. package/dist/cli/{legacy-noops-Q4UQIOQN.mjs → legacy-noops-VVQQ7VUO.mjs} +4 -4
  47. package/dist/cli/{monitors-RZYBFY3Z.mjs → monitors-GI2GTZSG.mjs} +4 -4
  48. package/dist/cli/{monitors-NZ2J4YGD.js → monitors-HG6KO4XZ.js} +84 -84
  49. package/dist/cli/{org-ERUOT4B2.js → org-L3KNS3OS.js} +64 -64
  50. package/dist/cli/{org-JLSEM6GG.mjs → org-ZYKZP6CE.mjs} +4 -4
  51. package/dist/cli/{play-7TUO7YNG.js → play-537TGXWP.js} +231 -231
  52. package/dist/cli/{play-Z73VC7YR.mjs → play-64VPT37H.mjs} +7 -7
  53. package/dist/cli/{providers-ABKBK2C7.js → providers-6DBPDSLU.js} +7 -7
  54. package/dist/cli/{providers-7HIII2PW.mjs → providers-ISRDMPLU.mjs} +4 -4
  55. package/dist/cli/{quickstart-JBG5RTFZ.js → quickstart-53Z7F4YI.js} +5 -5
  56. package/dist/cli/{quickstart-QQAOCPCZ.mjs → quickstart-CACETI7N.mjs} +3 -3
  57. package/dist/cli/search-GAF5BS6N.js +30 -0
  58. package/dist/cli/{search-MT2Q64WC.mjs → search-ZUOMRAIV.mjs} +5 -5
  59. package/dist/cli/{secrets-ZFJPIT6B.mjs → secrets-7TPCHJM5.mjs} +4 -4
  60. package/dist/cli/{secrets-MEW6LLU5.js → secrets-TOUFAI3P.js} +13 -13
  61. package/dist/cli/{sessions-TBPU4S6M.js → sessions-7JX2XZSO.js} +5 -5
  62. package/dist/cli/{sessions-F2KVVZ2Z.mjs → sessions-D3HZ2E3P.mjs} +4 -4
  63. package/dist/cli/{settings-6VDZ6G5V.js → settings-IZ7FINUA.js} +74 -74
  64. package/dist/cli/{settings-LUDDM7HO.mjs → settings-LSFSVH3T.mjs} +7 -7
  65. package/dist/cli/{setup-IP2KTFYO.js → setup-FXSH7FIX.js} +41 -41
  66. package/dist/cli/{setup-MCEY473G.mjs → setup-ZF2VX7J5.mjs} +6 -6
  67. package/dist/cli/{skills-KMJ3CY4O.mjs → skills-I3ILXJPH.mjs} +4 -4
  68. package/dist/cli/skills-JT6CP6MI.js +29 -0
  69. package/dist/cli/{tools-KNLHQ3L6.js → tools-GZHXAZBL.js} +7 -7
  70. package/dist/cli/{tools-WY3PLUA7.mjs → tools-LW7Z2BLN.mjs} +6 -6
  71. package/dist/cli/update-5TD6XRQK.js +29 -0
  72. package/dist/cli/{update-XBV52OFM.mjs → update-BOK3AWHY.mjs} +6 -6
  73. package/dist/cli/{workflow-CO7XWS4D.js → workflow-5ZBCCWKH.js} +15 -15
  74. package/dist/cli/{workflow-5N5HMYDY.mjs → workflow-ZS3FBDO6.mjs} +5 -5
  75. package/dist/index.js +6 -6
  76. package/dist/index.mjs +3 -3
  77. package/dist/install-integrity.json +70 -70
  78. package/dist/release.d.mts +1 -1
  79. package/dist/release.d.ts +1 -1
  80. package/dist/release.js +2 -2
  81. package/dist/release.mjs +1 -1
  82. package/package.json +1 -1
  83. package/dist/cli/auth-3GA2ASQF.js +0 -40
  84. package/dist/cli/git-W6DBPLZO.js +0 -24
  85. package/dist/cli/search-QMQBC6SV.js +0 -30
  86. package/dist/cli/skills-EVIIEX6N.js +0 -29
  87. package/dist/cli/update-LVADY5YE.js +0 -29
@@ -5,7 +5,7 @@ var _chunkZAAKSJASjs = require('./chunk-ZAAKSJAS.js');
5
5
 
6
6
 
7
7
 
8
- var _chunkCTZJLQ7Ajs = require('./chunk-CTZJLQ7A.js');
8
+ var _chunkBX7ZF5Z7js = require('./chunk-BX7ZF5Z7.js');
9
9
 
10
10
 
11
11
 
@@ -45,7 +45,7 @@ var _chunkKB4SDX5Sjs = require('./chunk-KB4SDX5S.js');
45
45
 
46
46
 
47
47
 
48
- var _chunkNUBIAJI2js = require('./chunk-NUBIAJI2.js');
48
+ var _chunkBZZX56J2js = require('./chunk-BZZX56J2.js');
49
49
 
50
50
 
51
51
  var _chunkXDVT3GOMjs = require('./chunk-XDVT3GOM.js');
@@ -62,11 +62,11 @@ var _chunkQJBJZVG6js = require('./chunk-QJBJZVG6.js');
62
62
 
63
63
 
64
64
 
65
- var _chunkS22ZQZMUjs = require('./chunk-S22ZQZMU.js');
65
+ var _chunkCVTH2VUIjs = require('./chunk-CVTH2VUI.js');
66
66
 
67
67
 
68
68
 
69
- var _chunkJU3PF7WMjs = require('./chunk-JU3PF7WM.js');
69
+ var _chunkA3T7YPEPjs = require('./chunk-A3T7YPEP.js');
70
70
 
71
71
 
72
72
  var _chunk7P5AA3SNjs = require('./chunk-7P5AA3SN.js');
@@ -145,10 +145,10 @@ var ToolCallRecovery = class _ToolCallRecovery {
145
145
  }
146
146
  };
147
147
  function pendingToolExecutionPath(input) {
148
- const config = _chunkJU3PF7WMjs.resolveConfig.call(void 0, );
148
+ const config = _chunkA3T7YPEPjs.resolveConfig.call(void 0, );
149
149
  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(_chunkXDVT3GOMjs.stableStringify.call(void 0, input.params)).update("\0").update(input.responseIntent).digest("hex");
150
150
  return _path.join.call(void 0,
151
- _chunkJU3PF7WMjs.sdkCliStateDirPath.call(void 0, config.baseUrl),
151
+ _chunkA3T7YPEPjs.sdkCliStateDirPath.call(void 0, config.baseUrl),
152
152
  `pending-tool-execution-${fingerprint}.json`
153
153
  );
154
154
  }
@@ -436,12 +436,12 @@ function categoryEnumerationRender(summaries) {
436
436
  };
437
437
  }
438
438
  async function listToolCategories(emitJson, compact) {
439
- const client = new (0, _chunkNUBIAJI2js.DeeplineClient)();
439
+ const client = new (0, _chunkBZZX56J2js.DeeplineClient)();
440
440
  const rawTools = await client.listTools({ compact });
441
441
  const items = rawTools.map(toListedTool);
442
442
  const summaries = aggregateCategorySummaries(rawTools);
443
443
  const outputItems = compact ? items.map(compactTool) : items;
444
- _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0,
444
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0,
445
445
  {
446
446
  tools: outputItems,
447
447
  count: outputItems.length,
@@ -460,7 +460,7 @@ function unknownCategoryError(category, summaries, emitJson) {
460
460
  const known = summaries.map((item) => item.name);
461
461
  const message = `Unknown tool category "${category}". Run \`deepline tools list\` to browse categories.`;
462
462
  if (emitJson) {
463
- _chunkS22ZQZMUjs.printJson.call(void 0, {
463
+ _chunkCVTH2VUIjs.printJson.call(void 0, {
464
464
  ok: false,
465
465
  exitCode: 4,
466
466
  code: "TOOL_CATEGORY_NOT_FOUND",
@@ -474,13 +474,13 @@ function unknownCategoryError(category, summaries, emitJson) {
474
474
  const render = categoryEnumerationRender(summaries);
475
475
  console.error(message);
476
476
  console.error("");
477
- console.error(_chunkS22ZQZMUjs.renderCommandEnvelopeText.call(void 0, { render }).trimEnd());
477
+ console.error(_chunkCVTH2VUIjs.renderCommandEnvelopeText.call(void 0, { render }).trimEnd());
478
478
  console.error("");
479
479
  console.error(`Valid categories: ${known.join(", ")}`);
480
480
  return 4;
481
481
  }
482
482
  async function listToolsInCategory(category, emitJson) {
483
- const client = new (0, _chunkNUBIAJI2js.DeeplineClient)();
483
+ const client = new (0, _chunkBZZX56J2js.DeeplineClient)();
484
484
  const rawTools = await client.listTools({
485
485
  categories: category,
486
486
  compact: false
@@ -517,7 +517,7 @@ async function listToolsInCategory(category, emitJson) {
517
517
  }
518
518
  ]
519
519
  };
520
- _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0,
520
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0,
521
521
  {
522
522
  category,
523
523
  total: rows.length,
@@ -530,7 +530,7 @@ async function listToolsInCategory(category, emitJson) {
530
530
  return 0;
531
531
  }
532
532
  async function listToolsForCategoryFilter(requestedCategories, emitJson, compact) {
533
- const client = new (0, _chunkNUBIAJI2js.DeeplineClient)();
533
+ const client = new (0, _chunkBZZX56J2js.DeeplineClient)();
534
534
  const items = (await client.listTools({
535
535
  categories: requestedCategories.join(","),
536
536
  compact
@@ -559,7 +559,7 @@ async function listToolsForCategoryFilter(requestedCategories, emitJson, compact
559
559
  ]
560
560
  };
561
561
  const outputItems = compact ? items.map(compactTool) : items;
562
- _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0,
562
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0,
563
563
  {
564
564
  tools: outputItems,
565
565
  count: outputItems.length,
@@ -578,13 +578,13 @@ async function listTools(category, options = {}) {
578
578
  const positional = _nullishCoalesce(_optionalChain([category, 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]), () => ( ""));
579
579
  const flagCategories = (_nullishCoalesce(options.categories, () => ( ""))).split(",").map((item) => item.trim()).filter(Boolean);
580
580
  const compact = options.compact !== false;
581
- const emitJson = options.json === true || _chunkS22ZQZMUjs.shouldEmitJson.call(void 0, );
581
+ const emitJson = options.json === true || _chunkCVTH2VUIjs.shouldEmitJson.call(void 0, );
582
582
  if (positional && flagCategories.length > 0) {
583
583
  const flagIsSameSingle = flagCategories.length === 1 && flagCategories[0] === positional;
584
584
  if (!flagIsSameSingle) {
585
585
  const message = `Category "${positional}" and --categories ${flagCategories.join(",")} disagree. Pass one: deepline tools list ${positional}`;
586
586
  if (emitJson) {
587
- _chunkS22ZQZMUjs.printJson.call(void 0, {
587
+ _chunkCVTH2VUIjs.printJson.call(void 0, {
588
588
  ok: false,
589
589
  exitCode: 2,
590
590
  code: "TOOL_LIST_CATEGORY_CONFLICT",
@@ -611,7 +611,7 @@ async function grepTools(queryInput, options = {}) {
611
611
  console.error("Usage: deepline tools grep <query> [--json]");
612
612
  return 1;
613
613
  }
614
- const client = new (0, _chunkNUBIAJI2js.DeeplineClient)();
614
+ const client = new (0, _chunkBZZX56J2js.DeeplineClient)();
615
615
  const requestedCategories = options.categories ? options.categories.split(",").map((item) => item.trim()).filter(Boolean) : [];
616
616
  const mode = _nullishCoalesce(options.mode, () => ( "all"));
617
617
  const jsonOutput = options.json === true;
@@ -654,7 +654,7 @@ async function grepTools(queryInput, options = {}) {
654
654
  query,
655
655
  mode
656
656
  }) : null;
657
- _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0,
657
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0,
658
658
  {
659
659
  tools: outputTools,
660
660
  count: outputTools.length,
@@ -672,7 +672,7 @@ async function grepTools(queryInput, options = {}) {
672
672
  } : {},
673
673
  commandTemplates: TOOL_COMMAND_TEMPLATES
674
674
  },
675
- { json: options.json || _chunkS22ZQZMUjs.shouldEmitJson.call(void 0, ) }
675
+ { json: options.json || _chunkCVTH2VUIjs.shouldEmitJson.call(void 0, ) }
676
676
  );
677
677
  return 0;
678
678
  }
@@ -790,7 +790,7 @@ Output:
790
790
  "--credentials-file must contain a nonempty JSON object of string credential values."
791
791
  );
792
792
  }
793
- const result = await new (0, _chunkNUBIAJI2js.DeeplineClient)().setIntegrationCredentials(
793
+ const result = await new (0, _chunkBZZX56J2js.DeeplineClient)().setIntegrationCredentials(
794
794
  provider,
795
795
  credentials
796
796
  );
@@ -800,7 +800,7 @@ Output:
800
800
  );
801
801
  }
802
802
  const confirmation = { provider, credential_saved: true };
803
- if (_chunkS22ZQZMUjs.shouldEmitJson.call(void 0, options.json))
803
+ if (_chunkCVTH2VUIjs.shouldEmitJson.call(void 0, options.json))
804
804
  console.log(JSON.stringify(confirmation));
805
805
  else
806
806
  console.log(
@@ -840,7 +840,7 @@ Examples:
840
840
  json: Boolean(options.json)
841
841
  });
842
842
  });
843
- _chunkCTZJLQ7Ajs.registerDeprecatedSearchCommand.call(void 0, tools, () => ["tools", "monitors"]);
843
+ _chunkBX7ZF5Z7js.registerDeprecatedSearchCommand.call(void 0, tools, () => ["tools", "monitors"]);
844
844
  tools.command("grep <query>").description(
845
845
  "Literal grep over tool ids, descriptions, categories, and input fields."
846
846
  ).addHelpText(
@@ -941,7 +941,7 @@ Examples:
941
941
  process.exitCode = await narrowView();
942
942
  return;
943
943
  }
944
- const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-NVLINP5A.js")));
944
+ const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-RKZKZ7UR.js")));
945
945
  process.exitCode = await describeAnything(
946
946
  toolId,
947
947
  {
@@ -1027,7 +1027,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1027
1027
  console.error("Usage: deepline tools describe <toolId> [--json]");
1028
1028
  return 1;
1029
1029
  }
1030
- const client = new (0, _chunkNUBIAJI2js.DeeplineClient)();
1030
+ const client = new (0, _chunkBZZX56J2js.DeeplineClient)();
1031
1031
  let tool;
1032
1032
  try {
1033
1033
  tool = await _asyncNullishCoalesce(compatibilityMetadata, async () => ( await client.getTool(toolId)));
@@ -1081,7 +1081,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1081
1081
  const lines = toolPricingOnlyLines(tool, toolId);
1082
1082
  if (inferenceQuote)
1083
1083
  lines.push(...inferenceQuoteSummaryLines(inferenceQuote));
1084
- _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0,
1084
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0,
1085
1085
  {
1086
1086
  toolId: String(tool.toolId || toolId),
1087
1087
  cost: _chunkZM2YPJQJjs.Capability.fromCatalogEntry(tool).describe().customerCost(),
@@ -1104,7 +1104,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1104
1104
  void 0,
1105
1105
  seedToolListScript
1106
1106
  );
1107
- _chunkS22ZQZMUjs.printCompactJson.call(void 0, {
1107
+ _chunkCVTH2VUIjs.printCompactJson.call(void 0, {
1108
1108
  toolId: contract.toolId,
1109
1109
  ...options.schemaOnly ? {
1110
1110
  inputSchema: contract.inputSchema,
@@ -1127,7 +1127,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1127
1127
  return 0;
1128
1128
  }
1129
1129
  if (options.contractJson) {
1130
- _chunkS22ZQZMUjs.printCompactJson.call(void 0, {
1130
+ _chunkCVTH2VUIjs.printCompactJson.call(void 0, {
1131
1131
  ..._chunk7DRPTGCKjs.toolContractJsonForDescribe.call(void 0,
1132
1132
  tool,
1133
1133
  toolId,
@@ -1141,7 +1141,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1141
1141
  }
1142
1142
  const emitJson = options.json === true;
1143
1143
  if (emitJson) {
1144
- _chunkS22ZQZMUjs.printCompactJson.call(void 0, {
1144
+ _chunkCVTH2VUIjs.printCompactJson.call(void 0, {
1145
1145
  ..._chunk7DRPTGCKjs.toolMetadataJsonForDescribe.call(void 0, tool, toolId, seedToolListScript),
1146
1146
  ...modelDescription ? { modelOptions: modelDescription } : {},
1147
1147
  ...inferenceQuote ? { inferenceQuote } : {}
@@ -2002,7 +2002,7 @@ function parseExecuteOptions(toolId, options, output) {
2002
2002
  outputFormat = normalizeOutputFormat(options.outputFormat);
2003
2003
  }
2004
2004
  if (options.idempotencyKey !== void 0) {
2005
- _chunkNUBIAJI2js.validateExecutionIdempotencyKey.call(void 0, options.idempotencyKey);
2005
+ _chunkBZZX56J2js.validateExecutionIdempotencyKey.call(void 0, options.idempotencyKey);
2006
2006
  }
2007
2007
  if (options.recoveryTimeoutMs !== void 0) {
2008
2008
  const parsed = Number(options.recoveryTimeoutMs);
@@ -2302,20 +2302,20 @@ function buildToolExecuteRowArtifactEnvelope(input) {
2302
2302
  }
2303
2303
  async function executeTool(toolId, options) {
2304
2304
  const output = toolExecuteJsonOption(options.json);
2305
- const wantsJson = _chunkS22ZQZMUjs.shouldEmitJson.call(void 0, output.requested) || (_nullishCoalesce(options.outputFormat, () => ( "auto"))).trim().toLowerCase() !== "csv";
2305
+ const wantsJson = _chunkCVTH2VUIjs.shouldEmitJson.call(void 0, output.requested) || (_nullishCoalesce(options.outputFormat, () => ( "auto"))).trim().toLowerCase() !== "csv";
2306
2306
  let parsed;
2307
2307
  try {
2308
2308
  parsed = parseExecuteOptions(toolId, options, output);
2309
2309
  } catch (error) {
2310
2310
  if (wantsJson) {
2311
- _chunkS22ZQZMUjs.printJsonError.call(void 0, error);
2311
+ _chunkCVTH2VUIjs.printJsonError.call(void 0, error);
2312
2312
  } else {
2313
2313
  console.error(error instanceof Error ? error.message : String(error));
2314
2314
  }
2315
2315
  return error instanceof _chunk7P5AA3SNjs.DeeplineError && error.code === "IDEMPOTENCY_KEY_INVALID" ? 2 : 1;
2316
2316
  }
2317
2317
  const cliInvocationId = _nullishCoalesce(_chunkQJBJZVG6js.getToolExecuteInvocationId.call(void 0, ), () => ( _chunkQJBJZVG6js.beginToolExecuteCommand.call(void 0, )));
2318
- const client = new (0, _chunkNUBIAJI2js.DeeplineClient)();
2318
+ const client = new (0, _chunkBZZX56J2js.DeeplineClient)();
2319
2319
  let metadata;
2320
2320
  try {
2321
2321
  metadata = await _chunkQJBJZVG6js.runToolExecuteStage.call(void 0,
@@ -2330,7 +2330,7 @@ async function executeTool(toolId, options) {
2330
2330
  );
2331
2331
  if (play) {
2332
2332
  if (wantsJson) {
2333
- _chunkS22ZQZMUjs.printJsonError.call(void 0,
2333
+ _chunkCVTH2VUIjs.printJsonError.call(void 0,
2334
2334
  new Error(playAliasToolErrorMessage(parsed.toolId, play))
2335
2335
  );
2336
2336
  } else {
@@ -2343,7 +2343,7 @@ async function executeTool(toolId, options) {
2343
2343
  }
2344
2344
  if (_chunk7DRPTGCKjs.isPlayLikeTool.call(void 0, metadata)) {
2345
2345
  if (wantsJson) {
2346
- _chunkS22ZQZMUjs.printJsonError.call(void 0,
2346
+ _chunkCVTH2VUIjs.printJsonError.call(void 0,
2347
2347
  new Error(
2348
2348
  playLikeToolExecuteErrorMessage(
2349
2349
  parsed.toolId,
@@ -2391,7 +2391,7 @@ async function executeTool(toolId, options) {
2391
2391
  responseIntent,
2392
2392
  ...idempotencyKey ? { idempotencyKey } : {},
2393
2393
  ...parsed.recoveryTimeoutMs !== void 0 ? { recoveryTimeoutMs: parsed.recoveryTimeoutMs } : {},
2394
- searchRef: _chunkCTZJLQ7Ajs.recentSearchRef.call(void 0, ),
2394
+ searchRef: _chunkBX7ZF5Z7js.recentSearchRef.call(void 0, ),
2395
2395
  cliInvocationId,
2396
2396
  onResponseReceived: _chunkZAAKSJASjs.recordApiResponse
2397
2397
  }).catch((error) => {
@@ -2432,7 +2432,7 @@ async function executeTool(toolId, options) {
2432
2432
  const executeExitCode = toolExecuteExitCode(baseEnvelope);
2433
2433
  const delivered = await _chunkQJBJZVG6js.runToolExecuteStage.call(void 0, "output delivery", () => {
2434
2434
  if (!parsed.outPath && (parsed.outputFormat === "json" || parsed.outputFormat === "auto" && wantsJson)) {
2435
- _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0, baseEnvelope, { json: true });
2435
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0, baseEnvelope, { json: true });
2436
2436
  return true;
2437
2437
  }
2438
2438
  if (parsed.outputFormat === "json_file") {
@@ -2440,7 +2440,7 @@ async function executeTool(toolId, options) {
2440
2440
  rawResponse,
2441
2441
  `payload_${parsed.toolId}`
2442
2442
  );
2443
- _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0,
2443
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0,
2444
2444
  {
2445
2445
  ...baseEnvelope,
2446
2446
  local: {
@@ -2462,7 +2462,7 @@ async function executeTool(toolId, options) {
2462
2462
  `${parsed.toolId} did not expose row-shaped output to write as CSV. ${inspection.inspectDescription} Run: ${inspection.inspect}`
2463
2463
  );
2464
2464
  if (wantsJson) {
2465
- _chunkS22ZQZMUjs.printJsonError.call(void 0, error);
2465
+ _chunkCVTH2VUIjs.printJsonError.call(void 0, error);
2466
2466
  } else {
2467
2467
  console.error(error.message);
2468
2468
  }
@@ -2473,7 +2473,7 @@ async function executeTool(toolId, options) {
2473
2473
  rawResponse,
2474
2474
  `payload_${parsed.toolId}`
2475
2475
  );
2476
- _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0,
2476
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0,
2477
2477
  {
2478
2478
  ...baseEnvelope,
2479
2479
  local: {
@@ -2484,7 +2484,7 @@ async function executeTool(toolId, options) {
2484
2484
  );
2485
2485
  return true;
2486
2486
  }
2487
- _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0, baseEnvelope, { json: false });
2487
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0, baseEnvelope, { json: false });
2488
2488
  return true;
2489
2489
  }
2490
2490
  const rowOutput = _chunkHGFFYVXNjs.projectRowOutput.call(void 0, listConversion);
@@ -2508,7 +2508,7 @@ async function executeTool(toolId, options) {
2508
2508
  seededScript
2509
2509
  });
2510
2510
  if (parsed.outputFormat === "csv_file") {
2511
- _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0, materializedEnvelope, { json: true });
2511
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0, materializedEnvelope, { json: true });
2512
2512
  return true;
2513
2513
  }
2514
2514
  if (parsed.outPath) {
@@ -2516,7 +2516,7 @@ async function executeTool(toolId, options) {
2516
2516
  toolId: parsed.toolId,
2517
2517
  idempotencyKey
2518
2518
  });
2519
- _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0, materializedEnvelope, {
2519
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0, materializedEnvelope, {
2520
2520
  json: wantsJson,
2521
2521
  text: `Wrote ${csv.rowCount} row(s) to ${csv.path}
2522
2522
  inspect: ${inspection.inspect}
@@ -2525,7 +2525,7 @@ inspect: ${inspection.inspect}
2525
2525
  return true;
2526
2526
  }
2527
2527
  if (parsed.noPreview) {
2528
- _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0,
2528
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0,
2529
2529
  {
2530
2530
  ...materializedEnvelope,
2531
2531
  local: {
@@ -2538,7 +2538,7 @@ inspect: ${inspection.inspect}
2538
2538
  );
2539
2539
  return true;
2540
2540
  }
2541
- _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0, materializedEnvelope, {
2541
+ _chunkCVTH2VUIjs.printCommandEnvelope.call(void 0, materializedEnvelope, {
2542
2542
  json: wantsJson && parsed.outputFormat !== "csv"
2543
2543
  });
2544
2544
  return true;
@@ -2,7 +2,7 @@ import {
2
2
  argsWantJson,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-CH6EFAJ3.mjs";
5
+ } from "./chunk-CCH3ZVR5.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-ZJ7HLJRF.mjs";
28
+ } from "./chunk-XUHQWWJW.mjs";
29
29
 
30
30
  // src/cli/commands/auth.ts
31
31
  import {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  getAuthedHttpClient,
3
3
  printCommandEnvelope
4
- } from "./chunk-CH6EFAJ3.mjs";
4
+ } from "./chunk-CCH3ZVR5.mjs";
5
5
  import {
6
6
  agentSessionIdFromEnvironment
7
- } from "./chunk-ZJ7HLJRF.mjs";
7
+ } from "./chunk-XUHQWWJW.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-CH6EFAJ3.mjs";
5
+ } from "./chunk-CCH3ZVR5.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-ZJ7HLJRF.mjs";
8
+ } from "./chunk-XUHQWWJW.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.398",
52
+ version: "0.3.399",
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,
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-NXGCO4JB.mjs";
18
18
  import {
19
19
  SDK_RELEASE
20
- } from "./chunk-QP2TRM7M.mjs";
20
+ } from "./chunk-XES27RSC.mjs";
21
21
 
22
22
  // src/config.ts
23
23
  import {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveShellSpawn
3
- } from "./chunk-ATDUVJCW.mjs";
3
+ } from "./chunk-DHLYCZWS.mjs";
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  import { spawnSync } from "child_process";