deepline 0.3.540 → 0.3.541

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 (128) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/cli/auth-V76O674K.js +43 -0
  3. package/dist/cli/{auth-32TURPHH.mjs → auth-WJXA7XGM.mjs} +5 -5
  4. package/dist/cli/{billing-6433M4BX.js → billing-34IV5DSV.js} +92 -92
  5. package/dist/cli/{billing-NSH3NOHV.mjs → billing-SHS4HMWT.mjs} +8 -8
  6. package/dist/cli/{chunk-H6IA6XRE.js → chunk-2TAGAPLL.js} +2 -2
  7. package/dist/cli/{chunk-XIIQNSWA.js → chunk-323I5KQ5.js} +8 -8
  8. package/dist/cli/{chunk-MH22LQKZ.mjs → chunk-53QZ24DP.mjs} +2 -2
  9. package/dist/cli/{chunk-KN6ELDPL.mjs → chunk-5LNWLEO3.mjs} +2 -2
  10. package/dist/cli/{chunk-DV3ESQ4X.js → chunk-5N4ENMYE.js} +1 -1
  11. package/dist/cli/{chunk-BD3VAPB4.mjs → chunk-6PJAC3P5.mjs} +1 -1
  12. package/dist/cli/{chunk-AOYW62XO.js → chunk-6TZEDCN7.js} +3 -3
  13. package/dist/cli/{chunk-XYM3SQZN.mjs → chunk-7AUQSK24.mjs} +1 -1
  14. package/dist/cli/{chunk-WCM64BRH.mjs → chunk-ABDXKELH.mjs} +5 -5
  15. package/dist/cli/{chunk-DWE2VE5I.mjs → chunk-AU7ZKXW5.mjs} +1 -1
  16. package/dist/cli/{chunk-HLHDCFKL.mjs → chunk-BMNLD63A.mjs} +4 -4
  17. package/dist/cli/{chunk-2U4VACUA.js → chunk-BUCTWJBM.js} +2 -2
  18. package/dist/cli/{chunk-EXAXDEIF.js → chunk-C2LYJ3EX.js} +13 -13
  19. package/dist/cli/{chunk-UJYX4VLX.js → chunk-CNBPATLI.js} +5 -5
  20. package/dist/cli/{chunk-ZTJQKHLM.js → chunk-CY5LW6DW.js} +2 -2
  21. package/dist/cli/{chunk-Y6647AIY.mjs → chunk-DF7ARQRB.mjs} +2 -2
  22. package/dist/cli/{chunk-PJOMRUFP.mjs → chunk-DHC7EGI7.mjs} +5 -5
  23. package/dist/cli/{chunk-BZVVSUE2.mjs → chunk-ECPCZVDM.mjs} +1 -1
  24. package/dist/cli/{chunk-HKWJD45V.js → chunk-F3TLGM2U.js} +5 -5
  25. package/dist/cli/{chunk-MVIVF4BW.js → chunk-FOCNY4GV.js} +3 -3
  26. package/dist/cli/{chunk-37VFUQMU.mjs → chunk-FRPJSFNL.mjs} +2 -2
  27. package/dist/cli/{chunk-IYQZVEV4.mjs → chunk-FTKX7OGB.mjs} +5 -5
  28. package/dist/cli/{chunk-BNNGM2E5.js → chunk-FVZ5Y5L6.js} +15 -15
  29. package/dist/cli/{chunk-MLDLN6WG.js → chunk-FYQWTENQ.js} +53 -53
  30. package/dist/cli/{chunk-JPU5YLQG.mjs → chunk-GLINYHY7.mjs} +1 -1
  31. package/dist/cli/{chunk-KFAJYK2N.mjs → chunk-H74CLEMB.mjs} +3 -3
  32. package/dist/cli/{chunk-LPMI4CYW.js → chunk-IZXMX65M.js} +107 -107
  33. package/dist/cli/{chunk-S3ULSGFH.mjs → chunk-JZNKEHXQ.mjs} +2 -2
  34. package/dist/cli/{chunk-J3TAEPFA.js → chunk-KIYETQ6K.js} +26 -26
  35. package/dist/cli/{chunk-B6UZUQ2O.mjs → chunk-LRPFCB2P.mjs} +1 -1
  36. package/dist/cli/{chunk-AJVK4XC5.js → chunk-M6XIKHBS.js} +4 -4
  37. package/dist/cli/{chunk-M4DB6BBP.js → chunk-MPYM6TUO.js} +44 -44
  38. package/dist/cli/{chunk-SXVYFOBG.mjs → chunk-NB4AIXEA.mjs} +3 -3
  39. package/dist/cli/{chunk-TNUM4DFA.js → chunk-OK4JMVTM.js} +7 -7
  40. package/dist/cli/{chunk-3GVIVIER.js → chunk-POZPEDW7.js} +5 -5
  41. package/dist/cli/{chunk-WDHHQEWQ.js → chunk-Q66ADD4O.js} +41 -41
  42. package/dist/cli/{chunk-JGFGWWOF.mjs → chunk-QI76LGE3.mjs} +10 -10
  43. package/dist/cli/{chunk-FR3AII3W.mjs → chunk-RYYGNUNO.mjs} +2 -2
  44. package/dist/cli/{chunk-N6DMKVKO.js → chunk-S6FF7Q5P.js} +10 -10
  45. package/dist/cli/{chunk-LXLCQP4A.js → chunk-S7NKIEHL.js} +16 -16
  46. package/dist/cli/{chunk-ZJFU2COM.mjs → chunk-UC5QFQGC.mjs} +5 -5
  47. package/dist/cli/{chunk-XL3CEPZA.js → chunk-UKO6POLZ.js} +9 -9
  48. package/dist/cli/{chunk-WHYNYL3M.js → chunk-UXXFCOE3.js} +6 -6
  49. package/dist/cli/{chunk-Z2OYTXLK.mjs → chunk-VMIIUMAN.mjs} +1 -1
  50. package/dist/cli/{chunk-BGBRA2S6.js → chunk-WIV3E6Y7.js} +22 -22
  51. package/dist/cli/{chunk-SINNEITW.mjs → chunk-WZMG2M65.mjs} +4 -4
  52. package/dist/cli/{chunk-AB6DFHGL.mjs → chunk-XO2SGONT.mjs} +2 -2
  53. package/dist/cli/{chunk-SGMDRYAD.mjs → chunk-XTR32PMA.mjs} +1 -1
  54. package/dist/cli/{chunk-VAOGM5VS.js → chunk-ZD673XAL.js} +19 -19
  55. package/dist/cli/{chunk-TZVW5JH3.mjs → chunk-ZL2DER5D.mjs} +1 -1
  56. package/dist/cli/concurrent-runs-help-MFEPUP6Y.js +21 -0
  57. package/dist/cli/{concurrent-runs-help-DU5STFGB.mjs → concurrent-runs-help-ZJ77SAEU.mjs} +6 -6
  58. package/dist/cli/{csv-FBNS6SM3.js → csv-MJLIZZOR.js} +13 -13
  59. package/dist/cli/{csv-OJCMBODT.mjs → csv-PX7F5YJN.mjs} +4 -4
  60. package/dist/cli/{db-XRGJJ2KA.js → db-BNCNAY4G.js} +27 -27
  61. package/dist/cli/{db-43RQRF64.mjs → db-KPKGTHPA.mjs} +6 -6
  62. package/dist/cli/{describe-I42Y3PWR.mjs → describe-5OUJA5TH.mjs} +17 -17
  63. package/dist/cli/describe-7MF5AHIU.js +49 -0
  64. package/dist/cli/{executions-QXGVQHQF.mjs → executions-NMQY4GEY.mjs} +6 -6
  65. package/dist/cli/{executions-LH46O4PG.js → executions-YNOFR7T2.js} +8 -8
  66. package/dist/cli/{feedback-ELFINGTM.mjs → feedback-LWYEO5LL.mjs} +6 -6
  67. package/dist/cli/{feedback-ERYIV6MT.js → feedback-RCP5DPO6.js} +14 -14
  68. package/dist/cli/{git-V2XWB6LN.mjs → git-3O4PFP3Q.mjs} +5 -5
  69. package/dist/cli/git-WLQ3BS6K.js +25 -0
  70. package/dist/cli/index.js +144 -140
  71. package/dist/cli/index.mjs +46 -42
  72. package/dist/cli/{legacy-noops-ULL2EA37.mjs → legacy-noops-KFP674JT.mjs} +6 -6
  73. package/dist/cli/{legacy-noops-Y3OKNVWH.js → legacy-noops-ZPZRG366.js} +9 -9
  74. package/dist/cli/mcp-HCXDW6PL.js +352 -0
  75. package/dist/cli/mcp-OCYUXQ6L.mjs +352 -0
  76. package/dist/cli/{monitors-DNQXCRJZ.js → monitors-7Q7YT22Y.js} +100 -100
  77. package/dist/cli/{monitors-L34NROM3.mjs → monitors-V5KJIJJE.mjs} +7 -7
  78. package/dist/cli/{org-L3HTEEXL.mjs → org-C3QLHX7U.mjs} +6 -6
  79. package/dist/cli/{org-JETA62CO.js → org-S37K6QYH.js} +86 -86
  80. package/dist/cli/{play-GTGJRNWI.js → play-MLREAYHJ.js} +317 -317
  81. package/dist/cli/{play-JHGLSSJP.mjs → play-MXQ2DKML.mjs} +17 -17
  82. package/dist/cli/{providers-IQVHZJ27.mjs → providers-FDJ4ZOST.mjs} +6 -6
  83. package/dist/cli/{providers-7VH7PH2Q.js → providers-PPDWY7DH.js} +9 -9
  84. package/dist/cli/{quickstart-ZDBC45PM.mjs → quickstart-2Z57AMB7.mjs} +4 -4
  85. package/dist/cli/{quickstart-M25JNU3O.js → quickstart-BOWQM7S7.js} +6 -6
  86. package/dist/cli/{run-NEEWZBTX.mjs → run-5RNJGPQ2.mjs} +22 -22
  87. package/dist/cli/{run-MPZGX3YD.js → run-66HXNJNV.js} +42 -42
  88. package/dist/cli/{search-YXAFB4QQ.mjs → search-7G4FYQYO.mjs} +7 -7
  89. package/dist/cli/search-LTUIIV6W.js +32 -0
  90. package/dist/cli/{search-output-67BBIXIZ.mjs → search-output-6K4FHCVI.mjs} +4 -4
  91. package/dist/cli/{search-output-4PH5HSJC.js → search-output-L6ICQDBL.js} +6 -6
  92. package/dist/cli/{secrets-445FER3C.mjs → secrets-FTQPCU7O.mjs} +6 -6
  93. package/dist/cli/{secrets-HLUBDN3H.js → secrets-PWFJKF7G.js} +15 -15
  94. package/dist/cli/sessions-2IVFGTPA.js +22 -0
  95. package/dist/cli/{sessions-CCKXJNWT.mjs → sessions-YSSAAQVJ.mjs} +6 -6
  96. package/dist/cli/{settings-WXJIQS5J.js → settings-CZEMF2WD.js} +85 -85
  97. package/dist/cli/{settings-3XCZGGVF.mjs → settings-KN7GNZ5J.mjs} +12 -12
  98. package/dist/cli/{setup-TOSX6NER.mjs → setup-5WLHGH57.mjs} +9 -9
  99. package/dist/cli/{setup-CKETRFFN.js → setup-RW4X6DX4.js} +49 -49
  100. package/dist/cli/{skills-Q7NLCIJJ.mjs → skills-DLVI7IZK.mjs} +7 -7
  101. package/dist/cli/skills-WT42AZVH.js +36 -0
  102. package/dist/cli/tools-D6STYBQG.js +56 -0
  103. package/dist/cli/{tools-GY6QMYTZ.mjs → tools-JVYQF7P3.mjs} +16 -16
  104. package/dist/cli/{update-A7JRUN4S.mjs → update-XKLXU7YS.mjs} +9 -9
  105. package/dist/cli/update-XTUKBC3J.js +34 -0
  106. package/dist/cli/{views-JG7FDEJR.mjs → views-QRRCWP6B.mjs} +6 -6
  107. package/dist/cli/{views-GUWC4SNI.js → views-YNUYFS3S.js} +21 -21
  108. package/dist/cli/{workflow-QZCYSQ5G.mjs → workflow-KYFMA4LM.mjs} +7 -7
  109. package/dist/cli/{workflow-CXNW7ICH.js → workflow-YUKADKCJ.js} +17 -17
  110. package/dist/index.js +9 -9
  111. package/dist/index.mjs +6 -6
  112. package/dist/install-integrity.json +106 -104
  113. package/dist/release.d.mts +1 -1
  114. package/dist/release.d.ts +1 -1
  115. package/dist/release.js +2 -2
  116. package/dist/release.mjs +1 -1
  117. package/dist/server.js +5 -5
  118. package/dist/server.mjs +3 -3
  119. package/package.json +1 -1
  120. package/dist/cli/auth-XA3K5LH2.js +0 -43
  121. package/dist/cli/concurrent-runs-help-HIPM5BBV.js +0 -21
  122. package/dist/cli/describe-LWZCGAXU.js +0 -49
  123. package/dist/cli/git-OV2TGYVE.js +0 -25
  124. package/dist/cli/search-HUN2YRQE.js +0 -32
  125. package/dist/cli/sessions-T2RNWC6B.js +0 -22
  126. package/dist/cli/skills-FXM2RHHO.js +0 -36
  127. package/dist/cli/tools-XLVDZTWQ.js +0 -56
  128. package/dist/cli/update-AZINHILP.js +0 -34
