deepline 0.3.418 → 0.3.419

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/observability/scheduled-jobs.json +21 -2
  3. package/dist/cli/{auth-V5ACU3O2.mjs → auth-S4XGFFWB.mjs} +4 -4
  4. package/dist/cli/auth-SF265NLP.js +40 -0
  5. package/dist/cli/{billing-ZIRQHJFE.mjs → billing-3MM7VKKA.mjs} +4 -4
  6. package/dist/cli/{billing-UB4MHOT3.js → billing-WQMBRCK3.js} +73 -73
  7. package/dist/cli/{chunk-SWMW7CGZ.mjs → chunk-2ADW356Z.mjs} +4 -4
  8. package/dist/cli/{chunk-K6T5LK2V.js → chunk-2MQXRENZ.js} +20 -20
  9. package/dist/cli/{chunk-UMKUJEPH.js → chunk-2Y2RQZRO.js} +1 -1
  10. package/dist/cli/{chunk-VCXODFZY.mjs → chunk-3NUJRZN5.mjs} +2 -2
  11. package/dist/cli/{chunk-XMISTHAV.js → chunk-5R3CAKPM.js} +35 -35
  12. package/dist/cli/{chunk-RTK7HFI2.mjs → chunk-6LLEMZL5.mjs} +3 -3
  13. package/dist/cli/{chunk-32UTANSY.mjs → chunk-7IXS77PX.mjs} +1 -1
  14. package/dist/cli/{chunk-YKCQ6C72.mjs → chunk-BQIUAAPX.mjs} +5 -5
  15. package/dist/cli/{chunk-7L622O4Y.js → chunk-CKAQIJTU.js} +2 -2
  16. package/dist/cli/{chunk-ZTZO2CCM.js → chunk-D4P53G7A.js} +16 -16
  17. package/dist/cli/{chunk-X4L2TVBM.js → chunk-EP5EVGFD.js} +10 -10
  18. package/dist/cli/{chunk-W4DLZBGA.mjs → chunk-EPMYNLKZ.mjs} +1 -1
  19. package/dist/cli/{chunk-OPYLSD2Y.js → chunk-GEHD7ZHY.js} +6 -6
  20. package/dist/cli/{chunk-U4ZC7W7F.mjs → chunk-IK3XE6GT.mjs} +1 -1
  21. package/dist/cli/{chunk-MBD53IKH.mjs → chunk-JKDMQDJD.mjs} +3 -3
  22. package/dist/cli/{chunk-CC2IVEOS.js → chunk-JUBHX5FK.js} +6 -6
  23. package/dist/cli/{chunk-OX2RL4U2.mjs → chunk-KABBXKFO.mjs} +1 -1
  24. package/dist/cli/{chunk-IQD57S4D.js → chunk-LA7V3VIF.js} +79 -79
  25. package/dist/cli/{chunk-MN6AKSIF.mjs → chunk-LB7PZRYJ.mjs} +2 -2
  26. package/dist/cli/{chunk-YVJ45IPJ.mjs → chunk-LIZP3TPY.mjs} +1 -1
  27. package/dist/cli/{chunk-X6TVPUPJ.mjs → chunk-MUVGAGXH.mjs} +1 -1
  28. package/dist/cli/{chunk-Y26NGVRJ.js → chunk-NJI4U7IR.js} +8 -8
  29. package/dist/cli/{chunk-TBSHWXLW.js → chunk-NPXUFHMI.js} +52 -52
  30. package/dist/cli/{chunk-ZVIFW7LC.mjs → chunk-OVMJ57X5.mjs} +8 -8
  31. package/dist/cli/{chunk-TX7M4PHR.mjs → chunk-PGHT4ESO.mjs} +3 -3
  32. package/dist/cli/{chunk-AJ3NO7DO.js → chunk-PR5T2MON.js} +2 -2
  33. package/dist/cli/{chunk-MC2WIGSK.js → chunk-THGNECIR.js} +8 -8
  34. package/dist/cli/{chunk-IPKEHXR3.mjs → chunk-TLGTZ2XN.mjs} +2 -2
  35. package/dist/cli/{chunk-ZLPLABLC.js → chunk-VZSBJVI4.js} +4 -4
  36. package/dist/cli/{chunk-QMLU6FR6.js → chunk-WHXZGCKE.js} +26 -26
  37. package/dist/cli/{chunk-IRIY5HJ2.js → chunk-WPJBDOVV.js} +50 -50
  38. package/dist/cli/{chunk-XRAEC3CY.mjs → chunk-ZCINJS4P.mjs} +2 -2
  39. package/dist/cli/{csv-NUXKAO75.mjs → csv-JKBKQMJS.mjs} +3 -3
  40. package/dist/cli/{csv-YMB7KQ4Y.js → csv-SILKSRLY.js} +12 -12
  41. package/dist/cli/{db-DZZVILTC.js → db-HUOYJZ2S.js} +25 -25
  42. package/dist/cli/{db-KZDA6JI2.mjs → db-Y67OZBKB.mjs} +4 -4
  43. package/dist/cli/{describe-F3YVMAIW.mjs → describe-7PO235KZ.mjs} +12 -12
  44. package/dist/cli/{describe-AEPMZMC5.js → describe-RN25ACS6.js} +16 -16
  45. package/dist/cli/{executions-45F3UHOR.js → executions-4NQOE73P.js} +6 -6
  46. package/dist/cli/{executions-FZHTM5M6.mjs → executions-RNAT43OA.mjs} +4 -4
  47. package/dist/cli/{feedback-BB3Z4UEA.js → feedback-QW2H7PZ7.js} +7 -7
  48. package/dist/cli/{feedback-Z3DPAIUE.mjs → feedback-WCPPBNAK.mjs} +3 -3
  49. package/dist/cli/{git-VB7DKQIF.mjs → git-GLIWIFE3.mjs} +4 -4
  50. package/dist/cli/git-ODPWPPCD.js +24 -0
  51. package/dist/cli/index.js +131 -131
  52. package/dist/cli/index.mjs +36 -36
  53. package/dist/cli/{legacy-noops-FUCTWERE.mjs → legacy-noops-ADDQUU26.mjs} +4 -4
  54. package/dist/cli/{legacy-noops-KNXHDWXZ.js → legacy-noops-HUWR7BMO.js} +7 -7
  55. package/dist/cli/{monitors-JAA2QU5X.js → monitors-TBY3OEWL.js} +84 -84
  56. package/dist/cli/{monitors-QVY6M22O.mjs → monitors-ZR5BRAFH.mjs} +4 -4
  57. package/dist/cli/{org-6REABQZW.js → org-4JCEJFF4.js} +64 -64
  58. package/dist/cli/{org-J4SVIQHM.mjs → org-UBJ2J7I3.mjs} +4 -4
  59. package/dist/cli/{play-6JEILD2O.mjs → play-WD5JVYPK.mjs} +10 -10
  60. package/dist/cli/{play-2PSN3ZIQ.js → play-X3ULEXAW.js} +283 -283
  61. package/dist/cli/{providers-VWOLONCJ.mjs → providers-5FHAFCKF.mjs} +4 -4
  62. package/dist/cli/{providers-KC2TT6IK.js → providers-FPUQNBZT.js} +7 -7
  63. package/dist/cli/{quickstart-CP7L4OHB.js → quickstart-ARNCLYA5.js} +5 -5
  64. package/dist/cli/{quickstart-ZAC3IDFO.mjs → quickstart-XFQSAVDZ.mjs} +3 -3
  65. package/dist/cli/{search-ZN5ZNNMY.mjs → search-GPFQ7DVB.mjs} +5 -5
  66. package/dist/cli/search-TPHG6627.js +30 -0
  67. package/dist/cli/{secrets-LNUVVSXM.mjs → secrets-T4DP2OUW.mjs} +4 -4
  68. package/dist/cli/{secrets-V6SPFXBE.js → secrets-X4SI4ODH.js} +13 -13
  69. package/dist/cli/{sessions-5CZX2SXB.js → sessions-CMRGH7VP.js} +5 -5
  70. package/dist/cli/{sessions-7RW3QBGB.mjs → sessions-S374MOV3.mjs} +4 -4
  71. package/dist/cli/{settings-TSAEGFLE.js → settings-IWEDBHC4.js} +75 -75
  72. package/dist/cli/{settings-YEM3ZFDW.mjs → settings-RGXD3IYO.mjs} +8 -8
  73. package/dist/cli/{setup-JJD4K7W2.mjs → setup-N6UOP274.mjs} +7 -7
  74. package/dist/cli/{setup-AAHA5LHX.js → setup-PQHKVOYA.js} +42 -42
  75. package/dist/cli/skills-2LO7KAVM.js +29 -0
  76. package/dist/cli/{skills-PH7JSP56.mjs → skills-DHOK5DZB.mjs} +5 -5
  77. package/dist/cli/{tools-5GBFL3JE.mjs → tools-5Q4246NF.mjs} +12 -12
  78. package/dist/cli/tools-JGBXER7K.js +44 -0
  79. package/dist/cli/{update-IKTFZC6V.mjs → update-2LQIYQVX.mjs} +7 -7
  80. package/dist/cli/update-V7WJDCBC.js +31 -0
  81. package/dist/cli/{workflow-RNV56CI7.mjs → workflow-DBIMUE7K.mjs} +5 -5
  82. package/dist/cli/{workflow-ZFIZP6U6.js → workflow-LDRMZBCK.js} +15 -15
  83. package/dist/index.js +6 -6
  84. package/dist/index.mjs +3 -3
  85. package/dist/install-integrity.json +78 -78
  86. package/dist/release.d.mts +1 -1
  87. package/dist/release.d.ts +1 -1
  88. package/dist/release.js +2 -2
  89. package/dist/release.mjs +1 -1
  90. package/package.json +1 -1
  91. package/dist/cli/auth-3OX637KU.js +0 -40
  92. package/dist/cli/git-MFVTGD4N.js +0 -24
  93. package/dist/cli/search-FOUJGAMG.js +0 -30
  94. package/dist/cli/skills-RU3O66D5.js +0 -29
  95. package/dist/cli/tools-7Q3YFIFR.js +0 -44
  96. package/dist/cli/update-4RBEYEQ5.js +0 -31
