deepline 0.3.559 → 0.3.560

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 (155) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +14 -0
  2. package/dist/bundling-sources/sdk/src/index.ts +2 -0
  3. package/dist/bundling-sources/sdk/src/integrations.ts +62 -0
  4. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  5. package/dist/cli/{auth-D6S6E7BL.mjs → auth-5DIOQ3MO.mjs} +5 -5
  6. package/dist/cli/auth-R2S7KYAA.js +44 -0
  7. package/dist/cli/{billing-3BNTAYUY.mjs → billing-K7EJAM55.mjs} +9 -9
  8. package/dist/cli/{billing-7YRVKWAU.js → billing-N5NS5CU6.js} +102 -102
  9. package/dist/cli/{chunk-JUTXZW3S.js → chunk-24GZT76F.js} +7 -7
  10. package/dist/cli/{chunk-TIMFDVUN.js → chunk-4CQ7LVRT.js} +48 -48
  11. package/dist/cli/{chunk-OSHKFYY4.js → chunk-4GRIMNDO.js} +41 -41
  12. package/dist/cli/{chunk-XXZDT3U7.mjs → chunk-4MAY2TA3.mjs} +2 -2
  13. package/dist/cli/{chunk-FHMGNUOP.mjs → chunk-4PBYS3PS.mjs} +1 -1
  14. package/dist/cli/{chunk-YI4ADWTN.js → chunk-5CNHEUGJ.js} +12 -2
  15. package/dist/cli/{chunk-A4KQZ6P5.js → chunk-5QMEJPN5.js} +206 -180
  16. package/dist/cli/{chunk-YE7OCVI5.js → chunk-5VC6K4NJ.js} +26 -26
  17. package/dist/cli/{chunk-MWZEGRY2.mjs → chunk-5XMABMQU.mjs} +2 -2
  18. package/dist/cli/{chunk-LWOYDMYC.js → chunk-7ZE6DF6B.js} +3 -3
  19. package/dist/cli/{chunk-OFC24U3N.mjs → chunk-A4X2O75M.mjs} +2 -2
  20. package/dist/cli/{chunk-22Z2U5MW.mjs → chunk-A62A73U6.mjs} +3 -3
  21. package/dist/cli/{chunk-URACGTQE.mjs → chunk-AMUMEL4C.mjs} +1 -1
  22. package/dist/cli/{chunk-3MVBZ4XI.mjs → chunk-BQ2Z6PSE.mjs} +5 -5
  23. package/dist/cli/{chunk-WZUOUQZ3.js → chunk-BW4NVW5T.js} +3 -3
  24. package/dist/cli/{chunk-53HQJS6D.mjs → chunk-CQJMFUMK.mjs} +1 -1
  25. package/dist/cli/{chunk-QGVOD6Y4.js → chunk-CQS5E6D2.js} +100 -100
  26. package/dist/cli/{chunk-UHIOXXAO.mjs → chunk-DOAD7ZCA.mjs} +1 -1
  27. package/dist/cli/{chunk-IUDO463I.js → chunk-E76MM3SC.js} +20 -20
  28. package/dist/cli/{chunk-MJ4JEJLL.mjs → chunk-F5CZ3Q2I.mjs} +150 -124
  29. package/dist/cli/{chunk-K5BZF2VO.js → chunk-FW2WRBZO.js} +9 -9
  30. package/dist/cli/{chunk-ZMC5FEJN.mjs → chunk-G33LSF4T.mjs} +2 -2
  31. package/dist/cli/{chunk-YFUFYV4M.mjs → chunk-GKONGPVW.mjs} +5 -5
  32. package/dist/cli/{chunk-UA2VLWZH.mjs → chunk-GR5WG72L.mjs} +2 -2
  33. package/dist/cli/{chunk-MPEMAGZS.mjs → chunk-GTRGJITW.mjs} +11 -11
  34. package/dist/cli/{chunk-6BJHMXMA.js → chunk-I7CQJ7JP.js} +2 -2
  35. package/dist/cli/{chunk-XPS2UBYV.mjs → chunk-JHS7WKRS.mjs} +3 -3
  36. package/dist/cli/{chunk-GWS7XJI2.mjs → chunk-JQDVX3D4.mjs} +4 -4
  37. package/dist/cli/{chunk-XNN45XYF.js → chunk-JYT6P2M2.js} +2 -2
  38. package/dist/cli/{chunk-PQ52YTDB.js → chunk-KP4B3JOT.js} +13 -13
  39. package/dist/cli/{chunk-PNFC7VHH.js → chunk-LMY7CGI7.js} +5 -5
  40. package/dist/cli/{chunk-TPLISQND.js → chunk-MBLPUJ5I.js} +5 -5
  41. package/dist/cli/{chunk-EEUJNR5K.js → chunk-MCGR7NG3.js} +6 -6
  42. package/dist/cli/{chunk-KGCY3MSS.mjs → chunk-NNKZ4JYP.mjs} +5 -5
  43. package/dist/cli/{chunk-FDVSB4NF.js → chunk-OPT36HX4.js} +53 -53
  44. package/dist/cli/{chunk-PZUBDHQ7.mjs → chunk-OS3FDGKX.mjs} +4 -4
  45. package/dist/cli/{chunk-G7IGOVPF.js → chunk-Q77PM7U2.js} +20 -20
  46. package/dist/cli/{chunk-VZKBLSTA.mjs → chunk-RQKCNQ5Q.mjs} +2 -2
  47. package/dist/cli/{chunk-II33OPIO.mjs → chunk-SCM6BR4Q.mjs} +1 -1
  48. package/dist/cli/{chunk-GFHBS7HG.js → chunk-TE2NSUT5.js} +5 -5
  49. package/dist/cli/{chunk-GETMCDVX.mjs → chunk-UI7BBF2O.mjs} +5 -5
  50. package/dist/cli/{chunk-SSE5P2CX.js → chunk-UTPANENL.js} +12 -12
  51. package/dist/cli/{chunk-YODGCJPX.mjs → chunk-V7OFUYMO.mjs} +2 -2
  52. package/dist/cli/{chunk-QQ6AVBHW.js → chunk-V7ZOAXZ4.js} +23 -23
  53. package/dist/cli/{chunk-BTKVXI3G.mjs → chunk-VACBPVIR.mjs} +12 -2
  54. package/dist/cli/{chunk-D7DXRFM2.mjs → chunk-WOZKGI6H.mjs} +1 -1
  55. package/dist/cli/{chunk-P2DFD2NG.mjs → chunk-XLM7L4UY.mjs} +1 -1
  56. package/dist/cli/{chunk-24XWLHKJ.js → chunk-Y5CZWGO4.js} +1 -1
  57. package/dist/cli/{chunk-2YQGXPQ7.js → chunk-YDWFE7MX.js} +2 -2
  58. package/dist/cli/{chunk-JME33A35.js → chunk-Z4FWF237.js} +15 -15
  59. package/dist/cli/{chunk-KACD2TYW.mjs → chunk-ZJJUVUP6.mjs} +2 -2
  60. package/dist/cli/{chunk-LTCV5BI2.mjs → chunk-ZSDZ3Q5P.mjs} +1 -1
  61. package/dist/cli/{chunk-EYL4V32Q.js → chunk-ZXB2Y3SG.js} +4 -4
  62. package/dist/cli/{chunk-OJ3FRPEP.js → chunk-ZY64JRBV.js} +10 -10
  63. package/dist/cli/command-docs.js +2 -2
  64. package/dist/cli/command-docs.mjs +1 -1
  65. package/dist/cli/{concurrent-runs-help-FCAZLZNA.mjs → concurrent-runs-help-TCB2EKTR.mjs} +6 -6
  66. package/dist/cli/concurrent-runs-help-TKAZVMA4.js +22 -0
  67. package/dist/cli/{csv-SCIQKZNH.js → csv-DWC44DLD.js} +13 -13
  68. package/dist/cli/{csv-BC26EB4B.mjs → csv-R45YJYUO.mjs} +4 -4
  69. package/dist/cli/{db-IJRJVIQ3.js → db-XIN3KF47.js} +27 -27
  70. package/dist/cli/{db-RVOPGYKY.mjs → db-XZXNKW7B.mjs} +6 -6
  71. package/dist/cli/{describe-K7CRL4PA.mjs → describe-6KSAHJBD.mjs} +18 -18
  72. package/dist/cli/describe-WLRAQDYC.js +50 -0
  73. package/dist/cli/describe-core.d.mts +2 -2
  74. package/dist/cli/describe-core.d.ts +2 -2
  75. package/dist/cli/{executions-IEVLTSXV.js → executions-C3UZLR7Y.js} +8 -8
  76. package/dist/cli/{executions-PDOO2GFK.mjs → executions-RSPQRWYL.mjs} +6 -6
  77. package/dist/cli/{feedback-7YVUUROQ.mjs → feedback-7RCSKLW4.mjs} +6 -6
  78. package/dist/cli/{feedback-KHYOWTXA.js → feedback-A7WP67XL.js} +14 -14
  79. package/dist/cli/git-E6XV5MEY.js +26 -0
  80. package/dist/cli/{git-426CAP5S.mjs → git-JE6TFEK4.mjs} +5 -5
  81. package/dist/cli/index.js +147 -147
  82. package/dist/cli/index.mjs +46 -46
  83. package/dist/cli/{integrations-TNJ4IELE.mjs → integrations-DEU3ZW5P.mjs} +40 -7
  84. package/dist/cli/{integrations-BVHTRN3W.js → integrations-L2D3EY3H.js} +48 -15
  85. package/dist/cli/{legacy-noops-F73BMPBV.js → legacy-noops-AHTEO6EF.js} +9 -9
  86. package/dist/cli/{legacy-noops-2GB35THO.mjs → legacy-noops-TL5PBCVQ.mjs} +6 -6
  87. package/dist/cli/{mcp-KMTC7OBK.js → mcp-KXR7YJEG.js} +24 -24
  88. package/dist/cli/{mcp-BAGMQXNR.mjs → mcp-PVRF5CGK.mjs} +4 -4
  89. package/dist/cli/{monitors-ECONWLHL.mjs → monitors-BMGSROH3.mjs} +7 -7
  90. package/dist/cli/{monitors-O2BUIK7Q.js → monitors-YHF6RQGU.js} +100 -100
  91. package/dist/cli/{org-5NQQ4PRU.js → org-IQJO6DJ7.js} +121 -121
  92. package/dist/cli/{org-AEZZBWA3.mjs → org-OO6LQPS6.mjs} +6 -6
  93. package/dist/cli/{outcomes-ZWHAJH5I.mjs → outcomes-6QO6NEKO.mjs} +6 -6
  94. package/dist/cli/{outcomes-IKEQKAF7.js → outcomes-NAEAOCNT.js} +14 -14
  95. package/dist/cli/{play-BVKLMTAS.mjs → play-MZQSOYVV.mjs} +19 -19
  96. package/dist/cli/{play-VDWB7FZ5.js → play-TYIBTW4E.js} +324 -324
  97. package/dist/cli/{providers-RXT3Q5Q7.js → providers-JDSSPMWH.js} +9 -9
  98. package/dist/cli/{providers-SWRTGKJJ.mjs → providers-JR4OWXRX.mjs} +6 -6
  99. package/dist/cli/{quickstart-GQVXM7XV.mjs → quickstart-JBX6BKGZ.mjs} +4 -4
  100. package/dist/cli/{quickstart-UJJNXI2S.js → quickstart-T363ASLH.js} +6 -6
  101. package/dist/cli/{run-GDIEU622.mjs → run-6PWTGRJI.mjs} +23 -23
  102. package/dist/cli/{run-WOTVRFGN.js → run-J3KWBIXA.js} +44 -44
  103. package/dist/cli/search-DPVHT5MJ.js +32 -0
  104. package/dist/cli/{search-EWC7V6GT.mjs → search-XQG7UXAE.mjs} +7 -7
  105. package/dist/cli/{search-output-FCW4R6Z4.mjs → search-output-DNONJFPF.mjs} +4 -4
  106. package/dist/cli/{search-output-FL7STAYJ.js → search-output-YZYLNDU6.js} +6 -6
  107. package/dist/cli/{secrets-XG22PDCR.mjs → secrets-MR7VXG74.mjs} +6 -6
  108. package/dist/cli/{secrets-UXDUGONR.js → secrets-SCKPXIT7.js} +15 -15
  109. package/dist/cli/{sessions-2OKBG7FD.mjs → sessions-MPIJTGWQ.mjs} +6 -6
  110. package/dist/cli/sessions-VNWLXJR2.js +23 -0
  111. package/dist/cli/{settings-EDYA2V4W.mjs → settings-Y5NW74ER.mjs} +12 -12
  112. package/dist/cli/{settings-RWN7YHK3.js → settings-YPKR5JFF.js} +85 -85
  113. package/dist/cli/{setup-UZW2IHAT.mjs → setup-5RJCLRZI.mjs} +9 -9
  114. package/dist/cli/{setup-HA3PG3ST.js → setup-673Q3LGR.js} +49 -49
  115. package/dist/cli/{skills-V4KAUQQA.mjs → skills-2QVBD4LD.mjs} +7 -7
  116. package/dist/cli/skills-YGFFPGCR.js +37 -0
  117. package/dist/cli/tools-2BC7K3ZU.js +57 -0
  118. package/dist/cli/{tools-HFUGLYHU.mjs → tools-627KG34F.mjs} +17 -17
  119. package/dist/cli/{update-S3KEH7P2.mjs → update-535TTARD.mjs} +9 -9
  120. package/dist/cli/update-HWEOSPDS.js +37 -0
  121. package/dist/cli/{views-Y7Y5Y7V2.mjs → views-3M24ZTXA.mjs} +6 -6
  122. package/dist/cli/{views-QH5L37UW.js → views-FQNWZUWB.js} +21 -21
  123. package/dist/cli/{workflow-XNN54KIK.mjs → workflow-CN46XZPG.mjs} +7 -7
  124. package/dist/cli/{workflow-4W5JT5HP.js → workflow-H6F7WAOE.js} +17 -17
  125. package/dist/{client-BoayTB7p.d.ts → client-BSxuaObS.d.ts} +1 -1
  126. package/dist/{client-1ogYQqUw.d.mts → client-CnphYDTe.d.mts} +1 -1
  127. package/dist/{client-core-Ch8CXaX4.d.mts → client-core-DQOTt3yV.d.mts} +37 -2
  128. package/dist/{client-core-DySw9x_E.d.ts → client-core-Yad6-K7-.d.ts} +37 -2
  129. package/dist/index.d.mts +3 -3
  130. package/dist/index.d.ts +3 -3
  131. package/dist/index.js +9 -9
  132. package/dist/index.mjs +6 -6
  133. package/dist/install-integrity.json +118 -118
  134. package/dist/plays/play-description.d.mts +1 -1
  135. package/dist/plays/play-description.d.ts +1 -1
  136. package/dist/plays/run-request.d.mts +1 -1
  137. package/dist/plays/run-request.d.ts +1 -1
  138. package/dist/release.d.mts +1 -1
  139. package/dist/release.d.ts +1 -1
  140. package/dist/release.js +2 -2
  141. package/dist/release.mjs +1 -1
  142. package/dist/server.d.mts +2 -2
  143. package/dist/server.d.ts +2 -2
  144. package/dist/server.js +5 -5
  145. package/dist/server.mjs +3 -3
  146. package/package.json +1 -1
  147. package/dist/cli/auth-3SBMYRAJ.js +0 -44
  148. package/dist/cli/concurrent-runs-help-TVQO4USY.js +0 -22
  149. package/dist/cli/describe-4FBGZZK5.js +0 -50
  150. package/dist/cli/git-O6A2FVJE.js +0 -26
  151. package/dist/cli/search-UIZHXBHR.js +0 -32
  152. package/dist/cli/sessions-DPYJFTCW.js +0 -23
  153. package/dist/cli/skills-RQ6V5TGY.js +0 -37
  154. package/dist/cli/tools-NGQKXMHP.js +0 -57
  155. package/dist/cli/update-SJJK6XXM.js +0 -37
