deepline 0.3.556 → 0.3.557

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 (144) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/cli/auth-F7QPLPTB.js +44 -0
  3. package/dist/cli/{auth-MT7DWCZO.mjs → auth-SGWFS2DS.mjs} +5 -5
  4. package/dist/cli/{billing-3HHUTNME.js → billing-G6C2LUSN.js} +99 -99
  5. package/dist/cli/{billing-4NOM52PO.mjs → billing-XJZX3JSG.mjs} +8 -8
  6. package/dist/cli/{chunk-ZGOTBBY3.mjs → chunk-24PL5QN5.mjs} +1 -1
  7. package/dist/cli/{chunk-G6BX5VJN.js → chunk-25SOYGAX.js} +274 -274
  8. package/dist/cli/{chunk-VCYPHVUE.mjs → chunk-2TTAHHSJ.mjs} +2 -2
  9. package/dist/cli/{chunk-LY5MMXFF.js → chunk-2YT2TFNX.js} +17 -2
  10. package/dist/cli/{chunk-TGUQET3O.mjs → chunk-4AE3A4SL.mjs} +1 -1
  11. package/dist/cli/{chunk-HJO3MZ4M.mjs → chunk-4YNKJTCP.mjs} +2 -2
  12. package/dist/cli/{chunk-7MD36QLK.js → chunk-5H7BLMNH.js} +4 -4
  13. package/dist/cli/{chunk-JRYF5W3A.mjs → chunk-5RVSMMQV.mjs} +2 -2
  14. package/dist/cli/{chunk-LU3OLGF3.js → chunk-5S2G32ZX.js} +53 -53
  15. package/dist/cli/{chunk-2NZQ432X.js → chunk-6C3E6ZZ3.js} +13 -13
  16. package/dist/cli/{chunk-QVNX6AC3.js → chunk-6ZBAXLOR.js} +12 -12
  17. package/dist/cli/{chunk-DAS66RGZ.js → chunk-7AMUXIZ5.js} +1 -1
  18. package/dist/cli/{chunk-4HSPHSUB.js → chunk-A6FYP3KU.js} +5 -5
  19. package/dist/cli/{chunk-DAQQL743.mjs → chunk-ARYKF2YT.mjs} +2 -2
  20. package/dist/cli/{chunk-GZFYLAXJ.js → chunk-B2V6NKX7.js} +20 -20
  21. package/dist/cli/{chunk-CZ2RJTAQ.js → chunk-C46GRCHZ.js} +48 -48
  22. package/dist/cli/{chunk-L57JAXHI.mjs → chunk-C6M5TIPZ.mjs} +1 -1
  23. package/dist/cli/{chunk-ASOLVHDL.mjs → chunk-CDLTF6M2.mjs} +2 -2
  24. package/dist/cli/{chunk-EN5NHCCQ.js → chunk-CPDXS2UK.js} +17 -17
  25. package/dist/cli/{chunk-F5CE3JZQ.js → chunk-DTMUYIUO.js} +9 -9
  26. package/dist/cli/{chunk-UERLY7PX.mjs → chunk-DUXL7U7U.mjs} +2 -2
  27. package/dist/cli/{chunk-K4IPTGU5.js → chunk-EZNYE6GZ.js} +10 -10
  28. package/dist/cli/{chunk-B4RWCBU5.mjs → chunk-GC4HHDE4.mjs} +3 -3
  29. package/dist/cli/{chunk-MUIJGT2B.mjs → chunk-GENZXMNR.mjs} +1 -1
  30. package/dist/cli/{chunk-KN3NETDA.js → chunk-JMDLLVIR.js} +11 -11
  31. package/dist/cli/{chunk-O7QRNMSW.mjs → chunk-JORWYP5P.mjs} +1 -1
  32. package/dist/cli/{chunk-KUDSTDSL.js → chunk-JWPJXCD2.js} +23 -23
  33. package/dist/cli/{chunk-C4GWTN3J.mjs → chunk-JX4X4KAZ.mjs} +7 -7
  34. package/dist/cli/{chunk-N6LM2Q6V.js → chunk-JY2EJQL5.js} +5 -5
  35. package/dist/cli/{chunk-GY4S6A72.js → chunk-K35ZLTN2.js} +5 -5
  36. package/dist/cli/{chunk-NGB2VSGB.js → chunk-L5JD66EF.js} +3 -3
  37. package/dist/cli/{chunk-FFXLMJ5O.js → chunk-L7DGWNF7.js} +8 -8
  38. package/dist/cli/{chunk-SWVGAIJD.js → chunk-MZSUMGWN.js} +20 -20
  39. package/dist/cli/{chunk-YGW2CSB7.js → chunk-NHGQHMV7.js} +41 -41
  40. package/dist/cli/{chunk-VQZQCPCA.mjs → chunk-NW6NYTYM.mjs} +4 -4
  41. package/dist/cli/{chunk-3R6RBAQW.js → chunk-NWQZIBPY.js} +26 -26
  42. package/dist/cli/{chunk-PC2FTUCP.mjs → chunk-NXYBZSRL.mjs} +2 -2
  43. package/dist/cli/{chunk-2ZS5PZB6.mjs → chunk-OBW2YFHR.mjs} +2 -2
  44. package/dist/cli/{chunk-4U5HIMZY.js → chunk-ODBQY6MD.js} +2 -2
  45. package/dist/cli/{chunk-P6ZIR4QD.mjs → chunk-OOCGLW46.mjs} +4 -4
  46. package/dist/cli/{chunk-QGQPVPJN.mjs → chunk-PITVKXY3.mjs} +1 -1
  47. package/dist/cli/{chunk-3IKGZ4CG.js → chunk-PK6MYC5E.js} +7 -7
  48. package/dist/cli/{chunk-W5JM2QCI.mjs → chunk-QUAPOFCA.mjs} +5 -5
  49. package/dist/cli/{chunk-KONNXKKX.js → chunk-T26CM5LC.js} +2 -2
  50. package/dist/cli/{chunk-FQYEHUVR.mjs → chunk-TPRMS2D7.mjs} +3 -3
  51. package/dist/cli/{chunk-IFHMGEDN.mjs → chunk-TW7HFIQG.mjs} +13 -13
  52. package/dist/cli/{chunk-LW2FKVCQ.mjs → chunk-U7LDRRRB.mjs} +1 -1
  53. package/dist/cli/{chunk-CJF7AFBD.js → chunk-UP2CQTGX.js} +2 -2
  54. package/dist/cli/{chunk-PWQ3IUD4.js → chunk-UVFR7FW4.js} +20 -20
  55. package/dist/cli/{chunk-XFZX6FNM.mjs → chunk-VLXLKNR4.mjs} +17 -2
  56. package/dist/cli/{chunk-YO2FDGAN.mjs → chunk-VVGGQBAV.mjs} +2 -2
  57. package/dist/cli/{chunk-7ERE37SK.js → chunk-WSX76BQX.js} +6 -6
  58. package/dist/cli/{chunk-UYPXQFJ4.mjs → chunk-WZKWSIZS.mjs} +1 -1
  59. package/dist/cli/{chunk-ASMHON7N.mjs → chunk-XJUHHIH4.mjs} +5 -5
  60. package/dist/cli/{chunk-C2XLKCRH.mjs → chunk-YQDBHVYJ.mjs} +5 -5
  61. package/dist/cli/{chunk-KA77KT46.mjs → chunk-YUB7OX65.mjs} +1 -1
  62. package/dist/cli/{chunk-UO7NPJEK.js → chunk-ZAR6JSI6.js} +3 -3
  63. package/dist/cli/{chunk-KNOS6H4E.mjs → chunk-ZKLUGMPE.mjs} +2 -2
  64. package/dist/cli/concurrent-runs-help-3KEUX2GA.js +22 -0
  65. package/dist/cli/{concurrent-runs-help-AFJDK2SY.mjs → concurrent-runs-help-HSBXPVDN.mjs} +6 -6
  66. package/dist/cli/{csv-NTNQLQXG.js → csv-JEOU3DOF.js} +13 -13
  67. package/dist/cli/{csv-CATF6MZU.mjs → csv-OQGWJ4HU.mjs} +4 -4
  68. package/dist/cli/{db-IKFKNLW5.js → db-75WPSR3C.js} +27 -27
  69. package/dist/cli/{db-U3FK4FFM.mjs → db-YHCKYQJI.mjs} +6 -6
  70. package/dist/cli/{describe-F7OQQ7IO.mjs → describe-TSW245QQ.mjs} +21 -21
  71. package/dist/cli/describe-ZUATHN4Z.js +50 -0
  72. package/dist/cli/describe-core.d.mts +5 -0
  73. package/dist/cli/describe-core.d.ts +5 -0
  74. package/dist/cli/describe-core.js +4 -4
  75. package/dist/cli/describe-core.mjs +3 -3
  76. package/dist/cli/{executions-6KUA7RPH.mjs → executions-NW3SQULX.mjs} +6 -6
  77. package/dist/cli/{executions-3TA5SATU.js → executions-PNSETDOA.js} +8 -8
  78. package/dist/cli/{feedback-GX7RVC4O.js → feedback-LXTVGS4E.js} +14 -14
  79. package/dist/cli/{feedback-U5I6UTJG.mjs → feedback-R2Y4APBY.mjs} +6 -6
  80. package/dist/cli/git-GAXMETIP.js +26 -0
  81. package/dist/cli/{git-DYNKPPNT.mjs → git-S7DESBSB.mjs} +5 -5
  82. package/dist/cli/index.js +143 -143
  83. package/dist/cli/index.mjs +45 -45
  84. package/dist/cli/{integrations-7FATBEB5.mjs → integrations-CQWODJ23.mjs} +7 -7
  85. package/dist/cli/{integrations-PQX2FRPT.js → integrations-ZLMM2CMG.js} +15 -15
  86. package/dist/cli/{legacy-noops-JNXQWYUR.js → legacy-noops-4UDVSN5R.js} +9 -9
  87. package/dist/cli/{legacy-noops-ODATBQUL.mjs → legacy-noops-EGD7QOML.mjs} +6 -6
  88. package/dist/cli/{mcp-RXBXC4HW.js → mcp-5W4HWAMB.js} +24 -24
  89. package/dist/cli/{mcp-UDNG33WQ.mjs → mcp-Q3SKD3A2.mjs} +4 -4
  90. package/dist/cli/{monitors-NDAGIRO4.js → monitors-NA6QQRUK.js} +100 -100
  91. package/dist/cli/{monitors-L56QYFRW.mjs → monitors-ZXHOLBOO.mjs} +7 -7
  92. package/dist/cli/{org-Q47O5ZTI.js → org-25E7SBZP.js} +121 -121
  93. package/dist/cli/{org-EA5DL5I7.mjs → org-O3NSKVA7.mjs} +6 -6
  94. package/dist/cli/{outcomes-27ENBTWE.js → outcomes-O5DS5XSH.js} +14 -14
  95. package/dist/cli/{outcomes-773GPYXN.mjs → outcomes-TEXVO2EV.mjs} +6 -6
  96. package/dist/cli/{play-BOZIT25U.js → play-2FVIRT7Z.js} +337 -337
  97. package/dist/cli/{play-O6RGVBT7.mjs → play-UFAJEDX4.mjs} +20 -20
  98. package/dist/cli/{providers-S2E5IGFO.js → providers-4C4TJ5N3.js} +9 -9
  99. package/dist/cli/{providers-OOKYSLMJ.mjs → providers-LCJA4VQ7.mjs} +6 -6
  100. package/dist/cli/{quickstart-YXKRRK43.js → quickstart-2OAKQFLT.js} +6 -6
  101. package/dist/cli/{quickstart-7GVZ7YCQ.mjs → quickstart-QOJLPGFW.mjs} +4 -4
  102. package/dist/cli/{run-3QGOVUHF.mjs → run-SNAFQJWR.mjs} +26 -26
  103. package/dist/cli/{run-7DXBARRO.js → run-SV3EPJGU.js} +48 -48
  104. package/dist/cli/search-DCHBSXPZ.js +32 -0
  105. package/dist/cli/{search-5UIB4QSG.mjs → search-KIJZGURG.mjs} +7 -7
  106. package/dist/cli/{search-output-MSUN3KPW.mjs → search-output-OESDMVBG.mjs} +5 -5
  107. package/dist/cli/{search-output-C7ZPRC2B.js → search-output-WRHLYDZX.js} +8 -8
  108. package/dist/cli/{secrets-JYJS2VHO.mjs → secrets-5WCCHFM5.mjs} +6 -6
  109. package/dist/cli/{secrets-FU3DFFB6.js → secrets-GH6KF5VR.js} +15 -15
  110. package/dist/cli/{sessions-JBD64DOX.mjs → sessions-52MAEUFQ.mjs} +6 -6
  111. package/dist/cli/sessions-MYG6BH6T.js +23 -0
  112. package/dist/cli/{settings-GDJGQXKT.js → settings-5RSARPXF.js} +85 -85
  113. package/dist/cli/{settings-4KFYWSJI.mjs → settings-HDOBMJ5A.mjs} +12 -12
  114. package/dist/cli/{setup-OKLUCTU7.js → setup-4DTCFBOX.js} +49 -49
  115. package/dist/cli/{setup-46VMBV3K.mjs → setup-UY3TSZZV.mjs} +9 -9
  116. package/dist/cli/skills-EOC2MSQK.js +37 -0
  117. package/dist/cli/{skills-XRJNXEEA.mjs → skills-QUWJHOEZ.mjs} +7 -7
  118. package/dist/cli/tools-AGOX64LC.js +57 -0
  119. package/dist/cli/{tools-WEBVZN3X.mjs → tools-U2LH642W.mjs} +19 -19
  120. package/dist/cli/{update-RKTYJ6BO.mjs → update-3H4E5YJ7.mjs} +9 -9
  121. package/dist/cli/update-OLLOIH4U.js +37 -0
  122. package/dist/cli/{views-XLAPDQXQ.js → views-2LUZ3ATR.js} +21 -21
  123. package/dist/cli/{views-VTOQ4U75.mjs → views-7WOYBLLQ.mjs} +6 -6
  124. package/dist/cli/{workflow-RCO4R46B.mjs → workflow-55OASFLG.mjs} +7 -7
  125. package/dist/cli/{workflow-HH4XVYPN.js → workflow-YME2SGMA.js} +17 -17
  126. package/dist/index.js +9 -9
  127. package/dist/index.mjs +6 -6
  128. package/dist/install-integrity.json +118 -118
  129. package/dist/release.d.mts +1 -1
  130. package/dist/release.d.ts +1 -1
  131. package/dist/release.js +2 -2
  132. package/dist/release.mjs +1 -1
  133. package/dist/server.js +5 -5
  134. package/dist/server.mjs +3 -3
  135. package/package.json +1 -1
  136. package/dist/cli/auth-HA7TI6SA.js +0 -44
  137. package/dist/cli/concurrent-runs-help-ZHOCLINF.js +0 -22
  138. package/dist/cli/describe-ZHNZ4H6S.js +0 -50
  139. package/dist/cli/git-6DK7N4V7.js +0 -26
  140. package/dist/cli/search-4DZYX3FR.js +0 -32
  141. package/dist/cli/sessions-E2IX3GU7.js +0 -23
  142. package/dist/cli/skills-GJS4Q7NU.js +0 -37
  143. package/dist/cli/tools-LICQXFYA.js +0 -57
  144. package/dist/cli/update-3XH3NVVY.js +0 -37