@@ -5,7 +5,7 @@ var _chunk27GJKC5Qjs = require('./chunk-27GJKC5Q.js');
5
5
 
6
6
 
7
7
 
8
- var _chunkMC2WIGSKjs = require('./chunk-MC2WIGSK.js');
8
+ var _chunkTHGNECIRjs = require('./chunk-THGNECIR.js');
9
9
 
10
10
 
11
11
 
@@ -45,7 +45,7 @@ var _chunkHGFFYVXNjs = require('./chunk-HGFFYVXN.js');
45
45
 
46
46
 
47
47
 
48
- var _chunkX4L2TVBMjs = require('./chunk-X4L2TVBM.js');
48
+ var _chunkEP5EVGFDjs = require('./chunk-EP5EVGFD.js');
49
49
 
50
50
 
51
51
  var _chunkXDVT3GOMjs = require('./chunk-XDVT3GOM.js');
@@ -55,18 +55,18 @@ var _chunkXDVT3GOMjs = require('./chunk-XDVT3GOM.js');
55
55
 
56
56
 
57
57
 
58
- var _chunkK6T5LK2Vjs = require('./chunk-K6T5LK2V.js');
58
+ var _chunk2MQXRENZjs = require('./chunk-2MQXRENZ.js');
59
59
 
60
60
 
61
61
 
62
62
 
63
- var _chunk7L622O4Yjs = require('./chunk-7L622O4Y.js');
63
+ var _chunkCKAQIJTUjs = require('./chunk-CKAQIJTU.js');
64
64
 
65
65
 
66
66
 
67
67
 
68
68
 
69
- var _chunkTBSHWXLWjs = require('./chunk-TBSHWXLW.js');
69
+ var _chunkNPXUFHMIjs = require('./chunk-NPXUFHMI.js');
70
70
 
71
71
 
72
72
 
@@ -74,12 +74,12 @@ var _chunkTBSHWXLWjs = require('./chunk-TBSHWXLW.js');
74
74
 
75
75
 
76
76
 
77
- var _chunkCC2IVEOSjs = require('./chunk-CC2IVEOS.js');
77
+ var _chunkJUBHX5FKjs = require('./chunk-JUBHX5FK.js');
78
78
 
79
79
 
80
80
 
81
81
 
82
- var _chunkZLPLABLCjs = require('./chunk-ZLPLABLC.js');
82
+ var _chunkVZSBJVI4js = require('./chunk-VZSBJVI4.js');
83
83
 
84
84
 
85
85
  var _chunkPPDBRJRWjs = require('./chunk-PPDBRJRW.js');
@@ -158,10 +158,10 @@ var ToolCallRecovery = class _ToolCallRecovery {
158
158
  }
159
159
  };
