deepline 0.3.576 → 0.3.578

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/cli/{agents-BLJR2Y3X.mjs → agents-LRBANBZH.mjs} +4 -4
  3. package/dist/cli/{agents-CJQ7KBFT.js → agents-MCU3ITQZ.js} +31 -31
  4. package/dist/cli/{auth-SLZIRCPE.mjs → auth-5BJKVYMQ.mjs} +5 -5
  5. package/dist/cli/auth-VSW3MTFO.js +44 -0
  6. package/dist/cli/{billing-6Q4SK5KF.mjs → billing-EBBI4MVL.mjs} +8 -8
  7. package/dist/cli/{billing-IECMVARO.js → billing-NT57POHH.js} +99 -99
  8. package/dist/cli/{chunk-WDWV77SJ.js → chunk-24FGR73C.js} +13 -13
  9. package/dist/cli/{chunk-L6H72AIX.js → chunk-25SSGQJJ.js} +2 -2
  10. package/dist/cli/{chunk-6RY5COUY.js → chunk-27HAQRGH.js} +23 -23
  11. package/dist/cli/{chunk-ZYN6S6G2.mjs → chunk-3GF33QJJ.mjs} +4 -4
  12. package/dist/cli/{chunk-PYFMNPTA.js → chunk-3ZUKYLC6.js} +8 -8
  13. package/dist/cli/{chunk-KQTZO6NT.mjs → chunk-4CNHOBUO.mjs} +2 -2
  14. package/dist/cli/{chunk-ZIGMC2X4.mjs → chunk-4KNRCUKY.mjs} +11 -11
  15. package/dist/cli/{chunk-JPFAD6G6.mjs → chunk-4LMTY4RQ.mjs} +2 -2
  16. package/dist/cli/{chunk-CUIFDMNP.mjs → chunk-4YSJOSBG.mjs} +1 -1
  17. package/dist/cli/{chunk-SBZSJQEI.js → chunk-5IMWXYVB.js} +53 -53
  18. package/dist/cli/{chunk-6JQZC6HX.js → chunk-5LCV36BR.js} +20 -20
  19. package/dist/cli/{chunk-5VABOJ4M.mjs → chunk-6UFTWNC5.mjs} +2 -2
  20. package/dist/cli/{chunk-66K7F7LR.mjs → chunk-7J473OJ5.mjs} +1 -1
  21. package/dist/cli/{chunk-MDJ4LPQ5.js → chunk-A7NKOXBV.js} +4 -4
  22. package/dist/cli/{chunk-YHM64N5C.mjs → chunk-ALXYCC4K.mjs} +1 -1
  23. package/dist/cli/{chunk-4KIIXV5Z.js → chunk-BPMA4S3O.js} +16 -16
  24. package/dist/cli/{chunk-GI57Q7JU.mjs → chunk-CFG3ZM7M.mjs} +2 -2
  25. package/dist/cli/{chunk-XJNJ3BWU.mjs → chunk-CFLAGRWL.mjs} +1 -1
  26. package/dist/cli/{chunk-E4M4QZBP.js → chunk-CPNTDIJK.js} +1 -1
  27. package/dist/cli/{chunk-V25CXBR2.js → chunk-CS36W3RL.js} +26 -26
  28. package/dist/cli/{chunk-S4IW4NAI.mjs → chunk-CSPOWVWS.mjs} +1 -1
  29. package/dist/cli/{chunk-LKC7PHDX.mjs → chunk-DDJN4RR6.mjs} +4 -4
  30. package/dist/cli/{chunk-EQO77FQZ.js → chunk-G7PH2QVM.js} +5 -5
  31. package/dist/cli/{chunk-PU5VCDCJ.mjs → chunk-H7DY5NQ3.mjs} +5 -5
  32. package/dist/cli/{chunk-JSIOLCTK.js → chunk-HGQT6EGK.js} +20 -20
  33. package/dist/cli/{chunk-HE53AI2E.mjs → chunk-HKZN33F2.mjs} +3 -3
  34. package/dist/cli/{chunk-UGIH4462.mjs → chunk-HZXF2HFF.mjs} +5 -5
  35. package/dist/cli/{chunk-7DI34I73.mjs → chunk-IFWB4BYZ.mjs} +3 -3
  36. package/dist/cli/{chunk-QCD7BQ5Z.mjs → chunk-ITYSPUKD.mjs} +2 -2
  37. package/dist/cli/{chunk-DGY4EYIX.js → chunk-J7PCSLRY.js} +5 -5
  38. package/dist/cli/{chunk-SY3OKOI5.mjs → chunk-JQPFICW3.mjs} +1 -1
  39. package/dist/cli/{chunk-TZHS2W5Z.mjs → chunk-LYZPGP3P.mjs} +1 -1
  40. package/dist/cli/{chunk-OXRG325T.js → chunk-M3ITWEGS.js} +41 -41
  41. package/dist/cli/{chunk-NQFZ7FYN.js → chunk-NEH7NZFT.js} +10 -10
  42. package/dist/cli/{chunk-R5NKLZL2.mjs → chunk-NTHN7ODR.mjs} +1 -1
  43. package/dist/cli/{chunk-2UHEJPSS.mjs → chunk-OAQYLTUN.mjs} +5 -5
  44. package/dist/cli/{chunk-F4H26PP6.js → chunk-P35YQAUC.js} +100 -100
  45. package/dist/cli/{chunk-D5LWYP2H.mjs → chunk-PJXPHUAR.mjs} +3 -3
  46. package/dist/cli/{chunk-45POZK3F.js → chunk-PXMCPEE2.js} +3 -3
  47. package/dist/cli/{chunk-AUR24RQB.mjs → chunk-QPOJLAFT.mjs} +2 -2
  48. package/dist/cli/{chunk-HHMO3CON.js → chunk-RLPPLS6A.js} +6 -6
  49. package/dist/cli/{chunk-Y4A6Y5EY.js → chunk-RWDYULX2.js} +7 -7
  50. package/dist/cli/{chunk-X5V6S5KI.mjs → chunk-T2CCLYHV.mjs} +5 -5
  51. package/dist/cli/{chunk-BRPUB6UA.js → chunk-UKSOIH2P.js} +5 -5
  52. package/dist/cli/{chunk-OMVBBAQP.mjs → chunk-VMCJKGZS.mjs} +2 -2
  53. package/dist/cli/{chunk-GZ7KYGYE.js → chunk-VVZ7JZMQ.js} +15 -15
  54. package/dist/cli/{chunk-ANPHEXTT.js → chunk-W47SXEWQ.js} +9 -9
  55. package/dist/cli/{chunk-ZRC52APB.mjs → chunk-W66GXHYR.mjs} +1 -1
  56. package/dist/cli/{chunk-36254433.js → chunk-XBO4ERH6.js} +3 -3
  57. package/dist/cli/{chunk-M23G33MH.js → chunk-XE66BGLB.js} +2 -2
  58. package/dist/cli/{chunk-WPGZ6V36.js → chunk-XX7TZM4N.js} +48 -48
  59. package/dist/cli/{chunk-UD6M2ZTY.js → chunk-Y2TK7OXN.js} +2 -2
  60. package/dist/cli/{concurrent-runs-help-H3SA7J6H.mjs → concurrent-runs-help-2MHLIUC6.mjs} +6 -6
  61. package/dist/cli/concurrent-runs-help-ATT2GVTQ.js +22 -0
  62. package/dist/cli/{csv-ICXI7JAS.mjs → csv-J6SRBMOT.mjs} +4 -4
  63. package/dist/cli/{csv-6DEKR3QQ.js → csv-RYYDAC76.js} +13 -13
  64. package/dist/cli/{db-AG7INMLP.js → db-5QLH6QK5.js} +27 -27
  65. package/dist/cli/{db-VI7T5E6O.mjs → db-WK226TM7.mjs} +6 -6
  66. package/dist/cli/describe-Q27SRQWM.js +50 -0
  67. package/dist/cli/{describe-S6NFWWGK.mjs → describe-UBSCFPH5.mjs} +18 -18
  68. package/dist/cli/{executions-M5R5QHIA.js → executions-AGV5V7SD.js} +8 -8
  69. package/dist/cli/{executions-MK7H4Q2H.mjs → executions-XF5BNCFS.mjs} +6 -6
  70. package/dist/cli/{feedback-L3L4FEQL.js → feedback-3RDEZE2M.js} +14 -14
  71. package/dist/cli/{feedback-ZHATL2XF.mjs → feedback-LT3PDK72.mjs} +6 -6
  72. package/dist/cli/{git-W5DHNH2Q.mjs → git-7VBTCCBV.mjs} +5 -5
  73. package/dist/cli/git-BBTP3H7J.js +26 -0
  74. package/dist/cli/index.js +144 -144
  75. package/dist/cli/index.mjs +46 -46
  76. package/dist/cli/{integrations-73YSN2LI.mjs → integrations-E7QRWMKZ.mjs} +7 -7
  77. package/dist/cli/{integrations-IBWNO3YP.js → integrations-JP732FQB.js} +29 -29
  78. package/dist/cli/{legacy-noops-4LFZJTDX.mjs → legacy-noops-UFNQBPIT.mjs} +6 -6
  79. package/dist/cli/{legacy-noops-AE6DBYJM.js → legacy-noops-UTL4W5WE.js} +9 -9
  80. package/dist/cli/{mcp-BKL6M6OI.js → mcp-5X4XFB4V.js} +24 -24
  81. package/dist/cli/{mcp-E6PTSNDE.mjs → mcp-YHETA3AU.mjs} +4 -4
  82. package/dist/cli/{monitors-SW7ZCPPT.js → monitors-AN6KH4XY.js} +100 -100
  83. package/dist/cli/{monitors-MXJ27KQK.mjs → monitors-WFVZ42OQ.mjs} +7 -7
  84. package/dist/cli/{org-XJ44KZ5I.js → org-CN3XJZLA.js} +121 -121
  85. package/dist/cli/{org-HYAJ2MIK.mjs → org-OMDV7WDF.mjs} +6 -6
  86. package/dist/cli/{outcomes-PTXGG4BZ.js → outcomes-7HCZ6K3Q.js} +14 -14
  87. package/dist/cli/{outcomes-PUMAXRGD.mjs → outcomes-I4ZTG5ND.mjs} +6 -6
  88. package/dist/cli/{play-EPDZ3GDV.js → play-45VXZ57A.js} +336 -336
  89. package/dist/cli/{play-QN3X6IAE.mjs → play-TSNBSHGA.mjs} +19 -19
  90. package/dist/cli/{providers-JIN5UQ7Z.mjs → providers-4TB56ZLK.mjs} +6 -6
  91. package/dist/cli/{providers-GNJFGNDH.js → providers-RB3TT7AE.js} +9 -9
  92. package/dist/cli/{quickstart-4EBFHGB7.mjs → quickstart-XHZ3PG5I.mjs} +4 -4
  93. package/dist/cli/{quickstart-YH6NNC5I.js → quickstart-ZNDM6VUD.js} +6 -6
  94. package/dist/cli/{run-5467KBCP.mjs → run-7PY4G6GB.mjs} +23 -23
  95. package/dist/cli/{run-4DRF7KQJ.js → run-XNEJGAKV.js} +44 -44
  96. package/dist/cli/{search-ZERTOGH6.mjs → search-BG7KCIOG.mjs} +7 -7
  97. package/dist/cli/search-ZBU5GW4W.js +32 -0
  98. package/dist/cli/{search-output-OMNZN2LP.js → search-output-3ZBNTHGO.js} +6 -6
  99. package/dist/cli/{search-output-OAVJXRFO.mjs → search-output-TWKKP2BE.mjs} +4 -4
  100. package/dist/cli/{secrets-KAVDYB4P.mjs → secrets-AZZCE7E3.mjs} +6 -6
  101. package/dist/cli/{secrets-7XK2BGYX.js → secrets-FNR6MX6A.js} +15 -15
  102. package/dist/cli/sessions-GCY62GAW.js +23 -0
  103. package/dist/cli/{sessions-TNPI6XWB.mjs → sessions-ZAMKN3AF.mjs} +6 -6
  104. package/dist/cli/{settings-RQ3Z3JCM.js → settings-QGASFWV3.js} +85 -85
  105. package/dist/cli/{settings-KUABXRAJ.mjs → settings-WKWOOOI2.mjs} +12 -12
  106. package/dist/cli/{setup-TDOWNKYN.js → setup-KUZDCR3F.js} +49 -49
  107. package/dist/cli/{setup-6IX6BSS7.mjs → setup-U36W42LE.mjs} +9 -9
  108. package/dist/cli/{skills-Z6NBJ4KP.mjs → skills-25CSZQIK.mjs} +7 -7
  109. package/dist/cli/skills-43DHMLRW.js +37 -0
  110. package/dist/cli/{tools-LQKFWK7J.mjs → tools-4NZQ22AA.mjs} +17 -17
  111. package/dist/cli/tools-5BGKNMFU.js +57 -0
  112. package/dist/cli/{update-RUB4EIKW.mjs → update-CJYP36TG.mjs} +9 -9
  113. package/dist/cli/update-CUO2MTB6.js +37 -0
  114. package/dist/cli/{views-FFLXLAGC.js → views-76UIPWJD.js} +21 -21
  115. package/dist/cli/{views-D7WY5QPR.mjs → views-GYGE7FSV.mjs} +6 -6
  116. package/dist/cli/{workflow-BV2OTEQD.mjs → workflow-LZSWALZS.mjs} +7 -7
  117. package/dist/cli/{workflow-QW7QVODA.js → workflow-NCVXBATM.js} +17 -17
  118. package/dist/index.js +9 -9
  119. package/dist/index.mjs +6 -6
  120. package/dist/install-integrity.json +114 -114
  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-GSDYP4ZN.js +0 -44
  129. package/dist/cli/concurrent-runs-help-PB7GT6F2.js +0 -22
  130. package/dist/cli/describe-LMHIG3DP.js +0 -50
  131. package/dist/cli/git-WYNCLDHD.js +0 -26
  132. package/dist/cli/search-B2KCWPUV.js +0 -32
  133. package/dist/cli/sessions-PUQURPPC.js +0 -23
  134. package/dist/cli/skills-AACRY2TV.js +0 -37
  135. package/dist/cli/tools-OTYA4722.js +0 -57
  136. package/dist/cli/update-JTGMI6OJ.js +0 -37
