deepline 0.3.558 → 0.3.559

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 (136) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/observability/redaction.ts +23 -1
  3. package/dist/bundling-sources/shared_libs/observability/telemetry.ts +4 -1
  4. package/dist/cli/auth-3SBMYRAJ.js +44 -0
  5. package/dist/cli/{auth-JJXTMFWH.mjs → auth-D6S6E7BL.mjs} +5 -5
  6. package/dist/cli/{billing-RBFJMAI5.mjs → billing-3BNTAYUY.mjs} +8 -8
  7. package/dist/cli/{billing-V3TJKUHY.js → billing-7YRVKWAU.js} +99 -99
  8. package/dist/cli/{chunk-6PIQC2XE.mjs → chunk-22Z2U5MW.mjs} +3 -3
  9. package/dist/cli/{chunk-QGJ4DYGE.js → chunk-24XWLHKJ.js} +1 -1
  10. package/dist/cli/{chunk-IS67LBNV.js → chunk-2YQGXPQ7.js} +2 -2
  11. package/dist/cli/{chunk-I57JNBKA.mjs → chunk-3MVBZ4XI.mjs} +5 -5
  12. package/dist/cli/{chunk-CEEUL7ER.mjs → chunk-53HQJS6D.mjs} +1 -1
  13. package/dist/cli/{chunk-BFM2RCC3.js → chunk-6BJHMXMA.js} +2 -2
  14. package/dist/cli/{chunk-QGDU23YW.js → chunk-A4KQZ6P5.js} +8 -8
  15. package/dist/cli/{chunk-LIS6UJSC.mjs → chunk-D7DXRFM2.mjs} +1 -1
  16. package/dist/cli/{chunk-YJ46MJMT.js → chunk-EEUJNR5K.js} +6 -6
  17. package/dist/cli/{chunk-C7BQBKRZ.js → chunk-EYL4V32Q.js} +4 -4
  18. package/dist/cli/{chunk-NADXF2C5.js → chunk-FDVSB4NF.js} +53 -53
  19. package/dist/cli/{chunk-P2MVPTFJ.mjs → chunk-FHMGNUOP.mjs} +1 -1
  20. package/dist/cli/{chunk-FCG42RQZ.js → chunk-G7IGOVPF.js} +20 -20
  21. package/dist/cli/{chunk-BHHCQGUY.mjs → chunk-GETMCDVX.mjs} +5 -5
  22. package/dist/cli/{chunk-A5MRMCMW.js → chunk-GFHBS7HG.js} +5 -5
  23. package/dist/cli/{chunk-7Q5I4KEG.mjs → chunk-GWS7XJI2.mjs} +4 -4
  24. package/dist/cli/{chunk-CG3R4ZFS.mjs → chunk-II33OPIO.mjs} +1 -1
  25. package/dist/cli/{chunk-YVWINBZL.js → chunk-IUDO463I.js} +20 -20
  26. package/dist/cli/{chunk-67J4K4G2.js → chunk-JME33A35.js} +15 -15
  27. package/dist/cli/{chunk-FH55SB63.js → chunk-JUTXZW3S.js} +7 -7
  28. package/dist/cli/{chunk-5V45LY6Y.js → chunk-K5BZF2VO.js} +9 -9
  29. package/dist/cli/{chunk-ARGJDP77.mjs → chunk-KACD2TYW.mjs} +2 -2
  30. package/dist/cli/{chunk-YBJSDL34.mjs → chunk-KGCY3MSS.mjs} +5 -5
  31. package/dist/cli/{chunk-6GBQNS6L.mjs → chunk-LTCV5BI2.mjs} +1 -1
  32. package/dist/cli/{chunk-4CTBC6Q7.js → chunk-LWOYDMYC.js} +3 -3
  33. package/dist/cli/{chunk-FF3BWNLL.mjs → chunk-MJ4JEJLL.mjs} +1 -1
  34. package/dist/cli/{chunk-KMNLER7F.mjs → chunk-MPEMAGZS.mjs} +11 -11
  35. package/dist/cli/{chunk-AL4QQKUK.mjs → chunk-MWZEGRY2.mjs} +2 -2
  36. package/dist/cli/{chunk-XPSSXKBT.mjs → chunk-OFC24U3N.mjs} +2 -2
  37. package/dist/cli/{chunk-VPJ663PV.js → chunk-OJ3FRPEP.js} +10 -10
  38. package/dist/cli/{chunk-DDI4LNVC.js → chunk-OSHKFYY4.js} +41 -41
  39. package/dist/cli/{chunk-D4GCU735.mjs → chunk-P2DFD2NG.mjs} +1 -1
  40. package/dist/cli/{chunk-M4CJGF53.js → chunk-PNFC7VHH.js} +5 -5
  41. package/dist/cli/{chunk-XV4DHKZ2.js → chunk-PQ52YTDB.js} +13 -13
  42. package/dist/cli/{chunk-MAN4IEO4.mjs → chunk-PZUBDHQ7.mjs} +4 -4
  43. package/dist/cli/{chunk-PAJLUB37.js → chunk-QGVOD6Y4.js} +100 -100
  44. package/dist/cli/{chunk-OWOUDGHO.js → chunk-QQ6AVBHW.js} +23 -23
  45. package/dist/cli/{chunk-7Q3EXOLC.js → chunk-SSE5P2CX.js} +12 -12
  46. package/dist/cli/{chunk-NAJAAIEE.js → chunk-TIMFDVUN.js} +48 -48
  47. package/dist/cli/{chunk-I3PX6NGG.js → chunk-TPLISQND.js} +5 -5
  48. package/dist/cli/{chunk-2FFZ5SEU.mjs → chunk-UA2VLWZH.mjs} +2 -2
  49. package/dist/cli/{chunk-DJAP2M5M.mjs → chunk-UHIOXXAO.mjs} +1 -1
  50. package/dist/cli/{chunk-GAQ6VSRS.mjs → chunk-URACGTQE.mjs} +1 -1
  51. package/dist/cli/{chunk-T6W7SKE7.mjs → chunk-VZKBLSTA.mjs} +2 -2
  52. package/dist/cli/{chunk-6LFPPAMD.js → chunk-WZUOUQZ3.js} +3 -3
  53. package/dist/cli/{chunk-RIQYBKHK.js → chunk-XNN45XYF.js} +2 -2
  54. package/dist/cli/{chunk-WJ7RY3PJ.mjs → chunk-XPS2UBYV.mjs} +3 -3
  55. package/dist/cli/{chunk-P3SLGOGA.mjs → chunk-XXZDT3U7.mjs} +2 -2
  56. package/dist/cli/{chunk-6BDLYZYL.js → chunk-YE7OCVI5.js} +26 -26
  57. package/dist/cli/{chunk-BWWLLK56.mjs → chunk-YFUFYV4M.mjs} +5 -5
  58. package/dist/cli/{chunk-4SVFZCCI.mjs → chunk-YODGCJPX.mjs} +2 -2
  59. package/dist/cli/{chunk-CB5DIX5K.mjs → chunk-ZMC5FEJN.mjs} +2 -2
  60. package/dist/cli/{concurrent-runs-help-ZWWMHCK4.mjs → concurrent-runs-help-FCAZLZNA.mjs} +6 -6
  61. package/dist/cli/concurrent-runs-help-TVQO4USY.js +22 -0
  62. package/dist/cli/{csv-D76CXYOL.mjs → csv-BC26EB4B.mjs} +4 -4
  63. package/dist/cli/{csv-V2FR4SO2.js → csv-SCIQKZNH.js} +13 -13
  64. package/dist/cli/{db-B23O6Q4O.js → db-IJRJVIQ3.js} +27 -27
  65. package/dist/cli/{db-2D7PD7A3.mjs → db-RVOPGYKY.mjs} +6 -6
  66. package/dist/cli/describe-4FBGZZK5.js +50 -0
  67. package/dist/cli/{describe-3LG6VO3D.mjs → describe-K7CRL4PA.mjs} +18 -18
  68. package/dist/cli/{executions-4P4UBPMX.js → executions-IEVLTSXV.js} +8 -8
  69. package/dist/cli/{executions-ORWO4SR4.mjs → executions-PDOO2GFK.mjs} +6 -6
  70. package/dist/cli/{feedback-AY47IRDD.mjs → feedback-7YVUUROQ.mjs} +6 -6
  71. package/dist/cli/{feedback-LPHCSOJT.js → feedback-KHYOWTXA.js} +14 -14
  72. package/dist/cli/{git-LQGZNBZM.mjs → git-426CAP5S.mjs} +5 -5
  73. package/dist/cli/git-O6A2FVJE.js +26 -0
  74. package/dist/cli/index.js +143 -143
  75. package/dist/cli/index.mjs +45 -45
  76. package/dist/cli/{integrations-QEOUALDR.js → integrations-BVHTRN3W.js} +15 -15
  77. package/dist/cli/{integrations-NEUZIBQT.mjs → integrations-TNJ4IELE.mjs} +7 -7
  78. package/dist/cli/{legacy-noops-4G3DXN57.mjs → legacy-noops-2GB35THO.mjs} +6 -6
  79. package/dist/cli/{legacy-noops-PUO5VKHN.js → legacy-noops-F73BMPBV.js} +9 -9
  80. package/dist/cli/{mcp-USM2QUKK.mjs → mcp-BAGMQXNR.mjs} +4 -4
  81. package/dist/cli/{mcp-EWAZKABW.js → mcp-KMTC7OBK.js} +24 -24
  82. package/dist/cli/{monitors-T6FJSZCP.mjs → monitors-ECONWLHL.mjs} +7 -7
  83. package/dist/cli/{monitors-2BI5J46A.js → monitors-O2BUIK7Q.js} +100 -100
  84. package/dist/cli/{org-V6V3E7F7.js → org-5NQQ4PRU.js} +121 -121
  85. package/dist/cli/{org-BT45O64S.mjs → org-AEZZBWA3.mjs} +6 -6
  86. package/dist/cli/{outcomes-B6RPHM6M.js → outcomes-IKEQKAF7.js} +14 -14
  87. package/dist/cli/{outcomes-2T6W554M.mjs → outcomes-ZWHAJH5I.mjs} +6 -6
  88. package/dist/cli/{play-CBBGJPRI.mjs → play-BVKLMTAS.mjs} +19 -19
  89. package/dist/cli/{play-YCFVGEWK.js → play-VDWB7FZ5.js} +324 -324
  90. package/dist/cli/{providers-AGRUGBIY.js → providers-RXT3Q5Q7.js} +9 -9
  91. package/dist/cli/{providers-RHBUQFFO.mjs → providers-SWRTGKJJ.mjs} +6 -6
  92. package/dist/cli/{quickstart-OPR5NLIQ.mjs → quickstart-GQVXM7XV.mjs} +4 -4
  93. package/dist/cli/{quickstart-6N2KPWII.js → quickstart-UJJNXI2S.js} +6 -6
  94. package/dist/cli/{run-HAU2STMQ.mjs → run-GDIEU622.mjs} +23 -23
  95. package/dist/cli/{run-MMANMS4E.js → run-WOTVRFGN.js} +44 -44
  96. package/dist/cli/{search-TGWQMQ2C.mjs → search-EWC7V6GT.mjs} +7 -7
  97. package/dist/cli/search-UIZHXBHR.js +32 -0
  98. package/dist/cli/{search-output-DZBYNJEO.mjs → search-output-FCW4R6Z4.mjs} +4 -4
  99. package/dist/cli/{search-output-VVM3DO2H.js → search-output-FL7STAYJ.js} +6 -6
  100. package/dist/cli/{secrets-V5WD552F.js → secrets-UXDUGONR.js} +15 -15
  101. package/dist/cli/{secrets-Z6NEKNWM.mjs → secrets-XG22PDCR.mjs} +6 -6
  102. package/dist/cli/{sessions-C5GNXSPB.mjs → sessions-2OKBG7FD.mjs} +6 -6
  103. package/dist/cli/sessions-DPYJFTCW.js +23 -0
  104. package/dist/cli/{settings-QUDVUIOJ.mjs → settings-EDYA2V4W.mjs} +12 -12
  105. package/dist/cli/{settings-EZPZXJDG.js → settings-RWN7YHK3.js} +85 -85
  106. package/dist/cli/{setup-QY5VVGWQ.js → setup-HA3PG3ST.js} +49 -49
  107. package/dist/cli/{setup-BCJBVQTI.mjs → setup-UZW2IHAT.mjs} +9 -9
  108. package/dist/cli/skills-RQ6V5TGY.js +37 -0
  109. package/dist/cli/{skills-LY2WZ22U.mjs → skills-V4KAUQQA.mjs} +7 -7
  110. package/dist/cli/{tools-FNCTTFWA.mjs → tools-HFUGLYHU.mjs} +17 -17
  111. package/dist/cli/tools-NGQKXMHP.js +57 -0
  112. package/dist/cli/{update-YKQAC4AQ.mjs → update-S3KEH7P2.mjs} +9 -9
  113. package/dist/cli/update-SJJK6XXM.js +37 -0
  114. package/dist/cli/{views-NBTOBB67.js → views-QH5L37UW.js} +21 -21
  115. package/dist/cli/{views-5R5NVYHL.mjs → views-Y7Y5Y7V2.mjs} +6 -6
  116. package/dist/cli/{workflow-VNPT5VQS.js → workflow-4W5JT5HP.js} +17 -17
  117. package/dist/cli/{workflow-HBDW43GT.mjs → workflow-XNN54KIK.mjs} +7 -7
  118. package/dist/index.js +9 -9
  119. package/dist/index.mjs +6 -6
  120. package/dist/install-integrity.json +112 -112
  121. package/dist/release.d.mts +1 -1
  122. package/dist/release.d.ts +1 -1
  123. package/dist/release.js +2 -2
  124. package/dist/release.mjs +1 -1
  125. package/dist/server.js +5 -5
  126. package/dist/server.mjs +3 -3
  127. package/package.json +1 -1
  128. package/dist/cli/auth-TWSGYOWI.js +0 -44
  129. package/dist/cli/concurrent-runs-help-4VRUNL3T.js +0 -22
  130. package/dist/cli/describe-QE4ITFPG.js +0 -50
  131. package/dist/cli/git-XXVGEPEM.js +0 -26
  132. package/dist/cli/search-7LMUBMDC.js +0 -32
  133. package/dist/cli/sessions-VYIPZBSR.js +0 -23
  134. package/dist/cli/skills-PKNTNDYL.js +0 -37
  135. package/dist/cli/tools-D6CKFZL3.js +0 -57
  136. package/dist/cli/update-E2H2DWH4.js +0 -37