160
160
  function pendingToolExecutionPath(input) {
161
- const config = _chunkZLPLABLCjs.resolveConfig.call(void 0, );
161
+ const config = _chunkVZSBJVI4js.resolveConfig.call(void 0, );
162
162
  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");
163
163
  return _path.join.call(void 0,
164
- _chunkZLPLABLCjs.sdkCliStateDirPath.call(void 0, config.baseUrl),
164
+ _chunkVZSBJVI4js.sdkCliStateDirPath.call(void 0, config.baseUrl),
165
165
  `pending-tool-execution-${fingerprint}.json`
166
166
  );
167
167
  }
@@ -456,13 +456,13 @@ function categoryEnumerationRender(summaries) {
456
456
  };
457
457
  }
458
458
  async function listToolCategories(emitJson, compact) {
459
- const client = new (0, _chunkX4L2TVBMjs.DeeplineClient)();
459
+ const client = new (0, _chunkEP5EVGFDjs.DeeplineClient)();
460
460
  if (!emitJson) {
461
461
  const summaries2 = (await client.listToolCategories()).map((category) => ({
462
462
  ...category,
463
463
  description: describeToolCategory(category.name)
464
464
  }));
465
- _chunkCC2IVEOSjs.printCommandEnvelope.call(void 0,
465
+ _chunkJUBHX5FKjs.printCommandEnvelope.call(void 0,
466
466
  { categories: summaries2, render: categoryEnumerationRender(summaries2) },
467
467
  { json: false }
468
468
  );
@@ -472,7 +472,7 @@ async function listToolCategories(emitJson, compact) {
472
472
  const items = rawTools.map(toListedTool);
473
473
  const summaries = aggregateCategorySummaries(rawTools);
474
474
  const outputItems = compact ? items.map(compactTool) : items;
475
- _chunkCC2IVEOSjs.printCommandEnvelope.call(void 0,
475
+ _chunkJUBHX5FKjs.printCommandEnvelope.call(void 0,
476
476
  {
477
477
  tools: outputItems,
478
478
  count: outputItems.length,
@@ -491,7 +491,7 @@ function unknownCategoryError(category, summaries, emitJson) {
491
491
  const known = summaries.map((item) => item.name);
492
492
  const message = `Unknown tool category "${category}". Run \`deepline tools list\` to browse categories.`;
493
493
  if (emitJson) {
494
- _chunkCC2IVEOSjs.printJson.call(void 0, {
494
+ _chunkJUBHX5FKjs.printJson.call(void 0, {
495
495
  ok: false,
496
496
  exitCode: 4,
497
497
  code: "TOOL_CATEGORY_NOT_FOUND",
@@ -505,13 +505,13 @@ function unknownCategoryError(category, summaries, emitJson) {
505
505
  const render = categoryEnumerationRender(summaries);
506
506
  console.error(message);
507
507
  console.error("");
508
- console.error(_chunkCC2IVEOSjs.renderCommandEnvelopeText.call(void 0, { render }).trimEnd());
508
+ console.error(_chunkJUBHX5FKjs.renderCommandEnvelopeText.call(void 0, { render }).trimEnd());
509
509
  console.error("");
510
510
  console.error(`Valid categories: ${known.join(", ")}`);
511
511
  return 4;
512
512
  }
513
513
  async function listToolsInCategory(category, emitJson) {
514
- const client = new (0, _chunkX4L2TVBMjs.DeeplineClient)();
514
+ const client = new (0, _chunkEP5EVGFDjs.DeeplineClient)();
515
515
  const { tools: rawTools, categories } = await client.listToolsInCategory(category);
516
516
  const summaries = categories.map((item) => ({
517
517
  ...item,
@@ -547,7 +547,7 @@ async function listToolsInCategory(category, emitJson) {
547
547
  }
548
548
  ]
549
549
  };
550
- _chunkCC2IVEOSjs.printCommandEnvelope.call(void 0,
550
+ _chunkJUBHX5FKjs.printCommandEnvelope.call(void 0,
551
551
  {
552
552
  category,
553
553
  total: rows.length,
@@ -560,7 +560,7 @@ async function listToolsInCategory(category, emitJson) {
560
560
  return 0;
561
561
  }
562
562
  async function listToolsForCategoryFilter(requestedCategories, emitJson, compact) {
563
- const client = new (0, _chunkX4L2TVBMjs.DeeplineClient)();
563
+ const client = new (0, _chunkEP5EVGFDjs.DeeplineClient)();
564
564
  const items = (await client.listTools({
565
565
  categories: requestedCategories.join(","),
566
566
  compact
@@ -589,7 +589,7 @@ async function listToolsForCategoryFilter(requestedCategories, emitJson, compact
589
589
  ]
590
590
  };
591
591
  const outputItems = compact ? items.map(compactTool) : items;
592
- _chunkCC2IVEOSjs.printCommandEnvelope.call(void 0,
592
+ _chunkJUBHX5FKjs.printCommandEnvelope.call(void 0,
593
593
  {
594
594
  tools: outputItems,
595
595
  count: outputItems.length,
@@ -608,13 +608,13 @@ async function listTools(category, options = {}) {
608
608
  const positional = _nullishCoalesce(_optionalChain([category, 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]), () => ( ""));
609
609
  const flagCategories = (_nullishCoalesce(options.categories, () => ( ""))).split(",").map((item) => item.trim()).filter(Boolean);
610
610
  const compact = options.compact !== false;
611
- const emitJson = options.json === true || _chunkCC2IVEOSjs.shouldEmitJson.call(void 0, );
611
+ const emitJson = options.json === true || _chunkJUBHX5FKjs.shouldEmitJson.call(void 0, );
612
612
  if (positional && flagCategories.length > 0) {
613
613
  const flagIsSameSingle = flagCategories.length === 1 && flagCategories[0] === positional;
614
614
  if (!flagIsSameSingle) {
615
615
  const message = `Category "${positional}" and --categories ${flagCategories.join(",")} disagree. Pass one: deepline tools list ${positional}`;
616
616
  if (emitJson) {
617
- _chunkCC2IVEOSjs.printJson.call(void 0, {
617
+ _chunkJUBHX5FKjs.printJson.call(void 0, {
618
618
  ok: false,
619
619
  exitCode: 2,
620
620
  code: "TOOL_LIST_CATEGORY_CONFLICT",
@@ -641,7 +641,7 @@ async function grepTools(queryInput, options = {}) {
641
641
  console.error("Usage: deepline tools grep <query> [--json]");
642
642
  return 1;
643
643
  }
644
- const client = new (0, _chunkX4L2TVBMjs.DeeplineClient)();
644
+ const client = new (0, _chunkEP5EVGFDjs.DeeplineClient)();
645
645
  const requestedCategories = options.categories ? options.categories.split(",").map((item) => item.trim()).filter(Boolean) : [];
646
646
  const mode = _nullishCoalesce(options.mode, () => ( "all"));
647
647
  const jsonOutput = options.json === true;
@@ -684,7 +684,7 @@ async function grepTools(queryInput, options = {}) {
684
684
  query,
685
685
  mode
686
686
  }) : null;
687
- _chunkCC2IVEOSjs.printCommandEnvelope.call(void 0,
687
+ _chunkJUBHX5FKjs.printCommandEnvelope.call(void 0,
688
688
  {
689
689
  tools: outputTools,
690
690
  count: outputTools.length,
@@ -702,7 +702,7 @@ async function grepTools(queryInput, options = {}) {
702
702
  } : {},
703
703
  commandTemplates: TOOL_COMMAND_TEMPLATES
704
704
  },
705
- { json: options.json || _chunkCC2IVEOSjs.shouldEmitJson.call(void 0, ) }
705
+ { json: options.json || _chunkJUBHX5FKjs.shouldEmitJson.call(void 0, ) }
706
706
  );
707
707
  return 0;
708
708
  }
@@ -817,7 +817,7 @@ Output:
817
817
  "--credentials-file must contain a nonempty JSON object of string credential values."
818
818
  );
819
819
  }
820
- const result = await new (0, _chunkX4L2TVBMjs.DeeplineClient)().setIntegrationCredentials(
820
+ const result = await new (0, _chunkEP5EVGFDjs.DeeplineClient)().setIntegrationCredentials(
821
821
  provider,
822
822
  credentials
823
823
  );
@@ -827,7 +827,7 @@ Output:
827
827
  );
828
828
  }
829
829
  const confirmation = { provider, credential_saved: true };
830
- if (_chunkCC2IVEOSjs.shouldEmitJson.call(void 0, options.json))
830
+ if (_chunkJUBHX5FKjs.shouldEmitJson.call(void 0, options.json))
831
831
  console.log(JSON.stringify(confirmation));
832
832
  else
833
833
  console.log(
@@ -867,7 +867,7 @@ Examples:
867
867
  json: Boolean(options.json)
868
868
  });
869
869
  });
870
- _chunkMC2WIGSKjs.registerDeprecatedSearchCommand.call(void 0, tools, () => ["tools", "monitors"]);
870
+ _chunkTHGNECIRjs.registerDeprecatedSearchCommand.call(void 0, tools, () => ["tools", "monitors"]);
871
871
  tools.command("grep <query>").description(
872
872
  "Literal grep over tool ids, descriptions, categories, and input fields."
873
873
  ).addHelpText(
@@ -898,7 +898,7 @@ Examples:
898
898
  });
899
899
  const addToolMetadataCommand = (command) => {
900
900
  let compatibilityMetadata;
901
- _chunkK6T5LK2Vjs.registerCompatibilityCatalog.call(void 0, command, () => ({
901
+ _chunk2MQXRENZjs.registerCompatibilityCatalog.call(void 0, command, () => ({
902
902
  toolId: command.args[0],
903
903
  acceptMetadata: (metadata) => {
904
904
  compatibilityMetadata = metadata;
@@ -968,7 +968,7 @@ Examples:
968
968
  process.exitCode = await narrowView();
969
969
  return;
970
970
  }
971
- const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-AEPMZMC5.js")));
971
+ const { describeAnything } = await Promise.resolve().then(() => _interopRequireWildcard(require("./describe-RN25ACS6.js")));
972
972
  process.exitCode = await describeAnything(
973
973
  toolId,
974
974
  {
@@ -1052,7 +1052,7 @@ Examples:
1052
1052
  options,
1053
1053
  void 0,
1054
1054
  true,
1055
- _chunk7L622O4Yjs.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
1055
+ _chunkCKAQIJTUjs.resolveCliMaintenancePolicy.call(void 0, command.optsWithGlobals())
1056
1056
  );
1057
1057
  }
1058
1058
  );
@@ -1060,13 +1060,13 @@ Examples:
1060
1060
  function beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) {
1061
1061
  let metadata;
1062
1062
  const startedAt = performance.now();
1063
- const baseUrl = _chunkZLPLABLCjs.resolveConfig.call(void 0, ).baseUrl;
1064
- _chunk7L622O4Yjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_compatibility_start" });
1065
- const result = _chunkK6T5LK2Vjs.runToolExecuteStage.call(void 0,
1063
+ const baseUrl = _chunkVZSBJVI4js.resolveConfig.call(void 0, ).baseUrl;
1064
+ _chunkCKAQIJTUjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_compatibility_start" });
1065
+ const result = _chunk2MQXRENZjs.runToolExecuteStage.call(void 0,
1066
1066
  "SDK compatibility",
1067
- () => _chunkTBSHWXLWjs.checkSdkCompatibility.call(void 0, baseUrl, {
1067
+ () => _chunkNPXUFHMIjs.checkSdkCompatibility.call(void 0, baseUrl, {
1068
1068
  command: "tools execute",
1069
- skillsVersion: _chunkZLPLABLCjs.readSdkSkillsLocalVersion.call(void 0, baseUrl),
1069
+ skillsVersion: _chunkVZSBJVI4js.readSdkSkillsLocalVersion.call(void 0, baseUrl),
1070
1070
  persistCache: false,
1071
1071
  timeoutMs: TOOL_EXECUTE_PREFLIGHT_TIMEOUT_MS,
1072
1072
  catalog: {
@@ -1080,7 +1080,7 @@ function beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) {
1080
1080
  })
1081
1081
  ).then(
1082
1082
  (compatibility) => {
1083
- _chunk7L622O4Yjs.recordCliTrace.call(void 0, {
1083
+ _chunkCKAQIJTUjs.recordCliTrace.call(void 0, {
1084
1084
  phase: "cli.tool_execute_compatibility_ready",
1085
1085
  ms: performance.now() - startedAt,
1086
1086
  ok: compatibility.error === null,
@@ -1089,7 +1089,7 @@ function beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) {
1089
1089
  return compatibility;
1090
1090
  },
1091
1091
  (error) => {
1092
- _chunk7L622O4Yjs.recordCliTrace.call(void 0, {
1092
+ _chunkCKAQIJTUjs.recordCliTrace.call(void 0, {
1093
1093
  phase: "cli.tool_execute_compatibility_ready",
1094
1094
  ms: performance.now() - startedAt,
1095
1095
  ok: false
@@ -1104,7 +1104,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1104
1104
  console.error("Usage: deepline tools describe <toolId> [--json]");
1105
1105
  return 1;
1106
1106
  }
1107
- const client = new (0, _chunkX4L2TVBMjs.DeeplineClient)();
1107
+ const client = new (0, _chunkEP5EVGFDjs.DeeplineClient)();
1108
1108
  let tool;
1109
1109
  try {
1110
1110
  tool = await _asyncNullishCoalesce(compatibilityMetadata, async () => ( await client.getTool(toolId)));
@@ -1158,7 +1158,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1158
1158
  const lines = toolPricingOnlyLines(tool, toolId);
1159
1159
  if (inferenceQuote)
1160
1160
  lines.push(...inferenceQuoteSummaryLines(inferenceQuote));
1161
- _chunkCC2IVEOSjs.printCommandEnvelope.call(void 0,
1161
+ _chunkJUBHX5FKjs.printCommandEnvelope.call(void 0,
1162
1162
  {
1163
1163
  toolId: String(tool.toolId || toolId),
1164
1164
  cost: _chunkZM2YPJQJjs.Capability.fromCatalogEntry(tool).describe().customerCost(),
@@ -1181,7 +1181,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1181
1181
  void 0,
1182
1182
  seedToolListScript
1183
1183
  );
1184
- _chunkCC2IVEOSjs.printCompactJson.call(void 0, {
1184
+ _chunkJUBHX5FKjs.printCompactJson.call(void 0, {
1185
1185
  toolId: contract.toolId,
1186
1186
  ...options.schemaOnly ? {
1187
1187
  inputSchema: contract.inputSchema,
@@ -1204,7 +1204,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1204
1204
  return 0;
1205
1205
  }
1206
1206
  if (options.contractJson) {
1207
- _chunkCC2IVEOSjs.printCompactJson.call(void 0, {
1207
+ _chunkJUBHX5FKjs.printCompactJson.call(void 0, {
1208
1208
  ..._chunkAD47BXN2js.toolContractJsonForDescribe.call(void 0,
1209
1209
  tool,
1210
1210
  toolId,
@@ -1218,7 +1218,7 @@ async function getTool(toolId, options = {}, compatibilityMetadata) {
1218
1218
  }
1219
1219
  const emitJson = options.json === true;
1220
1220
  if (emitJson) {
1221
- _chunkCC2IVEOSjs.printCompactJson.call(void 0, {
1221
+ _chunkJUBHX5FKjs.printCompactJson.call(void 0, {
1222
1222
  ..._chunkAD47BXN2js.toolMetadataJsonForDescribe.call(void 0, tool, toolId, seedToolListScript),
1223
1223
  ...modelDescription ? { modelOptions: modelDescription } : {},
1224
1224
  ...inferenceQuote ? { inferenceQuote } : {}
@@ -2079,7 +2079,7 @@ function parseExecuteOptions(toolId, options, output) {
2079
2079
  outputFormat = normalizeOutputFormat(options.outputFormat);
2080
2080
  }
2081
2081
  if (options.idempotencyKey !== void 0) {
2082
- _chunkX4L2TVBMjs.validateExecutionIdempotencyKey.call(void 0, options.idempotencyKey);
2082
+ _chunkEP5EVGFDjs.validateExecutionIdempotencyKey.call(void 0, options.idempotencyKey);
2083
2083
  }
2084
2084
  if (options.recoveryTimeoutMs !== void 0) {
2085
2085
  const parsed = Number(options.recoveryTimeoutMs);
@@ -2399,19 +2399,19 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2399
2399
  parsed = parseExecuteOptions(toolId, options, output);
2400
2400
  } catch (error) {
2401
2401
  if (wantsJson) {
2402
- _chunkCC2IVEOSjs.printJsonError.call(void 0, error);
2402
+ _chunkJUBHX5FKjs.printJsonError.call(void 0, error);
2403
2403
  } else {
2404
2404
  console.error(error instanceof Error ? error.message : String(error));
2405
2405
  }
2406
2406
  return error instanceof _chunkPPDBRJRWjs.DeeplineError && error.code === "IDEMPOTENCY_KEY_INVALID" ? 2 : 1;
2407
2407
  }
2408
- const cliInvocationId = _nullishCoalesce(_chunkK6T5LK2Vjs.getToolExecuteInvocationId.call(void 0, ), () => ( _chunkK6T5LK2Vjs.beginToolExecuteCommand.call(void 0, )));
2408
+ const cliInvocationId = _nullishCoalesce(_chunk2MQXRENZjs.getToolExecuteInvocationId.call(void 0, ), () => ( _chunk2MQXRENZjs.beginToolExecuteCommand.call(void 0, )));
2409
2409
  const deferredCompatibility = deferCompatibility ? beginDeferredToolExecuteCompatibility(toolId, cliInvocationId) : void 0;
2410
- const tracing = _chunk7L622O4Yjs.isCliTraceEnabled.call(void 0, );
2410
+ const tracing = _chunkCKAQIJTUjs.isCliTraceEnabled.call(void 0, );
2411
2411
  const clientStartedAt = tracing ? performance.now() : void 0;
2412
- const client = new (0, _chunkX4L2TVBMjs.DeeplineClient)();
2412
+ const client = new (0, _chunkEP5EVGFDjs.DeeplineClient)();
2413
2413
  if (clientStartedAt !== void 0) {
2414
- _chunk7L622O4Yjs.recordCliTrace.call(void 0, {
2414
+ _chunkCKAQIJTUjs.recordCliTrace.call(void 0, {
2415
2415
  phase: "cli.tool_execute_client_setup",
2416
2416
  ms: performance.now() - clientStartedAt
2417
2417
  });
@@ -2420,13 +2420,13 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2420
2420
  const readMetadata = async () => {
2421
2421
  if (metadata) return metadata;
2422
2422
  try {
2423
- metadata = await _chunkK6T5LK2Vjs.runToolExecuteStage.call(void 0,
2423
+ metadata = await _chunk2MQXRENZjs.runToolExecuteStage.call(void 0,
2424
2424
  "tool metadata lookup",
2425
2425
  () => client.getTool(parsed.toolId, { cliInvocationId })
2426
2426
  );
2427
2427
  } catch (error) {
2428
2428
  if (isMissingToolMetadataError(error)) {
2429
- const play = await _chunkK6T5LK2Vjs.runToolExecuteStage.call(void 0,
2429
+ const play = await _chunk2MQXRENZjs.runToolExecuteStage.call(void 0,
2430
2430
  "play alias lookup",
2431
2431
  () => findPlayForToolId(client, parsed.toolId, cliInvocationId)
2432
2432
  );
@@ -2465,7 +2465,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2465
2465
  metadata = await readMetadata();
2466
2466
  } catch (error) {
2467
2467
  if (error instanceof _chunkPPDBRJRWjs.DeeplineError && error.code === "PLAY_ALIAS_USED_AS_TOOL") {
2468
- if (wantsJson) _chunkCC2IVEOSjs.printJsonError.call(void 0, error);
2468
+ if (wantsJson) _chunkJUBHX5FKjs.printJsonError.call(void 0, error);
2469
2469
  else console.error(error.message);
2470
2470
  return 2;
2471
2471
  }
@@ -2481,7 +2481,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2481
2481
  metadata = await readMetadata();
2482
2482
  } catch (error) {
2483
2483
  if (error instanceof _chunkPPDBRJRWjs.DeeplineError && error.code === "PLAY_ALIAS_USED_AS_TOOL") {
2484
- if (wantsJson) _chunkCC2IVEOSjs.printJsonError.call(void 0, error);
2484
+ if (wantsJson) _chunkJUBHX5FKjs.printJsonError.call(void 0, error);
2485
2485
  else console.error(error.message);
2486
2486
  return 2;
2487
2487
  }
@@ -2507,11 +2507,11 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2507
2507
  responseIntent,
2508
2508
  ...idempotencyKey ? { idempotencyKey } : {},
2509
2509
  ...parsed.recoveryTimeoutMs !== void 0 ? { recoveryTimeoutMs: parsed.recoveryTimeoutMs } : {},
2510
- searchRef: _chunkMC2WIGSKjs.recentSearchRef.call(void 0, ),
2510
+ searchRef: _chunkTHGNECIRjs.recentSearchRef.call(void 0, ),
2511
2511
  cliInvocationId,
2512
2512
  onResponseReceived: _chunk27GJKC5Qjs.recordApiResponse,
2513
2513
  ...tracing ? {
2514
- onServerTiming: (serverTiming) => _chunk7L622O4Yjs.recordCliTrace.call(void 0, {
2514
+ onServerTiming: (serverTiming) => _chunkCKAQIJTUjs.recordCliTrace.call(void 0, {
2515
2515
  phase: "tool_execute_server_timing",
2516
2516
  cliInvocationId,
2517
2517
  serverTiming,
@@ -2522,13 +2522,13 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2522
2522
  let rawResponse;
2523
2523
  let successfulCompatibilityResponse;
2524
2524
  try {
2525
- const executeResult = await _chunkK6T5LK2Vjs.runToolExecuteStage.call(void 0,
2525
+ const executeResult = await _chunk2MQXRENZjs.runToolExecuteStage.call(void 0,
2526
2526
  "execute request",
2527
2527
  async () => {
2528
2528
  try {
2529
2529
  if (tracing) {
2530
2530
  submissionStartedAt = performance.now();
2531
- _chunk7L622O4Yjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2531
+ _chunkCKAQIJTUjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2532
2532
  }
2533
2533
  return await client.executeTool(parsed.toolId, parsed.params, {
2534
2534
  ...executeOptions,
@@ -2537,34 +2537,34 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2537
2537
  } catch (error) {
2538
2538
  if (!(error instanceof _chunkPPDBRJRWjs.DeeplineError) || error.code !== "ATOMIC_TOOL_EXECUTE_UNSUPPORTED")
2539
2539
  throw error;
2540
- const baseUrl = _chunkZLPLABLCjs.resolveConfig.call(void 0, ).baseUrl;
2540
+ const baseUrl = _chunkVZSBJVI4js.resolveConfig.call(void 0, ).baseUrl;
2541
2541
  if (maintenancePolicy !== "off") {
2542
- _chunkTBSHWXLWjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
2542
+ _chunkNPXUFHMIjs.flushDeferredSkillsSyncNotices.call(void 0, baseUrl);
2543
2543
  }
2544
- const compatibility = deferredCompatibility ? await deferredCompatibility.result : await _chunkK6T5LK2Vjs.runToolExecuteStage.call(void 0,
2544
+ const compatibility = deferredCompatibility ? await deferredCompatibility.result : await _chunk2MQXRENZjs.runToolExecuteStage.call(void 0,
2545
2545
  "SDK compatibility",
2546
- () => _chunkTBSHWXLWjs.checkSdkCompatibility.call(void 0, baseUrl, {
2546
+ () => _chunkNPXUFHMIjs.checkSdkCompatibility.call(void 0, baseUrl, {
2547
2547
  command: "tools execute",
2548
- skillsVersion: _chunkZLPLABLCjs.readSdkSkillsLocalVersion.call(void 0, baseUrl),
2548
+ skillsVersion: _chunkVZSBJVI4js.readSdkSkillsLocalVersion.call(void 0, baseUrl),
2549
2549
  persistCache: maintenancePolicy !== "off"
2550
2550
  })
2551
2551
  );
2552
2552
  if (compatibility.error) throw compatibility.error;
2553
2553
  metadata = _nullishCoalesce(_optionalChain([deferredCompatibility, 'optionalAccess', _28 => _28.readMetadata, 'call', _29 => _29()]), () => ( metadata));
2554
- if (maintenancePolicy !== "off" && await _chunkK6T5LK2Vjs.maybeAutoUpdateAndRelaunch.call(void 0,
2554
+ if (maintenancePolicy !== "off" && await _chunk2MQXRENZjs.maybeAutoUpdateAndRelaunch.call(void 0,
2555
2555
  compatibility.response,
2556
2556
  baseUrl,
2557
2557
  maintenancePolicy
2558
2558
  )) {
2559
2559
  return void 0;
2560
2560
  }
2561
- _chunkTBSHWXLWjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
2561
+ _chunkNPXUFHMIjs.enforceSdkCompatibilityResponse.call(void 0, compatibility.response, {
2562
2562
  quietAdvisory: wantsJson
2563
2563
  });
2564
2564
  if (maintenancePolicy !== "off") {
2565
- await _chunkK6T5LK2Vjs.runToolExecuteStage.call(void 0,
2565
+ await _chunk2MQXRENZjs.runToolExecuteStage.call(void 0,
2566
2566
  "agent skills sync",
2567
- () => _chunkTBSHWXLWjs.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
2567
+ () => _chunkNPXUFHMIjs.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
2568
2568
  update: _optionalChain([compatibility, 'access', _30 => _30.response, 'optionalAccess', _31 => _31.skills]),
2569
2569
  mode: "detached"
2570
2570
  })
@@ -2573,7 +2573,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2573
2573
  const legacyMetadata = await readMetadata();
2574
2574
  if (tracing) {
2575
2575
  submissionStartedAt = performance.now();
2576
- _chunk7L622O4Yjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2576
+ _chunkCKAQIJTUjs.recordCliTrace.call(void 0, { phase: "cli.tool_execute_request_start" });
2577
2577
  }
2578
2578
  return client.executeTool(parsed.toolId, parsed.params, {
2579
2579
  ...executeOptions,
@@ -2594,8 +2594,8 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2594
2594
  metadata = _nullishCoalesce(deferredCompatibility.readMetadata(), () => ( metadata));
2595
2595
  const updateRequiredBeforeExecution = error instanceof _chunkPPDBRJRWjs.DeeplineError && error.code === "SDK_UPDATE_REQUIRED";
2596
2596
  if (updateRequiredBeforeExecution && maintenancePolicy !== "off" && compatibility && !compatibility.error) {
2597
- const baseUrl = _chunkZLPLABLCjs.resolveConfig.call(void 0, ).baseUrl;
2598
- if (await _chunkK6T5LK2Vjs.maybeAutoUpdateAndRelaunch.call(void 0,
2597
+ const baseUrl = _chunkVZSBJVI4js.resolveConfig.call(void 0, ).baseUrl;
2598
+ if (await _chunk2MQXRENZjs.maybeAutoUpdateAndRelaunch.call(void 0,
2599
2599
  compatibility.response,
2600
2600
  baseUrl,
2601
2601
  maintenancePolicy
@@ -2614,7 +2614,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2614
2614
  failure = diagnosticError;
2615
2615
  }
2616
2616
  if (failure instanceof _chunkPPDBRJRWjs.DeeplineError && failure.code === "PLAY_ALIAS_USED_AS_TOOL") {
2617
- if (wantsJson) _chunkCC2IVEOSjs.printJsonError.call(void 0, failure);
2617
+ if (wantsJson) _chunkJUBHX5FKjs.printJsonError.call(void 0, failure);
2618
2618
  else console.error(failure.message);
2619
2619
  return 2;
2620
2620
  }
@@ -2641,9 +2641,9 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2641
2641
  successfulCompatibilityResponse = _nullishCoalesce(compatibilityResponse, () => ( void 0));
2642
2642
  const autoUpdate = _optionalChain([compatibilityResponse, 'optionalAccess', _37 => _37.auto_update]);
2643
2643
  if (maintenancePolicy !== "off" && compatibilityResponse && _optionalChain([autoUpdate, 'optionalAccess', _38 => _38.should_auto_update]) && !autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
2644
- await _chunkK6T5LK2Vjs.maybeAutoUpdateAndRelaunch.call(void 0,
2644
+ await _chunk2MQXRENZjs.maybeAutoUpdateAndRelaunch.call(void 0,
2645
2645
  compatibilityResponse,
2646
- _chunkZLPLABLCjs.resolveConfig.call(void 0, ).baseUrl,
2646
+ _chunkVZSBJVI4js.resolveConfig.call(void 0, ).baseUrl,
2647
2647
  maintenancePolicy
2648
2648
  );
2649
2649
  }
@@ -2678,7 +2678,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2678
2678
  const { _metadata, ...execution } = rawResponse;
2679
2679
  rawResponse = execution;
2680
2680
  }
2681
- const { listConversion, summary, baseEnvelope } = await _chunkK6T5LK2Vjs.runToolExecuteStage.call(void 0,
2681
+ const { listConversion, summary, baseEnvelope } = await _chunk2MQXRENZjs.runToolExecuteStage.call(void 0,
2682
2682
  "result formatting",
2683
2683
  async () => {
2684
2684
  const listConversion2 = _chunkHGFFYVXNjs.tryConvertToList.call(void 0, rawResponse, {
@@ -2713,9 +2713,9 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2713
2713
  }
2714
2714
  skillsSyncAttempted = true;
2715
2715
  try {
2716
- await _chunkK6T5LK2Vjs.runToolExecuteStage.call(void 0,
2716
+ await _chunk2MQXRENZjs.runToolExecuteStage.call(void 0,
2717
2717
  "agent skills sync",
2718
- () => _chunkTBSHWXLWjs.syncSdkSkillsIfNeeded.call(void 0, _chunkZLPLABLCjs.resolveConfig.call(void 0, ).baseUrl, {
2718
+ () => _chunkNPXUFHMIjs.syncSdkSkillsIfNeeded.call(void 0, _chunkVZSBJVI4js.resolveConfig.call(void 0, ).baseUrl, {
2719
2719
  update: deliveredCompatibilityResponse.skills,
2720
2720
  mode: "detached"
2721
2721
  })
@@ -2726,15 +2726,15 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2726
2726
  );
2727
2727
  }
2728
2728
  };
2729
- const printDeliveredEnvelope = (envelope, options2 = {}) => _chunkCC2IVEOSjs.printCommandEnvelope.call(void 0, envelope, {
2729
+ const printDeliveredEnvelope = (envelope, options2 = {}) => _chunkJUBHX5FKjs.printCommandEnvelope.call(void 0, envelope, {
2730
2730
  ...options2,
2731
2731
  json: _nullishCoalesce(options2.json, () => ( wantsJson))
2732
2732
  });
2733
2733
  const printDeliveredJsonEnvelope = async (envelope, options2 = {}) => {
2734
2734
  await syncSkillsForDeliveredOutput();
2735
- _chunkCC2IVEOSjs.printCommandEnvelope.call(void 0, envelope, { ...options2, json: true });
2735
+ _chunkJUBHX5FKjs.printCommandEnvelope.call(void 0, envelope, { ...options2, json: true });
2736
2736
  };
2737
- const delivered = await _chunkK6T5LK2Vjs.runToolExecuteStage.call(void 0, "output delivery", async () => {
2737
+ const delivered = await _chunk2MQXRENZjs.runToolExecuteStage.call(void 0, "output delivery", async () => {
2738
2738
  if (!parsed.outPath && (parsed.outputFormat === "json" || parsed.outputFormat === "auto" && wantsJson)) {
2739
2739
  await printDeliveredJsonEnvelope(baseEnvelope);
2740
2740
  return true;
@@ -2763,7 +2763,7 @@ async function executeTool(toolId, options, compatibilityMetadata, deferCompatib
2763
2763
  `${parsed.toolId} did not expose row-shaped output to write as CSV. ${inspection.inspectDescription} Run: ${inspection.inspect}`
2764
2764
  );
2765
2765
  if (wantsJson) {
2766
- _chunkCC2IVEOSjs.printJsonError.call(void 0, error);
2766
+ _chunkJUBHX5FKjs.printJsonError.call(void 0, error);
2767
2767
  } else {
2768
2768
  console.error(error.message);
2769
2769
  }
@@ -2858,13 +2858,13 @@ inspect: ${inspection.inspect}
2858
2858
  return true;
2859
2859
  });
2860
2860
  if (delivered) {
2861
- await _chunkK6T5LK2Vjs.runToolExecuteStage.call(void 0,
2861
+ await _chunk2MQXRENZjs.runToolExecuteStage.call(void 0,
2862
2862
  "acknowledge delivery",
2863
2863
  () => recovery.acknowledgeDelivery()
2864
2864
  );
2865
2865
  }
2866
2866
  if (delivered && deliveredCompatibilityResponse && deliveredCompatibilityResponse.update_required !== true) {
2867
- _chunkTBSHWXLWjs.enforceSdkCompatibilityResponse.call(void 0, deliveredCompatibilityResponse, {
2867
+ _chunkNPXUFHMIjs.enforceSdkCompatibilityResponse.call(void 0, deliveredCompatibilityResponse, {
2868
2868
  quietAdvisory: wantsJson || maintenancePolicy === "off" || _optionalChain([deliveredCompatibilityResponse, 'access', _40 => _40.auto_update, 'optionalAccess', _41 => _41.should_auto_update]) === true
2869
2869
  });
2870
2870
  }
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  getAuthedHttpClient,
3
3
  printCommandEnvelope
4
- } from "./chunk-W4DLZBGA.mjs";
4
+ } from "./chunk-EPMYNLKZ.mjs";
5
5
  import {
6
6
  agentSessionIdFromEnvironment
7
- } from "./chunk-OX2RL4U2.mjs";
7
+ } from "./chunk-KABBXKFO.mjs";
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
  import {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveShellSpawn
3
- } from "./chunk-RTK7HFI2.mjs";
3
+ } from "./chunk-6LLEMZL5.mjs";
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  import { spawnSync } from "child_process";
@@ -28,7 +28,7 @@ import {
28
28
  RUNTIME_ENVIRONMENT_TOKEN_HEADER,
29
29
  SDK_API_MAJOR,
30
30
  resolveConfig
31
- } from "./chunk-OX2RL4U2.mjs";
31
+ } from "./chunk-KABBXKFO.mjs";
32
32
  import {
33
33
  CustomerDbQueryOutcomeUnknownError
34
34
  } from "./chunk-MAMVGOSC.mjs";
@@ -1,10 +1,10 @@
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
3
 
4
- var _chunkCC2IVEOSjs = require('./chunk-CC2IVEOS.js');
4
+ var _chunkJUBHX5FKjs = require('./chunk-JUBHX5FK.js');
5
5
 
6
6
 
7
- var _chunkZLPLABLCjs = require('./chunk-ZLPLABLC.js');
7
+ var _chunkVZSBJVI4js = require('./chunk-VZSBJVI4.js');
8
8
 
9
9
  // src/cli/commands/sessions.ts
10
10
 
@@ -139,7 +139,7 @@ function currentSessionFile(agent) {
139
139
  const newestFirst = listSessionFiles(agent).sort(
140
140
  (a, b) => b.mtimeMs - a.mtimeMs
141
141
  );
142
- const sessionId = _chunkZLPLABLCjs.agentSessionIdFromEnvironment.call(void 0,
142
+ const sessionId = _chunkVZSBJVI4js.agentSessionIdFromEnvironment.call(void 0,
143
143
  process.env,
144
144
  agent === "auto" ? void 0 : agent === "claude" ? "claude_code" : "codex"
145
145
  );
@@ -451,7 +451,7 @@ function buildSessionUploadContent(raw) {
451
451
  return { encodedContent: encoded, needsChunking: true };
452
452
  }
453
453
  async function uploadPayload(path, payload) {
454
- const { http } = _chunkCC2IVEOSjs.getAuthedHttpClient.call(void 0, );
454
+ const { http } = _chunkJUBHX5FKjs.getAuthedHttpClient.call(void 0, );
455
455
  return await http.post(path, payload);
456
456
  }
457
457
  async function uploadChunkedSessions(sessions, options) {
@@ -484,7 +484,7 @@ async function uploadChunkedSessions(sessions, options) {
484
484
  ...options.rating ? { rating: options.rating } : {}
485
485
  });
486
486
  const sessionIds = sessions.map((session) => session.sessionId);
487
- _chunkCC2IVEOSjs.printCommandEnvelope.call(void 0,
487
+ _chunkJUBHX5FKjs.printCommandEnvelope.call(void 0,
488
488
  {
489
489
  ...response,
490
490
  ok: true,
@@ -516,7 +516,7 @@ async function handleSessionsSend(options) {
516
516
  filename: _path.basename.call(void 0, filePath),
517
517
  ...rating ? { rating } : {}
518
518
  });
519
- _chunkCC2IVEOSjs.printCommandEnvelope.call(void 0,
519
+ _chunkJUBHX5FKjs.printCommandEnvelope.call(void 0,
520
520
  {
521
521
  ...response2,
522
522
  ok: true,
@@ -566,7 +566,7 @@ async function handleSessionsSend(options) {
566
566
  ...rating ? { rating } : {}
567
567
  });
568
568
  const sessionIds = built.map((session) => session.sessionId);
569
- _chunkCC2IVEOSjs.printCommandEnvelope.call(void 0,
569
+ _chunkJUBHX5FKjs.printCommandEnvelope.call(void 0,
570
570
  {
571
571
  ...response,
572
572
  ok: true,
@@ -674,7 +674,7 @@ ${refreshMeta}
674
674
  </body>
675
675
  </html>`;
676
676
  _fs.writeFileSync.call(void 0, outputPath, html, "utf8");
677
- _chunkCC2IVEOSjs.printCommandEnvelope.call(void 0,
677
+ _chunkJUBHX5FKjs.printCommandEnvelope.call(void 0,
678
678
  {
679
679
  ok: true,
680
680
  file: outputPath,