@@ -3,7 +3,7 @@
3
3
  var _chunkCSPHSNBWjs = require('./chunk-CSPHSNBW.js');
4
4
 
5
5
 
6
- var _chunkFFXLMJ5Ojs = require('./chunk-FFXLMJ5O.js');
6
+ var _chunkL7DGWNF7js = require('./chunk-L7DGWNF7.js');
7
7
 
8
8
 
9
9
  var _chunkMJTVX4QKjs = require('./chunk-MJTVX4QK.js');
@@ -11,7 +11,7 @@ var _chunkMJTVX4QKjs = require('./chunk-MJTVX4QK.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkPWQ3IUD4js = require('./chunk-PWQ3IUD4.js');
14
+ var _chunkUVFR7FW4js = require('./chunk-UVFR7FW4.js');
15
15
 
16
16
 
17
17
  var _chunkLFQJW4S2js = require('./chunk-LFQJW4S2.js');
@@ -581,7 +581,7 @@ function parseInputFlagValue(raw) {
581
581
  return raw;
582
582
  }
583
583
  function parsePlayRunOptions(args, initialInput = null) {
584
- const selection = _chunkPWQ3IUD4js.parseJsonFields.call(void 0, args, "run");
584
+ const selection = _chunkUVFR7FW4js.parseJsonFields.call(void 0, args, "run");
585
585
  args = selection.args;
586
586
  const usage = "Usage: deepline plays run <play-name> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run <play-file.ts> [--input '{...}'] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --file <play-file.ts> [--input '{...}'] [--profile <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--full] [--<input> value]\n deepline plays run --name <name> [--input '{...}'] [--profile <id>] [--live|--latest|--revision-id <id>] [--run-id-file <path>] [--no-wait] [--tail-timeout-ms 30000] [--force] [--open] [--json] [--full] [--<input> value]\n Runs use the Absurd CJS runtime.\n --header '<name>: <value>' may repeat; each is sent on every request for this run.\n Unknown --<input> value flags, such as --limit 5, are passed into play input.\nRun `deepline plays run --help` for idempotent call caching and deepline.dataset guidance.";
587
587
  let filePath = null;
@@ -593,7 +593,7 @@ function parsePlayRunOptions(args, initialInput = null) {
593
593
  let revisionSelector = null;
594
594
  const watch = !args.includes("--no-wait");
595
595
  const dryRun = args.includes("--dry-run");
596
- let jsonOutput = dryRun ? _chunkPWQ3IUD4js.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkPWQ3IUD4js.argsWantJson.call(void 0, args);
596
+ let jsonOutput = dryRun ? _chunkUVFR7FW4js.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkUVFR7FW4js.argsWantJson.call(void 0, args);
597
597
  const fullJson = args.includes("--full");
598
598
  const force = args.includes("--force") || args.includes("--from-start");
599
599
  const forceToolRefresh = args.includes("--force-tool-refresh") || args.includes("--refresh-cache");
@@ -657,7 +657,7 @@ function parsePlayRunOptions(args, initialInput = null) {
657
657
  "--log-level requires one of: debug, info, warn, error."
658
658
  );
659
659
  }
660
- const parsed = _chunkFFXLMJ5Ojs.parseLogLevel.call(void 0, value);
660
+ const parsed = _chunkL7DGWNF7js.parseLogLevel.call(void 0, value);
661
661
  if (!parsed) {
662
662
  throw new Error(
663
663
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -990,7 +990,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
990
990
  const hasExplicitLogLevel = options.logLevel !== void 0 || inputArgs.some(
991
991
  (arg) => arg === "--log-level" || arg.startsWith("--log-level=")
992
992
  );
993
- let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkFFXLMJ5Ojs.parseLogLevel.call(void 0, options.logLevel);
993
+ let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkL7DGWNF7js.parseLogLevel.call(void 0, options.logLevel);
994
994
  if (!logLevel)
995
995
  throw new Error("--log-level requires one of: debug, info, warn, error.");
996
996
  const debugAlias = options.logs || options.debug === true || inputArgs.some(
@@ -1004,13 +1004,13 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
1004
1004
  if (debugAlias || debugMapLatency && logLevel === "info")
1005
1005
  logLevel = "debug";
1006
1006
  const fullJson = _nullishCoalesce(options.full, () => ( base.fullJson));
1007
- const jsonFields = options.json === void 0 ? base.jsonFields : _chunkPWQ3IUD4js.parseJsonFields.call(void 0,
1008
- [...fullJson ? ["--full"] : [], ..._chunkPWQ3IUD4js.jsonFieldArgs.call(void 0, options.json)],
1007
+ const jsonFields = options.json === void 0 ? base.jsonFields : _chunkUVFR7FW4js.parseJsonFields.call(void 0,
1008
+ [...fullJson ? ["--full"] : [], ..._chunkUVFR7FW4js.jsonFieldArgs.call(void 0, options.json)],
1009
1009
  "run"
1010
1010
  ).fields;
1011
1011
  const watch = options.wait === false ? false : base.watch;
1012
1012
  const explicitJson = options.json !== void 0 ? options.json !== false : base.jsonOutput;
1013
- const jsonOutput = dryRun || !watch ? explicitJson || _chunkPWQ3IUD4js.argsWantJson.call(void 0, []) : explicitJson;
1013
+ const jsonOutput = dryRun || !watch ? explicitJson || _chunkUVFR7FW4js.argsWantJson.call(void 0, []) : explicitJson;
1014
1014
  const verboseLogs = Boolean(
1015
1015
  debugAlias || logLevel === "debug" || debugMapLatency
1016
1016
  );
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  traceCliSpan
3
- } from "./chunk-QGQPVPJN.mjs";
3
+ } from "./chunk-PITVKXY3.mjs";
4
4
  import {
5
5
  enforceSdkCompatibilityResponse,
6
6
  flushDeferredSkillsSyncNotices,
7
7
  requireSdkCompatibility
8
- } from "./chunk-ASMHON7N.mjs";
8
+ } from "./chunk-XJUHHIH4.mjs";
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -3,16 +3,16 @@
3
3
  var _chunkD3BCSAN7js = require('./chunk-D3BCSAN7.js');
4
4
 
5
5
 
6
- var _chunkN6LM2Q6Vjs = require('./chunk-N6LM2Q6V.js');
6
+ var _chunkJY2EJQL5js = require('./chunk-JY2EJQL5.js');
7
7
 
8
8
 
9
9
 
10
10
 
11
- var _chunkPWQ3IUD4js = require('./chunk-PWQ3IUD4.js');
11
+ var _chunkUVFR7FW4js = require('./chunk-UVFR7FW4.js');
12
12
 
13
13
 
14
14
 
15
- var _chunkNGB2VSGBjs = require('./chunk-NGB2VSGB.js');
15
+ var _chunkL5JD66EFjs = require('./chunk-L5JD66EF.js');
16
16
 
17
17
  // src/cli/commands/search.ts
18
18
  var _commander = require('commander');
@@ -22,7 +22,7 @@ var _fs = require('fs');
22
22
  var _path = require('path');
23
23
  var SEARCH_REF_TTL_MS = 15 * 6e4;
24
24
  function lastSearchPath() {
25
- return _path.join.call(void 0, _chunkNGB2VSGBjs.sdkCliStateDirPath.call(void 0, _chunkNGB2VSGBjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
25
+ return _path.join.call(void 0, _chunkL5JD66EFjs.sdkCliStateDirPath.call(void 0, _chunkL5JD66EFjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
26
26
  }
27
27
  function rememberSearchRef(searchRef) {
28
28
  writeSearchRefs({ searchRef });
@@ -132,9 +132,9 @@ async function runSearch(queryInputs, options, types, exclude = []) {
132
132
  console.error("--summary-width must be an integer of at least 2.");
133
133
  return 1;
134
134
  }
135
- const client = new (0, _chunkN6LM2Q6Vjs.DeeplineClient)();
135
+ const client = new (0, _chunkJY2EJQL5js.DeeplineClient)();
136
136
  const json = options.json === true;
137
- const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-C7ZPRC2B.js")));
137
+ const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-WRHLYDZX.js")));
138
138
  const searches = [];
139
139
  const chunks = [];
140
140
  const refs = /* @__PURE__ */ new Map();
@@ -157,7 +157,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
157
157
  const text = _optionalChain([renderer, 'optionalAccess', _12 => _12.renderSearchResults, 'call', _13 => _13(result, summaryWidth)]);
158
158
  if (!multiple) {
159
159
  if (searchRef) rememberSearchRef(searchRef);
160
- _chunkPWQ3IUD4js.printCommandEnvelope.call(void 0, result, { json, text });
160
+ _chunkUVFR7FW4js.printCommandEnvelope.call(void 0, result, { json, text });
161
161
  return 0;
162
162
  }
163
163
  searches.push({ ...result, query });
@@ -171,8 +171,8 @@ ${text}`);
171
171
  }
172
172
  } catch (error) {
173
173
  if (!multiple) throw error;
174
- const payload = _chunkPWQ3IUD4js.errorToJsonPayload.call(void 0, error);
175
- const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunkPWQ3IUD4js.resolveSdkCliFailureExitCode.call(void 0, error)));
174
+ const payload = _chunkUVFR7FW4js.errorToJsonPayload.call(void 0, error);
175
+ const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunkUVFR7FW4js.resolveSdkCliFailureExitCode.call(void 0, error)));
176
176
  searches.push({ ...payload, query, exitCode: queryExitCode });
177
177
  if (!json) {
178
178
  console.error(`${JSON.stringify(query)}: ${payload.error.message}`);
@@ -184,7 +184,7 @@ Search failed.
184
184
  }
185
185
  }
186
186
  rememberSearchRefsByTool(refs);
187
- _chunkPWQ3IUD4js.printCommandEnvelope.call(void 0,
187
+ _chunkUVFR7FW4js.printCommandEnvelope.call(void 0,
188
188
  { searches },
189
189
  {
190
190
  json,
@@ -2,7 +2,7 @@ import {
2
2
  argsWantJson,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-KNOS6H4E.mjs";
5
+ } from "./chunk-ZKLUGMPE.mjs";
6
6
  import {
7
7
  ACTIVE_ORG_ID_ENV,
8
8
  ACTIVE_ORG_NAME_ENV,
@@ -22,14 +22,14 @@ import {
22
22
  saveHostEnvValues,
23
23
  saveProjectDeeplineEnvValues,
24
24
  storedHostApiKey
25
- } from "./chunk-ZGOTBBY3.mjs";
25
+ } from "./chunk-24PL5QN5.mjs";
26
26
  import {
27
27
  SDK_API_CONTRACT,
28
28
  SDK_VERSION,
29
29
  connectionFailureMessage,
30
30
  detectAgentRuntime,
31
31
  networkCauseCode
32
- } from "./chunk-LW2FKVCQ.mjs";
32
+ } from "./chunk-U7LDRRRB.mjs";
33
33
  import {
34
34
  DeeplineError
35
35
  } from "./chunk-Z3A2S3QM.mjs";
@@ -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.556",
52
+ version: "0.3.557",
53
53
  updateSummary: {
54
54
  introducedIn: "0.3.90",
55
55
  summary: "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."
@@ -2,14 +2,14 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkLY5MMXFFjs = require('./chunk-LY5MMXFF.js');
5
+ var _chunk2YT2TFNXjs = require('./chunk-2YT2TFNX.js');
6
6
 
7
7
 
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunkPWQ3IUD4js = require('./chunk-PWQ3IUD4.js');
12
+ var _chunkUVFR7FW4js = require('./chunk-UVFR7FW4.js');
13
13
 
14
14
  // src/cli/describe-options.ts
15
15
  function addDescribeOptions(command, options = {}) {
@@ -27,7 +27,7 @@ function addDescribeOptions(command, options = {}) {
27
27
  "Show only the in-play example, and explain how it takes inputs and returns outputs"
28
28
  ).option("--no-example", "Hide the run examples").option(
29
29
  "--full-schema",
30
- `Print every field: a long schema unfolded (over ${_chunkLY5MMXFFjs.SCHEMA_LINE_LIMIT} lines), list rows, and a tool's raw response`
30
+ `Print every field: a long schema unfolded (over ${_chunk2YT2TFNXjs.SCHEMA_LINE_LIMIT} lines), list rows, and a tool's raw response`
31
31
  ).option(
32
32
  "--fields <names>",
33
33
  "Show only these fields, comma-separated, plus every required input"
@@ -250,7 +250,7 @@ function projectRunDatasetCell(value) {
250
250
  const logicalValue = parseSerializedDatasetValue(value);
251
251
  if (logicalValue === null || logicalValue === void 0) return logicalValue;
252
252
  if (typeof logicalValue === "object") {
253
- return _chunkPWQ3IUD4js.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
253
+ return _chunkUVFR7FW4js.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
254
254
  }
255
255
  return logicalValue;
256
256
  }
@@ -642,7 +642,7 @@ function csvText(rows, columns = []) {
642
642
  rows: rows.map((row) => record(row) ? row : { value: row }),
643
643
  columns
644
644
  });
645
- return _chunkPWQ3IUD4js.csvStringFromRows.call(void 0, projection.rows, projection.columns);
645
+ return _chunkUVFR7FW4js.csvStringFromRows.call(void 0, projection.rows, projection.columns);
646
646
  }
647
647
  function writeExecutionOutput(result, options, { skipReceiptFile = false } = {}) {
648
648
  let temp;
@@ -770,7 +770,7 @@ function writeExecutionOutput(result, options, { skipReceiptFile = false } = {})
770
770
  };
771
771
  if (options.receiptOut && !skipReceiptFile) {
772
772
  persist(options.receiptOut, jsonText(receipt));
773
- _chunkPWQ3IUD4js.markJsonOutputHandled.call(void 0, );
773
+ _chunkUVFR7FW4js.markJsonOutputHandled.call(void 0, );
774
774
  } else {
775
775
  printReceipt(receipt, options, {
776
776
  data: hasData ? result.data : void 0,
@@ -874,9 +874,9 @@ function annotated(schema, values) {
874
874
  function shapeLines(title, data) {
875
875
  const schema = annotated(observedSchema(data), [data]);
876
876
  const block = (heading, fieldSchema) => {
877
- const { lines, folded } = _chunkLY5MMXFFjs.fieldBlockLines.call(void 0,
877
+ const { lines, folded } = _chunk2YT2TFNXjs.fieldBlockLines.call(void 0,
878
878
  heading,
879
- _chunkLY5MMXFFjs.schemaFields.call(void 0, fieldSchema)
879
+ _chunk2YT2TFNXjs.schemaFields.call(void 0, fieldSchema)
880
880
  );
881
881
  return [
882
882
  ...lines,
@@ -939,7 +939,7 @@ function receiptText(receipt, options, extra) {
939
939
  problems.push(
940
940
  `Error: ${record(error) && typeof error.message === "string" ? error.message : JSON.stringify(error)}`
941
941
  );
942
- const diagnostic = _chunkPWQ3IUD4js.formatCliFailureDiagnostic.call(void 0, error);
942
+ const diagnostic = _chunkUVFR7FW4js.formatCliFailureDiagnostic.call(void 0, error);
943
943
  if (diagnostic) problems.push(...diagnostic.split("\n"));
944
944
  if (record(error) && typeof error.recoveryFile === "string") {
945
945
  problems.push(
@@ -1032,8 +1032,8 @@ function printReceipt(receipt, options, extra) {
1032
1032
  const text = options.receiptJson ? `${JSON.stringify(receipt, null, 2)}
1033
1033
  ` : receiptText(receipt, options, extra);
1034
1034
  if (options.receiptOut !== void 0) {
1035
- _chunkPWQ3IUD4js.writeRawStderr.call(void 0, text);
1036
- _chunkPWQ3IUD4js.markJsonOutputHandled.call(void 0, );
1035
+ _chunkUVFR7FW4js.writeRawStderr.call(void 0, text);
1036
+ _chunkUVFR7FW4js.markJsonOutputHandled.call(void 0, );
1037
1037
  } else {
1038
1038
  (dataOnStdout(options) ? process.stderr : process.stdout).write(text);
1039
1039
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  printCommandEnvelope
3
- } from "./chunk-KNOS6H4E.mjs";
3
+ } from "./chunk-ZKLUGMPE.mjs";
4
4
 
5
5
  // src/cli/feedback-preferences.ts
6
6
  import {
@@ -4,22 +4,22 @@
4
4
 
5
5
 
6
6
 
7
- var _chunkSWVGAIJDjs = require('./chunk-SWVGAIJD.js');
7
+ var _chunkMZSUMGWNjs = require('./chunk-MZSUMGWN.js');
8
8
 
9
9
 
10
10
 
11
11
 
12
- var _chunkCZ2RJTAQjs = require('./chunk-CZ2RJTAQ.js');
12
+ var _chunkC46GRCHZjs = require('./chunk-C46GRCHZ.js');
13
13
 
14
14
 
15
15
 
16
- var _chunkPWQ3IUD4js = require('./chunk-PWQ3IUD4.js');
16
+ var _chunkUVFR7FW4js = require('./chunk-UVFR7FW4.js');
17
17
 
18
18
 
19
- var _chunkNGB2VSGBjs = require('./chunk-NGB2VSGB.js');
19
+ var _chunkL5JD66EFjs = require('./chunk-L5JD66EF.js');
20
20
 
21
21
 
22
- var _chunk7MD36QLKjs = require('./chunk-7MD36QLK.js');
22
+ var _chunk5H7BLMNHjs = require('./chunk-5H7BLMNH.js');
23
23
 
24
24
  // src/cli/compatibility-catalog.ts
25
25
  var readers = /* @__PURE__ */ new WeakMap();
@@ -46,7 +46,7 @@ function trustedAutoUpdateRegistryUrl(baseUrl) {
46
46
  async function reportAutoUpdateEvent(input) {
47
47
  let apiKey = "";
48
48
  try {
49
- apiKey = _chunkNGB2VSGBjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
49
+ apiKey = _chunkL5JD66EFjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
50
50
  } catch (e2) {
51
51
  return;
52
52
  }
@@ -62,15 +62,15 @@ async function reportAutoUpdateEvent(input) {
62
62
  headers: {
63
63
  Authorization: `Bearer ${apiKey}`,
64
64
  "Content-Type": "application/json",
65
- "User-Agent": `deepline-ts-sdk/${_chunk7MD36QLKjs.SDK_VERSION}`,
65
+ "User-Agent": `deepline-ts-sdk/${_chunk5H7BLMNHjs.SDK_VERSION}`,
66
66
  "X-Deepline-Client-Family": "sdk",
67
67
  "X-Deepline-CLI-Family": "sdk",
68
- "X-Deepline-CLI-Version": _chunk7MD36QLKjs.SDK_VERSION,
69
- "X-Deepline-SDK-Version": _chunk7MD36QLKjs.SDK_VERSION
68
+ "X-Deepline-CLI-Version": _chunk5H7BLMNHjs.SDK_VERSION,
69
+ "X-Deepline-SDK-Version": _chunk5H7BLMNHjs.SDK_VERSION
70
70
  },
71
71
  body: JSON.stringify({
72
72
  event: input.event,
73
- current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunk7MD36QLKjs.SDK_VERSION,
73
+ current_version: _optionalChain([input, 'access', _4 => _4.response, 'access', _5 => _5.current, 'optionalAccess', _6 => _6.trim, 'call', _7 => _7()]) || _chunk5H7BLMNHjs.SDK_VERSION,
74
74
  target_version: input.response.latest,
75
75
  reason: _optionalChain([input, 'access', _8 => _8.response, 'access', _9 => _9.auto_update, 'optionalAccess', _10 => _10.reason]),
76
76
  command: _nullishCoalesce(input.response.command, () => ( null)),
@@ -89,19 +89,19 @@ function envTruthy(name) {
89
89
  return value === "1" || value === "true" || value === "yes";
90
90
  }
91
91
  function shouldSkipSelfUpdate(policy) {
92
- return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkSWVGAIJDjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkCZ2RJTAQjs.isCiEnvironment.call(void 0, );
92
+ return policy === "off" || envTruthy("DEEPLINE_SKIP_SELF_UPDATE") || envTruthy("DEEPLINE_NO_AUTO_UPDATE") || envTruthy("DEEPLINE_SKIP_SDK_AUTO_UPDATE") || envTruthy("DEEPLINE_DISABLE_AUTO_UPDATE") || !_chunkMZSUMGWNjs.shouldRunCliAutoUpdate.call(void 0, ) || _chunkC46GRCHZjs.isCiEnvironment.call(void 0, );
93
93
  }
94
94
  function isDowngradeAutoUpdateResponse(response) {
95
95
  const target = _optionalChain([response, 'optionalAccess', _17 => _17.latest, 'optionalAccess', _18 => _18.trim, 'call', _19 => _19()]);
96
- const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunk7MD36QLKjs.SDK_VERSION;
96
+ const current = _optionalChain([response, 'optionalAccess', _20 => _20.current, 'optionalAccess', _21 => _21.trim, 'call', _22 => _22()]) || _chunk5H7BLMNHjs.SDK_VERSION;
97
97
  if (!target) return false;
98
- return _chunkSWVGAIJDjs.compareUpdateVersions.call(void 0, target, current) < 0;
98
+ return _chunkMZSUMGWNjs.compareUpdateVersions.call(void 0, target, current) < 0;
99
99
  }
100
100
  function relaunchCurrentCommand(plan, runtime = {}) {
101
101
  return new Promise((resolve) => {
102
102
  const argv = _nullishCoalesce(runtime.argv, () => ( process.argv));
103
103
  const platform = _nullishCoalesce(runtime.platform, () => ( process.platform));
104
- const launch = plan.kind === "python-sidecar" ? _chunkCZ2RJTAQjs.resolveShellSpawn.call(void 0, plan.sidecarPath, argv.slice(2), platform) : {
104
+ const launch = plan.kind === "python-sidecar" ? _chunkC46GRCHZjs.resolveShellSpawn.call(void 0, plan.sidecarPath, argv.slice(2), platform) : {
105
105
  command: _nullishCoalesce(runtime.execPath, () => ( process.execPath)),
106
106
  args: argv.slice(1),
107
107
  shell: false
@@ -148,7 +148,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
148
148
  }
149
149
  if (isDowngradeAutoUpdateResponse(response)) {
150
150
  const target = response.latest;
151
- const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunk7MD36QLKjs.SDK_VERSION;
151
+ const current = _optionalChain([response, 'access', _26 => _26.current, 'optionalAccess', _27 => _27.trim, 'call', _28 => _28()]) || _chunk5H7BLMNHjs.SDK_VERSION;
152
152
  process.stderr.write(
153
153
  `Deepline SDK/CLI auto-update refused: server advertised older ${target} than current ${current}. Continuing without mutating the CLI.
154
154
  `
@@ -156,21 +156,21 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
156
156
  return false;
157
157
  }
158
158
  const packageSpec = response.latest ? `deepline@${response.latest}` : void 0;
159
- const plan = _chunkSWVGAIJDjs.resolveUpdatePlan.call(void 0, {
159
+ const plan = _chunkMZSUMGWNjs.resolveUpdatePlan.call(void 0, {
160
160
  packageSpec,
161
161
  requireVerifiedNpmOwnership: true,
162
162
  npmFallbackRegistryUrl: trustedAutoUpdateRegistryUrl(baseUrl)
163
163
  });
164
- if (!_chunkSWVGAIJDjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
164
+ if (!_chunkMZSUMGWNjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) {
165
165
  return false;
166
166
  }
167
167
  if (!autoUpdate.required && autoUpdate.reason !== "rollback_forced") {
168
168
  deferredAutoUpdate = async () => {
169
169
  await applyAutoUpdate(response, baseUrl, plan, "next_command");
170
170
  };
171
- if (_chunkPWQ3IUD4js.isJsonOutputMode.call(void 0, )) {
171
+ if (_chunkUVFR7FW4js.isJsonOutputMode.call(void 0, )) {
172
172
  const target = _optionalChain([response, 'access', _29 => _29.latest, 'optionalAccess', _30 => _30.trim, 'call', _31 => _31()]);
173
- _chunkPWQ3IUD4js.addJsonNotice.call(void 0, {
173
+ _chunkUVFR7FW4js.addJsonNotice.call(void 0, {
174
174
  code: "sdk_update_queued",
175
175
  message: `Deepline SDK/CLI update${target ? ` to ${target}` : ""} is queued after this command; the next command will use it if installation succeeds.`
176
176
  });
@@ -183,7 +183,7 @@ async function maybeAutoUpdateAndRelaunch(response, baseUrl, policy = "configure
183
183
  return true;
184
184
  }
185
185
  async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
186
- if (!_chunkSWVGAIJDjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
186
+ if (!_chunkMZSUMGWNjs.canAutomaticallyApplyUpdatePlan.call(void 0, plan)) return false;
187
187
  const autoUpdate = response.auto_update;
188
188
  const label = _optionalChain([autoUpdate, 'optionalAccess', _32 => _32.reason]) === "rollback_forced" ? "has a server rollback pending and needs the latest rollback-aware CLI" : _optionalChain([autoUpdate, 'optionalAccess', _33 => _33.reason]) === "deprecated" ? "is deprecated and will update automatically" : _optionalChain([autoUpdate, 'optionalAccess', _34 => _34.required]) ? "requires an update" : "has an update available and will update automatically";
189
189
  process.stderr.write(
@@ -196,7 +196,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
196
196
  event: "started",
197
197
  installKind: plan.kind
198
198
  });
199
- const updateResult = await _chunkSWVGAIJDjs.runAutomaticUpdatePlan.call(void 0, plan);
199
+ const updateResult = await _chunkMZSUMGWNjs.runAutomaticUpdatePlan.call(void 0, plan);
200
200
  if (updateResult.status === "skipped_previous_failure") {
201
201
  void reportAutoUpdateEvent({
202
202
  baseUrl,
@@ -234,7 +234,7 @@ async function applyAutoUpdate(response, baseUrl, plan, takesEffect) {
234
234
  exitCode: 0
235
235
  });
236
236
  try {
237
- await _chunkCZ2RJTAQjs.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
237
+ await _chunkC46GRCHZjs.syncSdkSkillsIfNeeded.call(void 0, baseUrl, {
238
238
  mode: "detached",
239
239
  update: _optionalChain([response, 'access', _36 => _36.skills, 'optionalAccess', _37 => _37.requires_cli_update]) ? void 0 : response.skills,
240
240
  afterCliUpdate: {
@@ -261,7 +261,7 @@ var _crypto = require('crypto');
261
261
  var TOOL_EXECUTE_PROGRESS_INTERVAL_MS = 15e3;
262
262
  var activeToolExecuteCommand = null;
263
263
  function progressLine(line) {
264
- if (!_chunkPWQ3IUD4js.isJsonOutputMode.call(void 0, )) console.error(line);
264
+ if (!_chunkUVFR7FW4js.isJsonOutputMode.call(void 0, )) console.error(line);
265
265
  }
266
266
  function beginToolExecuteCommand() {
267
267
  if (activeToolExecuteCommand) return activeToolExecuteCommand.invocationId;
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  seedToolListScript
3
- } from "./chunk-IFHMGEDN.mjs";
3
+ } from "./chunk-TW7HFIQG.mjs";
4
4
  import {
5
5
  addDescribeOptions
6
- } from "./chunk-YO2FDGAN.mjs";
6
+ } from "./chunk-VVGGQBAV.mjs";
7
7
  import {
8
8
  describeLookupsFor,
9
9
  describeName,
10
10
  findNamed
11
- } from "./chunk-PC2FTUCP.mjs";
11
+ } from "./chunk-NXYBZSRL.mjs";
12
12
  import {
13
13
  SCHEMA_LINE_LIMIT
14
- } from "./chunk-XFZX6FNM.mjs";
14
+ } from "./chunk-VLXLKNR4.mjs";
15
15
  import {
16
16
  DeeplineClient
17
- } from "./chunk-2ZS5PZB6.mjs";
17
+ } from "./chunk-OBW2YFHR.mjs";
18
18
  import {
19
19
  failureReportHeaders,
20
20
  isFailureReportingDisabled,
21
21
  printCommandEnvelope
22
- } from "./chunk-KNOS6H4E.mjs";
22
+ } from "./chunk-ZKLUGMPE.mjs";
23
23
  import {
24
24
  autoDetectBaseUrl,
25
25
  resolveApiKeyForBaseUrl
26
- } from "./chunk-ZGOTBBY3.mjs";
26
+ } from "./chunk-24PL5QN5.mjs";
27
27
 
28
28
  // src/cli/commands/describe.ts
29
29
  import { writeFileSync } from "fs";
@@ -1,16 +1,16 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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 _chunkFFXLMJ5Ojs = require('./chunk-FFXLMJ5O.js');
3
+ var _chunkL7DGWNF7js = require('./chunk-L7DGWNF7.js');
4
4
 
5
5
 
6
6
 
7
- var _chunkNGB2VSGBjs = require('./chunk-NGB2VSGB.js');
7
+ var _chunkL5JD66EFjs = require('./chunk-L5JD66EF.js');
8
8
 
9
9
  // src/client.ts
10
- var DeeplineClient2 = class extends _chunkFFXLMJ5Ojs.DeeplineClient {
10
+ var DeeplineClient2 = class extends _chunkL7DGWNF7js.DeeplineClient {
11
11
  constructor(options) {
12
- const config = _chunkNGB2VSGBjs.resolveConfig.call(void 0, options);
13
- super(config, new (0, _chunkNGB2VSGBjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
12
+ const config = _chunkL5JD66EFjs.resolveConfig.call(void 0, options);
13
+ super(config, new (0, _chunkL5JD66EFjs.HttpClient)(config), _optionalChain([options, 'optionalAccess', _ => _.timeout]));
14
14
  }
15
15
  };
16
16
 
@@ -1,13 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); 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 _chunkLU3OLGF3js = require('./chunk-LU3OLGF3.js');
3
+ var _chunk5S2G32ZXjs = require('./chunk-5S2G32ZX.js');
4
4
 
5
5
 
6
6
  var _chunkH4ALLC2Xjs = require('./chunk-H4ALLC2X.js');
7
7
 
8
8
 
9
9
 
10
- var _chunkNGB2VSGBjs = require('./chunk-NGB2VSGB.js');
10
+ var _chunkL5JD66EFjs = require('./chunk-L5JD66EF.js');
11
11
 
12
12
  // src/cli/concurrent-runs-help.ts
13
13
  var CONCURRENT_RUNS_HELP_COMMANDS = /* @__PURE__ */ new Set([
@@ -24,11 +24,11 @@ function concurrentRunsLine(payload) {
24
24
  return plans ? `${here} Plan limits: ${plans}.` : here;
25
25
  }
26
26
  async function concurrentRunsHelpStatus(timeoutMs = 2e3) {
27
- const baseUrl = _chunkNGB2VSGBjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
28
- const apiKey = _chunkNGB2VSGBjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
27
+ const baseUrl = _chunkL5JD66EFjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
28
+ const apiKey = _chunkL5JD66EFjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
29
29
  if (!apiKey) return "";
30
30
  try {
31
- const { status, data } = await _chunkLU3OLGF3js.httpJson.call(void 0,
31
+ const { status, data } = await _chunk5S2G32ZXjs.httpJson.call(void 0,
32
32
  "GET",
33
33
  `${baseUrl}/api/v2/billing/entitlements`,
34
34
  apiKey,
@@ -1,7 +1,7 @@
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 _chunk7MD36QLKjs = require('./chunk-7MD36QLK.js');
4
+ var _chunk5H7BLMNHjs = require('./chunk-5H7BLMNH.js');
5
5
 
6
6
 
7
7
  var _chunk6VLFQZK6js = require('./chunk-6VLFQZK6.js');
@@ -771,7 +771,7 @@ function readSkillsVersionFile(path) {
771
771
  }
772
772
  }
773
773
  function resolveAutoSyncSkillAgents() {
774
- switch (_chunk7MD36QLKjs.detectAgentRuntime.call(void 0, )) {
774
+ switch (_chunk5H7BLMNHjs.detectAgentRuntime.call(void 0, )) {
775
775
  case "codex":
776
776
  return ["codex"];
777
777
  case "claude_code":
@@ -841,7 +841,7 @@ function writeSdkSkillsLocalVersion(baseUrl, version, agents) {
841
841
  }
842
842
 
843
843
  // src/http.ts
844
- var HttpClient2 = class extends _chunk7MD36QLKjs.HttpClient {
844
+ var HttpClient2 = class extends _chunk5H7BLMNHjs.HttpClient {
845
845
  constructor(config) {
846
846
  super(config, readSdkSkillsLocalVersion);
847
847
  }
@@ -37,7 +37,7 @@ var _chunkPMH4GLMDjs = require('./chunk-PMH4GLMD.js');
37
37
 
38
38
 
39
39
 
40
- var _chunk7MD36QLKjs = require('./chunk-7MD36QLK.js');
40
+ var _chunk5H7BLMNHjs = require('./chunk-5H7BLMNH.js');
41
41
 
42
42
 
43
43
  var _chunk6VLFQZK6js = require('./chunk-6VLFQZK6.js');
@@ -705,7 +705,7 @@ var ToolCalls = class {
705
705
  idempotencyKey,
706
706
  onResponse: (response2) => {
707
707
  lastResponse = null;
708
- atomicToolsSupported = response2.headers.get(_chunk7MD36QLKjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
708
+ atomicToolsSupported = response2.headers.get(_chunk5H7BLMNHjs.ATOMIC_TOOL_EXECUTE_SUPPORTED_HEADER) === "true";
709
709
  recoverySupported = response2.headers.get("X-Deepline-Idempotency-Supported") === "true";
710
710
  if (_optionalChain([options, 'optionalAccess', _33 => _33.onServerTiming])) {
711
711
  try {
@@ -1092,15 +1092,15 @@ function runtimeSelectionHeaders(runtime, env) {
1092
1092
  }
1093
1093
  const receivers = _optionalChain([env, 'access', _58 => _58.DEEPLINE_RUNTIME_RETAINED_PIPELINE_RECEIVERS, 'optionalAccess', _59 => _59.trim, 'call', _60 => _60()]);
1094
1094
  return {
1095
- [_chunk7MD36QLKjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1096
- ...receivers ? { [_chunk7MD36QLKjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1095
+ [_chunk5H7BLMNHjs.RUNTIME_ENVIRONMENT_TOKEN_HEADER]: token,
1096
+ ...receivers ? { [_chunk5H7BLMNHjs.RETAINED_PIPELINE_RECEIVERS_HEADER]: receivers } : {}
1097
1097
  };
1098
1098
  }
1099
1099
  function playRunStartHeaders(runtime, env) {
1100
1100
  const headers = runtimeSelectionHeaders(runtime, env);
1101
1101
  const experimentSwitches = _optionalChain([env, 'access', _61 => _61.DEEPLINE_EXPERIMENT_SWITCHES, 'optionalAccess', _62 => _62.trim, 'call', _63 => _63()]);
1102
1102
  if (!experimentSwitches) return headers;
1103
- return { ...headers, [_chunk7MD36QLKjs.EXPERIMENT_SWITCHES_HEADER]: experimentSwitches };
1103
+ return { ...headers, [_chunk5H7BLMNHjs.EXPERIMENT_SWITCHES_HEADER]: experimentSwitches };
1104
1104
  }
1105
1105
  function normalizeTestPolicyOverrides(value, source) {
1106
1106
  if (value && typeof value === "object" && !Array.isArray(value)) {
@@ -1170,7 +1170,7 @@ var PlayClient = class {
1170
1170
  return _chunkMJTVX4QKjs.startPlayRun.call(void 0,
1171
1171
  this.http,
1172
1172
  resolved.request,
1173
- _optionalChain([options, 'optionalAccess', _71 => _71.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunk7MD36QLKjs.SDK_API_MAJOR) } : headers,
1173
+ _optionalChain([options, 'optionalAccess', _71 => _71.cliAdmission]) ? { ...headers, "X-Deepline-API-Major": String(_chunk5H7BLMNHjs.SDK_API_MAJOR) } : headers,
1174
1174
  options
1175
1175
  );
1176
1176
  }
@@ -3411,7 +3411,7 @@ function isolatedCiRuntimeEventReadHeaders(env) {
3411
3411
  "RUNTIME_EVENT_INTERNAL_TOKEN_REQUIRED"
3412
3412
  );
3413
3413
  }
3414
- return { [_chunk7MD36QLKjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3414
+ return { [_chunk5H7BLMNHjs.COORDINATOR_INTERNAL_TOKEN_HEADER]: token };
3415
3415
  }
3416
3416
  function sleep(ms) {
3417
3417
  return new Promise((resolve) => setTimeout(resolve, ms));
@@ -4347,7 +4347,7 @@ var DeeplineClient = (_class = class _DeeplineClient {
4347
4347
  );
4348
4348
  const headers = _optionalChain([options, 'optionalAccess', _200 => _200.cliAdmission]) ? {
4349
4349
  ...runtimeHeaders,
4350
- "X-Deepline-API-Major": String(_chunk7MD36QLKjs.SDK_API_MAJOR)
4350
+ "X-Deepline-API-Major": String(_chunk5H7BLMNHjs.SDK_API_MAJOR)
4351
4351
  } : runtimeHeaders;
4352
4352
  const http = this.http;
4353
4353
  let submitted = false;