deepline 0.3.577 → 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 (140) hide show
  1. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  2. package/dist/cli/{agents-SUJRATC2.mjs → agents-LRBANBZH.mjs} +10 -27
  3. package/dist/cli/{agents-ZIGK3FQ2.js → agents-MCU3ITQZ.js} +37 -54
  4. package/dist/cli/{auth-TRKPRZK6.mjs → auth-5BJKVYMQ.mjs} +5 -5
  5. package/dist/cli/auth-VSW3MTFO.js +44 -0
  6. package/dist/cli/{billing-WPQT3QRS.mjs → billing-EBBI4MVL.mjs} +9 -9
  7. package/dist/cli/{billing-6RAF4DQY.js → billing-NT57POHH.js} +102 -102
  8. package/dist/cli/{chunk-QXAPAHIG.js → chunk-24FGR73C.js} +13 -13
  9. package/dist/cli/{chunk-2NFDB6CL.js → chunk-25SSGQJJ.js} +2 -2
  10. package/dist/cli/{chunk-APOWCBO7.js → chunk-27HAQRGH.js} +23 -23
  11. package/dist/cli/{chunk-WP4Q5PTK.mjs → chunk-3GF33QJJ.mjs} +4 -4
  12. package/dist/cli/{chunk-X5ZE7K4J.js → chunk-3ZUKYLC6.js} +8 -8
  13. package/dist/cli/{chunk-MDP3CNDM.mjs → chunk-4CNHOBUO.mjs} +2 -2
  14. package/dist/cli/{chunk-LXM36EXW.mjs → chunk-4KNRCUKY.mjs} +11 -11
  15. package/dist/cli/{chunk-O35BHZLQ.mjs → chunk-4LMTY4RQ.mjs} +2 -2
  16. package/dist/cli/{chunk-ID5WQZ2H.mjs → chunk-4YSJOSBG.mjs} +1 -1
  17. package/dist/cli/{chunk-FRYLXDNP.js → chunk-5IMWXYVB.js} +53 -53
  18. package/dist/cli/{chunk-RVICQWXU.js → chunk-5LCV36BR.js} +20 -20
  19. package/dist/cli/{chunk-DA5C5WOI.mjs → chunk-6UFTWNC5.mjs} +2 -2
  20. package/dist/cli/{chunk-4ANO4DM5.mjs → chunk-7J473OJ5.mjs} +1 -1
  21. package/dist/cli/{chunk-RSZSKTRC.js → chunk-A7NKOXBV.js} +4 -4
  22. package/dist/cli/{chunk-LUQMTNFB.mjs → chunk-ALXYCC4K.mjs} +1 -1
  23. package/dist/cli/{chunk-ORLJIJVX.mjs → chunk-AZFSCPYK.mjs} +0 -11
  24. package/dist/cli/{chunk-CZF2LKIT.js → chunk-BPMA4S3O.js} +16 -16
  25. package/dist/cli/{chunk-GFWVBXAK.mjs → chunk-CFG3ZM7M.mjs} +2 -2
  26. package/dist/cli/{chunk-FHYNK7GL.mjs → chunk-CFLAGRWL.mjs} +1 -1
  27. package/dist/cli/{chunk-OBZB4J7B.js → chunk-CPNTDIJK.js} +1 -1
  28. package/dist/cli/{chunk-ZHJIDDYR.js → chunk-CS36W3RL.js} +26 -26
  29. package/dist/cli/{chunk-I44Y4MPK.mjs → chunk-CSPOWVWS.mjs} +1 -1
  30. package/dist/cli/{chunk-MTM6WNPP.mjs → chunk-DDJN4RR6.mjs} +4 -4
  31. package/dist/cli/{chunk-772IV64Y.js → chunk-G7PH2QVM.js} +5 -5
  32. package/dist/cli/{chunk-MVCKEPWF.mjs → chunk-H7DY5NQ3.mjs} +5 -5
  33. package/dist/cli/{chunk-FXN5WSTY.js → chunk-HGQT6EGK.js} +20 -20
  34. package/dist/cli/{chunk-NDMKFA6W.mjs → chunk-HKZN33F2.mjs} +3 -3
  35. package/dist/cli/{chunk-X7Y4T7CV.mjs → chunk-HZXF2HFF.mjs} +5 -5
  36. package/dist/cli/{chunk-CCGFSELM.mjs → chunk-IFWB4BYZ.mjs} +3 -3
  37. package/dist/cli/{chunk-ATW77ZBL.mjs → chunk-ITYSPUKD.mjs} +2 -2
  38. package/dist/cli/{chunk-MTHAVEQN.js → chunk-J7PCSLRY.js} +5 -5
  39. package/dist/cli/{chunk-Q3WDT3YA.mjs → chunk-JQPFICW3.mjs} +1 -1
  40. package/dist/cli/{chunk-APJ6YIYW.mjs → chunk-LYZPGP3P.mjs} +1 -1
  41. package/dist/cli/{chunk-EV47DV25.js → chunk-M3ITWEGS.js} +41 -41
  42. package/dist/cli/{chunk-KVDIN2YW.js → chunk-MXPCTF57.js} +0 -11
  43. package/dist/cli/{chunk-NRBIYZUG.js → chunk-NEH7NZFT.js} +10 -10
  44. package/dist/cli/{chunk-XQTJET2Y.mjs → chunk-NTHN7ODR.mjs} +1 -1
  45. package/dist/cli/{chunk-OQQDNJ2D.mjs → chunk-OAQYLTUN.mjs} +5 -5
  46. package/dist/cli/{chunk-MOWABWHT.js → chunk-P35YQAUC.js} +100 -100
  47. package/dist/cli/{chunk-U6Y4HX6J.mjs → chunk-PJXPHUAR.mjs} +3 -3
  48. package/dist/cli/{chunk-DJP7CJQC.js → chunk-PXMCPEE2.js} +3 -3
  49. package/dist/cli/{chunk-N6EU2FRF.mjs → chunk-QPOJLAFT.mjs} +2 -2
  50. package/dist/cli/{chunk-Y37JQZBP.js → chunk-RLPPLS6A.js} +6 -6
  51. package/dist/cli/{chunk-JWLV3XRF.js → chunk-RWDYULX2.js} +7 -7
  52. package/dist/cli/{chunk-425SUSDJ.mjs → chunk-T2CCLYHV.mjs} +5 -5
  53. package/dist/cli/{chunk-NVJGVNEN.js → chunk-UKSOIH2P.js} +5 -5
  54. package/dist/cli/{chunk-H6NF5SNY.mjs → chunk-VMCJKGZS.mjs} +2 -2
  55. package/dist/cli/{chunk-ITK5TGQ7.js → chunk-VVZ7JZMQ.js} +15 -15
  56. package/dist/cli/{chunk-EKZ6JD6K.js → chunk-W47SXEWQ.js} +9 -9
  57. package/dist/cli/{chunk-CWHXE6HJ.mjs → chunk-W66GXHYR.mjs} +1 -1
  58. package/dist/cli/{chunk-JHQ7FORY.js → chunk-XBO4ERH6.js} +3 -3
  59. package/dist/cli/{chunk-NMSDMXYS.js → chunk-XE66BGLB.js} +2 -2
  60. package/dist/cli/{chunk-EJN43WGD.js → chunk-XX7TZM4N.js} +48 -48
  61. package/dist/cli/{chunk-V5SF5CJ7.js → chunk-Y2TK7OXN.js} +2 -2
  62. package/dist/cli/command-docs.js +2 -2
  63. package/dist/cli/command-docs.mjs +1 -1
  64. package/dist/cli/{concurrent-runs-help-6CGXMTFQ.mjs → concurrent-runs-help-2MHLIUC6.mjs} +6 -6
  65. package/dist/cli/concurrent-runs-help-ATT2GVTQ.js +22 -0
  66. package/dist/cli/{csv-L7P6PC6I.mjs → csv-J6SRBMOT.mjs} +4 -4
  67. package/dist/cli/{csv-7UZT2LGE.js → csv-RYYDAC76.js} +13 -13
  68. package/dist/cli/{db-7KETOIZY.js → db-5QLH6QK5.js} +27 -27
  69. package/dist/cli/{db-4OOEC5KV.mjs → db-WK226TM7.mjs} +6 -6
  70. package/dist/cli/describe-Q27SRQWM.js +50 -0
  71. package/dist/cli/{describe-M6HEFS46.mjs → describe-UBSCFPH5.mjs} +18 -18
  72. package/dist/cli/{executions-UIR6RQFM.js → executions-AGV5V7SD.js} +8 -8
  73. package/dist/cli/{executions-U27R2LY4.mjs → executions-XF5BNCFS.mjs} +6 -6
  74. package/dist/cli/{feedback-CQ5FUE4T.js → feedback-3RDEZE2M.js} +14 -14
  75. package/dist/cli/{feedback-UUUISTGQ.mjs → feedback-LT3PDK72.mjs} +6 -6
  76. package/dist/cli/{git-DTILSRIQ.mjs → git-7VBTCCBV.mjs} +5 -5
  77. package/dist/cli/git-BBTP3H7J.js +26 -0
  78. package/dist/cli/index.js +148 -148
  79. package/dist/cli/index.mjs +47 -47
  80. package/dist/cli/{integrations-NNACG3HD.mjs → integrations-E7QRWMKZ.mjs} +7 -7
  81. package/dist/cli/{integrations-ABBLLEJH.js → integrations-JP732FQB.js} +29 -29
  82. package/dist/cli/{legacy-noops-KQW7AIYU.mjs → legacy-noops-UFNQBPIT.mjs} +6 -6
  83. package/dist/cli/{legacy-noops-3JLS5OD7.js → legacy-noops-UTL4W5WE.js} +9 -9
  84. package/dist/cli/{mcp-JPBFKR26.js → mcp-5X4XFB4V.js} +24 -24
  85. package/dist/cli/{mcp-7NHGPYZH.mjs → mcp-YHETA3AU.mjs} +4 -4
  86. package/dist/cli/{monitors-J6HK5KCN.js → monitors-AN6KH4XY.js} +100 -100
  87. package/dist/cli/{monitors-JOE2DALW.mjs → monitors-WFVZ42OQ.mjs} +7 -7
  88. package/dist/cli/{org-WFZFQIXQ.js → org-CN3XJZLA.js} +121 -121
  89. package/dist/cli/{org-VZZ4LN4O.mjs → org-OMDV7WDF.mjs} +6 -6
  90. package/dist/cli/{outcomes-RZWL47BJ.js → outcomes-7HCZ6K3Q.js} +14 -14
  91. package/dist/cli/{outcomes-H2WEZYNT.mjs → outcomes-I4ZTG5ND.mjs} +6 -6
  92. package/dist/cli/{play-2ZEBUF5T.js → play-45VXZ57A.js} +336 -336
  93. package/dist/cli/{play-KMWA7GVN.mjs → play-TSNBSHGA.mjs} +19 -19
  94. package/dist/cli/{providers-2BIA3OWA.mjs → providers-4TB56ZLK.mjs} +6 -6
  95. package/dist/cli/{providers-57AZWFSW.js → providers-RB3TT7AE.js} +9 -9
  96. package/dist/cli/{quickstart-NSDM2RXV.mjs → quickstart-XHZ3PG5I.mjs} +4 -4
  97. package/dist/cli/{quickstart-EYJFERQO.js → quickstart-ZNDM6VUD.js} +6 -6
  98. package/dist/cli/{run-X6H5SCEE.mjs → run-7PY4G6GB.mjs} +23 -23
  99. package/dist/cli/{run-BW62DZGQ.js → run-XNEJGAKV.js} +44 -44
  100. package/dist/cli/{search-2VN74P5N.mjs → search-BG7KCIOG.mjs} +7 -7
  101. package/dist/cli/search-ZBU5GW4W.js +32 -0
  102. package/dist/cli/{search-output-SFWQVBYU.js → search-output-3ZBNTHGO.js} +6 -6
  103. package/dist/cli/{search-output-VN7XOZEQ.mjs → search-output-TWKKP2BE.mjs} +4 -4
  104. package/dist/cli/{secrets-4M26N436.mjs → secrets-AZZCE7E3.mjs} +6 -6
  105. package/dist/cli/{secrets-OIPKG2H7.js → secrets-FNR6MX6A.js} +15 -15
  106. package/dist/cli/sessions-GCY62GAW.js +23 -0
  107. package/dist/cli/{sessions-SYFH23L3.mjs → sessions-ZAMKN3AF.mjs} +6 -6
  108. package/dist/cli/{settings-5NB4HZYL.js → settings-QGASFWV3.js} +85 -85
  109. package/dist/cli/{settings-4HPF3T4P.mjs → settings-WKWOOOI2.mjs} +12 -12
  110. package/dist/cli/{setup-JV3F5C7P.js → setup-KUZDCR3F.js} +49 -49
  111. package/dist/cli/{setup-CI74F6CL.mjs → setup-U36W42LE.mjs} +9 -9
  112. package/dist/cli/{skills-76CM4GHO.mjs → skills-25CSZQIK.mjs} +7 -7
  113. package/dist/cli/skills-43DHMLRW.js +37 -0
  114. package/dist/cli/{tools-SVGLDWOC.mjs → tools-4NZQ22AA.mjs} +17 -17
  115. package/dist/cli/tools-5BGKNMFU.js +57 -0
  116. package/dist/cli/{update-KPMDOZRX.mjs → update-CJYP36TG.mjs} +9 -9
  117. package/dist/cli/update-CUO2MTB6.js +37 -0
  118. package/dist/cli/{views-R37NWN6J.js → views-76UIPWJD.js} +21 -21
  119. package/dist/cli/{views-KW54SAES.mjs → views-GYGE7FSV.mjs} +6 -6
  120. package/dist/cli/{workflow-3MIRQV4Q.mjs → workflow-LZSWALZS.mjs} +7 -7
  121. package/dist/cli/{workflow-BKRKUNYS.js → workflow-NCVXBATM.js} +17 -17
  122. package/dist/index.js +9 -9
  123. package/dist/index.mjs +6 -6
  124. package/dist/install-integrity.json +116 -116
  125. package/dist/release.d.mts +1 -1
  126. package/dist/release.d.ts +1 -1
  127. package/dist/release.js +2 -2
  128. package/dist/release.mjs +1 -1
  129. package/dist/server.js +5 -5
  130. package/dist/server.mjs +3 -3
  131. package/package.json +1 -1
  132. package/dist/cli/auth-A5U6GVCF.js +0 -44
  133. package/dist/cli/concurrent-runs-help-VJDPVGXM.js +0 -22
  134. package/dist/cli/describe-RLWJYZIR.js +0 -50
  135. package/dist/cli/git-ZGDD3BVX.js +0 -26
  136. package/dist/cli/search-HYRDZVPQ.js +0 -32
  137. package/dist/cli/sessions-5P2KZOQE.js +0 -23
  138. package/dist/cli/skills-PJ5EL32L.js +0 -37
  139. package/dist/cli/tools-Y5ID2SPK.js +0 -57
  140. package/dist/cli/update-FSUMCMNZ.js +0 -37