@@ -1,23 +1,23 @@
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 _chunkRIQYBKHKjs = require('./chunk-RIQYBKHK.js');
4
+ var _chunkXNN45XYFjs = require('./chunk-XNN45XYF.js');
5
5
 
6
6
 
7
- var _chunkDDI4LNVCjs = require('./chunk-DDI4LNVC.js');
7
+ var _chunkOSHKFYY4js = require('./chunk-OSHKFYY4.js');
8
8
 
9
9
 
10
- var _chunkNAJAAIEEjs = require('./chunk-NAJAAIEE.js');
10
+ var _chunkTIMFDVUNjs = require('./chunk-TIMFDVUN.js');
11
11
 
12
12
 
13
- var _chunkYVWINBZLjs = require('./chunk-YVWINBZL.js');
13
+ var _chunkIUDO463Ijs = require('./chunk-IUDO463I.js');
14
14
 
15
15
 
16
16
 
17
17
 
18
18
 
19
19
 
20
- var _chunk4CTBC6Q7js = require('./chunk-4CTBC6Q7.js');
20
+ var _chunkLWOYDMYCjs = require('./chunk-LWOYDMYC.js');
21
21
 
22
22
  // src/cli/commands/update.ts
23
23
  var _child_process = require('child_process');
@@ -499,7 +499,7 @@ function normalizedNpmPrefix(value) {
499
499
  }