@@ -11,20 +11,20 @@
11
11
 
12
12
 
13
13
 
14
- var _chunkM4DB6BBPjs = require('./chunk-M4DB6BBP.js');
14
+ var _chunkMPYM6TUOjs = require('./chunk-MPYM6TUO.js');
15
15
 
16
16
 
17
- var _chunkVAOGM5VSjs = require('./chunk-VAOGM5VS.js');
17
+ var _chunkZD673XALjs = require('./chunk-ZD673XAL.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunkMVIVF4BWjs = require('./chunk-MVIVF4BW.js');
23
+ var _chunkFOCNY4GVjs = require('./chunk-FOCNY4GV.js');
24
24
 
25
25
 
26
26
 
27
- var _chunkAJVK4XC5js = require('./chunk-AJVK4XC5.js');
27
+ var _chunkM6XIKHBSjs = require('./chunk-M6XIKHBS.js');
28
28
 
29
29
 
30
30
  var _chunkRLX5ZFNXjs = require('./chunk-RLX5ZFNX.js');
@@ -145,7 +145,7 @@ function inferActiveSkillsScope(entrypoint = _nullishCoalesce(process.argv[1], (
145
145
  return /[\\/]\.deepline[\\/]runtime[\\/]/.test(entrypoint) ? "local" : "global";
146
146
  }
147
147
  function resolveLocalRoot() {
148
- const target = _chunkMVIVF4BWjs.resolveProjectPinTarget.call(void 0, );
148
+ const target = _chunkFOCNY4GVjs.resolveProjectPinTarget.call(void 0, );
149
149
  if (!target.ok) {
150
150
  throw new Error(
151
151
  `Cowork project folder is ambiguous. Candidate folders: ${target.candidates.join(
@@ -156,7 +156,7 @@ function resolveLocalRoot() {
156
156
  return target.dir;
157
157
  }
158
158
  function detectSkillsAgents(input) {
159
- const runtime = _nullishCoalesce(input.runtime, () => ( _chunkAJVK4XC5js.detectAgentRuntime.call(void 0, )));
159
+ const runtime = _nullishCoalesce(input.runtime, () => ( _chunkM6XIKHBSjs.detectAgentRuntime.call(void 0, )));
160
160
  const knownAgent = RUNTIME_TO_SKILLS_AGENT[runtime];
161
161
  if (knownAgent) return [knownAgent];
162
162
  const roots = [
@@ -171,11 +171,11 @@ function detectSkillsAgents(input) {
171
171
  return detected.length > 0 ? detected : ["*"];
172
172
  }
173
173
  function skillsStatePathForScope(baseUrl, scope, root) {
174
- return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkMVIVF4BWjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
174
+ return scope === "local" && root ? _path.join.call(void 0, root, ".deepline", "setup", "skills.json") : _path.join.call(void 0, _chunkFOCNY4GVjs.sdkCliStateDirPath.call(void 0, baseUrl), "skills-install.json");
175
175
  }
176
176
  function buildSkillsPlan(input) {
177
177
  const scopeArgs = input.scope === "global" ? ["--global"] : [];
178
- const legacyNames = [..._chunkM4DB6BBPjs.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
178
+ const legacyNames = [..._chunkMPYM6TUOjs.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
179
179
  (a, b) => a.localeCompare(b)
180
180
  );
181
181
  return {
@@ -189,7 +189,7 @@ function buildSkillsPlan(input) {
189
189
  args: [
190
190
  "exec",
191
191
  "--yes",
192
- `--package=${_chunkM4DB6BBPjs.SKILLS_NPX_PACKAGE}`,
192
+ `--package=${_chunkMPYM6TUOjs.SKILLS_NPX_PACKAGE}`,
193
193
  "--",
194
194
  "skills",
195
195
  "remove",
@@ -205,11 +205,11 @@ function buildSkillsPlan(input) {
205
205
  args: [
206
206
  "exec",
207
207
  "--yes",
208
- `--package=${_chunkM4DB6BBPjs.SKILLS_NPX_PACKAGE}`,
208
+ `--package=${_chunkMPYM6TUOjs.SKILLS_NPX_PACKAGE}`,
209
209
  "--",
210
210
  "skills",
211
211
  "add",
212
- _chunkM4DB6BBPjs.skillsSourceUrl.call(void 0, input.baseUrl),
212
+ _chunkMPYM6TUOjs.skillsSourceUrl.call(void 0, input.baseUrl),
213
213
  "--agent",
214
214
  ...input.agents,
215
215
  ...scopeArgs,
@@ -246,7 +246,7 @@ function readSkillsInstallState(path) {
246
246
  }
247
247
  function runProcess(command, args, cwd) {
248
248
  return new Promise((resolve, reject) => {
249
- const plan = _chunkM4DB6BBPjs.resolveShellSpawn.call(void 0,
249
+ const plan = _chunkMPYM6TUOjs.resolveShellSpawn.call(void 0,
250
250
  command,
251
251
  args,
252
252
  process.platform,
@@ -268,7 +268,7 @@ function runProcess(command, args, cwd) {
268
268
  child.kill("SIGTERM");
269
269
  reject(
270
270
  new Error(
271
- `${_chunkM4DB6BBPjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
271
+ `${_chunkMPYM6TUOjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
272
272
  )
273
273
  );
274
274
  }, SKILLS_PROCESS_TIMEOUT_MS);
@@ -279,7 +279,7 @@ function runProcess(command, args, cwd) {
279
279
  child.once("close", (code) => {
280
280
  clearTimeout(timeout);
281
281
  if (code && stderr.trim()) {
282
- process.stderr.write(`${_chunkM4DB6BBPjs.SKILLS_NPX_PACKAGE} exited ${code}.
282
+ process.stderr.write(`${_chunkMPYM6TUOjs.SKILLS_NPX_PACKAGE} exited ${code}.
283
283
  `);
284
284
  }
285
285
  resolve(_nullishCoalesce(code, () => ( 1)));
@@ -287,7 +287,7 @@ function runProcess(command, args, cwd) {
287
287
  });
288
288
  }
289
289
  async function showSkills(options, name) {
290
- const baseUrl = _chunkMVIVF4BWjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
290
+ const baseUrl = _chunkFOCNY4GVjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
291
291
  const url = name ? `${baseUrl}/.well-known/skills/${encodeURIComponent(name)}/SKILL.md` : `${baseUrl}/.well-known/skills/index.json`;
292
292
  try {
293
293
  const response = await fetch(url, {
@@ -300,7 +300,7 @@ async function showSkills(options, name) {
300
300
  }
301
301
  if (name) {
302
302
  const markdown = await response.text();
303
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
303
+ _chunkZD673XALjs.printCommandEnvelope.call(void 0,
304
304
  { ok: true, status: "completed", skill: { name, markdown } },
305
305
  { json: options.json, text: markdown }
306
306
  );
@@ -310,7 +310,7 @@ async function showSkills(options, name) {
310
310
  const skills = (_nullishCoalesce(index.skills, () => ( []))).filter(
311
311
  (skill) => skill.install_surface === "v1" && skill.name
312
312
  );
313
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
313
+ _chunkZD673XALjs.printCommandEnvelope.call(void 0,
314
314
  {
315
315
  ok: true,
316
316
  status: "completed",
@@ -327,7 +327,7 @@ Read one with: deepline skills show <name>
327
327
  );
328
328
  return 0;
329
329
  } catch (error) {
330
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
330
+ _chunkZD673XALjs.printCommandEnvelope.call(void 0,
331
331
  {
332
332
  ok: false,
333
333
  status: "failed",
@@ -350,7 +350,7 @@ async function runSkillsCommand(options, dependencies = {}) {
350
350
  scope = normalizeScope(options.scope);
351
351
  root = scope === "local" ? resolveLocalRoot() : null;
352
352
  } catch (error) {
353
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
353
+ _chunkZD673XALjs.printCommandEnvelope.call(void 0,
354
354
  {
355
355
  ok: false,
356
356
  status: "failed",
@@ -362,22 +362,22 @@ async function runSkillsCommand(options, dependencies = {}) {
362
362
  );
363
363
  return 2;
364
364
  }
365
- const baseUrl = _chunkMVIVF4BWjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
365
+ const baseUrl = _chunkFOCNY4GVjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
366
366
  const catalog = {
367
- skillNames: [..._chunkM4DB6BBPjs.DEFAULT_SDK_SKILL_NAMES],
368
- version: _chunkAJVK4XC5js.SDK_VERSION
367
+ skillNames: [..._chunkMPYM6TUOjs.DEFAULT_SDK_SKILL_NAMES],
368
+ version: _chunkM6XIKHBSjs.SDK_VERSION
369
369
  };
370
370
  const agents = options.agent ? [options.agent] : detectSkillsAgents({ scope, root });
371
371
  const plan = buildSkillsPlan({ baseUrl, scope, root, agents, ...catalog });
372
372
  if (options.dryRun) {
373
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
373
+ _chunkZD673XALjs.printCommandEnvelope.call(void 0,
374
374
  { ok: true, status: "planned", dryRun: true, ...plan },
375
375
  { json: options.json }
376
376
  );
377
377
  return 0;
378
378
  }
379
- if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkM4DB6BBPjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
380
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
379
+ if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkMPYM6TUOjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
380
+ _chunkZD673XALjs.printCommandEnvelope.call(void 0,
381
381
  {
382
382
  ok: true,
383
383
  status: "current",
@@ -409,10 +409,10 @@ async function runSkillsCommand(options, dependencies = {}) {
409
409
  }
410
410
  if (scope === "local" && root) {
411
411
  const managedNames = [
412
- .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkM4DB6BBPjs.LEGACY_SKILL_NAMES_TO_REMOVE])
412
+ .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkMPYM6TUOjs.LEGACY_SKILL_NAMES_TO_REMOVE])
413
413
  ];
414
414
  const agentRoots = workspaceSkillRootsForAgents(plan.agents);
415
- _chunkMVIVF4BWjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
415
+ _chunkFOCNY4GVjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
416
416
  ".deepline/",
417
417
  ...agentRoots.flatMap(
418
418
  (agentRoot) => managedNames.map((name) => `${agentRoot}/skills/${name}/`)
@@ -421,7 +421,7 @@ async function runSkillsCommand(options, dependencies = {}) {
421
421
  }
422
422
  let lease;
423
423
  try {
424
- lease = scope === "global" ? await _chunkM4DB6BBPjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
424
+ lease = scope === "global" ? await _chunkMPYM6TUOjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
425
425
  waitMs: _nullishCoalesce(dependencies.installLeaseWaitMs, () => ( SKILLS_INSTALL_LEASE_WAIT_MS)),
426
426
  onWait: () => process.stderr.write(
427
427
  "Waiting for a background Deepline skills refresh to finish...\n"
@@ -429,8 +429,8 @@ async function runSkillsCommand(options, dependencies = {}) {
429
429
  }) : { release: () => {
430
430
  } };
431
431
  } catch (error) {
432
- if (!(error instanceof _chunkM4DB6BBPjs.SkillsStateUnavailableError)) throw error;
433
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
432
+ if (!(error instanceof _chunkMPYM6TUOjs.SkillsStateUnavailableError)) throw error;
433
+ _chunkZD673XALjs.printCommandEnvelope.call(void 0,
434
434
  {
435
435
  ok: false,
436
436
  status: "failed",
@@ -446,7 +446,7 @@ async function runSkillsCommand(options, dependencies = {}) {
446
446
  return 5;
447
447
  }
448
448
  if (!lease) {
449
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
449
+ _chunkZD673XALjs.printCommandEnvelope.call(void 0,
450
450
  {
451
451
  ok: false,
452
452
  status: "failed",
@@ -455,7 +455,7 @@ async function runSkillsCommand(options, dependencies = {}) {
455
455
  scope,
456
456
  agents,
457
457
  message: "A background Deepline skills refresh is still running for these agents.",
458
- next: `Retry in a moment: deepline skills install --scope ${scope}. If no refresh is running, remove ${_chunkM4DB6BBPjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
458
+ next: `Retry in a moment: deepline skills install --scope ${scope}. If no refresh is running, remove ${_chunkMPYM6TUOjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
459
459
  },
460
460
  { json: options.json }
461
461
  );
@@ -504,7 +504,7 @@ async function runSkillsInstallWithLease(input) {
504
504
  }
505
505
  }
506
506
  } catch (error) {
507
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
507
+ _chunkZD673XALjs.printCommandEnvelope.call(void 0,
508
508
  {
509
509
  ok: false,
510
510
  status: "failed",
@@ -520,7 +520,7 @@ async function runSkillsInstallWithLease(input) {
520
520
  return 5;
521
521
  }
522
522
  if (missing.length > 0) {
523
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
523
+ _chunkZD673XALjs.printCommandEnvelope.call(void 0,
524
524
  {
525
525
  ok: false,
526
526
  status: "failed",
@@ -560,7 +560,7 @@ async function runSkillsInstallWithLease(input) {
560
560
  {
561
561
  schemaVersion: 1,
562
562
  installedAt: (/* @__PURE__ */ new Date()).toISOString(),
563
- cliVersion: _chunkAJVK4XC5js.SDK_VERSION,
563
+ cliVersion: _chunkM6XIKHBSjs.SDK_VERSION,
564
564
  scope,
565
565
  agents,
566
566
  skillsVersion: plan.version,
@@ -573,9 +573,9 @@ async function runSkillsInstallWithLease(input) {
573
573
  "utf8"
574
574
  );
575
575
  if (scope === "global") {
576
- _chunkM4DB6BBPjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
576
+ _chunkMPYM6TUOjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
577
577
  }
578
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
578
+ _chunkZD673XALjs.printCommandEnvelope.call(void 0,
579
579
  {
580
580
  ok: true,
581
581
  status: "complete",
@@ -624,7 +624,7 @@ Examples:
624
624
  "after",
625
625
  `
626
626
  Notes:
627
- This command reinstalls current Deepline-managed skills using ${_chunkM4DB6BBPjs.SKILLS_NPX_PACKAGE},
627
+ This command reinstalls current Deepline-managed skills using ${_chunkMPYM6TUOjs.SKILLS_NPX_PACKAGE},
628
628
  then removes legacy Deepline skill names. Local scope writes into the resolved
629
629
  persistent project.
630
630
 
@@ -636,13 +636,13 @@ Examples:
636
636
  ).action(async (options) => {
637
637
  process.exitCode = await runSkillsCommand(options);
638
638
  });
639
- program.command(_chunkM4DB6BBPjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
639
+ program.command(_chunkMPYM6TUOjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
640
640
  "--claim <token>",
641
641
  "Owner token of the leases this child was started for."
642
642
  ).action(async (options) => {
643
643
  const claim = _optionalChain([options, 'access', _9 => _9.claim, 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]);
644
644
  if (!claim) {
645
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
645
+ _chunkZD673XALjs.printCommandEnvelope.call(void 0,
646
646
  {
647
647
  ok: false,
648
648
  status: "failed",
@@ -655,7 +655,7 @@ Examples:
655
655
  process.exitCode = 2;
656
656
  return;
657
657
  }
658
- await _chunkM4DB6BBPjs.syncSdkSkillsIfNeeded.call(void 0, _chunkMVIVF4BWjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
658
+ await _chunkMPYM6TUOjs.syncSdkSkillsIfNeeded.call(void 0, _chunkFOCNY4GVjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
659
659
  mode: "inline",
660
660
  notices: "defer",
661
661
  claim
@@ -2,11 +2,11 @@ import {
2
2
  addDescribeOptions,
3
3
  recordApiResponse,
4
4
  writeExecutionOutput
5
- } from "./chunk-Z2OYTXLK.mjs";
5
+ } from "./chunk-VMIIUMAN.mjs";
6
6
  import {
7
7
  recentSearchRef,
8
8
  registerDeprecatedSearchCommand
9
- } from "./chunk-HLHDCFKL.mjs";
9
+ } from "./chunk-BMNLD63A.mjs";
10
10
  import {
11
11
  Capability,
12
12
  arrayField,
@@ -46,10 +46,10 @@ import {
46
46
  } from "./chunk-FIVKWNMT.mjs";
47
47
  import {
48
48
  DeeplineClient
49
- } from "./chunk-AB6DFHGL.mjs";
49
+ } from "./chunk-XO2SGONT.mjs";
50
50
  import {
51
51
  validateExecutionIdempotencyKey
52
- } from "./chunk-B6UZUQ2O.mjs";
52
+ } from "./chunk-LRPFCB2P.mjs";
53
53
  import {
54
54
  stableStringify
55
55
  } from "./chunk-UBKA33KY.mjs";
@@ -59,18 +59,18 @@ import {
59
59
  maybeAutoUpdateAndRelaunch,
60
60
  registerCompatibilityCatalog,
61
61
  runToolExecuteStage
62
- } from "./chunk-ZJFU2COM.mjs";
62
+ } from "./chunk-UC5QFQGC.mjs";
63
63
  import {
64
64
  isCliTraceEnabled,
65
65
  recordCliTrace,
66
66
  resolveCliMaintenancePolicy
67
- } from "./chunk-SGMDRYAD.mjs";
67
+ } from "./chunk-XTR32PMA.mjs";
68
68
  import {
69
69
  checkSdkCompatibility,
70
70
  enforceSdkCompatibilityResponse,
71
71
  flushDeferredSkillsSyncNotices,
72
72
  syncSdkSkillsIfNeeded
73
- } from "./chunk-PJOMRUFP.mjs";
73
+ } from "./chunk-DHC7EGI7.mjs";
74
74
  import {
75
75
  errorToJsonPayload,
76
76
  printCommandEnvelope,
@@ -79,12 +79,12 @@ import {
79
79
  printJsonError,
80
80
  renderCommandEnvelopeText,
81
81
  shouldEmitJson
82
- } from "./chunk-37VFUQMU.mjs";
82
+ } from "./chunk-FRPJSFNL.mjs";
83
83
  import {
84
84
  readSdkSkillsLocalVersion,
85
85
  resolveConfig,
86
86
  sdkCliStateDirPath
87
- } from "./chunk-DWE2VE5I.mjs";
87
+ } from "./chunk-AU7ZKXW5.mjs";
88
88
  import {
89
89
  DeeplineError
90
90
  } from "./chunk-JL2OTMSG.mjs";
@@ -1137,7 +1137,7 @@ Examples:
1137
1137
  process.exitCode = await narrowView();
1138
1138
  return;
1139
1139
  }
1140
- const { describeAnything } = await import("./describe-I42Y3PWR.mjs");
1140
+ const { describeAnything } = await import("./describe-5OUJA5TH.mjs");
1141
1141
  process.exitCode = await describeAnything(
1142
1142
  toolId,
1143
1143
  {
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-F6QV42MC.mjs";
4
4
  import {
5
5
  parseLogLevel
6
- } from "./chunk-B6UZUQ2O.mjs";
6
+ } from "./chunk-LRPFCB2P.mjs";
7
7
  import {
8
8
  setDottedInputValue
9
9
  } from "./chunk-Z2XA6YU4.mjs";
@@ -11,7 +11,7 @@ import {
11
11
  argsWantJson,
12
12
  jsonFieldArgs,
13
13
  parseJsonFields
14
- } from "./chunk-37VFUQMU.mjs";
14
+ } from "./chunk-FRPJSFNL.mjs";
15
15
  import {
16
16
  DeeplineError
17
17
  } from "./chunk-JL2OTMSG.mjs";
@@ -3,16 +3,16 @@
3
3
  var _chunkD3BCSAN7js = require('./chunk-D3BCSAN7.js');
4
4
 
5
5
 
6
- var _chunkUJYX4VLXjs = require('./chunk-UJYX4VLX.js');
6
+ var _chunkCNBPATLIjs = require('./chunk-CNBPATLI.js');
7
7
 
8
8
 
9
9
 
10
10
 
11
- var _chunkVAOGM5VSjs = require('./chunk-VAOGM5VS.js');
11
+ var _chunkZD673XALjs = require('./chunk-ZD673XAL.js');
12
12
 
13
13
 
14
14
 
15
- var _chunkMVIVF4BWjs = require('./chunk-MVIVF4BW.js');
15
+ var _chunkFOCNY4GVjs = require('./chunk-FOCNY4GV.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, _chunkMVIVF4BWjs.sdkCliStateDirPath.call(void 0, _chunkMVIVF4BWjs.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
25
+ return _path.join.call(void 0, _chunkFOCNY4GVjs.sdkCliStateDirPath.call(void 0, _chunkFOCNY4GVjs.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, _chunkUJYX4VLXjs.DeeplineClient)();
135
+ const client = new (0, _chunkCNBPATLIjs.DeeplineClient)();
136
136
  const json = options.json === true;
137
- const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-4PH5HSJC.js")));
137
+ const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-L6ICQDBL.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
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0, result, { json, text });
160
+ _chunkZD673XALjs.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 = _chunkVAOGM5VSjs.errorToJsonPayload.call(void 0, error);
175
- const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunkVAOGM5VSjs.resolveSdkCliFailureExitCode.call(void 0, error)));
174
+ const payload = _chunkZD673XALjs.errorToJsonPayload.call(void 0, error);
175
+ const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunkZD673XALjs.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
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
187
+ _chunkZD673XALjs.printCommandEnvelope.call(void 0,
188
188
  { searches },
189
189
  {
190
190
  json,
@@ -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 _chunk2U4VACUAjs = require('./chunk-2U4VACUA.js');
4
+ var _chunkBUCTWJBMjs = require('./chunk-BUCTWJBM.js');
5
5
 
6
6
 
7
- var _chunkWDHHQEWQjs = require('./chunk-WDHHQEWQ.js');
7
+ var _chunkQ66ADD4Ojs = require('./chunk-Q66ADD4O.js');
8
8
 
9
9
 
10
- var _chunkM4DB6BBPjs = require('./chunk-M4DB6BBP.js');
10
+ var _chunkMPYM6TUOjs = require('./chunk-MPYM6TUO.js');
11
11
 
12
12
 
13
- var _chunkVAOGM5VSjs = require('./chunk-VAOGM5VS.js');
13
+ var _chunkZD673XALjs = require('./chunk-ZD673XAL.js');
14
14
 
15
15
 
16
- var _chunkMVIVF4BWjs = require('./chunk-MVIVF4BW.js');
16
+ var _chunkFOCNY4GVjs = require('./chunk-FOCNY4GV.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 = _chunkM4DB6BBPjs.resolveShellSpawn.call(void 0,
498
+ const plan = _chunkMPYM6TUOjs.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 ? _chunk2U4VACUAjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
- const npmGlobalInstallFlags = _chunk2U4VACUAjs.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 ? _chunkBUCTWJBMjs.readNpmVersion.call(void 0, env) : options.npmVersion;
560
+ const npmGlobalInstallFlags = _chunkBUCTWJBMjs.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()]) || _chunkMVIVF4BWjs.autoDetectBaseUrl.call(void 0, )
570
+ _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkFOCNY4GVjs.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 = _chunkM4DB6BBPjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
819
+ const plan = _chunkMPYM6TUOjs.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, () => ( _chunkMVIVF4BWjs.autoDetectBaseUrl));
1202
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkFOCNY4GVjs.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 _chunkWDHHQEWQjs.runSkillsCommand.call(void 0, { json: true });
1209
+ const exitCode = await _chunkQ66ADD4Ojs.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
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1280
+ _chunkZD673XALjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: true });
1281
1281
  return 0;
1282
1282
  }
1283
1283
  if (options.printCommand) {
1284
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
1284
+ _chunkZD673XALjs.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
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1297
+ _chunkZD673XALjs.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 install
1324
1324
  );
1325
1325
  }
1326
1326
  if (options.executeWithJson && options.json) {
1327
- _chunkVAOGM5VSjs.printCommandEnvelope.call(void 0,
1327
+ _chunkZD673XALjs.printCommandEnvelope.call(void 0,
1328
1328
  {
1329
1329
  ok: true,
1330
1330
  pinnedVersion
@@ -4,21 +4,21 @@ import {
4
4
  resolveUpdatePlan,
5
5
  runAutomaticUpdatePlan,
6
6
  shouldRunCliAutoUpdate
7
- } from "./chunk-IYQZVEV4.mjs";
7
+ } from "./chunk-FTKX7OGB.mjs";
8
8
  import {
9
9
  isCiEnvironment,
10
10
  syncSdkSkillsIfNeeded
11
- } from "./chunk-PJOMRUFP.mjs";
11
+ } from "./chunk-DHC7EGI7.mjs";
12
12
  import {
13
13
  addJsonNotice,
14
14
  isJsonOutputMode
15
- } from "./chunk-37VFUQMU.mjs";
15
+ } from "./chunk-FRPJSFNL.mjs";
16
16
  import {
17
17
  resolveApiKeyForBaseUrl
18
- } from "./chunk-DWE2VE5I.mjs";
18
+ } from "./chunk-AU7ZKXW5.mjs";
19
19
  import {
20
20
  SDK_VERSION
21
- } from "./chunk-XYM3SQZN.mjs";
21
+ } from "./chunk-7AUQSK24.mjs";
22
22
 
23
23
  // src/cli/compatibility-catalog.ts
24
24
  var readers = /* @__PURE__ */ new WeakMap();
@@ -3,7 +3,7 @@
3
3
  var _chunkVLEVVDWGjs = require('./chunk-VLEVVDWG.js');
4
4
 
5
5
 
6
- var _chunkXIIQNSWAjs = require('./chunk-XIIQNSWA.js');
6
+ var _chunk323I5KQ5js = require('./chunk-323I5KQ5.js');
7
7
 
8
8
 
9
9
  var _chunkCQDQNZGHjs = require('./chunk-CQDQNZGH.js');
@@ -11,7 +11,7 @@ var _chunkCQDQNZGHjs = require('./chunk-CQDQNZGH.js');
11
11
 
12
12
 
13
13
 
14
- var _chunkVAOGM5VSjs = require('./chunk-VAOGM5VS.js');
14
+ var _chunkZD673XALjs = require('./chunk-ZD673XAL.js');
15
15
 
16
16
 
17
17
  var _chunkBBTKAASQjs = require('./chunk-BBTKAASQ.js');
@@ -581,7 +581,7 @@ function parseInputFlagValue(raw) {
581
581
  return raw;
582
582
  }
583
583
  function parsePlayRunOptions(args, initialInput = null) {
584
- const selection = _chunkVAOGM5VSjs.parseJsonFields.call(void 0, args, "run");
584
+ const selection = _chunkZD673XALjs.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 ? _chunkVAOGM5VSjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkVAOGM5VSjs.argsWantJson.call(void 0, args);
596
+ let jsonOutput = dryRun ? _chunkZD673XALjs.argsWantJson.call(void 0, args) : watch ? args.includes("--json") : _chunkZD673XALjs.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");
@@ -656,7 +656,7 @@ function parsePlayRunOptions(args, initialInput = null) {
656
656
  "--log-level requires one of: debug, info, warn, error."
657
657
  );
658
658
  }
659
- const parsed = _chunkXIIQNSWAjs.parseLogLevel.call(void 0, value);
659
+ const parsed = _chunk323I5KQ5js.parseLogLevel.call(void 0, value);
660
660
  if (!parsed) {
661
661
  throw new Error(
662
662
  `Unsupported --log-level ${JSON.stringify(value)}. Use debug, info, warn, or error.`
@@ -974,7 +974,7 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
974
974
  const hasExplicitLogLevel = options.logLevel !== void 0 || inputArgs.some(
975
975
  (arg) => arg === "--log-level" || arg.startsWith("--log-level=")
976
976
  );
977
- let logLevel = options.logLevel === void 0 ? base.logLevel : _chunkXIIQNSWAjs.parseLogLevel.call(void 0, options.logLevel);
977
+ let logLevel = options.logLevel === void 0 ? base.logLevel : _chunk323I5KQ5js.parseLogLevel.call(void 0, options.logLevel);
978
978
  if (!logLevel)
979
979
  throw new Error("--log-level requires one of: debug, info, warn, error.");
980
980
  const debugAlias = options.logs || options.debug === true || inputArgs.some(
@@ -988,13 +988,13 @@ function resolvePlayRunCliOptions(target, options, inputArgs = [], maintenancePo
988
988
  if (debugAlias || debugMapLatency && logLevel === "info")
989
989
  logLevel = "debug";
990
990
  const fullJson = _nullishCoalesce(options.full, () => ( base.fullJson));
991
- const jsonFields = options.json === void 0 ? base.jsonFields : _chunkVAOGM5VSjs.parseJsonFields.call(void 0,
992
- [...fullJson ? ["--full"] : [], ..._chunkVAOGM5VSjs.jsonFieldArgs.call(void 0, options.json)],
991
+ const jsonFields = options.json === void 0 ? base.jsonFields : _chunkZD673XALjs.parseJsonFields.call(void 0,
992
+ [...fullJson ? ["--full"] : [], ..._chunkZD673XALjs.jsonFieldArgs.call(void 0, options.json)],
993
993
  "run"
994
994
  ).fields;
995
995
  const watch = options.wait === false ? false : base.watch;
996
996
  const explicitJson = options.json !== void 0 ? options.json !== false : base.jsonOutput;
997
- const jsonOutput = dryRun || !watch ? explicitJson || _chunkVAOGM5VSjs.argsWantJson.call(void 0, []) : explicitJson;
997
+ const jsonOutput = dryRun || !watch ? explicitJson || _chunkZD673XALjs.argsWantJson.call(void 0, []) : explicitJson;
998
998
  const verboseLogs = Boolean(
999
999
  debugAlias || logLevel === "debug" || debugMapLatency
1000
1000
  );