deepline 0.3.577 → 0.3.579

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 (170) hide show
  1. package/dist/bundling-sources/sdk/src/client-core.ts +7 -0
  2. package/dist/bundling-sources/sdk/src/release.ts +1 -1
  3. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/backends/modal.ts +3 -1
  4. package/dist/bundling-sources/shared_libs/play-runtime/runner-backends/early-sandbox.ts +18 -0
  5. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/absurd-runtime-worker.ts +124 -57
  6. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/early-sandbox-lane.ts +4 -0
  7. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/postgres.ts +43 -64
  8. package/dist/bundling-sources/shared_libs/play-runtime/scheduler-backends/runtime-worker-wake.ts +25 -0
  9. package/dist/bundling-sources/shared_libs/plays/sandbox-runtime-limits.ts +83 -0
  10. package/dist/cli/{agents-ZIGK3FQ2.js → agents-D5RZEVXQ.js} +37 -54
  11. package/dist/cli/{agents-SUJRATC2.mjs → agents-FJTRTYCL.mjs} +10 -27
  12. package/dist/cli/{auth-TRKPRZK6.mjs → auth-OMYIDVXZ.mjs} +5 -5
  13. package/dist/cli/auth-Q4O7MJU4.js +44 -0
  14. package/dist/cli/{billing-6RAF4DQY.js → billing-EWFUDLQ7.js} +104 -102
  15. package/dist/cli/{billing-WPQT3QRS.mjs → billing-XK3LBNYS.mjs} +11 -9
  16. package/dist/cli/{chunk-MVCKEPWF.mjs → chunk-27ZYRIQC.mjs} +5 -5
  17. package/dist/cli/{chunk-CWHXE6HJ.mjs → chunk-3Z4TVZE7.mjs} +1 -1
  18. package/dist/cli/{chunk-KVDIN2YW.js → chunk-44NTNNKC.js} +11 -13
  19. package/dist/cli/{chunk-O35BHZLQ.mjs → chunk-6DMGKAWO.mjs} +2 -2
  20. package/dist/cli/{chunk-ATW77ZBL.mjs → chunk-6EVVUVU3.mjs} +2 -2
  21. package/dist/cli/{chunk-LXM36EXW.mjs → chunk-6GON36H3.mjs} +17 -14
  22. package/dist/cli/{chunk-RSZSKTRC.js → chunk-6MIEJJSO.js} +4 -4
  23. package/dist/cli/{chunk-ID5WQZ2H.mjs → chunk-6NYHMXC7.mjs} +1 -1
  24. package/dist/cli/{chunk-DJP7CJQC.js → chunk-72TWLORR.js} +3 -3
  25. package/dist/cli/{chunk-X5ZE7K4J.js → chunk-7HOYKXVY.js} +8 -8
  26. package/dist/cli/{chunk-NRBIYZUG.js → chunk-7JMCRYXU.js} +10 -10
  27. package/dist/cli/{chunk-MDP3CNDM.mjs → chunk-7SZCJC4R.mjs} +2 -2
  28. package/dist/cli/{chunk-APOWCBO7.js → chunk-ABH6PUDZ.js} +23 -23
  29. package/dist/cli/{chunk-EV47DV25.js → chunk-AP7PIGL5.js} +41 -41
  30. package/dist/cli/{chunk-CZF2LKIT.js → chunk-BLEYV4BJ.js} +21 -21
  31. package/dist/cli/{chunk-DWUESXDD.mjs → chunk-BZ4M7OFO.mjs} +11 -1
  32. package/dist/cli/{chunk-RVICQWXU.js → chunk-DH736ASH.js} +20 -20
  33. package/dist/cli/{chunk-FYKHAT2F.mjs → chunk-DTQBQSUU.mjs} +9 -0
  34. package/dist/cli/{chunk-X7Y4T7CV.mjs → chunk-F57NDSKT.mjs} +5 -5
  35. package/dist/cli/{chunk-ITK5TGQ7.js → chunk-FKXSIIR4.js} +15 -15
  36. package/dist/cli/{chunk-ZHJIDDYR.js → chunk-G5CZDRY3.js} +26 -26
  37. package/dist/cli/{chunk-MOWABWHT.js → chunk-HEZW2IDK.js} +277 -274
  38. package/dist/cli/{chunk-ORLJIJVX.mjs → chunk-HGUFTSB5.mjs} +11 -13
  39. package/dist/cli/{chunk-FHYNK7GL.mjs → chunk-I2TSRLOI.mjs} +1 -1
  40. package/dist/cli/{chunk-OQQDNJ2D.mjs → chunk-JFS4KHA3.mjs} +5 -5
  41. package/dist/cli/{chunk-NMSDMXYS.js → chunk-K2BU67UC.js} +2 -2
  42. package/dist/cli/{chunk-XQTJET2Y.mjs → chunk-KIIOKQFY.mjs} +1 -1
  43. package/dist/cli/{chunk-CCGFSELM.mjs → chunk-KQAEXBVQ.mjs} +3 -3
  44. package/dist/cli/{chunk-Y37JQZBP.js → chunk-KWQHQG53.js} +6 -6
  45. package/dist/cli/{chunk-V5SF5CJ7.js → chunk-LCPJR3IY.js} +2 -2
  46. package/dist/cli/{chunk-EKZ6JD6K.js → chunk-LQ45LCH7.js} +9 -9
  47. package/dist/cli/{chunk-APJ6YIYW.mjs → chunk-LV2LGW2Q.mjs} +1 -1
  48. package/dist/cli/{chunk-N6EU2FRF.mjs → chunk-LYBZLA6F.mjs} +2 -2
  49. package/dist/cli/{chunk-JWLV3XRF.js → chunk-LYJ2NSHD.js} +17 -12
  50. package/dist/cli/{chunk-MTM6WNPP.mjs → chunk-M4YWN5BT.mjs} +4 -4
  51. package/dist/cli/{chunk-H6NF5SNY.mjs → chunk-N6X2UKYQ.mjs} +2 -2
  52. package/dist/cli/{chunk-2NFDB6CL.js → chunk-NKUXW4WB.js} +2 -2
  53. package/dist/cli/{chunk-OBZB4J7B.js → chunk-NOMO5GPI.js} +1 -1
  54. package/dist/cli/{chunk-GFWVBXAK.mjs → chunk-NONMY5CY.mjs} +2 -2
  55. package/dist/cli/{chunk-QXAPAHIG.js → chunk-NWZU6HL4.js} +13 -13
  56. package/dist/cli/{chunk-FXN5WSTY.js → chunk-OOGP737I.js} +20 -20
  57. package/dist/cli/{chunk-LUQMTNFB.mjs → chunk-OSRATALX.mjs} +1 -1
  58. package/dist/cli/{chunk-ZO65VJRJ.js → chunk-PGRRMVQ5.js} +10 -1
  59. package/dist/cli/{chunk-MTHAVEQN.js → chunk-PLWZ3NB7.js} +5 -5
  60. package/dist/cli/{chunk-MXK4M7HP.js → chunk-Q4VKMF3B.js} +17 -17
  61. package/dist/cli/{chunk-SKHUWQZE.js → chunk-QA55PGJH.js} +17 -7
  62. package/dist/cli/{chunk-425SUSDJ.mjs → chunk-S2OXA7QS.mjs} +7 -7
  63. package/dist/cli/{chunk-NDMKFA6W.mjs → chunk-SUHCW7U5.mjs} +3 -3
  64. package/dist/cli/{chunk-U6Y4HX6J.mjs → chunk-SZIWFQI2.mjs} +3 -3
  65. package/dist/cli/{chunk-4ANO4DM5.mjs → chunk-TFNDOH4W.mjs} +1 -1
  66. package/dist/cli/{chunk-JHQ7FORY.js → chunk-TVAFWAOQ.js} +3 -3
  67. package/dist/cli/{chunk-NVJGVNEN.js → chunk-UYCBG75H.js} +5 -5
  68. package/dist/cli/{chunk-RW3URFZK.mjs → chunk-VFIIRK7S.mjs} +2 -2
  69. package/dist/cli/{chunk-WP4Q5PTK.mjs → chunk-WQQQP3FH.mjs} +4 -4
  70. package/dist/cli/{chunk-772IV64Y.js → chunk-WWSGXX6U.js} +5 -5
  71. package/dist/cli/{chunk-Q3WDT3YA.mjs → chunk-X6LPC3SU.mjs} +1 -1
  72. package/dist/cli/{chunk-DA5C5WOI.mjs → chunk-XQYBBCFI.mjs} +2 -2
  73. package/dist/cli/{chunk-FRYLXDNP.js → chunk-XTM6NOJ6.js} +53 -53
  74. package/dist/cli/{chunk-EJN43WGD.js → chunk-Y2ND6PPW.js} +48 -48
  75. package/dist/cli/{chunk-I44Y4MPK.mjs → chunk-YCWRKSLB.mjs} +8 -3
  76. package/dist/cli/command-docs.js +2 -2
  77. package/dist/cli/command-docs.mjs +1 -1
  78. package/dist/cli/concurrent-runs-help-D6XH3FY5.js +22 -0
  79. package/dist/cli/{concurrent-runs-help-6CGXMTFQ.mjs → concurrent-runs-help-IQBZBTD5.mjs} +6 -6
  80. package/dist/cli/{csv-L7P6PC6I.mjs → csv-6BEOWTGM.mjs} +4 -4
  81. package/dist/cli/{csv-7UZT2LGE.js → csv-T7TWLIGD.js} +13 -13
  82. package/dist/cli/{db-4OOEC5KV.mjs → db-FA5QGXZ7.mjs} +6 -6
  83. package/dist/cli/{db-7KETOIZY.js → db-MFTUN3DF.js} +27 -27
  84. package/dist/cli/{describe-M6HEFS46.mjs → describe-TITEQNVE.mjs} +21 -21
  85. package/dist/cli/describe-TYZ5YH3V.js +50 -0
  86. package/dist/cli/describe-core.d.mts +4 -2
  87. package/dist/cli/describe-core.d.ts +4 -2
  88. package/dist/cli/describe-core.js +4 -4
  89. package/dist/cli/describe-core.mjs +3 -3
  90. package/dist/cli/{executions-U27R2LY4.mjs → executions-DMYJJIRB.mjs} +6 -6
  91. package/dist/cli/{executions-UIR6RQFM.js → executions-QW3L7G7J.js} +8 -8
  92. package/dist/cli/{feedback-CQ5FUE4T.js → feedback-6JZGE7OQ.js} +14 -14
  93. package/dist/cli/{feedback-UUUISTGQ.mjs → feedback-WPSNSFRC.mjs} +6 -6
  94. package/dist/cli/{git-DTILSRIQ.mjs → git-GO65XRM3.mjs} +5 -5
  95. package/dist/cli/git-UGGRLGTQ.js +26 -0
  96. package/dist/cli/index.js +148 -148
  97. package/dist/cli/index.mjs +47 -47
  98. package/dist/cli/{integrations-NNACG3HD.mjs → integrations-EEBPETH2.mjs} +7 -7
  99. package/dist/cli/{integrations-ABBLLEJH.js → integrations-T5JPSZXN.js} +29 -29
  100. package/dist/cli/{legacy-noops-3JLS5OD7.js → legacy-noops-B55OMNH7.js} +9 -9
  101. package/dist/cli/{legacy-noops-KQW7AIYU.mjs → legacy-noops-XDNZ46IR.mjs} +6 -6
  102. package/dist/cli/{mcp-JPBFKR26.js → mcp-3YA333TQ.js} +24 -24
  103. package/dist/cli/{mcp-7NHGPYZH.mjs → mcp-4QIUAAWS.mjs} +4 -4
  104. package/dist/cli/{monitors-JOE2DALW.mjs → monitors-BVUPS4CE.mjs} +7 -7
  105. package/dist/cli/{monitors-J6HK5KCN.js → monitors-FOS7MWZO.js} +100 -100
  106. package/dist/cli/{org-WFZFQIXQ.js → org-CYM7HFLN.js} +121 -121
  107. package/dist/cli/{org-VZZ4LN4O.mjs → org-TCMRRVFC.mjs} +6 -6
  108. package/dist/cli/{outcomes-H2WEZYNT.mjs → outcomes-2JSWXWQ3.mjs} +6 -6
  109. package/dist/cli/{outcomes-RZWL47BJ.js → outcomes-VDJVP5YC.js} +14 -14
  110. package/dist/cli/{play-KMWA7GVN.mjs → play-CPP4EBYF.mjs} +20 -20
  111. package/dist/cli/{play-2ZEBUF5T.js → play-U3G73VIR.js} +349 -349
  112. package/dist/cli/{providers-57AZWFSW.js → providers-2ZB67TK7.js} +9 -9
  113. package/dist/cli/{providers-2BIA3OWA.mjs → providers-RVMIX5ED.mjs} +6 -6
  114. package/dist/cli/{quickstart-NSDM2RXV.mjs → quickstart-L3YO3OWZ.mjs} +4 -4
  115. package/dist/cli/{quickstart-EYJFERQO.js → quickstart-V3Y7XZ47.js} +6 -6
  116. package/dist/cli/{run-BW62DZGQ.js → run-M2CADJ6E.js} +49 -48
  117. package/dist/cli/{run-X6H5SCEE.mjs → run-PQ3Z2GOF.mjs} +27 -26
  118. package/dist/cli/{search-2VN74P5N.mjs → search-QVLGI7SZ.mjs} +7 -7
  119. package/dist/cli/search-RHPPZZFG.js +32 -0
  120. package/dist/cli/{search-output-SFWQVBYU.js → search-output-IUANVHWU.js} +8 -8
  121. package/dist/cli/{search-output-VN7XOZEQ.mjs → search-output-PN3V7MSO.mjs} +5 -5
  122. package/dist/cli/{secrets-OIPKG2H7.js → secrets-AOW6F67J.js} +15 -15
  123. package/dist/cli/{secrets-4M26N436.mjs → secrets-HK25G4K2.mjs} +6 -6
  124. package/dist/cli/sessions-AEGGTZ3K.js +23 -0
  125. package/dist/cli/{sessions-SYFH23L3.mjs → sessions-YN2OIAGR.mjs} +6 -6
  126. package/dist/cli/{settings-5NB4HZYL.js → settings-6EV2FPGF.js} +85 -85
  127. package/dist/cli/{settings-4HPF3T4P.mjs → settings-7UW5TWSM.mjs} +12 -12
  128. package/dist/cli/{setup-CI74F6CL.mjs → setup-BG56SHKH.mjs} +9 -9
  129. package/dist/cli/{setup-JV3F5C7P.js → setup-ZQPD2R5K.js} +49 -49
  130. package/dist/cli/skills-C6ZEZWBE.js +37 -0
  131. package/dist/cli/{skills-76CM4GHO.mjs → skills-MQV2TNUZ.mjs} +7 -7
  132. package/dist/cli/tools-PM3MC3RR.js +57 -0
  133. package/dist/cli/{tools-SVGLDWOC.mjs → tools-RGI4OE5T.mjs} +19 -19
  134. package/dist/cli/{update-KPMDOZRX.mjs → update-SQKGHQKF.mjs} +9 -9
  135. package/dist/cli/update-ZHUPF2HT.js +37 -0
  136. package/dist/cli/{views-KW54SAES.mjs → views-734T2CXF.mjs} +6 -6
  137. package/dist/cli/{views-R37NWN6J.js → views-BUKVHCRD.js} +21 -21
  138. package/dist/cli/{workflow-3MIRQV4Q.mjs → workflow-JNRRBMEK.mjs} +7 -7
  139. package/dist/cli/{workflow-BKRKUNYS.js → workflow-LPJC6RHP.js} +17 -17
  140. package/dist/{client-BrdMPFCM.d.ts → client-C1AubrWJ.d.ts} +1 -1
  141. package/dist/{client-CF-bsrtI.d.mts → client-CNYctEBh.d.mts} +1 -1
  142. package/dist/{client-core-DM1ZedOG.d.mts → client-core-Bb06TCx5.d.mts} +7 -0
  143. package/dist/{client-core-rMoUWSYM.d.ts → client-core-D6zAE46g.d.ts} +7 -0
  144. package/dist/index.d.mts +3 -3
  145. package/dist/index.d.ts +3 -3
  146. package/dist/index.js +9 -9
  147. package/dist/index.mjs +6 -6
  148. package/dist/install-integrity.json +126 -126
  149. package/dist/plays/play-description.d.mts +1 -1
  150. package/dist/plays/play-description.d.ts +1 -1
  151. package/dist/plays/run-request.d.mts +1 -1
  152. package/dist/plays/run-request.d.ts +1 -1
  153. package/dist/release.d.mts +1 -1
  154. package/dist/release.d.ts +1 -1
  155. package/dist/release.js +2 -2
  156. package/dist/release.mjs +1 -1
  157. package/dist/server.d.mts +2 -2
  158. package/dist/server.d.ts +2 -2
  159. package/dist/server.js +5 -5
  160. package/dist/server.mjs +3 -3
  161. package/package.json +1 -1
  162. package/dist/cli/auth-A5U6GVCF.js +0 -44
  163. package/dist/cli/concurrent-runs-help-VJDPVGXM.js +0 -22
  164. package/dist/cli/describe-RLWJYZIR.js +0 -50
  165. package/dist/cli/git-ZGDD3BVX.js +0 -26
  166. package/dist/cli/search-HYRDZVPQ.js +0 -32
  167. package/dist/cli/sessions-5P2KZOQE.js +0 -23
  168. package/dist/cli/skills-PJ5EL32L.js +0 -37
  169. package/dist/cli/tools-Y5ID2SPK.js +0 -57
  170. 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 _chunkY2ND6PPWjs = require('./chunk-Y2ND6PPW.js');