@@ -11,20 +11,20 @@
11
11
 
12
12
 
13
13
 
14
- var _chunkEJN43WGDjs = require('./chunk-EJN43WGD.js');
14
+ var _chunkXX7TZM4Njs = require('./chunk-XX7TZM4N.js');
15
15
 
16
16
 
17
- var _chunkFXN5WSTYjs = require('./chunk-FXN5WSTY.js');
17
+ var _chunkHGQT6EGKjs = require('./chunk-HGQT6EGK.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunkJHQ7FORYjs = require('./chunk-JHQ7FORY.js');
23
+ var _chunkXBO4ERH6js = require('./chunk-XBO4ERH6.js');
24
24
 
25
25
 
26
26
 
27
- var _chunkRSZSKTRCjs = require('./chunk-RSZSKTRC.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 = _chunkJHQ7FORYjs.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, () => ( _chunkRSZSKTRCjs.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, _chunkJHQ7FORYjs.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 = [..._chunkEJN43WGDjs.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=${_chunkEJN43WGDjs.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=${_chunkEJN43WGDjs.SKILLS_NPX_PACKAGE}`,
208
+ `--package=${_chunkXX7TZM4Njs.SKILLS_NPX_PACKAGE}`,
209
209
  "--",
210
210
  "skills",
211
211
  "add",
212
- _chunkEJN43WGDjs.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 = _chunkEJN43WGDjs.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
- `${_chunkEJN43WGDjs.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(`${_chunkEJN43WGDjs.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 = _chunkJHQ7FORYjs.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
- _chunkFXN5WSTYjs.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
- _chunkFXN5WSTYjs.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
- _chunkFXN5WSTYjs.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
- _chunkFXN5WSTYjs.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 = _chunkJHQ7FORYjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
366
+ const baseUrl = _chunkXBO4ERH6js.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
367
367
  const catalog = {
368
- skillNames: [..._chunkEJN43WGDjs.DEFAULT_SDK_SKILL_NAMES],
369
- version: _chunkRSZSKTRCjs.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
- _chunkFXN5WSTYjs.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)) && !_chunkEJN43WGDjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
381
- _chunkFXN5WSTYjs.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, ..._chunkEJN43WGDjs.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
- _chunkJHQ7FORYjs.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 _chunkEJN43WGDjs.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 _chunkEJN43WGDjs.SkillsStateUnavailableError)) throw error;
434
- _chunkFXN5WSTYjs.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
- _chunkFXN5WSTYjs.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 ${_chunkEJN43WGDjs.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
- _chunkFXN5WSTYjs.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
- _chunkFXN5WSTYjs.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: _chunkRSZSKTRCjs.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
- _chunkEJN43WGDjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
577
+ _chunkXX7TZM4Njs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
578
578
  }
