deepline 0.3.397 → 0.3.398

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/play-runtime/scheduler-backends/absurd-deadline-reconciliation.ts +50 -26
  3. package/dist/cli/auth-3GA2ASQF.js +40 -0
  4. package/dist/cli/{auth-AZJFXGKP.mjs → auth-7ZBPAAZU.mjs} +4 -4
  5. package/dist/cli/{billing-MZAAUHGH.mjs → billing-QTWEEL27.mjs} +4 -4
  6. package/dist/cli/{billing-MQV5AGDJ.js → billing-WHP3YMNQ.js} +73 -73
  7. package/dist/cli/{chunk-YUDKBQUD.mjs → chunk-2QC2T7E3.mjs} +4 -4
  8. package/dist/cli/{chunk-F3BUFYKE.mjs → chunk-52HHMLRM.mjs} +5 -5
  9. package/dist/cli/{chunk-YLRME7MK.js → chunk-6CBU7W56.js} +15 -15
  10. package/dist/cli/{chunk-W3HMGKMI.mjs → chunk-6DVXLWPB.mjs} +2 -2
  11. package/dist/cli/{chunk-MYPH2LUU.mjs → chunk-6HXULNTW.mjs} +2 -2
  12. package/dist/cli/{chunk-MV7QRALK.mjs → chunk-ATDUVJCW.mjs} +3 -3
  13. package/dist/cli/{chunk-NOX2TCBP.mjs → chunk-AWQNG55D.mjs} +1 -1
  14. package/dist/cli/{chunk-RNSWDKBM.mjs → chunk-CH6EFAJ3.mjs} +1 -1
  15. package/dist/cli/{chunk-PSGEDGLT.js → chunk-CTZJLQ7A.js} +8 -8
  16. package/dist/cli/{chunk-VTF4RRWJ.js → chunk-FDAMQFQ7.js} +50 -50
  17. package/dist/cli/{chunk-SO7RUVTY.js → chunk-G6BP55EP.js} +26 -26
  18. package/dist/cli/{chunk-IZ74ABSX.js → chunk-HFDBZXMV.js} +1 -1
  19. package/dist/cli/{chunk-4D745XZO.mjs → chunk-IJU5YQSF.mjs} +3 -3
  20. package/dist/cli/{chunk-3VP34TAU.js → chunk-J4WYPANC.js} +8 -8
  21. package/dist/cli/{chunk-RYW4HPSM.js → chunk-JU3PF7WM.js} +4 -4
  22. package/dist/cli/{chunk-J7ABTQQ7.mjs → chunk-LCRQKI7D.mjs} +1 -1
  23. package/dist/cli/{chunk-UVXBVUZQ.js → chunk-NUBIAJI2.js} +6 -6
  24. package/dist/cli/{chunk-ZHUMDMOS.js → chunk-OU2RZYVS.js} +65 -65
  25. package/dist/cli/{chunk-WM2QEHZL.mjs → chunk-OVUFHUMG.mjs} +2 -2
  26. package/dist/cli/{chunk-K33MXVXQ.js → chunk-Q3FNSWJG.js} +44 -44
  27. package/dist/cli/{chunk-MRXMMERY.mjs → chunk-QP2TRM7M.mjs} +1 -1
  28. package/dist/cli/{chunk-DQ65ZVHN.js → chunk-S22ZQZMU.js} +6 -6
  29. package/dist/cli/{chunk-YSVORIEW.js → chunk-U46S43LV.js} +2 -2
  30. package/dist/cli/{chunk-2LDADJNO.mjs → chunk-ZJ7HLJRF.mjs} +1 -1
  31. package/dist/cli/{csv-AQBQ5O3I.js → csv-NM25BBX7.js} +12 -12
  32. package/dist/cli/{csv-MB7PJMYQ.mjs → csv-TSBHKVNU.mjs} +3 -3
  33. package/dist/cli/{db-JPUYC5RB.js → db-GBDNQJF3.js} +25 -25
  34. package/dist/cli/{db-L5IEI2AU.mjs → db-JQN6SYLK.mjs} +4 -4
  35. package/dist/cli/{describe-S6BFANVI.mjs → describe-ETTGW5LT.mjs} +6 -6
  36. package/dist/cli/{describe-6WT74AOR.js → describe-NVLINP5A.js} +10 -10
  37. package/dist/cli/{executions-L7I2ZW4Z.mjs → executions-6S4KIVEY.mjs} +4 -4
  38. package/dist/cli/{executions-6TMQTFP4.js → executions-IH5JUPIT.js} +6 -6
  39. package/dist/cli/{feedback-XF7CQGMD.js → feedback-ER375ZCB.js} +7 -7
  40. package/dist/cli/{feedback-DSJ63HK6.mjs → feedback-PGOZLNXU.mjs} +3 -3
  41. package/dist/cli/{git-C3ENM67D.mjs → git-7SBFCM52.mjs} +4 -4
  42. package/dist/cli/git-W6DBPLZO.js +24 -0
  43. package/dist/cli/index.js +89 -89
  44. package/dist/cli/index.mjs +32 -32
  45. package/dist/cli/{legacy-noops-B2NHWIVD.js → legacy-noops-IOEF2SB7.js} +7 -7
  46. package/dist/cli/{legacy-noops-VFG2K6HK.mjs → legacy-noops-Q4UQIOQN.mjs} +4 -4
  47. package/dist/cli/{monitors-ORFWOVZB.js → monitors-NZ2J4YGD.js} +84 -84
  48. package/dist/cli/{monitors-TCEDBDGY.mjs → monitors-RZYBFY3Z.mjs} +4 -4
  49. package/dist/cli/{org-T74CJESN.js → org-ERUOT4B2.js} +64 -64
  50. package/dist/cli/{org-45KREIKZ.mjs → org-JLSEM6GG.mjs} +4 -4
  51. package/dist/cli/{play-XHK2LPON.js → play-7TUO7YNG.js} +231 -231
  52. package/dist/cli/{play-MU7MYBIM.mjs → play-Z73VC7YR.mjs} +7 -7
  53. package/dist/cli/{providers-VYCXIJT5.mjs → providers-7HIII2PW.mjs} +4 -4
  54. package/dist/cli/{providers-4MGQKYFD.js → providers-ABKBK2C7.js} +7 -7
  55. package/dist/cli/{quickstart-47G3VEOT.js → quickstart-JBG5RTFZ.js} +5 -5
  56. package/dist/cli/{quickstart-H724EFM2.mjs → quickstart-QQAOCPCZ.mjs} +3 -3
  57. package/dist/cli/{search-VQHXEFQ4.mjs → search-MT2Q64WC.mjs} +5 -5
  58. package/dist/cli/search-QMQBC6SV.js +30 -0
  59. package/dist/cli/{secrets-ALLKCU35.js → secrets-MEW6LLU5.js} +13 -13
  60. package/dist/cli/{secrets-CPBNGA44.mjs → secrets-ZFJPIT6B.mjs} +4 -4
  61. package/dist/cli/{sessions-7RSQB7IX.mjs → sessions-F2KVVZ2Z.mjs} +4 -4
  62. package/dist/cli/{sessions-FKGAY7WQ.js → sessions-TBPU4S6M.js} +5 -5
  63. package/dist/cli/{settings-Y5BI42P7.js → settings-6VDZ6G5V.js} +74 -74
  64. package/dist/cli/{settings-UYSGV4IC.mjs → settings-LUDDM7HO.mjs} +7 -7
  65. package/dist/cli/{setup-VXQPEU3E.js → setup-IP2KTFYO.js} +41 -41
  66. package/dist/cli/{setup-L3ZBBTS4.mjs → setup-MCEY473G.mjs} +6 -6
  67. package/dist/cli/skills-EVIIEX6N.js +29 -0
  68. package/dist/cli/{skills-QHVDLSFE.mjs → skills-KMJ3CY4O.mjs} +4 -4
  69. package/dist/cli/{tools-YWU5QOQ5.js → tools-KNLHQ3L6.js} +7 -7
  70. package/dist/cli/{tools-LSCEK4K2.mjs → tools-WY3PLUA7.mjs} +6 -6
  71. package/dist/cli/update-LVADY5YE.js +29 -0
  72. package/dist/cli/{update-CU22OTBM.mjs → update-XBV52OFM.mjs} +6 -6
  73. package/dist/cli/{workflow-KQARK5BZ.mjs → workflow-5N5HMYDY.mjs} +5 -5
  74. package/dist/cli/{workflow-ERFLTRNX.js → workflow-CO7XWS4D.js} +15 -15
  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-CZJQU7B5.js +0 -40
  84. package/dist/cli/git-HYDZK2QR.js +0 -24
  85. package/dist/cli/search-3356ENLD.js +0 -30
  86. package/dist/cli/skills-DUZQTDTE.js +0 -29
  87. package/dist/cli/update-5LYQAI55.js +0 -29