15
15
 
16
16
 
17
- var _chunkFXN5WSTYjs = require('./chunk-FXN5WSTY.js');
17
+ var _chunkOOGP737Ijs = require('./chunk-OOGP737I.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
22
 
23
- var _chunkJHQ7FORYjs = require('./chunk-JHQ7FORY.js');
23
+ var _chunkTVAFWAOQjs = require('./chunk-TVAFWAOQ.js');
24
24
 
25
25
 
26
26
 
27
- var _chunkRSZSKTRCjs = require('./chunk-RSZSKTRC.js');
27
+ var _chunk6MIEJJSOjs = require('./chunk-6MIEJJSO.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 = _chunkTVAFWAOQjs.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, () => ( _chunk6MIEJJSOjs.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, _chunkTVAFWAOQjs.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 = [..._chunkY2ND6PPWjs.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=${_chunkY2ND6PPWjs.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=${_chunkY2ND6PPWjs.SKILLS_NPX_PACKAGE}`,
209
209
  "--",
210
210
  "skills",
211
211
  "add",
212
- _chunkEJN43WGDjs.skillsSourceUrl.call(void 0, input.baseUrl),
212
+ _chunkY2ND6PPWjs.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 = _chunkY2ND6PPWjs.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
+ `${_chunkY2ND6PPWjs.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(`${_chunkY2ND6PPWjs.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 = _chunkTVAFWAOQjs.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
+ _chunkOOGP737Ijs.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
+ _chunkOOGP737Ijs.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
+ _chunkOOGP737Ijs.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
+ _chunkOOGP737Ijs.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 = _chunkTVAFWAOQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
367
367
  const catalog = {
368
- skillNames: [..._chunkEJN43WGDjs.DEFAULT_SDK_SKILL_NAMES],
369
- version: _chunkRSZSKTRCjs.SDK_VERSION
368
+ skillNames: [..._chunkY2ND6PPWjs.DEFAULT_SDK_SKILL_NAMES],
369
+ version: _chunk6MIEJJSOjs.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
+ _chunkOOGP737Ijs.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)) && !_chunkY2ND6PPWjs.hasFailedAutomaticSkillsSync.call(void 0, baseUrl, agents)) {
381
+ _chunkOOGP737Ijs.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, ..._chunkY2ND6PPWjs.LEGACY_SKILL_NAMES_TO_REMOVE])
414
414
  ];