579
- _chunkFXN5WSTYjs.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 ${_chunkEJN43WGDjs.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(_chunkEJN43WGDjs.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
- _chunkFXN5WSTYjs.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 _chunkEJN43WGDjs.syncSdkSkillsIfNeeded.call(void 0, _chunkJHQ7FORYjs.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
@@ -4326,17 +4326,6 @@ Make an agent (members with the run grant):
4326
4326
  Only an agent's or skill's creator, or an admin, changes or deletes it:
4327
4327
  [[agents update pipeline --skills icp,territories]], [[agents delete pipeline]],
4328
4328
  [[agents channels remove C0123456789]], [[agents skills delete icp]].
4329
- Name in Slack:
4330
- An agent posts under the Slack app's own name unless it has a display
4331
- name: [[agents update pipeline --display-name "Pipeline Panda"]] (or
4332
- --display-name on create). Each post in that agent's channels then shows
4333
- it, with the app's badge, so a channel shows which agent answers there.
4334
- --display-name "" returns it to the app's name. At most 80 characters, one
4335
- line. People still @mention the app's own handle, and Slack's app pages
4336
- show the app's name. It needs the same Slack scope as the workspace logo:
4337
- a Slack workspace installed before that keeps the app's name until it is
4338
- installed again. A new name, or a channel moved to another agent, shows
4339
- on posts within a minute.
4340
4329
  Models:
4341
4330
  One key serves every agent, so your agents run on the models of that
4342
4331
  key's provider. An agent runs on the provider's default unless it is given
@@ -3,16 +3,16 @@
3
3
  var _chunkD3BCSAN7js = require('./chunk-D3BCSAN7.js');
4
4
 
5
5
 
6
- var _chunkNVJGVNENjs = require('./chunk-NVJGVNEN.js');
6
+ var _chunkUKSOIH2Pjs = require('./chunk-UKSOIH2P.js');
7
7
 
8
8
 
9
9
 
10
10
 
11
- var _chunkFXN5WSTYjs = require('./chunk-FXN5WSTY.js');
11
+ var _chunkHGQT6EGKjs = require('./chunk-HGQT6EGK.js');
12
12
 
13
13
 
14
14
 
15
- var _chunkJHQ7FORYjs = require('./chunk-JHQ7FORY.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, _chunkJHQ7FORYjs.sdkCliStateDirPath.call(void 0, _chunkJHQ7FORYjs.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, _chunkNVJGVNENjs.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-SFWQVBYU.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
- _chunkFXN5WSTYjs.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 = _chunkFXN5WSTYjs.errorToJsonPayload.call(void 0, error);
175
- const queryExitCode = _nullishCoalesce(payload.exitCode, () => ( _chunkFXN5WSTYjs.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
- _chunkFXN5WSTYjs.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-FHYNK7GL.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-4ANO4DM5.mjs";
3
+ } from "./chunk-7J473OJ5.mjs";
4
4
  import {
5
5
  maybeReportAutomaticSkillsSyncFailure
6
- } from "./chunk-O35BHZLQ.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-CWHXE6HJ.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-FHYNK7GL.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-ID5WQZ2H.mjs";
34
+ } from "./chunk-4YSJOSBG.mjs";
35
35
 
36
36
  // src/compat.ts
37
37
  import { randomUUID } from "crypto";