deepline 0.3.464 → 0.3.465

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 (117) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/bundling-sources/shared_libs/play-runtime/context.ts +130 -57
  3. package/dist/cli/auth-W62UTNJZ.js +41 -0
  4. package/dist/cli/{auth-GMSI6QWR.mjs → auth-WZCX4MTH.mjs} +5 -5
  5. package/dist/cli/{billing-6G2RFLM7.mjs → billing-ATR3CLIW.mjs} +6 -6
  6. package/dist/cli/{billing-MGH36CNP.js → billing-DQUD3DBY.js} +77 -77
  7. package/dist/cli/{chunk-VYDOPASG.mjs → chunk-3K3EHT6E.mjs} +1 -1
  8. package/dist/cli/{chunk-WLIFUH6W.js → chunk-3XFNF6RR.js} +8 -8
  9. package/dist/cli/{chunk-4XNXFHG6.js → chunk-4URRABMM.js} +1 -1
  10. package/dist/cli/{chunk-GVJVBBGV.js → chunk-5VGMRONE.js} +3 -3
  11. package/dist/cli/{chunk-ACZLDP7L.js → chunk-6WKYRHGT.js} +3 -3
  12. package/dist/cli/{chunk-UM363DQF.mjs → chunk-6Y34LU6P.mjs} +2 -2
  13. package/dist/cli/{chunk-2RFTOESC.js → chunk-7R76B3WE.js} +5 -5
  14. package/dist/cli/{chunk-PPQL5F4P.mjs → chunk-7Y2MLWTM.mjs} +1 -1
  15. package/dist/cli/{chunk-UOAHDEAI.js → chunk-A3GML7WW.js} +9 -9
  16. package/dist/cli/{chunk-6KDOO7IM.mjs → chunk-B6GAIXVD.mjs} +4 -4
  17. package/dist/cli/{chunk-ZQERHPZA.js → chunk-BQNUJK53.js} +26 -26
  18. package/dist/cli/{chunk-K3BARC72.js → chunk-DDF74332.js} +2 -2
  19. package/dist/cli/{chunk-VZX4P5FT.js → chunk-DJD4KLIX.js} +93 -93
  20. package/dist/cli/{chunk-OA7IIOLW.mjs → chunk-E3EYQ2FQ.mjs} +4 -4
  21. package/dist/cli/{chunk-EQNJUG3N.js → chunk-E3PLLFE2.js} +53 -53
  22. package/dist/cli/{chunk-O4AOYLZE.mjs → chunk-EA2F4YVX.mjs} +2 -2
  23. package/dist/cli/{chunk-J327QVQV.mjs → chunk-EISIAWBD.mjs} +1 -1
  24. package/dist/cli/{chunk-HGUHBLX5.mjs → chunk-EVQBOVOJ.mjs} +3 -3
  25. package/dist/cli/{chunk-3MKRAI6R.mjs → chunk-FFTLJGZQ.mjs} +5 -5
  26. package/dist/cli/{chunk-O4ZMADW4.js → chunk-GBQSEOXE.js} +7 -7
  27. package/dist/cli/{chunk-44BEFU62.mjs → chunk-GNLCGR7R.mjs} +2 -2
  28. package/dist/cli/{chunk-VQHEMZ33.mjs → chunk-GW7RUNLW.mjs} +1 -1
  29. package/dist/cli/{chunk-XMDBN2K7.mjs → chunk-HS6CM7TF.mjs} +10 -10
  30. package/dist/cli/{chunk-CUZVOPPY.mjs → chunk-HXWZ52CW.mjs} +3 -3
  31. package/dist/cli/{chunk-K4DVRQTY.js → chunk-JN7AOVD4.js} +16 -16
  32. package/dist/cli/{chunk-RFOQRCMW.mjs → chunk-JQSPKPHT.mjs} +4 -4
  33. package/dist/cli/{chunk-X3XJ6ZSJ.js → chunk-LFTLH5BK.js} +2 -2
  34. package/dist/cli/{chunk-MQNBOSQP.mjs → chunk-N27BUJU3.mjs} +5 -5
  35. package/dist/cli/{chunk-3AIMFE3Z.js → chunk-N57JYG7J.js} +36 -36
  36. package/dist/cli/{chunk-6E2KNNTD.mjs → chunk-NIJYJI67.mjs} +2 -2
  37. package/dist/cli/{chunk-DO3FSI4C.mjs → chunk-OEU3ZNBZ.mjs} +1 -1
  38. package/dist/cli/{chunk-FVAB2JRO.js → chunk-OKI3HWFF.js} +8 -8
  39. package/dist/cli/{chunk-TU3M7UXJ.js → chunk-OQDN6JK6.js} +10 -10
  40. package/dist/cli/{chunk-FEWZT4RV.js → chunk-PIGMBDBZ.js} +21 -21
  41. package/dist/cli/{chunk-ZIMCLWEW.js → chunk-QPJ2BDFD.js} +5 -5
  42. package/dist/cli/{chunk-BMUDQMYE.js → chunk-RREWUPC3.js} +6 -6
  43. package/dist/cli/{chunk-TMVBBGSK.mjs → chunk-SBM5JVTK.mjs} +1 -1
  44. package/dist/cli/{chunk-E4QJKJH6.js → chunk-SOIXDMZK.js} +51 -51
  45. package/dist/cli/{chunk-6A7OH2PV.mjs → chunk-SSQXSMAT.mjs} +2 -2
  46. package/dist/cli/{chunk-5XIGEYYK.js → chunk-TJXGEK7P.js} +6 -6
  47. package/dist/cli/{chunk-M4QVY6RW.mjs → chunk-UMQT7QMB.mjs} +2 -2
  48. package/dist/cli/{chunk-ZAB6KCZW.js → chunk-W4J2EK5K.js} +3 -3
  49. package/dist/cli/{chunk-6COF5LIE.mjs → chunk-X6BQ4JAD.mjs} +2 -2
  50. package/dist/cli/{chunk-5CKIO7KA.mjs → chunk-XFAO5A5R.mjs} +1 -1
  51. package/dist/cli/{chunk-NI3QFUK7.js → chunk-XJ5W64AC.js} +4 -4
  52. package/dist/cli/{chunk-MP3O4ISC.mjs → chunk-YZZGFUQ4.mjs} +1 -1
  53. package/dist/cli/{csv-4ZVMBOCK.mjs → csv-AE7OLXCV.mjs} +4 -4
  54. package/dist/cli/{csv-W2JPV57R.js → csv-ZVFGYRB7.js} +13 -13
  55. package/dist/cli/{db-6YNFDHEW.js → db-JOD2MQ2T.js} +27 -27
  56. package/dist/cli/{db-TVK6BLRB.mjs → db-KTXMCLB5.mjs} +6 -6
  57. package/dist/cli/describe-2IKB4KIX.js +48 -0
  58. package/dist/cli/{describe-JFN4ECPO.mjs → describe-FENTKQFK.mjs} +17 -17
  59. package/dist/cli/{executions-2FK4FFKE.mjs → executions-FJCV5L37.mjs} +6 -6
  60. package/dist/cli/{executions-J4CAN7RB.js → executions-IT6TQ65Q.js} +8 -8
  61. package/dist/cli/{feedback-EYRRLA2P.mjs → feedback-LTTO73YD.mjs} +4 -4
  62. package/dist/cli/{feedback-NOO4OM4U.js → feedback-WGURC3BG.js} +8 -8
  63. package/dist/cli/git-UOIC2DJL.js +25 -0
  64. package/dist/cli/{git-D3Q4JKBC.mjs → git-ZYEDB2UG.mjs} +5 -5
  65. package/dist/cli/index.js +135 -135
  66. package/dist/cli/index.mjs +40 -40
  67. package/dist/cli/{legacy-noops-SUFJWBLZ.mjs → legacy-noops-EGQ4G4BT.mjs} +5 -5
  68. package/dist/cli/{legacy-noops-5ZGRKSN3.js → legacy-noops-JFXWEOZF.js} +8 -8
  69. package/dist/cli/{monitors-IRDIIR6J.mjs → monitors-IK6GWLCA.mjs} +7 -7
  70. package/dist/cli/{monitors-3QFJZA6Z.js → monitors-WKN2K6ZH.js} +91 -91
  71. package/dist/cli/{org-275OJJ7W.js → org-FE5VMAKF.js} +68 -68
  72. package/dist/cli/{org-2VA2FSMG.mjs → org-PD5YBUHR.mjs} +6 -6
  73. package/dist/cli/{pages-SPRBOZRA.js → pages-H3DKEVVI.js} +17 -17
  74. package/dist/cli/{pages-WCUEBFYU.mjs → pages-ZVKSOSZJ.mjs} +6 -6
  75. package/dist/cli/{play-NMHUWBET.js → play-2UL5OPGH.js} +304 -304
  76. package/dist/cli/{play-7UL5H6QU.mjs → play-RLIQY22H.mjs} +17 -17
  77. package/dist/cli/{providers-72LUJEAT.js → providers-2IMHQDBC.js} +9 -9
  78. package/dist/cli/{providers-WSCKV557.mjs → providers-M4AFFJF2.mjs} +6 -6
  79. package/dist/cli/{quickstart-XSUUAE2Y.js → quickstart-OE64DBKK.js} +6 -6
  80. package/dist/cli/{quickstart-K4LAKJKJ.mjs → quickstart-PS4QKNG2.mjs} +4 -4
  81. package/dist/cli/{run-R2MOXXHH.mjs → run-3TKR5CZU.mjs} +22 -22
  82. package/dist/cli/{run-MLV2CLW7.js → run-SWLGV2VS.js} +36 -36
  83. package/dist/cli/{search-WHJZNWKE.mjs → search-AMZ67RKO.mjs} +7 -7
  84. package/dist/cli/search-LXG7T6YZ.js +32 -0
  85. package/dist/cli/{secrets-YGVOFLI5.mjs → secrets-INBXKNFM.mjs} +6 -6
  86. package/dist/cli/{secrets-7PXFBOFY.js → secrets-ZTLJY7L2.js} +15 -15
  87. package/dist/cli/{sessions-ASXXZI42.js → sessions-3GKS45NP.js} +6 -6
  88. package/dist/cli/{sessions-G7I54W4L.mjs → sessions-ZVBTKQ7J.mjs} +5 -5
  89. package/dist/cli/{settings-RTEBMDPC.js → settings-7YG3UWJH.js} +78 -78
  90. package/dist/cli/{settings-4GFO6JYO.mjs → settings-AUPDZZ2U.mjs} +11 -11
  91. package/dist/cli/{setup-4RJGKSDC.mjs → setup-44QB72NU.mjs} +9 -9
  92. package/dist/cli/{setup-A6V2MJK7.js → setup-YGESCFTH.js} +44 -44
  93. package/dist/cli/{skills-432W6EGS.mjs → skills-N3AWWCWO.mjs} +7 -7
  94. package/dist/cli/skills-QALGBUFY.js +31 -0
  95. package/dist/cli/{tools-SABREK3C.mjs → tools-3SHNTJPU.mjs} +16 -16
  96. package/dist/cli/tools-PUQ3JBZ7.js +55 -0
  97. package/dist/cli/{update-F7NO5RDW.mjs → update-3TWB5EEV.mjs} +9 -9
  98. package/dist/cli/update-O7XSJMLX.js +33 -0
  99. package/dist/cli/{workflow-F4N7CFUX.mjs → workflow-SYP62XNN.mjs} +7 -7
  100. package/dist/cli/{workflow-TF6YDWTM.js → workflow-ULIZU7KI.js} +17 -17
  101. package/dist/index.js +9 -9
  102. package/dist/index.mjs +6 -6
  103. package/dist/install-integrity.json +96 -96
  104. package/dist/release.d.mts +1 -1
  105. package/dist/release.d.ts +1 -1
  106. package/dist/release.js +2 -2
  107. package/dist/release.mjs +1 -1
  108. package/dist/server.js +5 -5
  109. package/dist/server.mjs +3 -3
  110. package/package.json +1 -1
  111. package/dist/cli/auth-P4E7M3AV.js +0 -41
  112. package/dist/cli/describe-APW5TWBT.js +0 -48
  113. package/dist/cli/git-FPF6DT43.js +0 -25
  114. package/dist/cli/search-AYFUV6YV.js +0 -32
  115. package/dist/cli/skills-GOQECD7H.js +0 -31
  116. package/dist/cli/tools-JXYN7WOE.js +0 -55
  117. package/dist/cli/update-BSB4TJER.js +0 -33