415
415
  const agentRoots = workspaceSkillRootsForAgents(plan.agents);
416
- _chunkJHQ7FORYjs.ensureProjectPrivatePathsIgnored.call(void 0, root, [
416
+ _chunkTVAFWAOQjs.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 _chunkY2ND6PPWjs.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 _chunkY2ND6PPWjs.SkillsStateUnavailableError)) throw error;
434
+ _chunkOOGP737Ijs.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
+ _chunkOOGP737Ijs.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 ${_chunkY2ND6PPWjs.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
+ _chunkOOGP737Ijs.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
+ _chunkOOGP737Ijs.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: _chunk6MIEJJSOjs.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
+ _chunkY2ND6PPWjs.clearFailedAutomaticSkillsSync.call(void 0, baseUrl, agents);
578
578
  }
579
- _chunkFXN5WSTYjs.printCommandEnvelope.call(void 0,
579
+ _chunkOOGP737Ijs.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 ${_chunkY2ND6PPWjs.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(_chunkY2ND6PPWjs.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
+ _chunkOOGP737Ijs.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 _chunkY2ND6PPWjs.syncSdkSkillsIfNeeded.call(void 0, _chunkTVAFWAOQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, ""), {
660
660
  mode: "inline",
661
661
  notices: "defer",
662
662
  claim
@@ -1,30 +1,30 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
2
2
 
3
- var _chunkMOWABWHTjs = require('./chunk-MOWABWHT.js');
3
+ var _chunkHEZW2IDKjs = require('./chunk-HEZW2IDK.js');
4
4
 
5
5
 
6
- var _chunkJWLV3XRFjs = require('./chunk-JWLV3XRF.js');
6
+ var _chunkLYJ2NSHDjs = require('./chunk-LYJ2NSHD.js');
7
7
 
8
8
 
9
9
 
10
10
 
11
- var _chunkMXK4M7HPjs = require('./chunk-MXK4M7HP.js');
11
+ var _chunkQ4VKMF3Bjs = require('./chunk-Q4VKMF3B.js');
12
12
 
13
13
 
14
- var _chunkZO65VJRJjs = require('./chunk-ZO65VJRJ.js');
14
+ var _chunkPGRRMVQ5js = require('./chunk-PGRRMVQ5.js');
15
15
 
16
16
 
17
- var _chunkNVJGVNENjs = require('./chunk-NVJGVNEN.js');
17
+ var _chunkUYCBG75Hjs = require('./chunk-UYCBG75H.js');
18
18
 
19
19
 
20
20
 
21
21
 
22
- var _chunkFXN5WSTYjs = require('./chunk-FXN5WSTY.js');
22
+ var _chunkOOGP737Ijs = require('./chunk-OOGP737I.js');
23
23
 
24
24
 
25
25
 
26
26
 
27
- var _chunkJHQ7FORYjs = require('./chunk-JHQ7FORY.js');
27
+ var _chunkTVAFWAOQjs = require('./chunk-TVAFWAOQ.js');
28
28
 
29
29
  // src/cli/commands/describe.ts
30
30
  var _fs = require('fs');
@@ -33,14 +33,14 @@ var _path = require('path');
33
33
  // src/cli/doc-read-reporting.ts
34
34
  var REPORT_TIMEOUT_MS = 1e3;
35
35
  async function reportDocRead(docId) {
36
- if (_chunkFXN5WSTYjs.isFailureReportingDisabled.call(void 0, )) return;
36
+ if (_chunkOOGP737Ijs.isFailureReportingDisabled.call(void 0, )) return;
37
37
  try {
38
- const baseUrl = _chunkJHQ7FORYjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
39
- const apiKey = _chunkJHQ7FORYjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
38
+ const baseUrl = _chunkTVAFWAOQjs.autoDetectBaseUrl.call(void 0, ).replace(/\/$/, "");
39
+ const apiKey = _chunkTVAFWAOQjs.resolveApiKeyForBaseUrl.call(void 0, baseUrl);
40
40
  if (!apiKey) return;
41
41
  await fetch(new URL("/api/v2/telemetry/doc-read", baseUrl), {
42
42
  method: "POST",
43
- headers: _chunkFXN5WSTYjs.failureReportHeaders.call(void 0, apiKey),
43
+ headers: _chunkOOGP737Ijs.failureReportHeaders.call(void 0, apiKey),
44
44
  body: JSON.stringify({ doc_id: docId }),
45
45
  signal: AbortSignal.timeout(REPORT_TIMEOUT_MS)
46
46
  });
@@ -53,22 +53,22 @@ function nothingNamed(name) {
53
53
  return `Nothing named "${name}". Search for it: deepline search ${JSON.stringify(name.replace(/[-_./]+/g, " "))}`;
54
54
  }
55
55
  function findNamed2(name, options) {
56
- return _chunkMXK4M7HPjs.findNamed.call(void 0, name, options, cliDescribeLookups(new (0, _chunkNVJGVNENjs.DeeplineClient)()));
56
+ return _chunkQ4VKMF3Bjs.findNamed.call(void 0, name, options, cliDescribeLookups(new (0, _chunkUYCBG75Hjs.DeeplineClient)()));
57
57
  }
58
58
  function cliDescribeLookups(client) {
59
59
  return {
60
- ..._chunkMXK4M7HPjs.describeLookupsFor.call(void 0, client),
61
- dashboardOrgId: _chunkJHQ7FORYjs.resolveCliDashboardOrgId.call(void 0, client.baseUrl)
60
+ ..._chunkQ4VKMF3Bjs.describeLookupsFor.call(void 0, client),
61
+ dashboardOrgId: _chunkTVAFWAOQjs.resolveCliDashboardOrgId.call(void 0, client.baseUrl)
62
62
  };
63
63
  }
64
64
  async function describeAnything(name, options, onMissing) {
65
- const client = new (0, _chunkNVJGVNENjs.DeeplineClient)();
65
+ const client = new (0, _chunkUYCBG75Hjs.DeeplineClient)();
66
66
  const lookups = cliDescribeLookups(client);
67
- const outcome = await _chunkMXK4M7HPjs.describeName.call(void 0, name, options, {
67
+ const outcome = await _chunkQ4VKMF3Bjs.describeName.call(void 0, name, options, {
68
68
  ...lookups,
69
69
  // `tools describe` has already fetched the tool for its compatibility check.
70
70
  tool: async (toolName) => _nullishCoalesce(options.fetchedTool, () => ( lookups.tool(toolName))),
71
- seedStarterScript: _chunkMOWABWHTjs.seedToolListScript
71
+ seedStarterScript: _chunkHEZW2IDKjs.seedToolListScript
72
72
  });
73
73
  if (outcome.status === "missing") {
74
74
  if (onMissing) return onMissing();
@@ -97,18 +97,18 @@ function deliver(envelope, lines, { json, out }) {
97
97
  ` : text;
98
98
  _fs.writeFileSync.call(void 0, path, content);
99
99
  const bytes = Buffer.byteLength(content);
100
- _chunkFXN5WSTYjs.printCommandEnvelope.call(void 0,
100
+ _chunkOOGP737Ijs.printCommandEnvelope.call(void 0,
101
101
  { path, bytes },
102
102
  { json, text: `Wrote ${path} (${bytes} bytes)
103
103
  ` }
104
104
  );
105
105
  return 0;
106
106
  }
107
- _chunkFXN5WSTYjs.printCommandEnvelope.call(void 0, envelope, { json, text });
107
+ _chunkOOGP737Ijs.printCommandEnvelope.call(void 0, envelope, { json, text });
108
108
  return 0;
109
109
  }
110
110
  function registerDescribeCommand(program) {
111
- _chunkJWLV3XRFjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
111
+ _chunkLYJ2NSHDjs.addDescribeOptions.call(void 0, program.command("describe <name>")).option("--web-url", "Print only a play's play page URL").description(
112
112
  "Describe anything search returns: a tool, monitor type, or play."
113
113
  ).addHelpText(
114
114
  "after",
@@ -149,7 +149,7 @@ Schema size and format:
149
149
  by default; the output names them, and --verbose shows them.
150
150
  --fields email,miss_reason shows only the fields you name, plus every
151
151
  required input, and names the rest. Use it when you know what you need.
152
- A schema over ${_chunkZO65VJRJjs.SCHEMA_LINE_LIMIT} lines is folded: deeper objects show only their field
152
+ A schema over ${_chunkPGRRMVQ5js.SCHEMA_LINE_LIMIT} lines is folded: deeper objects show only their field
153
153
  names. A shape used more than once is printed once under Types.
154
154
  --full-schema the normal output, with the schema not folded
155
155
  --schema-only only the schema, not folded, and nothing else
@@ -2,7 +2,7 @@ import {
2
2
  rateLimitSummary,
3
3
  schemaField,
4
4
  schemaFields
5
- } from "./chunk-FYKHAT2F.mjs";
5
+ } from "./chunk-DTQBQSUU.mjs";
6
6
  import {
7
7
  exampleInputFileLine,
8
8
  exampleJsonInput,
@@ -80,6 +80,9 @@ var CapabilityDescription = class _CapabilityDescription {
80
80
  const billingSourceLabel = stringValue(
81
81
  this.#catalogEntry.billingSourceLabel ?? this.#catalogEntry.billing_source_label
82
82
  );
83
+ const credentialSource = stringValue(
84
+ this.#catalogEntry.credentialSource ?? this.#catalogEntry.credential_source
85
+ );
83
86
  const isFree = billingSource === "free";
84
87
  const displayText = stringValue(
85
88
  pricing.displayText ?? pricing.display_text
@@ -99,6 +102,7 @@ var CapabilityDescription = class _CapabilityDescription {
99
102
  ),
100
103
  billingSource,
101
104
  billingSourceLabel,
105
+ ...credentialSource ? { credentialSource } : {},
102
106
  deeplineCreditsPerPricingUnit: isFree ? 0 : canonicalCredits,
103
107
  deeplineUsdPerPricingUnit: isFree ? 0 : canonicalUsd,
104
108
  ...pricing.estimatedRange && showManagedPricing ? {
@@ -460,12 +464,18 @@ function describedTool(tool, requestedToolId) {
460
464
  );
461
465
  const provider = stringField(tool, "provider");
462
466
  const connectCommand = credentialStatus === "requires_connection" && (!byok || byok.setupUrl) && /^[a-z0-9][a-z0-9_-]*$/.test(provider) ? `deepline integrations connect ${provider} --link --json` : void 0;
467
+ const credentialSource = stringField(
468
+ tool,
469
+ "credentialSource",
470
+ "credential_source"
471
+ );
463
472
  return {
464
473
  kind: "tool",
465
474
  id: String(contract.toolId),
466
475
  ...provider ? { provider } : {},
467
476
  displayName,
468
477
  description,
478
+ ...credentialSource ? { credentialSource } : {},
469
479
  cost: [
470
480
  stringField(cost, "displayText"),
471
481
  // "Free (free)" says the same thing twice, as does "Uses your provided
@@ -1,23 +1,23 @@
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 _chunkNMSDMXYSjs = require('./chunk-NMSDMXYS.js');
4
+ var _chunkK2BU67UCjs = require('./chunk-K2BU67UC.js');
5
5
 
6
6
 
7
- var _chunkEV47DV25js = require('./chunk-EV47DV25.js');
7
+ var _chunkAP7PIGL5js = require('./chunk-AP7PIGL5.js');
8
8
 
9
9
 
10
- var _chunkEJN43WGDjs = require('./chunk-EJN43WGD.js');
10
+ var _chunkY2ND6PPWjs = require('./chunk-Y2ND6PPW.js');
11
11
 
12
12
 
13
- var _chunkFXN5WSTYjs = require('./chunk-FXN5WSTY.js');
13
+ var _chunkOOGP737Ijs = require('./chunk-OOGP737I.js');
14
14
 
15
15
 
16
16
 
17
17
 
18
18
 
19
19
 
20
- var _chunkJHQ7FORYjs = require('./chunk-JHQ7FORY.js');
20
+ var _chunkTVAFWAOQjs = require('./chunk-TVAFWAOQ.js');
21
21
 
22
22
  // src/cli/commands/update.ts
23
23
  var _child_process = require('child_process');
@@ -499,7 +499,7 @@ function normalizedNpmPrefix(value) {
499
499
  }
500
500
  function resolveNpmGlobalPrefix(env) {
501
501
  try {
502
- const plan = _chunkEJN43WGDjs.resolveShellSpawn.call(void 0,
502
+ const plan = _chunkY2ND6PPWjs.resolveShellSpawn.call(void 0,
503
503
  "npm",
504
504
  ["prefix", "-g"],
505
505
  process.platform,
@@ -561,8 +561,8 @@ function resolveUpdatePlan(options = {}) {
561
561
  const npmGlobalPrefix = options.npmGlobalPrefix !== void 0 ? options.npmGlobalPrefix : resolveNpmGlobalPrefix(env);
562
562
  const hasVerifiedNpmOwnership = inferredInstallPrefix !== null && normalizedNpmPrefix(inferredInstallPrefix) === normalizedNpmPrefix(npmGlobalPrefix);
563
563
  const installPrefix = options.requireVerifiedNpmOwnership ? hasVerifiedNpmOwnership ? inferredInstallPrefix : null : inferredInstallPrefix;
564
- const npmVersion = options.npmVersion === void 0 ? _chunkNMSDMXYSjs.readNpmVersion.call(void 0, env) : options.npmVersion;
565
- const npmGlobalInstallFlags = _chunkNMSDMXYSjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
564
+ const npmVersion = options.npmVersion === void 0 ? _chunkK2BU67UCjs.readNpmVersion.call(void 0, env) : options.npmVersion;
565
+ const npmGlobalInstallFlags = _chunkK2BU67UCjs.npmSupportsAllowScripts.call(void 0, npmVersion) ? [...NPM_SDK_INSTALL_COMMON_FLAGS, "--allow-scripts=esbuild"] : NPM_SDK_INSTALL_COMMON_FLAGS;
566
566
  const args = installPrefix ? [
567
567
  "install",
568
568
  "-g",
@@ -572,7 +572,7 @@ function resolveUpdatePlan(options = {}) {
572
572
  packageSpec
573
573
  ] : ["install", "-g", ...npmGlobalInstallFlags, packageSpec];
574
574
  const fallbackRegistryUrl = options.npmFallbackRegistryUrl !== void 0 ? options.npmFallbackRegistryUrl : publicNpmFallbackRegistryUrl(
575
- _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkJHQ7FORYjs.autoDetectBaseUrl.call(void 0, )
575
+ _optionalChain([env, 'access', _22 => _22.DEEPLINE_HOST_URL, 'optionalAccess', _23 => _23.trim, 'call', _24 => _24()]) || _chunkTVAFWAOQjs.autoDetectBaseUrl.call(void 0, )
576
576
  );
577
577
  return {
578
578
  kind: "npm-global",
@@ -821,7 +821,7 @@ function sidecarInstallFailure(versionDir) {
821
821
  function runCommand(command, args, env = process.env) {
822
822
  return new Promise((resolveResult) => {
823
823
  let output = "";
824
- const plan = _chunkEJN43WGDjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
824
+ const plan = _chunkY2ND6PPWjs.resolveShellSpawn.call(void 0, command, args, process.platform, env);
825
825
  const child = _child_process.spawn.call(void 0, plan.command, plan.args, {
826
826
  windowsHide: true,
827
827
  stdio: ["inherit", "pipe", "pipe"],
@@ -1169,7 +1169,7 @@ function normalizePinnedVersion(value) {
1169
1169
  }
1170
1170
  async function readPinMetadata(registryUrl, version) {
1171
1171
  const controller = new AbortController();
1172
- const timeout = setTimeout(() => controller.abort(), _chunkJHQ7FORYjs.DEFAULT_TIMEOUT);
1172
+ const timeout = setTimeout(() => controller.abort(), _chunkTVAFWAOQjs.DEFAULT_TIMEOUT);
1173
1173
  try {
1174
1174
  const response = await fetch(
1175
1175
  new URL(
@@ -1185,7 +1185,7 @@ async function readPinMetadata(registryUrl, version) {
1185
1185
  if (!response.ok) {
1186
1186
  return {
1187
1187
  kind: "miss",
1188
- transient: _chunkJHQ7FORYjs.TRANSIENT_HTTP_STATUSES.has(response.status),
1188
+ transient: _chunkTVAFWAOQjs.TRANSIENT_HTTP_STATUSES.has(response.status),
1189
1189
  error: new Error(`${registryUrl} returned HTTP ${response.status}`)
1190
1190
  };
1191
1191
  }
@@ -1219,8 +1219,8 @@ async function publishedVersionSupportsPin(version, fallbackRegistryUrl, retry =
1219
1219
  "https://registry.npmjs.org/",
1220
1220
  ...fallbackRegistryUrl ? [fallbackRegistryUrl] : []
1221
1221
  ];
1222
- const maxRetries = _nullishCoalesce(retry.maxRetries, () => ( _chunkJHQ7FORYjs.DEFAULT_MAX_RETRIES));
1223
- const backoffMs = _nullishCoalesce(retry.backoffMs, () => ( _chunkJHQ7FORYjs.defaultRetryBackoffMs));
1222
+ const maxRetries = _nullishCoalesce(retry.maxRetries, () => ( _chunkTVAFWAOQjs.DEFAULT_MAX_RETRIES));
1223
+ const backoffMs = _nullishCoalesce(retry.backoffMs, () => ( _chunkTVAFWAOQjs.defaultRetryBackoffMs));
1224
1224
  let lastError = null;
1225
1225
  for (let round = 1; ; round += 1) {
1226
1226
  let transientOnly = true;
@@ -1283,14 +1283,14 @@ async function resolveInstalledVersionIfLatest(plan) {
1283
1283
  return null;
1284
1284
  }
1285
1285
  async function runUpdateCommand(options, dependencies = {}) {
1286
- const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkJHQ7FORYjs.autoDetectBaseUrl));
1286
+ const detectBaseUrl = _nullishCoalesce(dependencies.detectBaseUrl, () => ( _chunkTVAFWAOQjs.autoDetectBaseUrl));
1287
1287
  const resolvePlan = _nullishCoalesce(dependencies.resolvePlan, () => ( resolveUpdatePlan));
1288
1288
  const runPlan = _nullishCoalesce(dependencies.runPlan, () => ( runUpdatePlan));
1289
1289
  const syncSkills = _nullishCoalesce(dependencies.syncSkillsIfNeeded, () => ( (async () => {
1290
1290
  const originalWrite = process.stdout.write.bind(process.stdout);
1291
1291
  process.stdout.write = (() => true);
1292
1292
  try {
1293
- const exitCode = await _chunkEV47DV25js.runSkillsCommand.call(void 0, { json: true });
1293
+ const exitCode = await _chunkAP7PIGL5js.runSkillsCommand.call(void 0, { json: true });
1294
1294
  if (exitCode !== 0) {
1295
1295
  throw new Error(
1296
1296
  `Deepline skills update failed with exit ${exitCode}.`
@@ -1363,7 +1363,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1363
1363
  };
1364
1364
  if (options.json && !options.executeWithJson) {
1365
1365
  const upToDateVersion2 = pinnedVersion || options.force ? null : await resolveUpToDateVersion(plan);
1366
- _chunkFXN5WSTYjs.printCommandEnvelope.call(void 0,
1366
+ _chunkOOGP737Ijs.printCommandEnvelope.call(void 0,
1367
1367
  {
1368
1368
  ...plan,
1369
1369
  updated: false,
@@ -1375,7 +1375,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1375
1375
  return 0;
1376
1376
  }
1377
1377
  if (options.printCommand) {
1378
- _chunkFXN5WSTYjs.printCommandEnvelope.call(void 0,
1378
+ _chunkOOGP737Ijs.printCommandEnvelope.call(void 0,
1379
1379
  {
1380
1380
  ...plan,
1381
1381
  render: {
@@ -1388,7 +1388,7 @@ async function runUpdateCommand(options, dependencies = {}) {
1388
1388
  return 0;
1389
1389
  }
1390
1390
  if (plan.kind === "source" || plan.kind === "homebrew") {
1391
- _chunkFXN5WSTYjs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1391
+ _chunkOOGP737Ijs.printCommandEnvelope.call(void 0, { ...plan, render }, { json: false });
1392
1392
  return 0;
1393
1393
  }
1394
1394
  const upToDateVersion = pinnedVersion || options.force ? null : await resolveUpToDateVersion(plan);
@@ -1426,7 +1426,7 @@ To retry with full installer output, run: deepline skills install
1426
1426
  );
1427
1427
  }
1428
1428
  if (options.executeWithJson && options.json) {
1429
- _chunkFXN5WSTYjs.printCommandEnvelope.call(void 0,
1429
+ _chunkOOGP737Ijs.printCommandEnvelope.call(void 0,
1430
1430
  {
1431
1431
  ok: true,
1432
1432
  pinnedVersion,
@@ -19,6 +19,12 @@ function featureLines(id, features) {
19
19
  )
20
20
  ];
21
21
  }
22
+ function credentialSourceText(source) {
23
+ if (source === "user") return "your own provider key";
24
+ if (source === "managed") return "Deepline's managed key";
25
+ if (source === "none") return "no provider key needed";
26
+ return null;
27
+ }
22
28
  function byokLines(byok) {
23
29
  if (typeof byok.supported !== "boolean") {
24
30
  return ["BYOK: unknown (this server does not report it)"];
@@ -711,6 +717,7 @@ function describedLines(described, view) {
711
717
  ...described.description ? [described.description] : [],
712
718
  ...described.signature ? [`Signature: ${described.signature}`] : [],
713
719
  ...described.cost ? [`Cost: ${described.cost}`] : [],
720
+ ...credentialSourceText(described.credentialSource) ? [`Runs on: ${credentialSourceText(described.credentialSource)}`] : [],
714
721
  ...described.guidance.map((line) => `Guidance: ${line}`),
715
722
  ...described.rateLimit ? [`Rate limit: ${described.rateLimit}`] : [],
716
723
  ...described.toolUsage?.effect ? [`Effect: ${described.toolUsage.effect}`] : [],
@@ -841,6 +848,7 @@ function describedJson(described, view) {
841
848
  ...described.cost ? { cost: described.cost } : {},
842
849
  ...described.rateLimit ? { rateLimit: described.rateLimit } : {},
843
850
  ...described.byok ? { byok: described.byok } : {},
851
+ ...described.credentialSource ? { credentialSource: described.credentialSource } : {},
844
852
  ...described.connected !== void 0 ? { connected: described.connected } : {},
845
853
  ...described.credentialStatus ? { credentialStatus: described.credentialStatus } : {},
846
854
  ...described.connectCommand ? { connectCommand: described.connectCommand } : {},
@@ -989,6 +997,7 @@ function describedPlay(play) {
989
997
  }
990
998
 
991
999
  export {
1000
+ credentialSourceText,
992
1001
  byokLines,
993
1002
  SCHEMA_LINE_LIMIT,
994
1003
  schemaField,