@@ -5,7 +5,7 @@ var _chunkZAAKSJASjs = require('./chunk-ZAAKSJAS.js');
5
5
 
6
6
 
7
7
 
8
- var _chunkPSGEDGLTjs = require('./chunk-PSGEDGLT.js');
8
+ var _chunkCTZJLQ7Ajs = require('./chunk-CTZJLQ7A.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 _chunkUVXBVUZQjs = require('./chunk-UVXBVUZQ.js');
48
+ var _chunkNUBIAJI2js = require('./chunk-NUBIAJI2.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 _chunkDQ65ZVHNjs = require('./chunk-DQ65ZVHN.js');
65
+ var _chunkS22ZQZMUjs = require('./chunk-S22ZQZMU.js');
66
66
 
67
67
 
68
68
 
69
- var _chunkRYW4HPSMjs = require('./chunk-RYW4HPSM.js');
69
+ var _chunkJU3PF7WMjs = require('./chunk-JU3PF7WM.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 = _chunkRYW4HPSMjs.resolveConfig.call(void 0, );
148
+ const config = _chunkJU3PF7WMjs.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
- _chunkRYW4HPSMjs.sdkCliStateDirPath.call(void 0, config.baseUrl),
151
+ _chunkJU3PF7WMjs.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, _chunkUVXBVUZQjs.DeeplineClient)();
439
+ const client = new (0, _chunkNUBIAJI2js.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
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
444
+ _chunkS22ZQZMUjs.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
- _chunkDQ65ZVHNjs.printJson.call(void 0, {
463
+ _chunkS22ZQZMUjs.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(_chunkDQ65ZVHNjs.renderCommandEnvelopeText.call(void 0, { render }).trimEnd());
477
+ console.error(_chunkS22ZQZMUjs.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, _chunkUVXBVUZQjs.DeeplineClient)();
483
+ const client = new (0, _chunkNUBIAJI2js.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
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
520
+ _chunkS22ZQZMUjs.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, _chunkUVXBVUZQjs.DeeplineClient)();
533
+ const client = new (0, _chunkNUBIAJI2js.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
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
562
+ _chunkS22ZQZMUjs.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 || _chunkDQ65ZVHNjs.shouldEmitJson.call(void 0, );
581
+ const emitJson = options.json === true || _chunkS22ZQZMUjs.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
- _chunkDQ65ZVHNjs.printJson.call(void 0, {
587
+ _chunkS22ZQZMUjs.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, _chunkUVXBVUZQjs.DeeplineClient)();
614
+ const client = new (0, _chunkNUBIAJI2js.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
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
657
+ _chunkS22ZQZMUjs.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 || _chunkDQ65ZVHNjs.shouldEmitJson.call(void 0, ) }
675
+ { json: options.json || _chunkS22ZQZMUjs.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, _chunkUVXBVUZQjs.DeeplineClient)().setIntegrationCredentials(
793
+ const result = await new (0, _chunkNUBIAJI2js.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 (_chunkDQ65ZVHNjs.shouldEmitJson.call(void 0, options.json))
803
+ if (_chunkS22ZQZMUjs.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
- _chunkPSGEDGLTjs.registerDeprecatedSearchCommand.call(void 0, tools, () => ["tools", "monitors"]);
843
+ _chunkCTZJLQ7Ajs.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-6WT74AOR.js")));
944
+ const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-NVLINP5A.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, _chunkUVXBVUZQjs.DeeplineClient)();
1030
+ const client = new (0, _chunkNUBIAJI2js.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
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
1084
+ _chunkS22ZQZMUjs.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
- _chunkDQ65ZVHNjs.printCompactJson.call(void 0, {
1107
+ _chunkS22ZQZMUjs.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
- _chunkDQ65ZVHNjs.printCompactJson.call(void 0, {
1130
+ _chunkS22ZQZMUjs.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
- _chunkDQ65ZVHNjs.printCompactJson.call(void 0, {
1144
+ _chunkS22ZQZMUjs.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
- _chunkUVXBVUZQjs.validateExecutionIdempotencyKey.call(void 0, options.idempotencyKey);
2005
+ _chunkNUBIAJI2js.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 = _chunkDQ65ZVHNjs.shouldEmitJson.call(void 0, output.requested) || (_nullishCoalesce(options.outputFormat, () => ( "auto"))).trim().toLowerCase() !== "csv";
2305
+ const wantsJson = _chunkS22ZQZMUjs.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
- _chunkDQ65ZVHNjs.printJsonError.call(void 0, error);
2311
+ _chunkS22ZQZMUjs.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, _chunkUVXBVUZQjs.DeeplineClient)();
2318
+ const client = new (0, _chunkNUBIAJI2js.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
- _chunkDQ65ZVHNjs.printJsonError.call(void 0,
2333
+ _chunkS22ZQZMUjs.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
- _chunkDQ65ZVHNjs.printJsonError.call(void 0,
2346
+ _chunkS22ZQZMUjs.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: _chunkPSGEDGLTjs.recentSearchRef.call(void 0, ),
2394
+ searchRef: _chunkCTZJLQ7Ajs.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
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0, baseEnvelope, { json: true });
2435
+ _chunkS22ZQZMUjs.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
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
2443
+ _chunkS22ZQZMUjs.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
- _chunkDQ65ZVHNjs.printJsonError.call(void 0, error);
2465
+ _chunkS22ZQZMUjs.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
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
2476
+ _chunkS22ZQZMUjs.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
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0, baseEnvelope, { json: false });
2487
+ _chunkS22ZQZMUjs.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
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0, materializedEnvelope, { json: true });
2511
+ _chunkS22ZQZMUjs.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
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0, materializedEnvelope, {
2519
+ _chunkS22ZQZMUjs.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
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0,
2528
+ _chunkS22ZQZMUjs.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
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0, materializedEnvelope, {
2541
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0, materializedEnvelope, {
2542
2542
  json: wantsJson && parsed.outputFormat !== "csv"
2543
2543
  });
2544
2544
  return true;
@@ -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.397",
52
+ version: "0.3.398",
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,
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunkRYW4HPSMjs = require('./chunk-RYW4HPSM.js');
6
+ var _chunkJU3PF7WMjs = require('./chunk-JU3PF7WM.js');
7
7
 
8
8
 
9
9
 
@@ -226,8 +226,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
226
226
  var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
227
227
  var defaultBrowserCommandRunner = childProcess;
228
228
  function getAuthedHttpClient() {
229
- const config = _chunkRYW4HPSMjs.resolveConfig.call(void 0, );
230
- return { config, http: new (0, _chunkRYW4HPSMjs.HttpClient)(config) };
229
+ const config = _chunkJU3PF7WMjs.resolveConfig.call(void 0, );
230
+ return { config, http: new (0, _chunkJU3PF7WMjs.HttpClient)(config) };
231
231
  }
232
232
  function stableOsUserId() {
233
233
  try {
@@ -567,7 +567,7 @@ function collectLocalEnvInfo() {
567
567
  os: `${process.platform} ${process.arch}`,
568
568
  node_version: process.version,
569
569
  home_dir: homeDir,
570
- agent_runtime: _chunkRYW4HPSMjs.detectAgentRuntime.call(void 0, )
570
+ agent_runtime: _chunkJU3PF7WMjs.detectAgentRuntime.call(void 0, )
571
571
  };
572
572
  const env = process.env;
573
573
  const optional = {
@@ -814,9 +814,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
814
814
  }
815
815
  function withAgentCommandContext(value) {
816
816
  const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
817
- return _chunkRYW4HPSMjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
817
+ return _chunkJU3PF7WMjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
818
818
  ...valueRecord,
819
- command_context: _chunkRYW4HPSMjs.resolveCliCommandContext.call(void 0, )
819
+ command_context: _chunkJU3PF7WMjs.resolveCliCommandContext.call(void 0, )
820
820
  } : value;
821
821
  }
822
822
  function printJson(value, fields) {
@@ -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 _chunkZHUMDMOSjs = require('./chunk-ZHUMDMOS.js');
3
+ var _chunkOU2RZYVSjs = require('./chunk-OU2RZYVS.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 = _chunkZHUMDMOSjs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
16
+ const plan = _chunkOU2RZYVSjs.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,
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-NXGCO4JB.mjs";
18
18
  import {
19
19
  SDK_RELEASE
20
- } from "./chunk-MRXMMERY.mjs";
20
+ } from "./chunk-QP2TRM7M.mjs";
21
21
 
22
22
  // src/config.ts
23
23
  import {
@@ -4,12 +4,12 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkDQ65ZVHNjs = require('./chunk-DQ65ZVHN.js');
8
- require('./chunk-RYW4HPSM.js');
7
+ var _chunkS22ZQZMUjs = require('./chunk-S22ZQZMU.js');
8
+ require('./chunk-JU3PF7WM.js');
9
9
  require('./chunk-Q2E4E4FJ.js');
10
10
  require('./chunk-XNYIZMNQ.js');
11
11
  require('./chunk-7P5AA3SN.js');
12
- require('./chunk-IZ74ABSX.js');
12
+ require('./chunk-HFDBZXMV.js');
13
13
  require('./chunk-OG64RBAC.js');
14
14
  require('./chunk-COGTRVWW.js');
15
15
 
@@ -127,7 +127,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
127
127
  column.length,
128
128
  ...rows.map((row) => {
129
129
  const value = _nullishCoalesce(row[column], () => ( ""));
130
- return (verbose ? value : _chunkDQ65ZVHNjs.clip.call(void 0, value, 42)).length;
130
+ return (verbose ? value : _chunkS22ZQZMUjs.clip.call(void 0, value, 42)).length;
131
131
  })
132
132
  )
133
133
  ])
@@ -137,7 +137,7 @@ function renderTable(rows, totalRows, verbose, footer = `showing ${rows.length}
137
137
  const body = rows.map(
138
138
  (row) => columns.map((column) => {
139
139
  const raw = _nullishCoalesce(row[column], () => ( ""));
140
- const display = verbose ? raw : _chunkDQ65ZVHNjs.clip.call(void 0, raw, 42);
140
+ const display = verbose ? raw : _chunkS22ZQZMUjs.clip.call(void 0, raw, 42);
141
141
  return display.padEnd(widths[column]);
142
142
  }).join(" | ")
143
143
  );
@@ -157,7 +157,7 @@ async function handleCsvShow(path, options, command) {
157
157
  { exitCode: 2 }
158
158
  );
159
159
  }
160
- const allRows = _chunkDQ65ZVHNjs.readCsvRows.call(void 0, csvPath);
160
+ const allRows = _chunkS22ZQZMUjs.readCsvRows.call(void 0, csvPath);
161
161
  const [rowStart, rowEnd] = parseRowRange(options.rows);
162
162
  const rows = options.summary && options.rows === void 0 ? allRows : selectRows(allRows, rowStart, rowEnd);
163
163
  const { rows: selected, columns } = selectColumns(
@@ -170,7 +170,7 @@ async function handleCsvShow(path, options, command) {
170
170
  if (options.summary) {
171
171
  const summaries = summarizeColumns(selected, columns);
172
172
  if (format === "json") {
173
- _chunkDQ65ZVHNjs.printJson.call(void 0, {
173
+ _chunkS22ZQZMUjs.printJson.call(void 0, {
174
174
  rows: summaries,
175
175
  total_rows: selected.length,
176
176
  source_total_rows: allRows.length
@@ -179,7 +179,7 @@ async function handleCsvShow(path, options, command) {
179
179
  }
180
180
  const displayRows = summaryDisplayRows(summaries);
181
181
  if (format === "csv") {
182
- process.stdout.write(_chunkDQ65ZVHNjs.csvStringFromRows.call(void 0, displayRows));
182
+ process.stdout.write(_chunkS22ZQZMUjs.csvStringFromRows.call(void 0, displayRows));
183
183
  return;
184
184
  }
185
185
  process.stdout.write(
@@ -194,7 +194,7 @@ async function handleCsvShow(path, options, command) {
194
194
  return;
195
195
  }
196
196
  if (format === "json") {
197
- _chunkDQ65ZVHNjs.printJson.call(void 0, {
197
+ _chunkS22ZQZMUjs.printJson.call(void 0, {
198
198
  rows: selected.map((row, index) => ({ __row: rowStart + index, ...row }))
199
199
  });
200
200
  return;
@@ -437,7 +437,7 @@ async function handleCsvRenderStart(options) {
437
437
  if (log) {
438
438
  detail = `
439
439
  CSV render log:
440
- ${_chunkDQ65ZVHNjs.clip.call(void 0, log, 2e3)}`;
440
+ ${_chunkS22ZQZMUjs.clip.call(void 0, log, 2e3)}`;
441
441
  }
442
442
  } catch (e7) {
443
443
  }
@@ -488,7 +488,7 @@ async function handleCsvRenderStatus(options) {
488
488
  if (payload.pid) lines.push(`Render PID: ${payload.pid}`);
489
489
  if (payload.url) lines.push(`Render URL: ${payload.url}`);
490
490
  lines.push(`Render Health: ${payload.health_status}`);
491
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0, payload, {
491
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0, payload, {
492
492
  json: options.json,
493
493
  text: `${lines.join("\n")}
494
494
  `
@@ -524,7 +524,7 @@ async function handleCsvRenderStop(options) {
524
524
  };
525
525
  const text = stopped.length > 0 ? `Stopped CSV render process(es): ${stopped.join(" ")}
526
526
  ` : "No running CSV render process found.\n";
527
- _chunkDQ65ZVHNjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
527
+ _chunkS22ZQZMUjs.printCommandEnvelope.call(void 0, payload, { json: options.json, text });
528
528
  }
529
529
  async function handleCsvRender(action, options) {
530
530
  const normalized = _nullishCoalesce(action, () => ( "start"));
@@ -4,12 +4,12 @@ import {
4
4
  printCommandEnvelope,
5
5
  printJson,
6
6
  readCsvRows
7
- } from "./chunk-RNSWDKBM.mjs";
8
- import "./chunk-2LDADJNO.mjs";
7
+ } from "./chunk-CH6EFAJ3.mjs";
8
+ import "./chunk-ZJ7HLJRF.mjs";
9
9
  import "./chunk-YHPYUZZX.mjs";
10
10
  import "./chunk-DLIRSHV6.mjs";
11
11
  import "./chunk-NXGCO4JB.mjs";
12
- import "./chunk-MRXMMERY.mjs";
12
+ import "./chunk-QP2TRM7M.mjs";
13
13
  import "./chunk-WZYKRD7T.mjs";
14
14
  import "./chunk-KRD6H754.mjs";
15
15