@@ -11,20 +11,20 @@
11
11
 
12
12
 
13
13
 
14
- var _chunkWPGZ6V36js = require('./chunk-WPGZ6V36.js');
14
+ var _chunkXX7TZM4Njs = require('./chunk-XX7TZM4N.js');
15
15
 
16
16
 
17
- var _chunkJSIOLCTKjs = require('./chunk-JSIOLCTK.js');
17
+ var _chunkHGQT6EGKjs = require('./chunk-HGQT6EGK.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunk36254433js = require('./chunk-36254433.js');
23
+ var _chunkXBO4ERH6js = require('./chunk-XBO4ERH6.js');
24
24
 
25
25
 
26
26
 
27
- var _chunkMDJ4LPQ5js = require('./chunk-MDJ4LPQ5.js');
27
+ var _chunkA7NKOXBVjs = require('./chunk-A7NKOXBV.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 = _chunk36254433js.resolveProjectPinTarget.call(void 0, );
148
+ const target = _chunkXBO4ERH6js.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, () => ( _chunkMDJ4LPQ5js.detectAgentRuntime.call(void 0, )));
159
+ const runtime = _nullishCoalesce(input.runtime, () => ( _chunkA7NKOXBVjs.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, _chunk36254433js.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, _chunkXBO4ERH6js.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 = [..._chunkWPGZ6V36js.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
178
+ const legacyNames = [..._chunkXX7TZM4Njs.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=${_chunkWPGZ6V36js.SKILLS_NPX_PACKAGE}`,
192
+ `--package=${_chunkXX7TZM4Njs.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=${_chunkWPGZ6V36js.SKILLS_NPX_PACKAGE}`,
208
+ `--package=${_chunkXX7TZM4Njs.SKILLS_NPX_PACKAGE}`,
209
209
  "--",
210
210
  "skills",
211
211
  "add",
212
- _chunkWPGZ6V36js.skillsSourceUrl.call(void 0, input.baseUrl),
212
+ _chunkXX7TZM4Njs.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 = _chunkWPGZ6V36js.resolveShellSpawn.call(void 0,
249
+ const plan = _chunkXX7TZM4Njs.resolveShellSpawn.call(void 0,
250
250
  command,
251
251
  args,
252
252
  process.platform,
@@ -269,7 +269,7 @@ function runProcess(command, args, cwd) {
269
269
  child.kill("SIGTERM");
270
270
  reject(
271
271
  new Error(
272
- `${_chunkWPGZ6V36js.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
272
+ `${_chunkXX7TZM4Njs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
273
273
  )
274
274
  );
275
275
  }, SKILLS_PROCESS_TIMEOUT_MS);
@@ -280,7 +280,7 @@ function runProcess(command, args, cwd) {
280
280
  child.once("close", (code) => {
281
281
  clearTimeout(timeout);
282
282
  if (code && stderr.trim()) {
283
- process.stderr.write(`${_chunkWPGZ6V36js.SKILLS_NPX_PACKAGE} exited ${code}.
283
+ process.stderr.write(`${_chunkXX7TZM4Njs.SKILLS_NPX_PACKAGE} exited ${code}.
284
284
  `);
285
285
  }
286
286
  resolve(_nullishCoalesce(code, () => ( 1)));
@@ -288,7 +288,7 @@ function runProcess(command, args, cwd) {
288
288
  });
289
289
  }
290
290
  async function showSkills(options, name) {
291
- const baseUrl = _chunk36254433js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
291
+ const baseUrl = _chunkXBO4ERH6js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
292
292
  const url = name ? `${baseUrl}/.well-known/skills/${encodeURIComponent(name)}/SKILL.md` : `${baseUrl}/.well-known/skills/index.json`;
293
293
  try {
294
294
  const response = await fetch(url, {
@@ -301,7 +301,7 @@ async function showSkills(options, name) {
301
301
  }
302
302
  if (name) {
303
303
  const markdown = await response.text();
304
- _chunkJSIOLCTKjs.printCommandEnvelope.call(void 0,
304
+ _chunkHGQT6EGKjs.printCommandEnvelope.call(void 0,
305
305
  { ok: true, status: "completed", skill: { name, markdown } },
306
306
  { json: options.json, text: markdown }
307
307
  );
@@ -311,7 +311,7 @@ async function showSkills(options, name) {
311
311
  const skills = (_nullishCoalesce(index.skills, () => ( []))).filter(
312
312
  (skill) => skill.install_surface === "v1" && skill.name
313
313
  );
314
- _chunkJSIOLCTKjs.printCommandEnvelope.call(void 0,
314
+ _chunkHGQT6EGKjs.printCommandEnvelope.call(void 0,
315
315
  {
316
316
  ok: true,
317
317
  status: "completed",
@@ -328,7 +328,7 @@ Read one with: deepline skills show <name>
328
328
  );
329
329
  return 0;
330
330
  } catch (error) {
331
- _chunkJSIOLCTKjs.printCommandEnvelope.call(void 0,
331
+ _chunkHGQT6EGKjs.printCommandEnvelope.call(void 0,
332
332
  {
333
333
  ok: false,
334
334
  status: "failed",
@@ -351,7 +351,7 @@ async function runSkillsCommand(options, dependencies = {}) {
351
351
  scope = normalizeScope(options.scope);
352
352
  root = scope === "local" ? resolveLocalRoot() : null;
353
353
  } catch (error) {
354
- _chunkJSIOLCTKjs.printCommandEnvelope.call(void 0,
354
+ _chunkHGQT6EGKjs.printCommandEnvelope.call(void 0,
355
355
  {
356
356
  ok: false,
357
357
  status: "failed",
@@ -363,22 +363,22 @@ async function runSkillsCommand(options, dependencies = {}) {
363
363
  );
364
364
  return 2;
365
365
  }
366
- const baseUrl = _chunk36254433js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
366
+ const baseUrl = _chunkXBO4ERH6js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
367
367
  const catalog = {
368
- skillNames: [..._chunkWPGZ6V36js.DEFAULT_SDK_SKILL_NAMES],
369
- version: _chunkMDJ4LPQ5js.SDK_VERSION
368
+ skillNames: [..._chunkXX7TZM4Njs.DEFAULT_SDK_SKILL_NAMES],
369
+ version: _chunkA7NKOXBVjs.SDK_VERSION
370
370
  };
371
371
  const agents = options.agent ? [options.agent] : detectSkillsAgents({ scope, root });
372
372
  const plan = buildSkillsPlan({ baseUrl, scope, root, agents, ...catalog });
373
373
  if (options.dryRun) {
374
- _chunkJSIOLCTKjs.printCommandEnvelope.call(void 0,
374
+ _chunkHGQT6EGKjs.printCommandEnvelope.call(void 0,
375
375
  { ok: true, status: "planned", dryRun: true, ...plan },
376
376
  { json: options.json }
377
377
  );
378
378
  return 0;
379
379
  }
380
- if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkWPGZ6V36js.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
381
- _chunkJSIOLCTKjs.printCommandEnvelope.call(void 0,
380
+ if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunkXX7TZM4Njs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
381
+ _chunkHGQT6EGKjs.printCommandEnvelope.call(void 0,
382
382
  {
383
383
  ok: true,
384
384
  status: "current",
@@ -410,10 +410,10 @@ async function runSkillsCommand(options, dependencies = {}) {
410
410
  }
411
411
  if (scope === "local" && root) {
412
412
  const managedNames = [
413
- .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkWPGZ6V36js.LEGACY_SKILL_NAMES_TO_REMOVE])
413
+ .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunkXX7TZM4Njs.LEGACY_SKILL_NAMES_TO_REMOVE])
414
414
  ];
415
415
  const agentRoots = workspaceSkillRootsForAgents(plan.agents);
416
- _chunk36254433js.ensureProjectPrivatePathsIgnored.call(void 0, root, [
416
+ _chunkXBO4ERH6js.ensureProjectPrivatePathsIgnored.call(void 0, root, [
417
417
  ".deepline/",
418
418
  ...agentRoots.flatMap(
419
419
  (agentRoot) => managedNames.map((name) => `${agentRoot}/skills/${name}/`)
@@ -422,7 +422,7 @@ async function runSkillsCommand(options, dependencies = {}) {
422
422
  }
423
423
  let lease;
424
424
  try {
425
- lease = scope === "global" ? await _chunkWPGZ6V36js.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
425
+ lease = scope === "global" ? await _chunkXX7TZM4Njs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
426
426
  waitMs: _nullishCoalesce(dependencies.installLeaseWaitMs, () => ( SKILLS_INSTALL_LEASE_WAIT_MS)),
427
427
  onWait: () => process.stderr.write(
428
428
  "Waiting for a background Deepline skills refresh to finish...\n"
@@ -430,8 +430,8 @@ async function runSkillsCommand(options, dependencies = {}) {
430
430
  }) : { release: () => {
431
431
  } };
432
432
  } catch (error) {
433
- if (!(error instanceof _chunkWPGZ6V36js.SkillsStateUnavailableError)) throw error;
434
- _chunkJSIOLCTKjs.printCommandEnvelope.call(void 0,
433
+ if (!(error instanceof _chunkXX7TZM4Njs.SkillsStateUnavailableError)) throw error;
434
+ _chunkHGQT6EGKjs.printCommandEnvelope.call(void 0,
435
435
  {
436
436
  ok: false,
437
437
  status: "failed",
@@ -447,7 +447,7 @@ async function runSkillsCommand(options, dependencies = {}) {
447
447
  return 5;
448
448
  }
449
449
  if (!lease) {
450
- _chunkJSIOLCTKjs.printCommandEnvelope.call(void 0,
450
+ _chunkHGQT6EGKjs.printCommandEnvelope.call(void 0,
451
451
  {
452
452
  ok: false,
453
453
  status: "failed",
@@ -456,7 +456,7 @@ async function runSkillsCommand(options, dependencies = {}) {
456
456
  scope,
457
457
  agents,
458
458
  message: "A background Deepline skills refresh is still running for these agents.",
459
- next: `Retry in a moment: deepline skills install --scope ${scope}. If no refresh is running, remove ${_chunkWPGZ6V36js.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
459
+ next: `Retry in a moment: deepline skills install --scope ${scope}. If no refresh is running, remove ${_chunkXX7TZM4Njs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
460
460
  },
461
461
  { json: options.json }
462
462
  );
@@ -505,7 +505,7 @@ async function runSkillsInstallWithLease(input) {
505
505
  }
506
506
  }
507
507
  } catch (error) {
508
- _chunkJSIOLCTKjs.printCommandEnvelope.call(void 0,
508
+ _chunkHGQT6EGKjs.printCommandEnvelope.call(void 0,
509
509
  {
510
510
  ok: false,
511
511
  status: "failed",
@@ -521,7 +521,7 @@ async function runSkillsInstallWithLease(input) {
521
521
  return 5;
522
522
  }
523
523
  if (missing.length > 0) {
524
- _chunkJSIOLCTKjs.printCommandEnvelope.call(void 0,
524
+ _chunkHGQT6EGKjs.printCommandEnvelope.call(void 0,
525
525
  {
526
526
  ok: false,
527
527
  status: "failed",
@@ -561,7 +561,7 @@ async function runSkillsInstallWithLease(input) {
561
561
  {
562
562
  schemaVersion: 1,
563
563
  installedAt: (/* @__PURE__ */ new Date()).toISOString(),
564
- cliVersion: _chunkMDJ4LPQ5js.SDK_VERSION,
564
+ cliVersion: _chunkA7NKOXBVjs.SDK_VERSION,
565
565
  scope,
566
566
  agents,
567
567
  skillsVersion: plan.version,
@@ -574,9 +574,9 @@ async function runSkillsInstallWithLease(input) {
574
574
  "utf8"
575
575
  );
576
576
  if (scope === "global") {
577
- _chunkWPGZ6V36js.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
577
+ _chunkXX7TZM4Njs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
578
578
  }
579
- _chunkJSIOLCTKjs.printCommandEnvelope.call(void 0,
579
+ _chunkHGQT6EGKjs.printCommandEnvelope.call(void 0,
580
580
  {
581
581
  ok: true,
582
582
  status: "complete",
@@ -625,7 +625,7 @@ Examples:
625
625
  "after",
626
626
  `
627
627
  Notes:
628
- This command reinstalls current Deepline-managed skills using ${_chunkWPGZ6V36js.SKILLS_NPX_PACKAGE},
628
+ This command reinstalls current Deepline-managed skills using ${_chunkXX7TZM4Njs.SKILLS_NPX_PACKAGE},
629
629
  then removes legacy Deepline skill names. Local scope writes into the resolved
630
630
  persistent project.
631
631
 
@@ -637,13 +637,13 @@ Examples:
637
637
  ).action(async (options) => {
638
638
  process.exitCode = await runSkillsCommand(options);
639
639
  });
640
- program.command(_chunkWPGZ6V36js.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
640
+ program.command(_chunkXX7TZM4Njs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
641
641
  "--claim <token>",
642
642
  "Owner token of the leases this child was started for."
643
643
  ).action(async (options) => {
644
644
  const claim = _optionalChain([options, 'access', _9 => _9.claim, 'optionalAccess', _10 => _10.trim, 'call', _11 => _11()]);
645
645
  if (!claim) {
646
- _chunkJSIOLCTKjs.printCommandEnvelope.call(void 0,
646
+ _chunkHGQT6EGKjs.printCommandEnvelope.call(void 0,
647
647
  {
648
648
  ok: false,
649
649
  status: "failed",
@@ -656,7 +656,7 @@ Examples:
656
656
  process.exitCode = 2;
657
657
  return;
658
658
  }
659
- await _chunkWPGZ6V36js.syncSdkSkillsIfNeeded.call(void 0, _chunk36254433js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
659
+ await _chunkXX7TZM4Njs.syncSdkSkillsIfNeeded.call(void 0, _chunkXBO4ERH6js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
660
660
  mode: "inline",
661
661
  notices: "defer",
662
662
  claim
@@ -3,16 +3,16 @@
3
3
  var _chunkD3BCSAN7js = require('./chunk-D3BCSAN7.js');
4
4
 
5
5
 
6
- var _chunkBRPUB6UAjs = require('./chunk-BRPUB6UA.js');
6
+ var _chunkUKSOIH2Pjs = require('./chunk-UKSOIH2P.js');
7
7
 
8
8
 
9
9
 
10
10
 
11
- var _chunkJSIOLCTKjs = require('./chunk-JSIOLCTK.js');
11
+ var _chunkHGQT6EGKjs = require('./chunk-HGQT6EGK.js');
12
12
 
13
13
 
14
14
 
15
- var _chunk36254433js = require('./chunk-36254433.js');
15
+ var _chunkXBO4ERH6js = require('./chunk-XBO4ERH6.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, _chunk36254433js.sdkCliStateDirPath.call(void 0, _chunk36254433js.resolveConfig.call(void 0, ).baseUrl), "last-search.json");
25
+ return _path.join.call(void 0, _chunkXBO4ERH6js.sdkCliStateDirPath.call(void 0, _chunkXBO4ERH6js.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, _chunkBRPUB6UAjs.DeeplineClient)();
135
+ const client = new (0, _chunkUKSOIH2Pjs.DeeplineClient)();
136
136
  const json = options.json === true;
137
- const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-OMNZN2LP.js")));
137
+ const renderer = json ? void 0 : await Promise.resolve().then(() => _interopRequireWildcard(require("./search-output-3ZBNTHGO.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
- _chunkJSIOLCTKjs.printCommandEnvelope.call(void 0, result, { json, text });
160
+ _chunkHGQT6EGKjs.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 = _chunkJSIOLCTKjs.errorToJsonPayload.call(void 0, error);
175
- const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunkJSIOLCTKjs.resolveSdkCliFailureExitCode.call(void 0, error)));
174
+ const payload = _chunkHGQT6EGKjs.errorToJsonPayload.call(void 0, error);
175
+ const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunkHGQT6EGKjs.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
- _chunkJSIOLCTKjs.printCommandEnvelope.call(void 0,
187
+ _chunkHGQT6EGKjs.printCommandEnvelope.call(void 0,
188
188
  { searches },
189
189
  {
190
190
  json,
@@ -37,7 +37,7 @@ import {
37
37
  RETAINED_PIPELINE_RECEIVERS_HEADER,
38
38
  RUNTIME_ENVIRONMENT_TOKEN_HEADER,
39
39
  SDK_API_MAJOR
40
- } from "./chunk-XJNJ3BWU.mjs";
40
+ } from "./chunk-CFLAGRWL.mjs";
41
41
  import {
42
42
  CustomerDbQueryOutcomeUnknownError
43
43
  } from "./chunk-ASB47RXJ.mjs";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  getActiveCliProgress
3
- } from "./chunk-66K7F7LR.mjs";
3
+ } from "./chunk-7J473OJ5.mjs";
4
4
  import {
5
5
  maybeReportAutomaticSkillsSyncFailure
6
- } from "./chunk-JPFAD6G6.mjs";
6
+ } from "./chunk-4LMTY4RQ.mjs";
7
7
  import {
8
8
  DEFAULT_MAX_RETRIES,
9
9
  DEFAULT_SKILL_AGENTS,
@@ -18,20 +18,20 @@ import {
18
18
  sdkCliStateDirPath,
19
19
  skillsAgentPathSegment,
20
20
  writeSdkSkillsLocalVersion
21
- } from "./chunk-ZRC52APB.mjs";
21
+ } from "./chunk-W66GXHYR.mjs";
22
22
  import {
23
23
  SDK_API_CONTRACT,
24
24
  SDK_API_MAJOR,
25
25
  SDK_VERSION,
26
26
  deploymentProtectionHeaders,
27
27
  detectAgentRuntime
28
- } from "./chunk-XJNJ3BWU.mjs";
28
+ } from "./chunk-CFLAGRWL.mjs";
29
29
  import {
30
30
  DeeplineError
31
31
  } from "./chunk-Z3A2S3QM.mjs";
32
32
  import {
33
33
  SDK_RELEASE
34
- } from "./chunk-CUIFDMNP.mjs";
34
+ } from "./chunk-4YSJOSBG.mjs";
35
35
 
36
36
  // src/compat.ts
37
37
  import { randomUUID } from "crypto";