@@ -1,19 +1,19 @@
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 _chunkX3XJ6ZSJjs = require('./chunk-X3XJ6ZSJ.js');
4
+ var _chunkLFTLH5BKjs = require('./chunk-LFTLH5BK.js');
5
5
 
6
6
 
7
- var _chunk3AIMFE3Zjs = require('./chunk-3AIMFE3Z.js');
7
+ var _chunkN57JYG7Jjs = require('./chunk-N57JYG7J.js');
8
8
 
9
9
 
10
- var _chunkEQNJUG3Njs = require('./chunk-EQNJUG3N.js');
10
+ var _chunkE3PLLFE2js = require('./chunk-E3PLLFE2.js');
11
11
 
12
12
 
13
- var _chunkO4ZMADW4js = require('./chunk-O4ZMADW4.js');
13
+ var _chunkGBQSEOXEjs = require('./chunk-GBQSEOXE.js');
14
14
 
15
15
 
16
- var _chunkGVJVBBGVjs = require('./chunk-GVJVBBGV.js');
16
+ var _chunk5VGMRONEjs = require('./chunk-5VGMRONE.js');
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  var _child_process = require('child_process');
@@ -495,7 +495,7 @@ function normalizedNpmPrefix(value) {
495
495
  }
496
496
  function resolveNpmGlobalPrefix(env) {
497
497
  try {
498
- const plan = _chunkEQNJUG3Njs.resolveShellSpawn.call(void 0,
498
+ const plan = _chunkE3PLLFE2js.resolveShellSpawn.call(void 0,
499
499
  "npm",
500
500
  ["prefix", "-g"],
501
501
  process.platform,
@@ -556,8 +556,8 @@ function resolveUpdatePlan(options = {}) {
556
556
  const npmGlobalPrefix = options.npmGlobalPrefix !== void 0 ? options.npmGlobalPrefix : resolveNpmGlobalPrefix(env);
557
557
  const hasVerifiedNpmOwnership = inferredInstallPrefix !== null && normalizedNpmPrefix(inferredInstallPrefix) === normalizedNpmPrefix(npmGlobalPrefix);
558
558
  const installPrefix = options.requireVerifiedNpmOwnership ? hasVerifiedNpmOwnership ? inferredInstallPrefix : null : inferredInstallPrefix;
559
- const npmVersion = options.npmVersion === void 0 ? _chunkX3XJ6ZSJjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
- const npmGlobalInstallFlags = _chunkX3XJ6ZSJjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
559
+ const npmVersion = options.npmVersion === void 0 ? _chunkLFTLH5BKjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
+ const npmGlobalInstallFlags = _chunkLFTLH5BKjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
561
561
  const args = installPrefix ? [
562
562
  "install",
563
563
  "-g",
@@ -567,7 +567,7 @@ function resolveUpdatePlan(options = {}) {
567
567
  packageSpec
568
568
  ] : ["install", "-g", ...npmGlobalInstallFlags, packageSpec];
569
569
  const fallbackRegistryUrl = options.npmFallbackRegistryUrl !== void 0 ? options.npmFallbackRegistryUrl : publicNpmFallbackRegistryUrl(
570
- _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkGVJVBBGVjs.autoDetectBaseUrl.call(void 0, )
570
+ _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunk5VGMRONEjs.autoDetectBaseUrl.call(void 0, )
571
571
  );
572
572
  return {
573
573
  kind: "npm-global",
@@ -816,7 +816,7 @@ function sidecarInstallFailure(versionDir) {
816
816
  function runCommand(command, args, env = process.env) {
817
817
  return new Promise((resolveResult) => {
818
818
  let output = "";
819
- const plan = _chunkEQNJUG3Njs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
819
+ const plan = _chunkE3PLLFE2js.resolveShellSpawn.call(void 0, command, args, process.platform, env);
820
820
  const child = _child_process.spawn.call(void 0, plan.command, plan.args, {
821
821
  stdio: ["inherit", "pipe", "pipe"],
822
822
  shell: plan.shell,
@@ -1199,14 +1199,14 @@ async function publishedVersionSupportsPin(version, fallbackRegistryUrl) {
1199
1199
  throw _nullishCoalesce(lastError, () => ( new Error("No npm registry was available")));
1200
1200
  }
1201
1201
  async function runUpdateCommand(options, dependencies = {}) {
1202
- const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkGVJVBBGVjs.autoDetectBaseUrl));
1202
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunk5VGMRONEjs.autoDetectBaseUrl));
1203
1203
  const resolvePlan = _nullishCoalesce(dependencies.resolvePlan, () => ( resolveUpdatePlan));
1204
1204
  const runPlan = _nullishCoalesce(dependencies.runPlan, () => ( runUpdatePlan));
1205
1205
  const syncSkills = _nullishCoalesce(dependencies.syncSkillsIfNeeded, () => ( (async () => {
1206
1206
  const originalWrite = process.stdout.write.bind(process.stdout);
1207
1207
  process.stdout.write = (() => true);
1208
1208
  try {
1209
- const exitCode = await _chunk3AIMFE3Zjs.runSkillsCommand.call(void 0, { json: true });
1209
+ const exitCode = await _chunkN57JYG7Jjs.runSkillsCommand.call(void 0, { json: true });
1210
1210
  if (exitCode !== 0) {
1211
1211
  throw new Error(
1212
1212
  `Deepline skills update failed with exit ${exitCode}.`
@@ -1277,11 +1277,11 @@ async function runUpdateCommand(options, dependencies = {}) {
1277
1277
  ]
1278
1278
  };
1279
1279
  if (options.json && !options.executeWithJson) {
1280
- _chunkO4ZMADW4js.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1280
+ _chunkGBQSEOXEjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1281
1281
  return 0;
1282
1282
  }
1283
1283
  if (options.printCommand) {
1284
- _chunkO4ZMADW4js.printCommandEnvelope.call(void 0,
1284
+ _chunkGBQSEOXEjs.printCommandEnvelope.call(void 0,
1285
1285
  {
1286
1286
  ...plan,
1287
1287
  render: {
@@ -1294,7 +1294,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1294
1294
  return 0;
1295
1295
  }
1296
1296
  if (plan.kind === "source" || plan.kind === "homebrew") {
1297
- _chunkO4ZMADW4js.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1297
+ _chunkGBQSEOXEjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1298
1298
  return 0;
1299
1299
  }
1300
1300
  stderr.write(`Updating Deepline SDK/CLI with: ${plan.manualCommand}
@@ -1324,7 +1324,7 @@ To retry with full installer output, run: deepline skills
1324
1324
  );
1325
1325
  }
1326
1326
  if (options.executeWithJson && options.json) {
1327
- _chunkO4ZMADW4js.printCommandEnvelope.call(void 0,
1327
+ _chunkGBQSEOXEjs.printCommandEnvelope.call(void 0,
1328
1328
  {
1329
1329
  ok: true,
1330
1330
  pinnedVersion
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  seedToolListScript
3
- } from "./chunk-XMDBN2K7.mjs";
3
+ } from "./chunk-HS6CM7TF.mjs";
4
4
  import {
5
5
  addDescribeOptions
6
- } from "./chunk-TMVBBGSK.mjs";
6
+ } from "./chunk-SBM5JVTK.mjs";
7
7
  import {
8
8
  describeLookupsFor,
9
9
  describeName,
@@ -14,10 +14,10 @@ import {
14
14
  } from "./chunk-JVHOS3K3.mjs";
15
15
  import {
16
16
  DeeplineClient
17
- } from "./chunk-44BEFU62.mjs";
17
+ } from "./chunk-GNLCGR7R.mjs";
18
18
  import {
19
19
  printCommandEnvelope
20
- } from "./chunk-6A7OH2PV.mjs";
20
+ } from "./chunk-SSQXSMAT.mjs";
21
21
 
22
22
  // src/cli/commands/describe.ts
23
23
  import { writeFileSync } from "fs";
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
- var _chunkEQNJUG3Njs = require('./chunk-EQNJUG3N.js');
3
+ var _chunkE3PLLFE2js = require('./chunk-E3PLLFE2.js');
4
4
 
5
5
  // src/cli/npm-script-policy.ts
6
6
  var _child_process = require('child_process');
@@ -13,7 +13,7 @@ function npmSupportsAllowScripts(version) {
13
13
  }
14
14
  function readNpmVersion(env) {
15
15
  try {
16
- const plan = _chunkEQNJUG3Njs.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
16
+ const plan = _chunkE3PLLFE2js.resolveShellSpawn.call(void 0, "npm", ["--version"], process.platform, env);
17
17
  const result = _child_process.spawnSync.call(void 0, plan.command, plan.args, {
18
18
  encoding: "utf8",
19
19
  env,
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  npmSupportsAllowScripts,
3
3
  readNpmVersion
4
- } from "./chunk-VYDOPASG.mjs";
4
+ } from "./chunk-3K3EHT6E.mjs";
5
5
  import {
6
6
  runSkillsCommand
7
- } from "./chunk-OA7IIOLW.mjs";
7
+ } from "./chunk-E3EYQ2FQ.mjs";
8
8
  import {
9
9
  resolveShellSpawn
10
- } from "./chunk-6KDOO7IM.mjs";
10
+ } from "./chunk-B6GAIXVD.mjs";
11
11
  import {
12
12
  printCommandEnvelope
13
- } from "./chunk-6A7OH2PV.mjs";
13
+ } from "./chunk-SSQXSMAT.mjs";
14
14
  import {
15
15
  autoDetectBaseUrl
16
- } from "./chunk-5CKIO7KA.mjs";
16
+ } from "./chunk-XFAO5A5R.mjs";
17
17
 
18
18
  // src/cli/commands/update.ts
19
19
  import { spawn, spawnSync } from "child_process";
@@ -11,20 +11,20 @@
11
11
 
12
12
 
13
13
 
14
- var _chunkEQNJUG3Njs = require('./chunk-EQNJUG3N.js');
14
+ var _chunkE3PLLFE2js = require('./chunk-E3PLLFE2.js');
15
15
 
16
16
 
17
- var _chunkO4ZMADW4js = require('./chunk-O4ZMADW4.js');
17
+ var _chunkGBQSEOXEjs = require('./chunk-GBQSEOXE.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunkGVJVBBGVjs = require('./chunk-GVJVBBGV.js');
23
+ var _chunk5VGMRONEjs = require('./chunk-5VGMRONE.js');
24
24
 
25
25
 
26
26
 
27
- var _chunkNI3QFUK7js = require('./chunk-NI3QFUK7.js');
27
+ var _chunkXJ5W64ACjs = require('./chunk-XJ5W64AC.js');
28
28
 
29
29
  // src/cli/commands/skills.ts
30
30
  var _child_process = require('child_process');
@@ -77,7 +77,7 @@ function inferActiveSkillsScope(entrypoint = _nullishCoalesce(process.argv[1], (
77
77
  return /[\\/]\.deepline[\\/]runtime[\\/]/.test(entrypoint) ? "local" : "global";
78
78
  }
79
79
  function resolveLocalRoot() {
80
- const target = _chunkGVJVBBGVjs.resolveProjectPinTarget.call(void 0, );
80
+ const target = _chunk5VGMRONEjs.resolveProjectPinTarget.call(void 0, );
81
81
  if (!target.ok) {
82
82
  throw new Error(
83
83
  `Cowork project folder is ambiguous. Candidate folders: ${target.candidates.join(
@@ -88,7 +88,7 @@ function resolveLocalRoot() {
88
88
  return target.dir;
89
89
  }
90
90
  function detectSkillsAgents(input) {
91
- const runtime = _nullishCoalesce(input.runtime, () => ( _chunkNI3QFUK7js.detectAgentRuntime.call(void 0, )));
91
+ const runtime = _nullishCoalesce(input.runtime, () => ( _chunkXJ5W64ACjs.detectAgentRuntime.call(void 0, )));
92
92
  const knownAgent = RUNTIME_TO_SKILLS_AGENT[runtime];
93
93
  if (knownAgent) return [knownAgent];
94
94
  const roots = [
@@ -103,11 +103,11 @@ function detectSkillsAgents(input) {
103
103
  return detected.length > 0 ? detected : ["*"];
104
104
  }
105
105
  function skillsStatePathForScope(baseUrl, scope, root) {
106
- return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkGVJVBBGVjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
106
+ return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunk5VGMRONEjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
107
107
  }
108
108
  function buildSkillsPlan(input) {
109
109
  const scopeArgs = input.scope === "global" ? ["--global"] : [];
110
- const legacyNames = [..._chunkEQNJUG3Njs.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
110
+ const legacyNames = [..._chunkE3PLLFE2js.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
111
111
  (a, b) => a.localeCompare(b)
112
112
  );
113
113
  return {
@@ -121,7 +121,7 @@ function buildSkillsPlan(input) {
121
121
  args: [
122
122
  "exec",
123
123
  "--yes",
124
- `--package=${_chunkEQNJUG3Njs.SKILLS_NPX_PACKAGE}`,
124
+ `--package=${_chunkE3PLLFE2js.SKILLS_NPX_PACKAGE}`,
125
125
  "--",
126
126
  "skills",
127
127
  "remove",
@@ -137,11 +137,11 @@ function buildSkillsPlan(input) {
137
137
  args: [
138
138
  "exec",
139
139
  "--yes",
140
- `--package=${_chunkEQNJUG3Njs.SKILLS_NPX_PACKAGE}`,
140
+ `--package=${_chunkE3PLLFE2js.SKILLS_NPX_PACKAGE}`,
141
141
  "--",
142
142
  "skills",
143
143
  "add",
144
- _chunkEQNJUG3Njs.skillsSourceUrl.call(void 0, input.baseUrl),
144
+ _chunkE3PLLFE2js.skillsSourceUrl.call(void 0, input.baseUrl),
145
145
  "--agent",
146
146
  ...input.agents,
147
147
  ...scopeArgs,
@@ -178,7 +178,7 @@ function readSkillsInstallState(path) {
178
178
  }
179
179
  function runProcess(command, args, cwd) {
180
180
  return new Promise((resolve, reject) => {
181
- const plan = _chunkEQNJUG3Njs.resolveShellSpawn.call(void 0,
181
+ const plan = _chunkE3PLLFE2js.resolveShellSpawn.call(void 0,
182
182
  command,
183
183
  args,
184
184
  process.platform,
@@ -200,7 +200,7 @@ function runProcess(command, args, cwd) {
200
200
  child.kill("SIGTERM");
201
201
  reject(
202
202
  new Error(
203
- `${_chunkEQNJUG3Njs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
203
+ `${_chunkE3PLLFE2js.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
204
204
  )
205
205
  );
206
206
  }, SKILLS_PROCESS_TIMEOUT_MS);
@@ -211,7 +211,7 @@ function runProcess(command, args, cwd) {
211
211
  child.once("close", (code) => {
212
212
  clearTimeout(timeout);
213
213
  if (code && stderr.trim()) {
214
- process.stderr.write(`${_chunkEQNJUG3Njs.SKILLS_NPX_PACKAGE} exited ${code}.
214
+ process.stderr.write(`${_chunkE3PLLFE2js.SKILLS_NPX_PACKAGE} exited ${code}.
215
215
  `);
216
216
  }
217
217
  resolve(_nullishCoalesce(code, () => ( 1)));
@@ -225,7 +225,7 @@ async function runSkillsCommand(options, dependencies = {}) {
225
225
  scope = normalizeScope(options.scope);
226
226
  root = scope === "local" ? resolveLocalRoot() : null;
227
227
  } catch (error) {
228
- _chunkO4ZMADW4js.printCommandEnvelope.call(void 0,
228
+ _chunkGBQSEOXEjs.printCommandEnvelope.call(void 0,
229
229
  {
230
230
  ok: false,
231
231
  status: "failed",
@@ -237,22 +237,22 @@ async function runSkillsCommand(options, dependencies = {}) {
237
237
  );
238
238
  return 2;
239
239
  }
240
- const baseUrl = _chunkGVJVBBGVjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
240
+ const baseUrl = _chunk5VGMRONEjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
241
241
  const catalog = {
242
- skillNames: [..._chunkEQNJUG3Njs.DEFAULT_SDK_SKILL_NAMES],
243
- version: _chunkNI3QFUK7js.SDK_VERSION
242
+ skillNames: [..._chunkE3PLLFE2js.DEFAULT_SDK_SKILL_NAMES],
243
+ version: _chunkXJ5W64ACjs.SDK_VERSION
244
244
  };
245
245
  const agents = options.agent ? [options.agent] : detectSkillsAgents({ scope, root });
246
246
  const plan = buildSkillsPlan({ baseUrl, scope, root, agents, ...catalog });
247
247
  if (options.dryRun) {
248
- _chunkO4ZMADW4js.printCommandEnvelope.call(void 0,
248
+ _chunkGBQSEOXEjs.printCommandEnvelope.call(void 0,
249
249
  { ok: true, status: "planned", dryRun: true, ...plan },
250
250
  { json: options.json }
251
251
  );
252
252
  return 0;
253
253
  }
254
- if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkEQNJUG3Njs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
255
- _chunkO4ZMADW4js.printCommandEnvelope.call(void 0,
254
+ if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkE3PLLFE2js.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
255
+ _chunkGBQSEOXEjs.printCommandEnvelope.call(void 0,
256
256
  {
257
257
  ok: true,
258
258
  status: "current",
@@ -284,10 +284,10 @@ async function runSkillsCommand(options, dependencies = {}) {
284
284
  }
285
285
  if (scope === "local" && root) {
286
286
  const managedNames = [
287
- .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkEQNJUG3Njs.LEGACY_SKILL_NAMES_TO_REMOVE])
287
+ .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkE3PLLFE2js.LEGACY_SKILL_NAMES_TO_REMOVE])
288
288
  ];
289
289
  const agentRoots = workspaceSkillRootsForAgents(plan.agents);
290
- _chunkGVJVBBGVjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
290
+ _chunk5VGMRONEjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
291
291
  ".deepline/",
292
292
  ...agentRoots.flatMap(
293
293
  (agentRoot) => managedNames.map((name) => `${agentRoot}/skills/${name}/`)
@@ -296,7 +296,7 @@ async function runSkillsCommand(options, dependencies = {}) {
296
296
  }
297
297
  let lease;
298
298
  try {
299
- lease = scope === "global" ? await _chunkEQNJUG3Njs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
299
+ lease = scope === "global" ? await _chunkE3PLLFE2js.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
300
300
  waitMs: _nullishCoalesce(dependencies.installLeaseWaitMs, () => ( SKILLS_INSTALL_LEASE_WAIT_MS)),
301
301
  onWait: () => process.stderr.write(
302
302
  "Waiting for a background Deepline skills refresh to finish...\n"
@@ -304,8 +304,8 @@ async function runSkillsCommand(options, dependencies = {}) {
304
304
  }) : { release: () => {
305
305
  } };
306
306
  } catch (error) {
307
- if (!(error instanceof _chunkEQNJUG3Njs.SkillsStateUnavailableError)) throw error;
308
- _chunkO4ZMADW4js.printCommandEnvelope.call(void 0,
307
+ if (!(error instanceof _chunkE3PLLFE2js.SkillsStateUnavailableError)) throw error;
308
+ _chunkGBQSEOXEjs.printCommandEnvelope.call(void 0,
309
309
  {
310
310
  ok: false,
311
311
  status: "failed",
@@ -321,7 +321,7 @@ async function runSkillsCommand(options, dependencies = {}) {
321
321
  return 5;
322
322
  }
323
323
  if (!lease) {
324
- _chunkO4ZMADW4js.printCommandEnvelope.call(void 0,
324
+ _chunkGBQSEOXEjs.printCommandEnvelope.call(void 0,
325
325
  {
326
326
  ok: false,
327
327
  status: "failed",
@@ -330,7 +330,7 @@ async function runSkillsCommand(options, dependencies = {}) {
330
330
  scope,
331
331
  agents,
332
332
  message: "A background Deepline skills refresh is still running for these agents.",
333
- next: `Retry in a moment: deepline skills --scope ${scope}. If no refresh is running, remove ${_chunkEQNJUG3Njs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
333
+ next: `Retry in a moment: deepline skills --scope ${scope}. If no refresh is running, remove ${_chunkE3PLLFE2js.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
334
334
  },
335
335
  { json: options.json }
336
336
  );
@@ -367,7 +367,7 @@ async function runSkillsInstallWithLease(input) {
367
367
  throw new Error("Could not install the current Deepline skills.");
368
368
  }
369
369
  } catch (error) {
370
- _chunkO4ZMADW4js.printCommandEnvelope.call(void 0,
370
+ _chunkGBQSEOXEjs.printCommandEnvelope.call(void 0,
371
371
  {
372
372
  ok: false,
373
373
  status: "failed",
@@ -406,7 +406,7 @@ async function runSkillsInstallWithLease(input) {
406
406
  {
407
407
  schemaVersion: 1,
408
408
  installedAt: (/* @__PURE__ */ new Date()).toISOString(),
409
- cliVersion: _chunkNI3QFUK7js.SDK_VERSION,
409
+ cliVersion: _chunkXJ5W64ACjs.SDK_VERSION,
410
410
  scope,
411
411
  agents,
412
412
  skillsVersion: plan.version,
@@ -419,9 +419,9 @@ async function runSkillsInstallWithLease(input) {
419
419
  "utf8"
420
420
  );
421
421
  if (scope === "global") {
422
- _chunkEQNJUG3Njs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
422
+ _chunkE3PLLFE2js.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
423
423
  }
424
- _chunkO4ZMADW4js.printCommandEnvelope.call(void 0,
424
+ _chunkGBQSEOXEjs.printCommandEnvelope.call(void 0,
425
425
  {
426
426
  ok: true,
427
427
  status: "complete",
@@ -452,7 +452,7 @@ function registerSkillsCommand(program) {
452
452
  "after",
453
453
  `
454
454
  Notes:
455
- This command reinstalls current Deepline-managed skills using ${_chunkEQNJUG3Njs.SKILLS_NPX_PACKAGE},
455
+ This command reinstalls current Deepline-managed skills using ${_chunkE3PLLFE2js.SKILLS_NPX_PACKAGE},
456
456
  then removes legacy Deepline skill names. Local scope writes into the resolved
457
457
  persistent project.
458
458
 
@@ -464,13 +464,13 @@ Examples:
464
464
  ).action(async (options) => {
465
465
  process.exitCode = await runSkillsCommand(options);
466
466
  });
467
- program.command(_chunkEQNJUG3Njs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
467
+ program.command(_chunkE3PLLFE2js.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
468
468
  "--claim <token>",
469
469
  "Owner token of the leases this child was started for."
470
470
  ).action(async (options) => {
471
471
  const claim = _optionalChain([options, 'access', _ => _.claim, 'optionalAccess', _2 => _2.trim, 'call', _3 => _3()]);
472
472
  if (!claim) {
473
- _chunkO4ZMADW4js.printCommandEnvelope.call(void 0,
473
+ _chunkGBQSEOXEjs.printCommandEnvelope.call(void 0,
474
474
  {
475
475
  ok: false,
476
476
  status: "failed",
@@ -483,7 +483,7 @@ Examples:
483
483
  process.exitCode = 2;
484
484
  return;
485
485
  }
486
- await _chunkEQNJUG3Njs.syncSdkSkillsIfNeeded.call(void 0, _chunkGVJVBBGVjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
486
+ await _chunkE3PLLFE2js.syncSdkSkillsIfNeeded.call(void 0, _chunk5VGMRONEjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
487
487
  mode: "inline",
488
488
  notices: "defer",
489
489
  claim
@@ -2,10 +2,10 @@ import {
2
2
  getAuthedHttpClient,
3
3
  openInBrowser,
4
4
  printCommandEnvelope
5
- } from "./chunk-6A7OH2PV.mjs";
5
+ } from "./chunk-SSQXSMAT.mjs";
6
6
  import {
7
7
  resolveBaseUrlOnly
8
- } from "./chunk-5CKIO7KA.mjs";
8
+ } from "./chunk-XFAO5A5R.mjs";
9
9
 
10
10
  // src/cli/commands/git.ts
11
11
  function shellQuote(value) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isJsonOutputMode
3
- } from "./chunk-6A7OH2PV.mjs";
3
+ } from "./chunk-SSQXSMAT.mjs";
4
4
 
5
5
  // src/cli/progress.ts
6
6
  import { Worker } from "worker_threads";
@@ -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 _chunkO4ZMADW4js = require('./chunk-O4ZMADW4.js');
4
+ var _chunkGBQSEOXEjs = require('./chunk-GBQSEOXE.js');
5
5
 
6
6
 
7
- var _chunkNI3QFUK7js = require('./chunk-NI3QFUK7.js');
7
+ var _chunkXJ5W64ACjs = require('./chunk-XJ5W64AC.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 = _chunkNI3QFUK7js.agentSessionIdFromEnvironment.call(void 0,
142
+ const sessionId = _chunkXJ5W64ACjs.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 } = _chunkO4ZMADW4js.getAuthedHttpClient.call(void 0, );
454
+ const { http } = _chunkGBQSEOXEjs.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
- _chunkO4ZMADW4js.printCommandEnvelope.call(void 0,
487
+ _chunkGBQSEOXEjs.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
- _chunkO4ZMADW4js.printCommandEnvelope.call(void 0,
519
+ _chunkGBQSEOXEjs.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
- _chunkO4ZMADW4js.printCommandEnvelope.call(void 0,
569
+ _chunkGBQSEOXEjs.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
- _chunkO4ZMADW4js.printCommandEnvelope.call(void 0,
677
+ _chunkGBQSEOXEjs.printCommandEnvelope.call(void 0,
678
678
  {
679
679
  ok: true,
680
680
  file: outputPath,
@@ -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 _chunkVZX4P5FTjs = require('./chunk-VZX4P5FT.js');
3
+ var _chunkDJD4KLIXjs = require('./chunk-DJD4KLIX.js');
4
4
 
5
5
 
6
- var _chunkZAB6KCZWjs = require('./chunk-ZAB6KCZW.js');
6
+ var _chunkW4J2EK5Kjs = require('./chunk-W4J2EK5K.js');
7
7
 
8
8
 
9
9
 
@@ -14,10 +14,10 @@ var _chunkL3U44YVOjs = require('./chunk-L3U44YVO.js');
14
14
  var _chunkIAYSWZDJjs = require('./chunk-IAYSWZDJ.js');
15
15
 
16
16
 
17
- var _chunkZIMCLWEWjs = require('./chunk-ZIMCLWEW.js');
17
+ var _chunkQPJ2BDFDjs = require('./chunk-QPJ2BDFD.js');
18
18
 
19
19
 
20
- var _chunkO4ZMADW4js = require('./chunk-O4ZMADW4.js');
20
+ var _chunkGBQSEOXEjs = require('./chunk-GBQSEOXE.js');
21
21
 
22
22
  // src/cli/commands/describe.ts
23
23
  var _fs = require('fs');
@@ -26,16 +26,16 @@ function nothingNamed(name) {
26
26
  return `Nothing named "${name}". Search for it: deepline search ${JSON.stringify(name.replace(/[-_./]+/g, " "))}`;
27
27
  }
28
28
  function findNamed2(name, options) {
29
- return _chunkL3U44YVOjs.findNamed.call(void 0, name, options, _chunkL3U44YVOjs.describeLookupsFor.call(void 0, new (0, _chunkZIMCLWEWjs.DeeplineClient)()));
29
+ return _chunkL3U44YVOjs.findNamed.call(void 0, name, options, _chunkL3U44YVOjs.describeLookupsFor.call(void 0, new (0, _chunkQPJ2BDFDjs.DeeplineClient)()));
30
30
  }
31
31
  async function describeAnything(name, options, onMissing) {
32
- const client = new (0, _chunkZIMCLWEWjs.DeeplineClient)();
32
+ const client = new (0, _chunkQPJ2BDFDjs.DeeplineClient)();
33
33
  const lookups = _chunkL3U44YVOjs.describeLookupsFor.call(void 0, client);
34
34
  const outcome = await _chunkL3U44YVOjs.describeName.call(void 0, name, options, {
35
35
  ...lookups,
36
36
  // `tools describe` has already fetched the tool for its compatibility check.
37
37
  tool: async (toolName) => _nullishCoalesce(options.fetchedTool, () => ( lookups.tool(toolName))),
38
- seedStarterScript: _chunkVZX4P5FTjs.seedToolListScript
38
+ seedStarterScript: _chunkDJD4KLIXjs.seedToolListScript
39
39
  });
40
40
  if (outcome.status === "missing") {
41
41
  if (onMissing) return onMissing();
@@ -60,18 +60,18 @@ function deliver(envelope, lines, { json, out }) {
60
60
  ` : text;
61
61
  _fs.writeFileSync.call(void 0, path, content);
62
62
  const bytes = Buffer.byteLength(content);
63
- _chunkO4ZMADW4js.printCommandEnvelope.call(void 0,
63
+ _chunkGBQSEOXEjs.printCommandEnvelope.call(void 0,
64
64
  { path, bytes },
65
65
  { json, text: `Wrote ${path} (${bytes} bytes)
66
66
  ` }
67
67
  );
68
68
  return 0;
69
69
  }
70
- _chunkO4ZMADW4js.printCommandEnvelope.call(void 0, envelope, { json, text });
70
+ _chunkGBQSEOXEjs.printCommandEnvelope.call(void 0, envelope, { json, text });
71
71
  return 0;
72
72
  }
73
73
  function registerDescribeCommand(program) {
74
- _chunkZAB6KCZWjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
74
+ _chunkW4J2EK5Kjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
75
75
  "Describe anything search returns: a tool, monitor type, or play."
76
76
  ).addHelpText(
77
77
  "after",