500
500
  function resolveNpmGlobalPrefix(env) {
501
501
  try {
502
- const plan = _chunkNAJAAIEEjs.resolveShellSpawn.call(void 0,
502
+ const plan = _chunkTIMFDVUNjs.resolveShellSpawn.call(void 0,
503
503
  "npm",
504
504
  ["prefix", "-g"],
505
505
  process.platform,
@@ -561,8 +561,8 @@ function resolveUpdatePlan(options = {}) {
561
561
  const npmGlobalPrefix = options.npmGlobalPrefix !== void 0 ? options.npmGlobalPrefix : resolveNpmGlobalPrefix(env);
562
562
  const hasVerifiedNpmOwnership = inferredInstallPrefix !== null && normalizedNpmPrefix(inferredInstallPrefix) === normalizedNpmPrefix(npmGlobalPrefix);
563
563
  const installPrefix = options.requireVerifiedNpmOwnership ? hasVerifiedNpmOwnership ? inferredInstallPrefix : null : inferredInstallPrefix;
564
- const npmVersion = options.npmVersion === void 0 ? _chunkRIQYBKHKjs.readNpmVersion.call(void 0, env) : options.npmVersion;
565
- const npmGlobalInstallFlags = _chunkRIQYBKHKjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
564
+ const npmVersion = options.npmVersion === void 0 ? _chunkXNN45XYFjs.readNpmVersion.call(void 0, env) : options.npmVersion;
565
+ const npmGlobalInstallFlags = _chunkXNN45XYFjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
566
566
  const args = installPrefix ? [
567
567
  "install",
568
568
  "-g",
@@ -572,7 +572,7 @@ function resolveUpdatePlan(options = {}) {
572
572
  packageSpec
573
573
  ] : ["install", "-g", ...npmGlobalInstallFlags, packageSpec];
574
574
  const fallbackRegistryUrl = options.npmFallbackRegistryUrl !== void 0 ? options.npmFallbackRegistryUrl : publicNpmFallbackRegistryUrl(
575
- _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunk4CTBC6Q7js.autoDetectBaseUrl.call(void 0, )
575
+ _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkLWOYDMYCjs.autoDetectBaseUrl.call(void 0, )
576
576
  );
577
577
  return {
578
578
  kind: "npm-global",
@@ -821,7 +821,7 @@ function sidecarInstallFailure(versionDir) {
821
821
  function runCommand(command, args, env = process.env) {
822
822
  return new Promise((resolveResult) => {
823
823
  let output = "";
824
- const plan = _chunkNAJAAIEEjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
824
+ const plan = _chunkTIMFDVUNjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
825
825
  const child = _child_process.spawn.call(void 0, plan.command, plan.args, {
826
826
  windowsHide: true,
827
827
  stdio: ["inherit", "pipe", "pipe"],
@@ -1169,7 +1169,7 @@ function normalizePinnedVersion(value) {
1169
1169
  }
1170
1170
  async function readPinMetadata(registryUrl, version) {
1171
1171
  const controller = new AbortController();
1172
- const timeout = setTimeout(() => controller.abort(), _chunk4CTBC6Q7js.DEFAULT_TIMEOUT);
1172
+ const timeout = setTimeout(() => controller.abort(), _chunkLWOYDMYCjs.DEFAULT_TIMEOUT);
1173
1173
  try {
1174
1174
  const response = await fetch(
1175
1175
  new URL(
@@ -1185,7 +1185,7 @@ async function readPinMetadata(registryUrl, version) {
1185
1185
  if (!response.ok) {
1186
1186
  return {
1187
1187
  kind: "miss",
1188
- transient: _chunk4CTBC6Q7js.TRANSIENT_HTTP_STATUSES.has(response.status),
1188
+ transient: _chunkLWOYDMYCjs.TRANSIENT_HTTP_STATUSES.has(response.status),
1189
1189
  error: new Error(`${registryUrl} returned HTTP ${response.status}`)
1190
1190
  };
1191
1191
  }
@@ -1219,8 +1219,8 @@ async function publishedVersionSupportsPin(version, fallbackRegistryUrl, retry =
1219
1219
  "https://registry.npmjs.org/",
1220
1220
  ...fallbackRegistryUrl ? [fallbackRegistryUrl] : []
1221
1221
  ];
1222
- const maxRetries = _nullishCoalesce(retry.maxRetries, () => ( _chunk4CTBC6Q7js.DEFAULT_MAX_RETRIES));
1223
- const backoffMs = _nullishCoalesce(retry.backoffMs, () => ( _chunk4CTBC6Q7js.defaultRetryBackoffMs));
1222
+ const maxRetries = _nullishCoalesce(retry.maxRetries, () => ( _chunkLWOYDMYCjs.DEFAULT_MAX_RETRIES));
1223
+ const backoffMs = _nullishCoalesce(retry.backoffMs, () => ( _chunkLWOYDMYCjs.defaultRetryBackoffMs));
1224
1224
  let lastError = null;
1225
1225
  for (let round = 1; ; round += 1) {
1226
1226
  let transientOnly = true;
@@ -1283,14 +1283,14 @@ async function resolveInstalledVersionIfLatest(plan) {
1283
1283
  return null;
1284
1284
  }
1285
1285
  async function runUpdateCommand(options, dependencies = {}) {
1286
- const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunk4CTBC6Q7js.autoDetectBaseUrl));
1286
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkLWOYDMYCjs.autoDetectBaseUrl));
1287
1287
  const resolvePlan = _nullishCoalesce(dependencies.resolvePlan, () => ( resolveUpdatePlan));
1288
1288
  const runPlan = _nullishCoalesce(dependencies.runPlan, () => ( runUpdatePlan));
1289
1289
  const syncSkills = _nullishCoalesce(dependencies.syncSkillsIfNeeded, () => ( (async () => {
1290
1290
  const originalWrite = process.stdout.write.bind(process.stdout);
1291
1291
  process.stdout.write = (() => true);
1292
1292
  try {
1293
- const exitCode = await _chunkDDI4LNVCjs.runSkillsCommand.call(void 0, { json: true });
1293
+ const exitCode = await _chunkOSHKFYY4js.runSkillsCommand.call(void 0, { json: true });
1294
1294
  if (exitCode !== 0) {
1295
1295
  throw new Error(
1296
1296
  `Deepline skills update failed with exit ${exitCode}.`
@@ -1363,7 +1363,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1363
1363
  };
1364
1364
  if (options.json && !options.executeWithJson) {
1365
1365
  const upToDateVersion2 = pinnedVersion || options.force ? null : await resolveUpToDateVersion(plan);
1366
- _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
1366
+ _chunkIUDO463Ijs.printCommandEnvelope.call(void 0,
1367
1367
  {
1368
1368
  ...plan,
1369
1369
  updated: false,
@@ -1375,7 +1375,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1375
1375
  return 0;
1376
1376
  }
1377
1377
  if (options.printCommand) {
1378
- _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
1378
+ _chunkIUDO463Ijs.printCommandEnvelope.call(void 0,
1379
1379
  {
1380
1380
  ...plan,
1381
1381
  render: {
@@ -1388,7 +1388,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1388
1388
  return 0;
1389
1389
  }
1390
1390
  if (plan.kind === "source" || plan.kind === "homebrew") {
1391
- _chunkYVWINBZLjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1391
+ _chunkIUDO463Ijs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1392
1392
  return 0;
1393
1393
  }
1394
1394
  const upToDateVersion = pinnedVersion || options.force ? null : await resolveUpToDateVersion(plan);
@@ -1426,7 +1426,7 @@ To retry with full installer output, run: deepline skills install
1426
1426
  );
1427
1427
  }
1428
1428
  if (options.executeWithJson && options.json) {
1429
- _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
1429
+ _chunkIUDO463Ijs.printCommandEnvelope.call(void 0,
1430
1430
  {
1431
1431
  ok: true,
1432
1432
  pinnedVersion,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  seedToolListScript
3
- } from "./chunk-KMNLER7F.mjs";
3
+ } from "./chunk-MPEMAGZS.mjs";
4
4
  import {
5
5
  addDescribeOptions
6
- } from "./chunk-CG3R4ZFS.mjs";
6
+ } from "./chunk-II33OPIO.mjs";
7
7
  import {
8
8
  describeLookupsFor,
9
9
  describeName,
@@ -14,16 +14,16 @@ import {
14
14
  } from "./chunk-BM4GE67C.mjs";
15
15
  import {
16
16
  DeeplineClient
17
- } from "./chunk-T6W7SKE7.mjs";
17
+ } from "./chunk-VZKBLSTA.mjs";
18
18
  import {
19
19
  failureReportHeaders,
20
20
  isFailureReportingDisabled,
21
21
  printCommandEnvelope
22
- } from "./chunk-CB5DIX5K.mjs";
22
+ } from "./chunk-ZMC5FEJN.mjs";
23
23
  import {
24
24
  autoDetectBaseUrl,
25
25
  resolveApiKeyForBaseUrl
26
- } from "./chunk-CEEUL7ER.mjs";
26
+ } from "./chunk-53HQJS6D.mjs";
27
27
 
28
28
  // src/cli/commands/describe.ts
29
29
  import { writeFileSync } from "fs";
@@ -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(); } }
2
2
 
3
- var _chunkQGDU23YWjs = require('./chunk-QGDU23YW.js');
3
+ var _chunkA4KQZ6P5js = require('./chunk-A4KQZ6P5.js');
4
4
 
5
5
 
6
6
 
7
- var _chunk4CTBC6Q7js = require('./chunk-4CTBC6Q7.js');
7
+ var _chunkLWOYDMYCjs = require('./chunk-LWOYDMYC.js');
8
8
 
9
9
  // src/plays/local-play-execution.ts
10
10
  function importedNodes(graph) {
@@ -137,9 +137,9 @@ async function pinLocalPlayImports(client, graph) {
137
137
 
138
138
  // src/plays/client.ts
139
139
  function createPlayClient(options) {
140
- const config = _chunk4CTBC6Q7js.resolveConfig.call(void 0, options);
141
- return new (0, _chunkQGDU23YWjs.PlayClient)(
142
- new (0, _chunk4CTBC6Q7js.HttpClient)(config),
140
+ const config = _chunkLWOYDMYCjs.resolveConfig.call(void 0, options);
141
+ return new (0, _chunkA4KQZ6P5js.PlayClient)(
142
+ new (0, _chunkLWOYDMYCjs.HttpClient)(config),
143
143
  _nullishCoalesce(config.environment, () => ( process.env))
144
144
  );
145
145
  }
@@ -3,16 +3,16 @@ import {
3
3
  } from "./chunk-5AEDYVB6.mjs";
4
4
  import {
5
5
  DeeplineClient
6
- } from "./chunk-T6W7SKE7.mjs";
6
+ } from "./chunk-VZKBLSTA.mjs";
7
7
  import {
8
8
  errorToJsonPayload,
9
9
  printCommandEnvelope,
10
10
  resolveSdkCliFailureExitCode
11
- } from "./chunk-CB5DIX5K.mjs";
11
+ } from "./chunk-ZMC5FEJN.mjs";
12
12
  import {
13
13
  resolveConfig,
14
14
  sdkCliStateDirPath
15
- } from "./chunk-CEEUL7ER.mjs";
15
+ } from "./chunk-53HQJS6D.mjs";
16
16
 
17
17
  // src/cli/commands/search.ts
18
18
  import { Option } from "commander";
@@ -134,7 +134,7 @@ async function runSearch(queryInputs, options, types, exclude = []) {
134
134
  }
135
135
  const client = new DeeplineClient();
136
136
  const json = options.json === true;
137
- const renderer = json ? void 0 : await import("./search-output-DZBYNJEO.mjs");
137
+ const renderer = json ? void 0 : await import("./search-output-FCW4R6Z4.mjs");
138
138
  const searches = [];
139
139
  const chunks = [];
140
140
  const refs = /* @__PURE__ */ new Map();
@@ -9,7 +9,7 @@ import {
9
9
  formatCliFailureDiagnostic,
10
10
  markJsonOutputHandled,
11
11
  writeRawStderr
12
- } from "./chunk-CB5DIX5K.mjs";
12
+ } from "./chunk-ZMC5FEJN.mjs";
13
13
 
14
14
  // src/cli/describe-options.ts
15
15
  function addDescribeOptions(command, options = {}) {
@@ -4,14 +4,14 @@
4
4
 
5
5
 
6
6
 
7
- var _chunk4CTBC6Q7js = require('./chunk-4CTBC6Q7.js');
7
+ var _chunkLWOYDMYCjs = require('./chunk-LWOYDMYC.js');
8
8
 
9
9
 
10
10
 
11
11
 
12
12
 
13
13
 
14
- var _chunkC7BQBKRZjs = require('./chunk-C7BQBKRZ.js');
14
+ var _chunkEYL4V32Qjs = require('./chunk-EYL4V32Q.js');
15
15
 
16
16
 
17
17
 
@@ -331,7 +331,7 @@ function buildEnvironmentContext() {
331
331
  node_version: process.version,
332
332
  runtime: "Node.js",
333
333
  hostname: _os.hostname.call(void 0, ),
334
- agent_runtime: _chunkC7BQBKRZjs.detectAgentRuntime.call(void 0, )
334
+ agent_runtime: _chunkEYL4V32Qjs.detectAgentRuntime.call(void 0, )
335
335
  };
336
336
  for (const key of ["CLAUDE_CODE_REMOTE", "DEEPLINE_PLUGIN_MODE"]) {
337
337
  const normalized = _optionalChain([process, 'access', _6 => _6.env, 'access', _7 => _7[key], 'optionalAccess', _8 => _8.trim, 'call', _9 => _9()]);
@@ -352,18 +352,18 @@ function buildEnvironmentContext() {
352
352
  return context;
353
353
  }
354
354
  function failureReportHeaders(apiKey) {
355
- const agentSessionId = _chunkC7BQBKRZjs.agentSessionIdFromEnvironment.call(void 0, );
355
+ const agentSessionId = _chunkEYL4V32Qjs.agentSessionIdFromEnvironment.call(void 0, );
356
356
  return {
357
- ..._chunkC7BQBKRZjs.deploymentProtectionHeaders.call(void 0, ),
357
+ ..._chunkEYL4V32Qjs.deploymentProtectionHeaders.call(void 0, ),
358
358
  ...agentSessionId ? { "X-Deepline-Agent-Session-Id": agentSessionId } : {},
359
359
  Authorization: `Bearer ${apiKey}`,
360
360
  "Content-Type": "application/json",
361
- "User-Agent": `deepline-ts-sdk/${_chunkC7BQBKRZjs.SDK_VERSION}`,
361
+ "User-Agent": `deepline-ts-sdk/${_chunkEYL4V32Qjs.SDK_VERSION}`,
362
362
  "X-Deepline-Client-Family": "sdk",
363
363
  "X-Deepline-CLI-Family": "sdk",
364
- "X-Deepline-Agent-Runtime": _chunkC7BQBKRZjs.detectAgentRuntime.call(void 0, ),
365
- "X-Deepline-CLI-Version": _chunkC7BQBKRZjs.SDK_VERSION,
366
- "X-Deepline-SDK-Version": _chunkC7BQBKRZjs.SDK_VERSION
364
+ "X-Deepline-Agent-Runtime": _chunkEYL4V32Qjs.detectAgentRuntime.call(void 0, ),
365
+ "X-Deepline-CLI-Version": _chunkEYL4V32Qjs.SDK_VERSION,
366
+ "X-Deepline-SDK-Version": _chunkEYL4V32Qjs.SDK_VERSION
367
367
  };
368
368
  }
369
369
  async function postFailureReport(input) {
@@ -391,7 +391,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
391
391
  if (isFailureReportingDisabled()) return false;
392
392
  let apiKey = "";
393
393
  try {
394
- apiKey = _chunk4CTBC6Q7js.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
394
+ apiKey = _chunkLWOYDMYCjs.resolveApiKeyForBaseUrl.call(void 0, input.baseUrl);
395
395
  } catch (e2) {
396
396
  return false;
397
397
  }
@@ -418,7 +418,7 @@ async function maybeReportAutomaticSkillsSyncFailure(input) {
418
418
  failure_code: failureCode2,
419
419
  failure_stage: failureStage,
420
420
  error_body: "Automatic Deepline skills installation failed.",
421
- cli_version: _chunkC7BQBKRZjs.SDK_VERSION,
421
+ cli_version: _chunkEYL4V32Qjs.SDK_VERSION,
422
422
  context: {
423
423
  environment: buildEnvironmentContext(),
424
424
  skills_sync: {
@@ -538,7 +538,7 @@ function buildFailureReport(input) {
538
538
  failure_kind: failureKind,
539
539
  failure_code: code,
540
540
  failure_stage: input.error === void 0 ? "command_exit" : "cli_main",
541
- cli_version: _chunkC7BQBKRZjs.SDK_VERSION,
541
+ cli_version: _chunkEYL4V32Qjs.SDK_VERSION,
542
542
  context: {
543
543
  base_url: redactFailureText(input.baseUrl, 400),
544
544
  command_summary: sanitizeCommand(input.argv),
@@ -558,8 +558,8 @@ async function maybeReportSdkCliFailure(input) {
558
558
  if (isServerLoggedPlayRunStartFailure(input)) return false;
559
559
  const exitCode = resolvedExitCode(input);
560
560
  if (!shouldReport({ exitCode, error: input.error })) return false;
561
- const baseUrl = _chunk4CTBC6Q7js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
562
- const apiKey = _chunk4CTBC6Q7js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
561
+ const baseUrl = _chunkLWOYDMYCjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
562
+ const apiKey = _chunkLWOYDMYCjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
563
563
  if (!apiKey) return false;
564
564
  return postFailureReport({
565
565
  baseUrl,
@@ -914,8 +914,8 @@ var BROWSER_OPEN_COOLDOWN_MS = 3e4;
914
914
  var SAME_URL_BROWSER_OPEN_COOLDOWN_MS = 5 * 6e4;
915
915
  var defaultBrowserCommandRunner = childProcess;
916
916
  function getAuthedHttpClient() {
917
- const config = _chunk4CTBC6Q7js.resolveConfig.call(void 0, );
918
- return { config, http: new (0, _chunk4CTBC6Q7js.HttpClient)(config) };
917
+ const config = _chunkLWOYDMYCjs.resolveConfig.call(void 0, );
918
+ return { config, http: new (0, _chunkLWOYDMYCjs.HttpClient)(config) };
919
919
  }
920
920
  function stableOsUserId() {
921
921
  try {
@@ -1256,7 +1256,7 @@ function collectLocalEnvInfo() {
1256
1256
  os: `${process.platform} ${process.arch}`,
1257
1257
  node_version: process.version,
1258
1258
  home_dir: homeDir,
1259
- agent_runtime: _chunkC7BQBKRZjs.detectAgentRuntime.call(void 0, )
1259
+ agent_runtime: _chunkEYL4V32Qjs.detectAgentRuntime.call(void 0, )
1260
1260
  };
1261
1261
  const env = process.env;
1262
1262
  const optional = {
@@ -1503,9 +1503,9 @@ function markdownTableFromRows(rows, preferredColumns = []) {
1503
1503
  }
1504
1504
  function withAgentCommandContext(value) {
1505
1505
  const valueRecord = value !== null && typeof value === "object" && !Array.isArray(value) ? value : null;
1506
- return _chunkC7BQBKRZjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
1506
+ return _chunkEYL4V32Qjs.detectAgentRuntime.call(void 0, ) !== "unknown" && valueRecord && !Object.prototype.hasOwnProperty.call(valueRecord, "command_context") ? {
1507
1507
  ...valueRecord,
1508
- command_context: _chunk4CTBC6Q7js.resolveCliCommandContext.call(void 0, )
1508
+ command_context: _chunkLWOYDMYCjs.resolveCliCommandContext.call(void 0, )
1509
1509
  } : value;
1510
1510
  }
1511
1511
  function printJson(value, fields, options = {}) {
@@ -1677,7 +1677,7 @@ function errorToJsonPayload(error) {
1677
1677
  ...upstreamResponse ? { upstreamResponse } : {},
1678
1678
  ...Object.keys(details).length > 0 ? { details } : {}
1679
1679
  };
1680
- const retry = cliRetryGuidance(payloadError, _chunkC7BQBKRZjs.readToolFailureHint.call(void 0, error));
1680
+ const retry = cliRetryGuidance(payloadError, _chunkEYL4V32Qjs.readToolFailureHint.call(void 0, error));
1681
1681
  return {
1682
1682
  ok: false,
1683
1683
  status: "failed",
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkPAJLUB37js = require('./chunk-PAJLUB37.js');
3
+ var _chunkQGVOD6Y4js = require('./chunk-QGVOD6Y4.js');
4
4
 
5
5
 
6
- var _chunkFH55SB63js = require('./chunk-FH55SB63.js');
6
+ var _chunkJUTXZW3Sjs = require('./chunk-JUTXZW3S.js');
7
7
 
8
8
 
9
9
 
@@ -14,16 +14,16 @@ var _chunk6ASDTHENjs = require('./chunk-6ASDTHEN.js');
14
14
  var _chunkLHPYCJNLjs = require('./chunk-LHPYCJNL.js');
15
15
 
16
16
 
17
- var _chunkM4CJGF53js = require('./chunk-M4CJGF53.js');
17
+ var _chunkPNFC7VHHjs = require('./chunk-PNFC7VHH.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
- var _chunkYVWINBZLjs = require('./chunk-YVWINBZL.js');
22
+ var _chunkIUDO463Ijs = require('./chunk-IUDO463I.js');
23
23
 
24
24
 
25
25
 
26
- var _chunk4CTBC6Q7js = require('./chunk-4CTBC6Q7.js');
26
+ var _chunkLWOYDMYCjs = require('./chunk-LWOYDMYC.js');
27
27
 
28
28
  // src/cli/commands/describe.ts
29
29
  var _fs = require('fs');
@@ -32,14 +32,14 @@ var _path = require('path');
32
32
  // src/cli/doc-read-reporting.ts
33
33
  var REPORT_TIMEOUT_MS = 1e3;
34
34
  async function reportDocRead(docId) {
35
- if (_chunkYVWINBZLjs.isFailureReportingDisabled.call(void 0, )) return;
35
+ if (_chunkIUDO463Ijs.isFailureReportingDisabled.call(void 0, )) return;
36
36
  try {
37
- const baseUrl = _chunk4CTBC6Q7js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
38
- const apiKey = _chunk4CTBC6Q7js.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
37
+ const baseUrl = _chunkLWOYDMYCjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
38
+ const apiKey = _chunkLWOYDMYCjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
39
39
  if (!apiKey) return;
40
40
  await fetch(new URL("/api/v2/telemetry/doc-read", baseUrl), {
41
41
  method: "POST",
42
- headers: _chunkYVWINBZLjs.failureReportHeaders.call(void 0, apiKey),
42
+ headers: _chunkIUDO463Ijs.failureReportHeaders.call(void 0, apiKey),
43
43
  body: JSON.stringify({ doc_id: docId }),
44
44
  signal: AbortSignal.timeout(REPORT_TIMEOUT_MS)
45
45
  });
@@ -52,16 +52,16 @@ function nothingNamed(name) {
52
52
  return `Nothing named "${name}". Search for it: deepline search ${JSON.stringify(name.replace(/[-_./]+/g, " "))}`;
53
53
  }
54
54
  function findNamed2(name, options) {
55
- return _chunk6ASDTHENjs.findNamed.call(void 0, name, options, _chunk6ASDTHENjs.describeLookupsFor.call(void 0, new (0, _chunkM4CJGF53js.DeeplineClient)()));
55
+ return _chunk6ASDTHENjs.findNamed.call(void 0, name, options, _chunk6ASDTHENjs.describeLookupsFor.call(void 0, new (0, _chunkPNFC7VHHjs.DeeplineClient)()));
56
56
  }
57
57
  async function describeAnything(name, options, onMissing) {
58
- const client = new (0, _chunkM4CJGF53js.DeeplineClient)();
58
+ const client = new (0, _chunkPNFC7VHHjs.DeeplineClient)();
59
59
  const lookups = _chunk6ASDTHENjs.describeLookupsFor.call(void 0, client);
60
60
  const outcome = await _chunk6ASDTHENjs.describeName.call(void 0, name, options, {
61
61
  ...lookups,
62
62
  // `tools describe` has already fetched the tool for its compatibility check.
63
63
  tool: async (toolName) => _nullishCoalesce(options.fetchedTool, () => ( lookups.tool(toolName))),
64
- seedStarterScript: _chunkPAJLUB37js.seedToolListScript
64
+ seedStarterScript: _chunkQGVOD6Y4js.seedToolListScript
65
65
  });
66
66
  if (outcome.status === "missing") {
67
67
  if (onMissing) return onMissing();
@@ -90,18 +90,18 @@ function deliver(envelope, lines, { json, out }) {
90
90
  ` : text;
91
91
  _fs.writeFileSync.call(void 0, path, content);
92
92
  const bytes = Buffer.byteLength(content);
93
- _chunkYVWINBZLjs.printCommandEnvelope.call(void 0,
93
+ _chunkIUDO463Ijs.printCommandEnvelope.call(void 0,
94
94
  { path, bytes },
95
95
  { json, text: `Wrote ${path} (${bytes} bytes)
96
96
  ` }
97
97
  );
98
98
  return 0;
99
99
  }
100
- _chunkYVWINBZLjs.printCommandEnvelope.call(void 0, envelope, { json, text });
100
+ _chunkIUDO463Ijs.printCommandEnvelope.call(void 0, envelope, { json, text });
101
101
  return 0;
102
102
  }
103
103
  function registerDescribeCommand(program) {
104
- _chunkFH55SB63js.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
104
+ _chunkJUTXZW3Sjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
105
105
  "Describe anything search returns: a tool, monitor type, or play."
106
106
  ).addHelpText(
107
107
  "after",
@@ -9,7 +9,7 @@ var _chunkLHPYCJNLjs = require('./chunk-LHPYCJNL.js');
9
9
 
10
10
 
11
11
 
12
- var _chunkYVWINBZLjs = require('./chunk-YVWINBZL.js');
12
+ var _chunkIUDO463Ijs = require('./chunk-IUDO463I.js');
13
13
 
14
14
  // src/cli/describe-options.ts
15
15
  function addDescribeOptions(command, options = {}) {
@@ -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 _chunkYVWINBZLjs.csvSafeJsonString.call(void 0, canonicalDatasetJson(logicalValue));
253
+ return _chunkIUDO463Ijs.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 _chunkYVWINBZLjs.csvStringFromRows.call(void 0, projection.rows, projection.columns);
645
+ return _chunkIUDO463Ijs.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
- _chunkYVWINBZLjs.markJsonOutputHandled.call(void 0, );
773
+ _chunkIUDO463Ijs.markJsonOutputHandled.call(void 0, );
774
774
  } else {
775
775
  printReceipt(receipt, options, {
776
776
  data: hasData ? result.data : void 0,
@@ -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 = _chunkYVWINBZLjs.formatCliFailureDiagnostic.call(void 0, error);
942
+ const diagnostic = _chunkIUDO463Ijs.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
- _chunkYVWINBZLjs.writeRawStderr.call(void 0, text);
1036
- _chunkYVWINBZLjs.markJsonOutputHandled.call(void 0, );
1035
+ _chunkIUDO463Ijs.writeRawStderr.call(void 0, text);
1036
+ _chunkIUDO463Ijs.markJsonOutputHandled.call(void 0, );
1037
1037
  } else {
1038
1038
  (dataOnStdout(options) ? process.stderr : process.stdout).write(text);
1039
1039
  }
@@ -3,7 +3,7 @@
3
3
  var _chunkCSPHSNBWjs = require('./chunk-CSPHSNBW.js');
4
4
 
5
5
 
6
- var _chunkQGDU23YWjs = require('./chunk-QGDU23YW.js');
6
+ var _chunkA4KQZ6P5js = require('./chunk-A4KQZ6P5.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 _chunkYVWINBZLjs = require('./chunk-YVWINBZL.js');
14
+ var _chunkIUDO463Ijs = require('./chunk-IUDO463I.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 = _chunkYVWINBZLjs.parseJsonFields.call(void 0, args, "run");
584
+ const selection = _chunkIUDO463Ijs.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 ? _chunkYVWINBZLjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkYVWINBZLjs.argsWantJson.call(void 0, args);
596
+ let jsonOutput = dryRun ? _chunkIUDO463Ijs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkIUDO463Ijs.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 = _chunkQGDU23YWjs.parseLogLevel.call(void 0, value);
660
+ const parsed = _chunkA4KQZ6P5js.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 : _chunkQGDU23YWjs.parseLogLevel.call(void 0, options.logLevel);
993
+ let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkA4KQZ6P5js.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 : _chunkYVWINBZLjs.parseJsonFields.call(void 0,
1008
- [...fullJson ? ["--full"] : [], ..._chunkYVWINBZLjs.jsonFieldArgs.call(void 0, options.json)],
1007
+ const jsonFields = options.json === void 0 ? base.jsonFields : _chunkIUDO463Ijs.parseJsonFields.call(void 0,
1008
+ [...fullJson ? ["--full"] : [], ..._chunkIUDO463Ijs.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 || _chunkYVWINBZLjs.argsWantJson.call(void 0, []) : explicitJson;
1013
+ const jsonOutput = dryRun || !watch ? explicitJson || _chunkIUDO463Ijs.argsWantJson.call(void 0, []) : explicitJson;
1014
1014
  const verboseLogs = Boolean(
1015
1015
  debugAlias || logLevel === "debug" || debugMapLatency
1016
1016
  );
@@ -2,10 +2,10 @@ import {
2
2
  getAuthedHttpClient,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-CB5DIX5K.mjs";
5
+ } from "./chunk-ZMC5FEJN.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-CEEUL7ER.mjs";
8
+ } from "./chunk-53HQJS6D.mjs";
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -4,22 +4,22 @@ import {
4
4
  resolveUpdatePlan,
5
5
  runAutomaticUpdatePlan,
6
6
  shouldRunCliAutoUpdate
7
- } from "./chunk-BWWLLK56.mjs";
7
+ } from "./chunk-YFUFYV4M.mjs";
8
8
  import {
9
9
  isCiEnvironment,
10
10
  resolveShellSpawn,
11
11
  syncSdkSkillsIfNeeded
12
- } from "./chunk-I57JNBKA.mjs";
12
+ } from "./chunk-3MVBZ4XI.mjs";
13
13
  import {
14
14
  addJsonNotice,
15
15
  isJsonOutputMode
16
- } from "./chunk-CB5DIX5K.mjs";
16
+ } from "./chunk-ZMC5FEJN.mjs";
17
17
  import {
18
18
  resolveApiKeyForBaseUrl
19
- } from "./chunk-CEEUL7ER.mjs";
19
+ } from "./chunk-53HQJS6D.mjs";
20
20
  import {
21
21
  SDK_VERSION
22
- } from "./chunk-GAQ6VSRS.mjs";
22
+ } from "./chunk-URACGTQE.mjs";
23
23
 
24
24
  // src/cli/compatibility-catalog.ts
25
25
  var readers = /* @__PURE__ */ new WeakMap();
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveShellSpawn
3
- } from "./chunk-I57JNBKA.mjs";
3
+ } from "./chunk-3MVBZ4XI.mjs";
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  import { spawnSync } from "child_process";