@@ -11,20 +11,20 @@
11
11
 
12
12
 
13
13
 
14
- var _chunkTIMFDVUNjs = require('./chunk-TIMFDVUN.js');
14
+ var _chunk4CQ7LVRTjs = require('./chunk-4CQ7LVRT.js');
15
15
 
16
16
 
17
- var _chunkIUDO463Ijs = require('./chunk-IUDO463I.js');
17
+ var _chunkE76MM3SCjs = require('./chunk-E76MM3SC.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunkLWOYDMYCjs = require('./chunk-LWOYDMYC.js');
23
+ var _chunk7ZE6DF6Bjs = require('./chunk-7ZE6DF6B.js');
24
24
 
25
25
 
26
26
 
27
- var _chunkEYL4V32Qjs = require('./chunk-EYL4V32Q.js');
27
+ var _chunkZXB2Y3SGjs = require('./chunk-ZXB2Y3SG.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 = _chunkLWOYDMYCjs.resolveProjectPinTarget.call(void 0, );
148
+ const target = _chunk7ZE6DF6Bjs.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, () => ( _chunkEYL4V32Qjs.detectAgentRuntime.call(void 0, )));
159
+ const runtime = _nullishCoalesce(input.runtime, () => ( _chunkZXB2Y3SGjs.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, _chunkLWOYDMYCjs.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, _chunk7ZE6DF6Bjs.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 = [..._chunkTIMFDVUNjs.LEGACY_SKILL_NAMES_TO_REMOVE].sort(
178
+ const legacyNames = [..._chunk4CQ7LVRTjs.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=${_chunkTIMFDVUNjs.SKILLS_NPX_PACKAGE}`,
192
+ `--package=${_chunk4CQ7LVRTjs.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=${_chunkTIMFDVUNjs.SKILLS_NPX_PACKAGE}`,
208
+ `--package=${_chunk4CQ7LVRTjs.SKILLS_NPX_PACKAGE}`,
209
209
  "--",
210
210
  "skills",
211
211
  "add",
212
- _chunkTIMFDVUNjs.skillsSourceUrl.call(void 0, input.baseUrl),
212
+ _chunk4CQ7LVRTjs.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 = _chunkTIMFDVUNjs.resolveShellSpawn.call(void 0,
249
+ const plan = _chunk4CQ7LVRTjs.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
- `${_chunkTIMFDVUNjs.SKILLS_NPX_PACKAGE} timed out after ${SKILLS_PROCESS_TIMEOUT_MS}ms.`
272
+ `${_chunk4CQ7LVRTjs.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(`${_chunkTIMFDVUNjs.SKILLS_NPX_PACKAGE} exited ${code}.
283
+ process.stderr.write(`${_chunk4CQ7LVRTjs.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 = _chunkLWOYDMYCjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
291
+ const baseUrl = _chunk7ZE6DF6Bjs.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
- _chunkIUDO463Ijs.printCommandEnvelope.call(void 0,
304
+ _chunkE76MM3SCjs.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
- _chunkIUDO463Ijs.printCommandEnvelope.call(void 0,
314
+ _chunkE76MM3SCjs.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
- _chunkIUDO463Ijs.printCommandEnvelope.call(void 0,
331
+ _chunkE76MM3SCjs.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
- _chunkIUDO463Ijs.printCommandEnvelope.call(void 0,
354
+ _chunkE76MM3SCjs.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 = _chunkLWOYDMYCjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
366
+ const baseUrl = _chunk7ZE6DF6Bjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
367
367
  const catalog = {
368
- skillNames: [..._chunkTIMFDVUNjs.DEFAULT_SDK_SKILL_NAMES],
369
- version: _chunkEYL4V32Qjs.SDK_VERSION
368
+ skillNames: [..._chunk4CQ7LVRTjs.DEFAULT_SDK_SKILL_NAMES],
369
+ version: _chunkZXB2Y3SGjs.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
- _chunkIUDO463Ijs.printCommandEnvelope.call(void 0,
374
+ _chunkE76MM3SCjs.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)) && !_chunkTIMFDVUNjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
381
- _chunkIUDO463Ijs.printCommandEnvelope.call(void 0,
380
+ if (isSkillsPlanCurrent(plan, readSkillsInstallState(plan.statePath)) && !_chunk4CQ7LVRTjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
381
+ _chunkE76MM3SCjs.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, ..._chunkTIMFDVUNjs.LEGACY_SKILL_NAMES_TO_REMOVE])
413
+ .../* @__PURE__ */ new Set([...plan.skillNames, ..._chunk4CQ7LVRTjs.LEGACY_SKILL_NAMES_TO_REMOVE])
414
414
  ];
415
415
  const agentRoots = workspaceSkillRootsForAgents(plan.agents);
416
- _chunkLWOYDMYCjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
416
+ _chunk7ZE6DF6Bjs.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 _chunkTIMFDVUNjs.acquireSkillsInstallLease.call(void 0, baseUrl, agents, plan.version, {
425
+ lease = scope === "global" ? await _chunk4CQ7LVRTjs.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 _chunkTIMFDVUNjs.SkillsStateUnavailableError)) throw error;
434
- _chunkIUDO463Ijs.printCommandEnvelope.call(void 0,
433
+ if (!(error instanceof _chunk4CQ7LVRTjs.SkillsStateUnavailableError)) throw error;
434
+ _chunkE76MM3SCjs.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
- _chunkIUDO463Ijs.printCommandEnvelope.call(void 0,
450
+ _chunkE76MM3SCjs.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 ${_chunkTIMFDVUNjs.skillsInstallLeasePath.call(void 0, baseUrl, agents)}`
459
+ next: `Retry in a moment: deepline skills install --scope ${scope}. If no refresh is running, remove ${_chunk4CQ7LVRTjs.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
- _chunkIUDO463Ijs.printCommandEnvelope.call(void 0,
508
+ _chunkE76MM3SCjs.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
- _chunkIUDO463Ijs.printCommandEnvelope.call(void 0,
524
+ _chunkE76MM3SCjs.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: _chunkEYL4V32Qjs.SDK_VERSION,
564
+ cliVersion: _chunkZXB2Y3SGjs.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
- _chunkTIMFDVUNjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
577
+ _chunk4CQ7LVRTjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
578
578
  }
579
- _chunkIUDO463Ijs.printCommandEnvelope.call(void 0,
579
+ _chunkE76MM3SCjs.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 ${_chunkTIMFDVUNjs.SKILLS_NPX_PACKAGE},
628
+ This command reinstalls current Deepline-managed skills using ${_chunk4CQ7LVRTjs.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(_chunkTIMFDVUNjs.SKILLS_AUTO_SYNC_COMMAND, { hidden: true }).description("Refresh Deepline agent skills in the background.").option(
640
+ program.command(_chunk4CQ7LVRTjs.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
- _chunkIUDO463Ijs.printCommandEnvelope.call(void 0,
646
+ _chunkE76MM3SCjs.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 _chunkTIMFDVUNjs.syncSdkSkillsIfNeeded.call(void 0, _chunkLWOYDMYCjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
659
+ await _chunk4CQ7LVRTjs.syncSdkSkillsIfNeeded.call(void 0, _chunk7ZE6DF6Bjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
660
660
  mode: "inline",
661
661
  notices: "defer",
662
662
  claim
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  traceCliSpan
3
- } from "./chunk-D7DXRFM2.mjs";
3
+ } from "./chunk-WOZKGI6H.mjs";
4
4
  import {
5
5
  enforceSdkCompatibilityResponse,
6
6
  flushDeferredSkillsSyncNotices,
7
7
  requireSdkCompatibility
8
- } from "./chunk-3MVBZ4XI.mjs";
8
+ } from "./chunk-BQ2Z6PSE.mjs";
9
9
 
10
10
  // src/cli/play-run-admission.ts
11
11
  function usesInlinePlayAdmission(command, args) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  printCommandEnvelope
3
- } from "./chunk-ZMC5FEJN.mjs";
3
+ } from "./chunk-G33LSF4T.mjs";
4
4
 
5
5
  // src/cli/feedback-preferences.ts
6
6
  import {
@@ -696,8 +696,8 @@ Input and output:
696
696
  cannot expand granted access.
697
697
  SDK:
698
698
  client.integrations exposes list, get, connect, reconnect, disconnect,
699
- delete, verify and members. Lifecycle methods accept dryRun and preserve
700
- the same ID/revision checks used by the CLI.
699
+ delete, verify, members, and discoverAdAccounts. Connection lifecycle
700
+ methods accept dryRun and preserve the same ID/revision checks used by the CLI.
701
701
  Cost:
702
702
  These management commands do not spend Deepline credits.
703
703
  Examples:
@@ -705,6 +705,16 @@ Examples:
705
705
  deepline integrations list --json
706
706
  deepline integrations get deepline.com --json
707
707
  `
708
+ },
709
+ "integrations discover-ad-accounts": {
710
+ core: `Purpose: Discover and save the ad accounts a connected provider can access in the selected workspace.
711
+ Input: google_ads_audiences or linkedin_ads_audiences. Run as an org admin with an active provider connection.
712
+ Output: saved ad accounts, their enablement, and the workspace default. Use --json for the full account inventory or --dry-run to print the request without saving.
713
+ SDK: client.integrations.discoverAdAccounts(provider)
714
+ Cost: Does not spend Deepline credits.
715
+ Examples:
716
+ deepline integrations discover-ad-accounts google_ads_audiences --json
717
+ deepline integrations discover-ad-accounts linkedin_ads_audiences`
708
718
  },
709
719
  "integrations get": {
710
720
  core: `Purpose: Read one named org authorization from the connection inventory.