@agentxm/client-core 0.1.6

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 (1733) hide show
  1. package/LICENSE +21 -0
  2. package/dist/src/unstable/agents/adal/descriptor.d.ts +14 -0
  3. package/dist/src/unstable/agents/adal/descriptor.d.ts.map +1 -0
  4. package/dist/src/unstable/agents/adal/descriptor.js +19 -0
  5. package/dist/src/unstable/agents/adal/descriptor.js.map +1 -0
  6. package/dist/src/unstable/agents/adal/index.d.ts +8 -0
  7. package/dist/src/unstable/agents/adal/index.d.ts.map +1 -0
  8. package/dist/src/unstable/agents/adal/index.js +8 -0
  9. package/dist/src/unstable/agents/adal/index.js.map +1 -0
  10. package/dist/src/unstable/agents/amp/descriptor.d.ts +14 -0
  11. package/dist/src/unstable/agents/amp/descriptor.d.ts.map +1 -0
  12. package/dist/src/unstable/agents/amp/descriptor.js +19 -0
  13. package/dist/src/unstable/agents/amp/descriptor.js.map +1 -0
  14. package/dist/src/unstable/agents/amp/index.d.ts +8 -0
  15. package/dist/src/unstable/agents/amp/index.d.ts.map +1 -0
  16. package/dist/src/unstable/agents/amp/index.js +8 -0
  17. package/dist/src/unstable/agents/amp/index.js.map +1 -0
  18. package/dist/src/unstable/agents/antigravity/descriptor.d.ts +14 -0
  19. package/dist/src/unstable/agents/antigravity/descriptor.d.ts.map +1 -0
  20. package/dist/src/unstable/agents/antigravity/descriptor.js +19 -0
  21. package/dist/src/unstable/agents/antigravity/descriptor.js.map +1 -0
  22. package/dist/src/unstable/agents/antigravity/index.d.ts +8 -0
  23. package/dist/src/unstable/agents/antigravity/index.d.ts.map +1 -0
  24. package/dist/src/unstable/agents/antigravity/index.js +8 -0
  25. package/dist/src/unstable/agents/antigravity/index.js.map +1 -0
  26. package/dist/src/unstable/agents/augment/descriptor.d.ts +14 -0
  27. package/dist/src/unstable/agents/augment/descriptor.d.ts.map +1 -0
  28. package/dist/src/unstable/agents/augment/descriptor.js +25 -0
  29. package/dist/src/unstable/agents/augment/descriptor.js.map +1 -0
  30. package/dist/src/unstable/agents/augment/index.d.ts +8 -0
  31. package/dist/src/unstable/agents/augment/index.d.ts.map +1 -0
  32. package/dist/src/unstable/agents/augment/index.js +8 -0
  33. package/dist/src/unstable/agents/augment/index.js.map +1 -0
  34. package/dist/src/unstable/agents/augment/service.d.ts +16 -0
  35. package/dist/src/unstable/agents/augment/service.d.ts.map +1 -0
  36. package/dist/src/unstable/agents/augment/service.js +103 -0
  37. package/dist/src/unstable/agents/augment/service.js.map +1 -0
  38. package/dist/src/unstable/agents/claude-code/descriptor.d.ts +14 -0
  39. package/dist/src/unstable/agents/claude-code/descriptor.d.ts.map +1 -0
  40. package/dist/src/unstable/agents/claude-code/descriptor.js +25 -0
  41. package/dist/src/unstable/agents/claude-code/descriptor.js.map +1 -0
  42. package/dist/src/unstable/agents/claude-code/index.d.ts +9 -0
  43. package/dist/src/unstable/agents/claude-code/index.d.ts.map +1 -0
  44. package/dist/src/unstable/agents/claude-code/index.js +9 -0
  45. package/dist/src/unstable/agents/claude-code/index.js.map +1 -0
  46. package/dist/src/unstable/agents/claude-code/service.d.ts +18 -0
  47. package/dist/src/unstable/agents/claude-code/service.d.ts.map +1 -0
  48. package/dist/src/unstable/agents/claude-code/service.js +95 -0
  49. package/dist/src/unstable/agents/claude-code/service.js.map +1 -0
  50. package/dist/src/unstable/agents/cline/descriptor.d.ts +14 -0
  51. package/dist/src/unstable/agents/cline/descriptor.d.ts.map +1 -0
  52. package/dist/src/unstable/agents/cline/descriptor.js +19 -0
  53. package/dist/src/unstable/agents/cline/descriptor.js.map +1 -0
  54. package/dist/src/unstable/agents/cline/index.d.ts +8 -0
  55. package/dist/src/unstable/agents/cline/index.d.ts.map +1 -0
  56. package/dist/src/unstable/agents/cline/index.js +8 -0
  57. package/dist/src/unstable/agents/cline/index.js.map +1 -0
  58. package/dist/src/unstable/agents/codebuddy/descriptor.d.ts +14 -0
  59. package/dist/src/unstable/agents/codebuddy/descriptor.d.ts.map +1 -0
  60. package/dist/src/unstable/agents/codebuddy/descriptor.js +19 -0
  61. package/dist/src/unstable/agents/codebuddy/descriptor.js.map +1 -0
  62. package/dist/src/unstable/agents/codebuddy/index.d.ts +8 -0
  63. package/dist/src/unstable/agents/codebuddy/index.d.ts.map +1 -0
  64. package/dist/src/unstable/agents/codebuddy/index.js +8 -0
  65. package/dist/src/unstable/agents/codebuddy/index.js.map +1 -0
  66. package/dist/src/unstable/agents/codex/descriptor.d.ts +14 -0
  67. package/dist/src/unstable/agents/codex/descriptor.d.ts.map +1 -0
  68. package/dist/src/unstable/agents/codex/descriptor.js +25 -0
  69. package/dist/src/unstable/agents/codex/descriptor.js.map +1 -0
  70. package/dist/src/unstable/agents/codex/index.d.ts +9 -0
  71. package/dist/src/unstable/agents/codex/index.d.ts.map +1 -0
  72. package/dist/src/unstable/agents/codex/index.js +9 -0
  73. package/dist/src/unstable/agents/codex/index.js.map +1 -0
  74. package/dist/src/unstable/agents/codex/service.d.ts +16 -0
  75. package/dist/src/unstable/agents/codex/service.d.ts.map +1 -0
  76. package/dist/src/unstable/agents/codex/service.js +69 -0
  77. package/dist/src/unstable/agents/codex/service.js.map +1 -0
  78. package/dist/src/unstable/agents/coding-agent.d.ts +250 -0
  79. package/dist/src/unstable/agents/coding-agent.d.ts.map +1 -0
  80. package/dist/src/unstable/agents/coding-agent.js +14 -0
  81. package/dist/src/unstable/agents/coding-agent.js.map +1 -0
  82. package/dist/src/unstable/agents/command-code/descriptor.d.ts +14 -0
  83. package/dist/src/unstable/agents/command-code/descriptor.d.ts.map +1 -0
  84. package/dist/src/unstable/agents/command-code/descriptor.js +19 -0
  85. package/dist/src/unstable/agents/command-code/descriptor.js.map +1 -0
  86. package/dist/src/unstable/agents/command-code/index.d.ts +8 -0
  87. package/dist/src/unstable/agents/command-code/index.d.ts.map +1 -0
  88. package/dist/src/unstable/agents/command-code/index.js +8 -0
  89. package/dist/src/unstable/agents/command-code/index.js.map +1 -0
  90. package/dist/src/unstable/agents/command-sync.d.ts +59 -0
  91. package/dist/src/unstable/agents/command-sync.d.ts.map +1 -0
  92. package/dist/src/unstable/agents/command-sync.js +152 -0
  93. package/dist/src/unstable/agents/command-sync.js.map +1 -0
  94. package/dist/src/unstable/agents/constants.d.ts +26 -0
  95. package/dist/src/unstable/agents/constants.d.ts.map +1 -0
  96. package/dist/src/unstable/agents/constants.js +38 -0
  97. package/dist/src/unstable/agents/constants.js.map +1 -0
  98. package/dist/src/unstable/agents/continue/descriptor.d.ts +14 -0
  99. package/dist/src/unstable/agents/continue/descriptor.d.ts.map +1 -0
  100. package/dist/src/unstable/agents/continue/descriptor.js +19 -0
  101. package/dist/src/unstable/agents/continue/descriptor.js.map +1 -0
  102. package/dist/src/unstable/agents/continue/index.d.ts +8 -0
  103. package/dist/src/unstable/agents/continue/index.d.ts.map +1 -0
  104. package/dist/src/unstable/agents/continue/index.js +8 -0
  105. package/dist/src/unstable/agents/continue/index.js.map +1 -0
  106. package/dist/src/unstable/agents/crush/descriptor.d.ts +14 -0
  107. package/dist/src/unstable/agents/crush/descriptor.d.ts.map +1 -0
  108. package/dist/src/unstable/agents/crush/descriptor.js +19 -0
  109. package/dist/src/unstable/agents/crush/descriptor.js.map +1 -0
  110. package/dist/src/unstable/agents/crush/index.d.ts +8 -0
  111. package/dist/src/unstable/agents/crush/index.d.ts.map +1 -0
  112. package/dist/src/unstable/agents/crush/index.js +8 -0
  113. package/dist/src/unstable/agents/crush/index.js.map +1 -0
  114. package/dist/src/unstable/agents/cursor/descriptor.d.ts +14 -0
  115. package/dist/src/unstable/agents/cursor/descriptor.d.ts.map +1 -0
  116. package/dist/src/unstable/agents/cursor/descriptor.js +25 -0
  117. package/dist/src/unstable/agents/cursor/descriptor.js.map +1 -0
  118. package/dist/src/unstable/agents/cursor/index.d.ts +9 -0
  119. package/dist/src/unstable/agents/cursor/index.d.ts.map +1 -0
  120. package/dist/src/unstable/agents/cursor/index.js +9 -0
  121. package/dist/src/unstable/agents/cursor/index.js.map +1 -0
  122. package/dist/src/unstable/agents/cursor/service.d.ts +13 -0
  123. package/dist/src/unstable/agents/cursor/service.d.ts.map +1 -0
  124. package/dist/src/unstable/agents/cursor/service.js +28 -0
  125. package/dist/src/unstable/agents/cursor/service.js.map +1 -0
  126. package/dist/src/unstable/agents/detection.d.ts +52 -0
  127. package/dist/src/unstable/agents/detection.d.ts.map +1 -0
  128. package/dist/src/unstable/agents/detection.js +91 -0
  129. package/dist/src/unstable/agents/detection.js.map +1 -0
  130. package/dist/src/unstable/agents/droid/descriptor.d.ts +14 -0
  131. package/dist/src/unstable/agents/droid/descriptor.d.ts.map +1 -0
  132. package/dist/src/unstable/agents/droid/descriptor.js +19 -0
  133. package/dist/src/unstable/agents/droid/descriptor.js.map +1 -0
  134. package/dist/src/unstable/agents/droid/index.d.ts +8 -0
  135. package/dist/src/unstable/agents/droid/index.d.ts.map +1 -0
  136. package/dist/src/unstable/agents/droid/index.js +8 -0
  137. package/dist/src/unstable/agents/droid/index.js.map +1 -0
  138. package/dist/src/unstable/agents/gemini-cli/descriptor.d.ts +14 -0
  139. package/dist/src/unstable/agents/gemini-cli/descriptor.d.ts.map +1 -0
  140. package/dist/src/unstable/agents/gemini-cli/descriptor.js +25 -0
  141. package/dist/src/unstable/agents/gemini-cli/descriptor.js.map +1 -0
  142. package/dist/src/unstable/agents/gemini-cli/index.d.ts +9 -0
  143. package/dist/src/unstable/agents/gemini-cli/index.d.ts.map +1 -0
  144. package/dist/src/unstable/agents/gemini-cli/index.js +9 -0
  145. package/dist/src/unstable/agents/gemini-cli/index.js.map +1 -0
  146. package/dist/src/unstable/agents/gemini-cli/service.d.ts +16 -0
  147. package/dist/src/unstable/agents/gemini-cli/service.d.ts.map +1 -0
  148. package/dist/src/unstable/agents/gemini-cli/service.js +91 -0
  149. package/dist/src/unstable/agents/gemini-cli/service.js.map +1 -0
  150. package/dist/src/unstable/agents/github-copilot/descriptor.d.ts +14 -0
  151. package/dist/src/unstable/agents/github-copilot/descriptor.d.ts.map +1 -0
  152. package/dist/src/unstable/agents/github-copilot/descriptor.js +25 -0
  153. package/dist/src/unstable/agents/github-copilot/descriptor.js.map +1 -0
  154. package/dist/src/unstable/agents/github-copilot/index.d.ts +9 -0
  155. package/dist/src/unstable/agents/github-copilot/index.d.ts.map +1 -0
  156. package/dist/src/unstable/agents/github-copilot/index.js +9 -0
  157. package/dist/src/unstable/agents/github-copilot/index.js.map +1 -0
  158. package/dist/src/unstable/agents/github-copilot/service.d.ts +13 -0
  159. package/dist/src/unstable/agents/github-copilot/service.d.ts.map +1 -0
  160. package/dist/src/unstable/agents/github-copilot/service.js +28 -0
  161. package/dist/src/unstable/agents/github-copilot/service.js.map +1 -0
  162. package/dist/src/unstable/agents/goose/descriptor.d.ts +14 -0
  163. package/dist/src/unstable/agents/goose/descriptor.d.ts.map +1 -0
  164. package/dist/src/unstable/agents/goose/descriptor.js +19 -0
  165. package/dist/src/unstable/agents/goose/descriptor.js.map +1 -0
  166. package/dist/src/unstable/agents/goose/index.d.ts +8 -0
  167. package/dist/src/unstable/agents/goose/index.d.ts.map +1 -0
  168. package/dist/src/unstable/agents/goose/index.js +8 -0
  169. package/dist/src/unstable/agents/goose/index.js.map +1 -0
  170. package/dist/src/unstable/agents/iflow-cli/descriptor.d.ts +14 -0
  171. package/dist/src/unstable/agents/iflow-cli/descriptor.d.ts.map +1 -0
  172. package/dist/src/unstable/agents/iflow-cli/descriptor.js +19 -0
  173. package/dist/src/unstable/agents/iflow-cli/descriptor.js.map +1 -0
  174. package/dist/src/unstable/agents/iflow-cli/index.d.ts +8 -0
  175. package/dist/src/unstable/agents/iflow-cli/index.d.ts.map +1 -0
  176. package/dist/src/unstable/agents/iflow-cli/index.js +8 -0
  177. package/dist/src/unstable/agents/iflow-cli/index.js.map +1 -0
  178. package/dist/src/unstable/agents/index.d.ts +35 -0
  179. package/dist/src/unstable/agents/index.d.ts.map +1 -0
  180. package/dist/src/unstable/agents/index.js +43 -0
  181. package/dist/src/unstable/agents/index.js.map +1 -0
  182. package/dist/src/unstable/agents/junie/descriptor.d.ts +14 -0
  183. package/dist/src/unstable/agents/junie/descriptor.d.ts.map +1 -0
  184. package/dist/src/unstable/agents/junie/descriptor.js +25 -0
  185. package/dist/src/unstable/agents/junie/descriptor.js.map +1 -0
  186. package/dist/src/unstable/agents/junie/index.d.ts +8 -0
  187. package/dist/src/unstable/agents/junie/index.d.ts.map +1 -0
  188. package/dist/src/unstable/agents/junie/index.js +8 -0
  189. package/dist/src/unstable/agents/junie/index.js.map +1 -0
  190. package/dist/src/unstable/agents/junie/service.d.ts +11 -0
  191. package/dist/src/unstable/agents/junie/service.d.ts.map +1 -0
  192. package/dist/src/unstable/agents/junie/service.js +18 -0
  193. package/dist/src/unstable/agents/junie/service.js.map +1 -0
  194. package/dist/src/unstable/agents/kilo/descriptor.d.ts +14 -0
  195. package/dist/src/unstable/agents/kilo/descriptor.d.ts.map +1 -0
  196. package/dist/src/unstable/agents/kilo/descriptor.js +25 -0
  197. package/dist/src/unstable/agents/kilo/descriptor.js.map +1 -0
  198. package/dist/src/unstable/agents/kilo/index.d.ts +8 -0
  199. package/dist/src/unstable/agents/kilo/index.d.ts.map +1 -0
  200. package/dist/src/unstable/agents/kilo/index.js +8 -0
  201. package/dist/src/unstable/agents/kilo/index.js.map +1 -0
  202. package/dist/src/unstable/agents/kilo/service.d.ts +18 -0
  203. package/dist/src/unstable/agents/kilo/service.d.ts.map +1 -0
  204. package/dist/src/unstable/agents/kilo/service.js +86 -0
  205. package/dist/src/unstable/agents/kilo/service.js.map +1 -0
  206. package/dist/src/unstable/agents/kimi-cli/descriptor.d.ts +14 -0
  207. package/dist/src/unstable/agents/kimi-cli/descriptor.d.ts.map +1 -0
  208. package/dist/src/unstable/agents/kimi-cli/descriptor.js +19 -0
  209. package/dist/src/unstable/agents/kimi-cli/descriptor.js.map +1 -0
  210. package/dist/src/unstable/agents/kimi-cli/index.d.ts +8 -0
  211. package/dist/src/unstable/agents/kimi-cli/index.d.ts.map +1 -0
  212. package/dist/src/unstable/agents/kimi-cli/index.js +8 -0
  213. package/dist/src/unstable/agents/kimi-cli/index.js.map +1 -0
  214. package/dist/src/unstable/agents/kiro-cli/descriptor.d.ts +14 -0
  215. package/dist/src/unstable/agents/kiro-cli/descriptor.d.ts.map +1 -0
  216. package/dist/src/unstable/agents/kiro-cli/descriptor.js +25 -0
  217. package/dist/src/unstable/agents/kiro-cli/descriptor.js.map +1 -0
  218. package/dist/src/unstable/agents/kiro-cli/index.d.ts +8 -0
  219. package/dist/src/unstable/agents/kiro-cli/index.d.ts.map +1 -0
  220. package/dist/src/unstable/agents/kiro-cli/index.js +8 -0
  221. package/dist/src/unstable/agents/kiro-cli/index.js.map +1 -0
  222. package/dist/src/unstable/agents/kiro-cli/service.d.ts +16 -0
  223. package/dist/src/unstable/agents/kiro-cli/service.d.ts.map +1 -0
  224. package/dist/src/unstable/agents/kiro-cli/service.js +73 -0
  225. package/dist/src/unstable/agents/kiro-cli/service.js.map +1 -0
  226. package/dist/src/unstable/agents/kode/descriptor.d.ts +14 -0
  227. package/dist/src/unstable/agents/kode/descriptor.d.ts.map +1 -0
  228. package/dist/src/unstable/agents/kode/descriptor.js +19 -0
  229. package/dist/src/unstable/agents/kode/descriptor.js.map +1 -0
  230. package/dist/src/unstable/agents/kode/index.d.ts +8 -0
  231. package/dist/src/unstable/agents/kode/index.d.ts.map +1 -0
  232. package/dist/src/unstable/agents/kode/index.js +8 -0
  233. package/dist/src/unstable/agents/kode/index.js.map +1 -0
  234. package/dist/src/unstable/agents/mcp-sync.d.ts +46 -0
  235. package/dist/src/unstable/agents/mcp-sync.d.ts.map +1 -0
  236. package/dist/src/unstable/agents/mcp-sync.js +333 -0
  237. package/dist/src/unstable/agents/mcp-sync.js.map +1 -0
  238. package/dist/src/unstable/agents/mcpjam/descriptor.d.ts +14 -0
  239. package/dist/src/unstable/agents/mcpjam/descriptor.d.ts.map +1 -0
  240. package/dist/src/unstable/agents/mcpjam/descriptor.js +19 -0
  241. package/dist/src/unstable/agents/mcpjam/descriptor.js.map +1 -0
  242. package/dist/src/unstable/agents/mcpjam/index.d.ts +8 -0
  243. package/dist/src/unstable/agents/mcpjam/index.d.ts.map +1 -0
  244. package/dist/src/unstable/agents/mcpjam/index.js +8 -0
  245. package/dist/src/unstable/agents/mcpjam/index.js.map +1 -0
  246. package/dist/src/unstable/agents/mistral-vibe/descriptor.d.ts +14 -0
  247. package/dist/src/unstable/agents/mistral-vibe/descriptor.d.ts.map +1 -0
  248. package/dist/src/unstable/agents/mistral-vibe/descriptor.js +19 -0
  249. package/dist/src/unstable/agents/mistral-vibe/descriptor.js.map +1 -0
  250. package/dist/src/unstable/agents/mistral-vibe/index.d.ts +8 -0
  251. package/dist/src/unstable/agents/mistral-vibe/index.d.ts.map +1 -0
  252. package/dist/src/unstable/agents/mistral-vibe/index.js +8 -0
  253. package/dist/src/unstable/agents/mistral-vibe/index.js.map +1 -0
  254. package/dist/src/unstable/agents/mux/descriptor.d.ts +14 -0
  255. package/dist/src/unstable/agents/mux/descriptor.d.ts.map +1 -0
  256. package/dist/src/unstable/agents/mux/descriptor.js +19 -0
  257. package/dist/src/unstable/agents/mux/descriptor.js.map +1 -0
  258. package/dist/src/unstable/agents/mux/index.d.ts +8 -0
  259. package/dist/src/unstable/agents/mux/index.d.ts.map +1 -0
  260. package/dist/src/unstable/agents/mux/index.js +8 -0
  261. package/dist/src/unstable/agents/mux/index.js.map +1 -0
  262. package/dist/src/unstable/agents/neovate/descriptor.d.ts +14 -0
  263. package/dist/src/unstable/agents/neovate/descriptor.d.ts.map +1 -0
  264. package/dist/src/unstable/agents/neovate/descriptor.js +19 -0
  265. package/dist/src/unstable/agents/neovate/descriptor.js.map +1 -0
  266. package/dist/src/unstable/agents/neovate/index.d.ts +8 -0
  267. package/dist/src/unstable/agents/neovate/index.d.ts.map +1 -0
  268. package/dist/src/unstable/agents/neovate/index.js +8 -0
  269. package/dist/src/unstable/agents/neovate/index.js.map +1 -0
  270. package/dist/src/unstable/agents/openclaw/descriptor.d.ts +14 -0
  271. package/dist/src/unstable/agents/openclaw/descriptor.d.ts.map +1 -0
  272. package/dist/src/unstable/agents/openclaw/descriptor.js +19 -0
  273. package/dist/src/unstable/agents/openclaw/descriptor.js.map +1 -0
  274. package/dist/src/unstable/agents/openclaw/index.d.ts +8 -0
  275. package/dist/src/unstable/agents/openclaw/index.d.ts.map +1 -0
  276. package/dist/src/unstable/agents/openclaw/index.js +8 -0
  277. package/dist/src/unstable/agents/openclaw/index.js.map +1 -0
  278. package/dist/src/unstable/agents/opencode/descriptor.d.ts +14 -0
  279. package/dist/src/unstable/agents/opencode/descriptor.d.ts.map +1 -0
  280. package/dist/src/unstable/agents/opencode/descriptor.js +25 -0
  281. package/dist/src/unstable/agents/opencode/descriptor.js.map +1 -0
  282. package/dist/src/unstable/agents/opencode/index.d.ts +9 -0
  283. package/dist/src/unstable/agents/opencode/index.d.ts.map +1 -0
  284. package/dist/src/unstable/agents/opencode/index.js +9 -0
  285. package/dist/src/unstable/agents/opencode/index.js.map +1 -0
  286. package/dist/src/unstable/agents/opencode/service.d.ts +13 -0
  287. package/dist/src/unstable/agents/opencode/service.d.ts.map +1 -0
  288. package/dist/src/unstable/agents/opencode/service.js +27 -0
  289. package/dist/src/unstable/agents/opencode/service.js.map +1 -0
  290. package/dist/src/unstable/agents/openhands/descriptor.d.ts +14 -0
  291. package/dist/src/unstable/agents/openhands/descriptor.d.ts.map +1 -0
  292. package/dist/src/unstable/agents/openhands/descriptor.js +19 -0
  293. package/dist/src/unstable/agents/openhands/descriptor.js.map +1 -0
  294. package/dist/src/unstable/agents/openhands/index.d.ts +8 -0
  295. package/dist/src/unstable/agents/openhands/index.d.ts.map +1 -0
  296. package/dist/src/unstable/agents/openhands/index.js +8 -0
  297. package/dist/src/unstable/agents/openhands/index.js.map +1 -0
  298. package/dist/src/unstable/agents/pi/descriptor.d.ts +14 -0
  299. package/dist/src/unstable/agents/pi/descriptor.d.ts.map +1 -0
  300. package/dist/src/unstable/agents/pi/descriptor.js +19 -0
  301. package/dist/src/unstable/agents/pi/descriptor.js.map +1 -0
  302. package/dist/src/unstable/agents/pi/index.d.ts +8 -0
  303. package/dist/src/unstable/agents/pi/index.d.ts.map +1 -0
  304. package/dist/src/unstable/agents/pi/index.js +8 -0
  305. package/dist/src/unstable/agents/pi/index.js.map +1 -0
  306. package/dist/src/unstable/agents/pochi/descriptor.d.ts +14 -0
  307. package/dist/src/unstable/agents/pochi/descriptor.d.ts.map +1 -0
  308. package/dist/src/unstable/agents/pochi/descriptor.js +19 -0
  309. package/dist/src/unstable/agents/pochi/descriptor.js.map +1 -0
  310. package/dist/src/unstable/agents/pochi/index.d.ts +8 -0
  311. package/dist/src/unstable/agents/pochi/index.d.ts.map +1 -0
  312. package/dist/src/unstable/agents/pochi/index.js +8 -0
  313. package/dist/src/unstable/agents/pochi/index.js.map +1 -0
  314. package/dist/src/unstable/agents/project-only-agent.d.ts +48 -0
  315. package/dist/src/unstable/agents/project-only-agent.d.ts.map +1 -0
  316. package/dist/src/unstable/agents/project-only-agent.js +81 -0
  317. package/dist/src/unstable/agents/project-only-agent.js.map +1 -0
  318. package/dist/src/unstable/agents/qoder/descriptor.d.ts +14 -0
  319. package/dist/src/unstable/agents/qoder/descriptor.d.ts.map +1 -0
  320. package/dist/src/unstable/agents/qoder/descriptor.js +19 -0
  321. package/dist/src/unstable/agents/qoder/descriptor.js.map +1 -0
  322. package/dist/src/unstable/agents/qoder/index.d.ts +8 -0
  323. package/dist/src/unstable/agents/qoder/index.d.ts.map +1 -0
  324. package/dist/src/unstable/agents/qoder/index.js +8 -0
  325. package/dist/src/unstable/agents/qoder/index.js.map +1 -0
  326. package/dist/src/unstable/agents/qwen-code/descriptor.d.ts +14 -0
  327. package/dist/src/unstable/agents/qwen-code/descriptor.d.ts.map +1 -0
  328. package/dist/src/unstable/agents/qwen-code/descriptor.js +19 -0
  329. package/dist/src/unstable/agents/qwen-code/descriptor.js.map +1 -0
  330. package/dist/src/unstable/agents/qwen-code/index.d.ts +8 -0
  331. package/dist/src/unstable/agents/qwen-code/index.d.ts.map +1 -0
  332. package/dist/src/unstable/agents/qwen-code/index.js +8 -0
  333. package/dist/src/unstable/agents/qwen-code/index.js.map +1 -0
  334. package/dist/src/unstable/agents/registry.d.ts +72 -0
  335. package/dist/src/unstable/agents/registry.d.ts.map +1 -0
  336. package/dist/src/unstable/agents/registry.js +152 -0
  337. package/dist/src/unstable/agents/registry.js.map +1 -0
  338. package/dist/src/unstable/agents/replit/descriptor.d.ts +16 -0
  339. package/dist/src/unstable/agents/replit/descriptor.d.ts.map +1 -0
  340. package/dist/src/unstable/agents/replit/descriptor.js +21 -0
  341. package/dist/src/unstable/agents/replit/descriptor.js.map +1 -0
  342. package/dist/src/unstable/agents/replit/index.d.ts +8 -0
  343. package/dist/src/unstable/agents/replit/index.d.ts.map +1 -0
  344. package/dist/src/unstable/agents/replit/index.js +8 -0
  345. package/dist/src/unstable/agents/replit/index.js.map +1 -0
  346. package/dist/src/unstable/agents/repository.d.ts +10 -0
  347. package/dist/src/unstable/agents/repository.d.ts.map +1 -0
  348. package/dist/src/unstable/agents/repository.js +119 -0
  349. package/dist/src/unstable/agents/repository.js.map +1 -0
  350. package/dist/src/unstable/agents/roo/descriptor.d.ts +14 -0
  351. package/dist/src/unstable/agents/roo/descriptor.d.ts.map +1 -0
  352. package/dist/src/unstable/agents/roo/descriptor.js +26 -0
  353. package/dist/src/unstable/agents/roo/descriptor.js.map +1 -0
  354. package/dist/src/unstable/agents/roo/index.d.ts +8 -0
  355. package/dist/src/unstable/agents/roo/index.d.ts.map +1 -0
  356. package/dist/src/unstable/agents/roo/index.js +8 -0
  357. package/dist/src/unstable/agents/roo/index.js.map +1 -0
  358. package/dist/src/unstable/agents/roo/service.d.ts +14 -0
  359. package/dist/src/unstable/agents/roo/service.d.ts.map +1 -0
  360. package/dist/src/unstable/agents/roo/service.js +90 -0
  361. package/dist/src/unstable/agents/roo/service.js.map +1 -0
  362. package/dist/src/unstable/agents/subagent-detection.d.ts +74 -0
  363. package/dist/src/unstable/agents/subagent-detection.d.ts.map +1 -0
  364. package/dist/src/unstable/agents/subagent-detection.js +85 -0
  365. package/dist/src/unstable/agents/subagent-detection.js.map +1 -0
  366. package/dist/src/unstable/agents/subagent-sync.d.ts +56 -0
  367. package/dist/src/unstable/agents/subagent-sync.d.ts.map +1 -0
  368. package/dist/src/unstable/agents/subagent-sync.js +240 -0
  369. package/dist/src/unstable/agents/subagent-sync.js.map +1 -0
  370. package/dist/src/unstable/agents/trae/descriptor.d.ts +14 -0
  371. package/dist/src/unstable/agents/trae/descriptor.d.ts.map +1 -0
  372. package/dist/src/unstable/agents/trae/descriptor.js +19 -0
  373. package/dist/src/unstable/agents/trae/descriptor.js.map +1 -0
  374. package/dist/src/unstable/agents/trae/index.d.ts +8 -0
  375. package/dist/src/unstable/agents/trae/index.d.ts.map +1 -0
  376. package/dist/src/unstable/agents/trae/index.js +8 -0
  377. package/dist/src/unstable/agents/trae/index.js.map +1 -0
  378. package/dist/src/unstable/agents/trae-cn/descriptor.d.ts +14 -0
  379. package/dist/src/unstable/agents/trae-cn/descriptor.d.ts.map +1 -0
  380. package/dist/src/unstable/agents/trae-cn/descriptor.js +19 -0
  381. package/dist/src/unstable/agents/trae-cn/descriptor.js.map +1 -0
  382. package/dist/src/unstable/agents/trae-cn/index.d.ts +8 -0
  383. package/dist/src/unstable/agents/trae-cn/index.d.ts.map +1 -0
  384. package/dist/src/unstable/agents/trae-cn/index.js +8 -0
  385. package/dist/src/unstable/agents/trae-cn/index.js.map +1 -0
  386. package/dist/src/unstable/agents/types.d.ts +75 -0
  387. package/dist/src/unstable/agents/types.d.ts.map +1 -0
  388. package/dist/src/unstable/agents/types.js +60 -0
  389. package/dist/src/unstable/agents/types.js.map +1 -0
  390. package/dist/src/unstable/agents/windsurf/descriptor.d.ts +14 -0
  391. package/dist/src/unstable/agents/windsurf/descriptor.d.ts.map +1 -0
  392. package/dist/src/unstable/agents/windsurf/descriptor.js +19 -0
  393. package/dist/src/unstable/agents/windsurf/descriptor.js.map +1 -0
  394. package/dist/src/unstable/agents/windsurf/index.d.ts +8 -0
  395. package/dist/src/unstable/agents/windsurf/index.d.ts.map +1 -0
  396. package/dist/src/unstable/agents/windsurf/index.js +8 -0
  397. package/dist/src/unstable/agents/windsurf/index.js.map +1 -0
  398. package/dist/src/unstable/agents/zencoder/descriptor.d.ts +14 -0
  399. package/dist/src/unstable/agents/zencoder/descriptor.d.ts.map +1 -0
  400. package/dist/src/unstable/agents/zencoder/descriptor.js +19 -0
  401. package/dist/src/unstable/agents/zencoder/descriptor.js.map +1 -0
  402. package/dist/src/unstable/agents/zencoder/index.d.ts +8 -0
  403. package/dist/src/unstable/agents/zencoder/index.d.ts.map +1 -0
  404. package/dist/src/unstable/agents/zencoder/index.js +8 -0
  405. package/dist/src/unstable/agents/zencoder/index.js.map +1 -0
  406. package/dist/src/unstable/app-error/app-error.d.ts +21 -0
  407. package/dist/src/unstable/app-error/app-error.d.ts.map +1 -0
  408. package/dist/src/unstable/app-error/app-error.js +12 -0
  409. package/dist/src/unstable/app-error/app-error.js.map +1 -0
  410. package/dist/src/unstable/app-error/index.d.ts +3 -0
  411. package/dist/src/unstable/app-error/index.d.ts.map +1 -0
  412. package/dist/src/unstable/app-error/index.js +3 -0
  413. package/dist/src/unstable/app-error/index.js.map +1 -0
  414. package/dist/src/unstable/app-error/render.d.ts +7 -0
  415. package/dist/src/unstable/app-error/render.d.ts.map +1 -0
  416. package/dist/src/unstable/app-error/render.js +78 -0
  417. package/dist/src/unstable/app-error/render.js.map +1 -0
  418. package/dist/src/unstable/auth/auth-client.d.ts +73 -0
  419. package/dist/src/unstable/auth/auth-client.d.ts.map +1 -0
  420. package/dist/src/unstable/auth/auth-client.js +284 -0
  421. package/dist/src/unstable/auth/auth-client.js.map +1 -0
  422. package/dist/src/unstable/auth/auth-middleware.d.ts +28 -0
  423. package/dist/src/unstable/auth/auth-middleware.d.ts.map +1 -0
  424. package/dist/src/unstable/auth/auth-middleware.js +62 -0
  425. package/dist/src/unstable/auth/auth-middleware.js.map +1 -0
  426. package/dist/src/unstable/auth/credential-store.d.ts +61 -0
  427. package/dist/src/unstable/auth/credential-store.d.ts.map +1 -0
  428. package/dist/src/unstable/auth/credential-store.js +262 -0
  429. package/dist/src/unstable/auth/credential-store.js.map +1 -0
  430. package/dist/src/unstable/auth/device-login.d.ts +32 -0
  431. package/dist/src/unstable/auth/device-login.d.ts.map +1 -0
  432. package/dist/src/unstable/auth/device-login.js +88 -0
  433. package/dist/src/unstable/auth/device-login.js.map +1 -0
  434. package/dist/src/unstable/auth/guard-interaction.d.ts +26 -0
  435. package/dist/src/unstable/auth/guard-interaction.d.ts.map +1 -0
  436. package/dist/src/unstable/auth/guard-interaction.js +35 -0
  437. package/dist/src/unstable/auth/guard-interaction.js.map +1 -0
  438. package/dist/src/unstable/auth/guard.d.ts +23 -0
  439. package/dist/src/unstable/auth/guard.d.ts.map +1 -0
  440. package/dist/src/unstable/auth/guard.js +64 -0
  441. package/dist/src/unstable/auth/guard.js.map +1 -0
  442. package/dist/src/unstable/auth/index.d.ts +27 -0
  443. package/dist/src/unstable/auth/index.d.ts.map +1 -0
  444. package/dist/src/unstable/auth/index.js +23 -0
  445. package/dist/src/unstable/auth/index.js.map +1 -0
  446. package/dist/src/unstable/auth/login-interaction.d.ts +34 -0
  447. package/dist/src/unstable/auth/login-interaction.d.ts.map +1 -0
  448. package/dist/src/unstable/auth/login-interaction.js +93 -0
  449. package/dist/src/unstable/auth/login-interaction.js.map +1 -0
  450. package/dist/src/unstable/auth/oauth-contract.d.ts +6 -0
  451. package/dist/src/unstable/auth/oauth-contract.d.ts.map +1 -0
  452. package/dist/src/unstable/auth/oauth-contract.js +2 -0
  453. package/dist/src/unstable/auth/oauth-contract.js.map +1 -0
  454. package/dist/src/unstable/auth/registry-url.d.ts +14 -0
  455. package/dist/src/unstable/auth/registry-url.d.ts.map +1 -0
  456. package/dist/src/unstable/auth/registry-url.js +12 -0
  457. package/dist/src/unstable/auth/registry-url.js.map +1 -0
  458. package/dist/src/unstable/auth/schema.d.ts +70 -0
  459. package/dist/src/unstable/auth/schema.d.ts.map +1 -0
  460. package/dist/src/unstable/auth/schema.js +53 -0
  461. package/dist/src/unstable/auth/schema.js.map +1 -0
  462. package/dist/src/unstable/auth/token-resolution.d.ts +67 -0
  463. package/dist/src/unstable/auth/token-resolution.d.ts.map +1 -0
  464. package/dist/src/unstable/auth/token-resolution.js +149 -0
  465. package/dist/src/unstable/auth/token-resolution.js.map +1 -0
  466. package/dist/src/unstable/cli/prompt/autocomplete-multiselect.d.ts +16 -0
  467. package/dist/src/unstable/cli/prompt/autocomplete-multiselect.d.ts.map +1 -0
  468. package/dist/src/unstable/cli/prompt/autocomplete-multiselect.js +239 -0
  469. package/dist/src/unstable/cli/prompt/autocomplete-multiselect.js.map +1 -0
  470. package/dist/src/unstable/cli/prompt/group-multiselect.d.ts +22 -0
  471. package/dist/src/unstable/cli/prompt/group-multiselect.d.ts.map +1 -0
  472. package/dist/src/unstable/cli/prompt/group-multiselect.js +245 -0
  473. package/dist/src/unstable/cli/prompt/group-multiselect.js.map +1 -0
  474. package/dist/src/unstable/cli/prompt/helpers.d.ts +11 -0
  475. package/dist/src/unstable/cli/prompt/helpers.d.ts.map +1 -0
  476. package/dist/src/unstable/cli/prompt/helpers.js +26 -0
  477. package/dist/src/unstable/cli/prompt/helpers.js.map +1 -0
  478. package/dist/src/unstable/cli/prompt/index.d.ts +10 -0
  479. package/dist/src/unstable/cli/prompt/index.d.ts.map +1 -0
  480. package/dist/src/unstable/cli/prompt/index.js +13 -0
  481. package/dist/src/unstable/cli/prompt/index.js.map +1 -0
  482. package/dist/src/unstable/cli/prompt/select-key.d.ts +14 -0
  483. package/dist/src/unstable/cli/prompt/select-key.d.ts.map +1 -0
  484. package/dist/src/unstable/cli/prompt/select-key.js +38 -0
  485. package/dist/src/unstable/cli/prompt/select-key.js.map +1 -0
  486. package/dist/src/unstable/cli-flags/index.d.ts +22 -0
  487. package/dist/src/unstable/cli-flags/index.d.ts.map +1 -0
  488. package/dist/src/unstable/cli-flags/index.js +51 -0
  489. package/dist/src/unstable/cli-flags/index.js.map +1 -0
  490. package/dist/src/unstable/cli-flags/non-interactive.d.ts +24 -0
  491. package/dist/src/unstable/cli-flags/non-interactive.d.ts.map +1 -0
  492. package/dist/src/unstable/cli-flags/non-interactive.js +31 -0
  493. package/dist/src/unstable/cli-flags/non-interactive.js.map +1 -0
  494. package/dist/src/unstable/cli-flags/resolve-verbosity.d.ts +7 -0
  495. package/dist/src/unstable/cli-flags/resolve-verbosity.d.ts.map +1 -0
  496. package/dist/src/unstable/cli-flags/resolve-verbosity.js +17 -0
  497. package/dist/src/unstable/cli-flags/resolve-verbosity.js.map +1 -0
  498. package/dist/src/unstable/cli-flags/verbosity-helpers.d.ts +7 -0
  499. package/dist/src/unstable/cli-flags/verbosity-helpers.d.ts.map +1 -0
  500. package/dist/src/unstable/cli-flags/verbosity-helpers.js +22 -0
  501. package/dist/src/unstable/cli-flags/verbosity-helpers.js.map +1 -0
  502. package/dist/src/unstable/cli-flags/verbosity.d.ts +20 -0
  503. package/dist/src/unstable/cli-flags/verbosity.d.ts.map +1 -0
  504. package/dist/src/unstable/cli-flags/verbosity.js +27 -0
  505. package/dist/src/unstable/cli-flags/verbosity.js.map +1 -0
  506. package/dist/src/unstable/cli-prompt/prompt-cancelled.d.ts +9 -0
  507. package/dist/src/unstable/cli-prompt/prompt-cancelled.d.ts.map +1 -0
  508. package/dist/src/unstable/cli-prompt/prompt-cancelled.js +4 -0
  509. package/dist/src/unstable/cli-prompt/prompt-cancelled.js.map +1 -0
  510. package/dist/src/unstable/cli-renderer/ansi-chrome.d.ts +27 -0
  511. package/dist/src/unstable/cli-renderer/ansi-chrome.d.ts.map +1 -0
  512. package/dist/src/unstable/cli-renderer/ansi-chrome.js +274 -0
  513. package/dist/src/unstable/cli-renderer/ansi-chrome.js.map +1 -0
  514. package/dist/src/unstable/cli-renderer/cli-renderer-interactive.d.ts +4 -0
  515. package/dist/src/unstable/cli-renderer/cli-renderer-interactive.d.ts.map +1 -0
  516. package/dist/src/unstable/cli-renderer/cli-renderer-interactive.js +256 -0
  517. package/dist/src/unstable/cli-renderer/cli-renderer-interactive.js.map +1 -0
  518. package/dist/src/unstable/cli-renderer/cli-renderer-machine.d.ts +4 -0
  519. package/dist/src/unstable/cli-renderer/cli-renderer-machine.d.ts.map +1 -0
  520. package/dist/src/unstable/cli-renderer/cli-renderer-machine.js +240 -0
  521. package/dist/src/unstable/cli-renderer/cli-renderer-machine.js.map +1 -0
  522. package/dist/src/unstable/cli-renderer/cli-renderer-test.d.ts +60 -0
  523. package/dist/src/unstable/cli-renderer/cli-renderer-test.d.ts.map +1 -0
  524. package/dist/src/unstable/cli-renderer/cli-renderer-test.js +338 -0
  525. package/dist/src/unstable/cli-renderer/cli-renderer-test.js.map +1 -0
  526. package/dist/src/unstable/cli-renderer/cli-renderer.d.ts +148 -0
  527. package/dist/src/unstable/cli-renderer/cli-renderer.d.ts.map +1 -0
  528. package/dist/src/unstable/cli-renderer/cli-renderer.js +7 -0
  529. package/dist/src/unstable/cli-renderer/cli-renderer.js.map +1 -0
  530. package/dist/src/unstable/cli-renderer/command-output.d.ts +4 -0
  531. package/dist/src/unstable/cli-renderer/command-output.d.ts.map +1 -0
  532. package/dist/src/unstable/cli-renderer/command-output.js +33 -0
  533. package/dist/src/unstable/cli-renderer/command-output.js.map +1 -0
  534. package/dist/src/unstable/cli-renderer/index.d.ts +6 -0
  535. package/dist/src/unstable/cli-renderer/index.d.ts.map +1 -0
  536. package/dist/src/unstable/cli-renderer/index.js +6 -0
  537. package/dist/src/unstable/cli-renderer/index.js.map +1 -0
  538. package/dist/src/unstable/cli-runtime/command-argv.d.ts +14 -0
  539. package/dist/src/unstable/cli-runtime/command-argv.d.ts.map +1 -0
  540. package/dist/src/unstable/cli-runtime/command-argv.js +46 -0
  541. package/dist/src/unstable/cli-runtime/command-argv.js.map +1 -0
  542. package/dist/src/unstable/cli-runtime/command-document.d.ts +12 -0
  543. package/dist/src/unstable/cli-runtime/command-document.d.ts.map +1 -0
  544. package/dist/src/unstable/cli-runtime/command-document.js +13 -0
  545. package/dist/src/unstable/cli-runtime/command-document.js.map +1 -0
  546. package/dist/src/unstable/cli-runtime/command-summary.d.ts +19 -0
  547. package/dist/src/unstable/cli-runtime/command-summary.d.ts.map +1 -0
  548. package/dist/src/unstable/cli-runtime/command-summary.js +31 -0
  549. package/dist/src/unstable/cli-runtime/command-summary.js.map +1 -0
  550. package/dist/src/unstable/cli-runtime/effect-cli-builtins.d.ts +3 -0
  551. package/dist/src/unstable/cli-runtime/effect-cli-builtins.d.ts.map +1 -0
  552. package/dist/src/unstable/cli-runtime/effect-cli-builtins.js +8 -0
  553. package/dist/src/unstable/cli-runtime/effect-cli-builtins.js.map +1 -0
  554. package/dist/src/unstable/cli-runtime/effect-cli-exit.d.ts +11 -0
  555. package/dist/src/unstable/cli-runtime/effect-cli-exit.d.ts.map +1 -0
  556. package/dist/src/unstable/cli-runtime/effect-cli-exit.js +18 -0
  557. package/dist/src/unstable/cli-runtime/effect-cli-exit.js.map +1 -0
  558. package/dist/src/unstable/cli-runtime/graceful-shutdown.d.ts +10 -0
  559. package/dist/src/unstable/cli-runtime/graceful-shutdown.d.ts.map +1 -0
  560. package/dist/src/unstable/cli-runtime/graceful-shutdown.js +26 -0
  561. package/dist/src/unstable/cli-runtime/graceful-shutdown.js.map +1 -0
  562. package/dist/src/unstable/cli-runtime/handle-error.d.ts +33 -0
  563. package/dist/src/unstable/cli-runtime/handle-error.d.ts.map +1 -0
  564. package/dist/src/unstable/cli-runtime/handle-error.js +87 -0
  565. package/dist/src/unstable/cli-runtime/handle-error.js.map +1 -0
  566. package/dist/src/unstable/cli-runtime/index.d.ts +16 -0
  567. package/dist/src/unstable/cli-runtime/index.d.ts.map +1 -0
  568. package/dist/src/unstable/cli-runtime/index.js +15 -0
  569. package/dist/src/unstable/cli-runtime/index.js.map +1 -0
  570. package/dist/src/unstable/cli-runtime/json-envelope.d.ts +23 -0
  571. package/dist/src/unstable/cli-runtime/json-envelope.d.ts.map +1 -0
  572. package/dist/src/unstable/cli-runtime/json-envelope.js +34 -0
  573. package/dist/src/unstable/cli-runtime/json-envelope.js.map +1 -0
  574. package/dist/src/unstable/cli-runtime/output-mode.d.ts +32 -0
  575. package/dist/src/unstable/cli-runtime/output-mode.d.ts.map +1 -0
  576. package/dist/src/unstable/cli-runtime/output-mode.js +59 -0
  577. package/dist/src/unstable/cli-runtime/output-mode.js.map +1 -0
  578. package/dist/src/unstable/cli-runtime/resolve-format.d.ts +15 -0
  579. package/dist/src/unstable/cli-runtime/resolve-format.d.ts.map +1 -0
  580. package/dist/src/unstable/cli-runtime/resolve-format.js +17 -0
  581. package/dist/src/unstable/cli-runtime/resolve-format.js.map +1 -0
  582. package/dist/src/unstable/cli-runtime/run-cli-main.d.ts +14 -0
  583. package/dist/src/unstable/cli-runtime/run-cli-main.d.ts.map +1 -0
  584. package/dist/src/unstable/cli-runtime/run-cli-main.js +24 -0
  585. package/dist/src/unstable/cli-runtime/run-cli-main.js.map +1 -0
  586. package/dist/src/unstable/cli-runtime/runtime-envelope.d.ts +44 -0
  587. package/dist/src/unstable/cli-runtime/runtime-envelope.d.ts.map +1 -0
  588. package/dist/src/unstable/cli-runtime/runtime-envelope.js +158 -0
  589. package/dist/src/unstable/cli-runtime/runtime-envelope.js.map +1 -0
  590. package/dist/src/unstable/cli-runtime/telemetry-layer.d.ts +9 -0
  591. package/dist/src/unstable/cli-runtime/telemetry-layer.d.ts.map +1 -0
  592. package/dist/src/unstable/cli-runtime/telemetry-layer.js +7 -0
  593. package/dist/src/unstable/cli-runtime/telemetry-layer.js.map +1 -0
  594. package/dist/src/unstable/cli-runtime/telemetry.d.ts +52 -0
  595. package/dist/src/unstable/cli-runtime/telemetry.d.ts.map +1 -0
  596. package/dist/src/unstable/cli-runtime/telemetry.js +107 -0
  597. package/dist/src/unstable/cli-runtime/telemetry.js.map +1 -0
  598. package/dist/src/unstable/commands/command-argument.d.ts +27 -0
  599. package/dist/src/unstable/commands/command-argument.d.ts.map +1 -0
  600. package/dist/src/unstable/commands/command-argument.js +25 -0
  601. package/dist/src/unstable/commands/command-argument.js.map +1 -0
  602. package/dist/src/unstable/commands/command-content.d.ts +87 -0
  603. package/dist/src/unstable/commands/command-content.d.ts.map +1 -0
  604. package/dist/src/unstable/commands/command-content.js +88 -0
  605. package/dist/src/unstable/commands/command-content.js.map +1 -0
  606. package/dist/src/unstable/commands/index.d.ts +24 -0
  607. package/dist/src/unstable/commands/index.d.ts.map +1 -0
  608. package/dist/src/unstable/commands/index.js +19 -0
  609. package/dist/src/unstable/commands/index.js.map +1 -0
  610. package/dist/src/unstable/commands/manager.d.ts +27 -0
  611. package/dist/src/unstable/commands/manager.d.ts.map +1 -0
  612. package/dist/src/unstable/commands/manager.js +313 -0
  613. package/dist/src/unstable/commands/manager.js.map +1 -0
  614. package/dist/src/unstable/commands/manifest-schema.d.ts +59 -0
  615. package/dist/src/unstable/commands/manifest-schema.d.ts.map +1 -0
  616. package/dist/src/unstable/commands/manifest-schema.js +40 -0
  617. package/dist/src/unstable/commands/manifest-schema.js.map +1 -0
  618. package/dist/src/unstable/commands/operations/disable.d.ts +38 -0
  619. package/dist/src/unstable/commands/operations/disable.d.ts.map +1 -0
  620. package/dist/src/unstable/commands/operations/disable.js +106 -0
  621. package/dist/src/unstable/commands/operations/disable.js.map +1 -0
  622. package/dist/src/unstable/commands/operations/enable.d.ts +39 -0
  623. package/dist/src/unstable/commands/operations/enable.d.ts.map +1 -0
  624. package/dist/src/unstable/commands/operations/enable.js +120 -0
  625. package/dist/src/unstable/commands/operations/enable.js.map +1 -0
  626. package/dist/src/unstable/commands/operations/install.d.ts +47 -0
  627. package/dist/src/unstable/commands/operations/install.d.ts.map +1 -0
  628. package/dist/src/unstable/commands/operations/install.js +235 -0
  629. package/dist/src/unstable/commands/operations/install.js.map +1 -0
  630. package/dist/src/unstable/commands/operations/new-command.d.ts +38 -0
  631. package/dist/src/unstable/commands/operations/new-command.d.ts.map +1 -0
  632. package/dist/src/unstable/commands/operations/new-command.js +87 -0
  633. package/dist/src/unstable/commands/operations/new-command.js.map +1 -0
  634. package/dist/src/unstable/commands/operations/publish.d.ts +41 -0
  635. package/dist/src/unstable/commands/operations/publish.d.ts.map +1 -0
  636. package/dist/src/unstable/commands/operations/publish.js +120 -0
  637. package/dist/src/unstable/commands/operations/publish.js.map +1 -0
  638. package/dist/src/unstable/commands/operations/shared-command-helpers.d.ts +133 -0
  639. package/dist/src/unstable/commands/operations/shared-command-helpers.d.ts.map +1 -0
  640. package/dist/src/unstable/commands/operations/shared-command-helpers.js +172 -0
  641. package/dist/src/unstable/commands/operations/shared-command-helpers.js.map +1 -0
  642. package/dist/src/unstable/commands/operations/uninstall.d.ts +37 -0
  643. package/dist/src/unstable/commands/operations/uninstall.d.ts.map +1 -0
  644. package/dist/src/unstable/commands/operations/uninstall.js +108 -0
  645. package/dist/src/unstable/commands/operations/uninstall.js.map +1 -0
  646. package/dist/src/unstable/commands/reconciliation-adapter.d.ts +3 -0
  647. package/dist/src/unstable/commands/reconciliation-adapter.d.ts.map +1 -0
  648. package/dist/src/unstable/commands/reconciliation-adapter.js +145 -0
  649. package/dist/src/unstable/commands/reconciliation-adapter.js.map +1 -0
  650. package/dist/src/unstable/commands/refs.d.ts +17 -0
  651. package/dist/src/unstable/commands/refs.d.ts.map +1 -0
  652. package/dist/src/unstable/commands/refs.js +8 -0
  653. package/dist/src/unstable/commands/refs.js.map +1 -0
  654. package/dist/src/unstable/commands/registry-ref-builder.d.ts +7 -0
  655. package/dist/src/unstable/commands/registry-ref-builder.d.ts.map +1 -0
  656. package/dist/src/unstable/commands/registry-ref-builder.js +13 -0
  657. package/dist/src/unstable/commands/registry-ref-builder.js.map +1 -0
  658. package/dist/src/unstable/commands/renderers/index.d.ts +30 -0
  659. package/dist/src/unstable/commands/renderers/index.d.ts.map +1 -0
  660. package/dist/src/unstable/commands/renderers/index.js +43 -0
  661. package/dist/src/unstable/commands/renderers/index.js.map +1 -0
  662. package/dist/src/unstable/commands/renderers/render-markdown-only.d.ts +19 -0
  663. package/dist/src/unstable/commands/renderers/render-markdown-only.d.ts.map +1 -0
  664. package/dist/src/unstable/commands/renderers/render-markdown-only.js +57 -0
  665. package/dist/src/unstable/commands/renderers/render-markdown-only.js.map +1 -0
  666. package/dist/src/unstable/commands/renderers/render-markdown-with-frontmatter.d.ts +16 -0
  667. package/dist/src/unstable/commands/renderers/render-markdown-with-frontmatter.d.ts.map +1 -0
  668. package/dist/src/unstable/commands/renderers/render-markdown-with-frontmatter.js +72 -0
  669. package/dist/src/unstable/commands/renderers/render-markdown-with-frontmatter.js.map +1 -0
  670. package/dist/src/unstable/commands/renderers/render-plain-text.d.ts +20 -0
  671. package/dist/src/unstable/commands/renderers/render-plain-text.d.ts.map +1 -0
  672. package/dist/src/unstable/commands/renderers/render-plain-text.js +66 -0
  673. package/dist/src/unstable/commands/renderers/render-plain-text.js.map +1 -0
  674. package/dist/src/unstable/commands/renderers/render-prompt-md.d.ts +19 -0
  675. package/dist/src/unstable/commands/renderers/render-prompt-md.d.ts.map +1 -0
  676. package/dist/src/unstable/commands/renderers/render-prompt-md.js +67 -0
  677. package/dist/src/unstable/commands/renderers/render-prompt-md.js.map +1 -0
  678. package/dist/src/unstable/commands/renderers/render-toml.d.ts +19 -0
  679. package/dist/src/unstable/commands/renderers/render-toml.d.ts.map +1 -0
  680. package/dist/src/unstable/commands/renderers/render-toml.js +77 -0
  681. package/dist/src/unstable/commands/renderers/render-toml.js.map +1 -0
  682. package/dist/src/unstable/commands/renderers/types.d.ts +74 -0
  683. package/dist/src/unstable/commands/renderers/types.d.ts.map +1 -0
  684. package/dist/src/unstable/commands/renderers/types.js +11 -0
  685. package/dist/src/unstable/commands/renderers/types.js.map +1 -0
  686. package/dist/src/unstable/commands/rendering-warnings.d.ts +43 -0
  687. package/dist/src/unstable/commands/rendering-warnings.d.ts.map +1 -0
  688. package/dist/src/unstable/commands/rendering-warnings.js +36 -0
  689. package/dist/src/unstable/commands/rendering-warnings.js.map +1 -0
  690. package/dist/src/unstable/commands/variable-substitution.d.ts +76 -0
  691. package/dist/src/unstable/commands/variable-substitution.d.ts.map +1 -0
  692. package/dist/src/unstable/commands/variable-substitution.js +176 -0
  693. package/dist/src/unstable/commands/variable-substitution.js.map +1 -0
  694. package/dist/src/unstable/date-time.d.ts +4 -0
  695. package/dist/src/unstable/date-time.d.ts.map +1 -0
  696. package/dist/src/unstable/date-time.js +20 -0
  697. package/dist/src/unstable/date-time.js.map +1 -0
  698. package/dist/src/unstable/discover/discover.d.ts +38 -0
  699. package/dist/src/unstable/discover/discover.d.ts.map +1 -0
  700. package/dist/src/unstable/discover/discover.js +179 -0
  701. package/dist/src/unstable/discover/discover.js.map +1 -0
  702. package/dist/src/unstable/discover/index.d.ts +8 -0
  703. package/dist/src/unstable/discover/index.d.ts.map +1 -0
  704. package/dist/src/unstable/discover/index.js +8 -0
  705. package/dist/src/unstable/discover/index.js.map +1 -0
  706. package/dist/src/unstable/extensions/common.d.ts +184 -0
  707. package/dist/src/unstable/extensions/common.d.ts.map +1 -0
  708. package/dist/src/unstable/extensions/common.js +283 -0
  709. package/dist/src/unstable/extensions/common.js.map +1 -0
  710. package/dist/src/unstable/extensions/conflict-detection.d.ts +40 -0
  711. package/dist/src/unstable/extensions/conflict-detection.d.ts.map +1 -0
  712. package/dist/src/unstable/extensions/conflict-detection.js +49 -0
  713. package/dist/src/unstable/extensions/conflict-detection.js.map +1 -0
  714. package/dist/src/unstable/extensions/constants.d.ts +8 -0
  715. package/dist/src/unstable/extensions/constants.d.ts.map +1 -0
  716. package/dist/src/unstable/extensions/constants.js +8 -0
  717. package/dist/src/unstable/extensions/constants.js.map +1 -0
  718. package/dist/src/unstable/extensions/fqn.d.ts +32 -0
  719. package/dist/src/unstable/extensions/fqn.d.ts.map +1 -0
  720. package/dist/src/unstable/extensions/fqn.js +46 -0
  721. package/dist/src/unstable/extensions/fqn.js.map +1 -0
  722. package/dist/src/unstable/extensions/frontmatter.d.ts +39 -0
  723. package/dist/src/unstable/extensions/frontmatter.d.ts.map +1 -0
  724. package/dist/src/unstable/extensions/frontmatter.js +71 -0
  725. package/dist/src/unstable/extensions/frontmatter.js.map +1 -0
  726. package/dist/src/unstable/extensions/handle.d.ts +16 -0
  727. package/dist/src/unstable/extensions/handle.d.ts.map +1 -0
  728. package/dist/src/unstable/extensions/handle.js +30 -0
  729. package/dist/src/unstable/extensions/handle.js.map +1 -0
  730. package/dist/src/unstable/extensions/index.d.ts +22 -0
  731. package/dist/src/unstable/extensions/index.d.ts.map +1 -0
  732. package/dist/src/unstable/extensions/index.js +30 -0
  733. package/dist/src/unstable/extensions/index.js.map +1 -0
  734. package/dist/src/unstable/extensions/installable-types.d.ts +13 -0
  735. package/dist/src/unstable/extensions/installable-types.d.ts.map +1 -0
  736. package/dist/src/unstable/extensions/installable-types.js +46 -0
  737. package/dist/src/unstable/extensions/installable-types.js.map +1 -0
  738. package/dist/src/unstable/extensions/managed-marker.d.ts +42 -0
  739. package/dist/src/unstable/extensions/managed-marker.d.ts.map +1 -0
  740. package/dist/src/unstable/extensions/managed-marker.js +60 -0
  741. package/dist/src/unstable/extensions/managed-marker.js.map +1 -0
  742. package/dist/src/unstable/extensions/operations.d.ts +82 -0
  743. package/dist/src/unstable/extensions/operations.d.ts.map +1 -0
  744. package/dist/src/unstable/extensions/operations.js +152 -0
  745. package/dist/src/unstable/extensions/operations.js.map +1 -0
  746. package/dist/src/unstable/extensions/reconciliation-utils.d.ts +38 -0
  747. package/dist/src/unstable/extensions/reconciliation-utils.d.ts.map +1 -0
  748. package/dist/src/unstable/extensions/reconciliation-utils.js +57 -0
  749. package/dist/src/unstable/extensions/reconciliation-utils.js.map +1 -0
  750. package/dist/src/unstable/extensions/ref-base.d.ts +92 -0
  751. package/dist/src/unstable/extensions/ref-base.d.ts.map +1 -0
  752. package/dist/src/unstable/extensions/ref-base.js +12 -0
  753. package/dist/src/unstable/extensions/ref-base.js.map +1 -0
  754. package/dist/src/unstable/extensions/refs.d.ts +18 -0
  755. package/dist/src/unstable/extensions/refs.d.ts.map +1 -0
  756. package/dist/src/unstable/extensions/refs.js +12 -0
  757. package/dist/src/unstable/extensions/refs.js.map +1 -0
  758. package/dist/src/unstable/extensions/registry-source.d.ts +32 -0
  759. package/dist/src/unstable/extensions/registry-source.d.ts.map +1 -0
  760. package/dist/src/unstable/extensions/registry-source.js +150 -0
  761. package/dist/src/unstable/extensions/registry-source.js.map +1 -0
  762. package/dist/src/unstable/extensions/rendered-files.d.ts +61 -0
  763. package/dist/src/unstable/extensions/rendered-files.d.ts.map +1 -0
  764. package/dist/src/unstable/extensions/rendered-files.js +51 -0
  765. package/dist/src/unstable/extensions/rendered-files.js.map +1 -0
  766. package/dist/src/unstable/extensions/utils.d.ts +34 -0
  767. package/dist/src/unstable/extensions/utils.d.ts.map +1 -0
  768. package/dist/src/unstable/extensions/utils.js +81 -0
  769. package/dist/src/unstable/extensions/utils.js.map +1 -0
  770. package/dist/src/unstable/git/index.d.ts +8 -0
  771. package/dist/src/unstable/git/index.d.ts.map +1 -0
  772. package/dist/src/unstable/git/index.js +8 -0
  773. package/dist/src/unstable/git/index.js.map +1 -0
  774. package/dist/src/unstable/git/operations.d.ts +34 -0
  775. package/dist/src/unstable/git/operations.d.ts.map +1 -0
  776. package/dist/src/unstable/git/operations.js +102 -0
  777. package/dist/src/unstable/git/operations.js.map +1 -0
  778. package/dist/src/unstable/install-meta/install-meta.d.ts +80 -0
  779. package/dist/src/unstable/install-meta/install-meta.d.ts.map +1 -0
  780. package/dist/src/unstable/install-meta/install-meta.js +124 -0
  781. package/dist/src/unstable/install-meta/install-meta.js.map +1 -0
  782. package/dist/src/unstable/install-method/install-method.d.ts +84 -0
  783. package/dist/src/unstable/install-method/install-method.d.ts.map +1 -0
  784. package/dist/src/unstable/install-method/install-method.js +191 -0
  785. package/dist/src/unstable/install-method/install-method.js.map +1 -0
  786. package/dist/src/unstable/lockfile/index.d.ts +15 -0
  787. package/dist/src/unstable/lockfile/index.d.ts.map +1 -0
  788. package/dist/src/unstable/lockfile/index.js +15 -0
  789. package/dist/src/unstable/lockfile/index.js.map +1 -0
  790. package/dist/src/unstable/lockfile/lockfile.d.ts +512 -0
  791. package/dist/src/unstable/lockfile/lockfile.d.ts.map +1 -0
  792. package/dist/src/unstable/lockfile/lockfile.js +174 -0
  793. package/dist/src/unstable/lockfile/lockfile.js.map +1 -0
  794. package/dist/src/unstable/lockfile/resolved-version.d.ts +6 -0
  795. package/dist/src/unstable/lockfile/resolved-version.d.ts.map +1 -0
  796. package/dist/src/unstable/lockfile/resolved-version.js +19 -0
  797. package/dist/src/unstable/lockfile/resolved-version.js.map +1 -0
  798. package/dist/src/unstable/lockfile/schema.d.ts +1483 -0
  799. package/dist/src/unstable/lockfile/schema.d.ts.map +1 -0
  800. package/dist/src/unstable/lockfile/schema.js +304 -0
  801. package/dist/src/unstable/lockfile/schema.js.map +1 -0
  802. package/dist/src/unstable/mcp-servers/index.d.ts +12 -0
  803. package/dist/src/unstable/mcp-servers/index.d.ts.map +1 -0
  804. package/dist/src/unstable/mcp-servers/index.js +8 -0
  805. package/dist/src/unstable/mcp-servers/index.js.map +1 -0
  806. package/dist/src/unstable/mcp-servers/manager.d.ts +21 -0
  807. package/dist/src/unstable/mcp-servers/manager.d.ts.map +1 -0
  808. package/dist/src/unstable/mcp-servers/manager.js +189 -0
  809. package/dist/src/unstable/mcp-servers/manager.js.map +1 -0
  810. package/dist/src/unstable/mcp-servers/manifest-schema.d.ts +57 -0
  811. package/dist/src/unstable/mcp-servers/manifest-schema.d.ts.map +1 -0
  812. package/dist/src/unstable/mcp-servers/manifest-schema.js +38 -0
  813. package/dist/src/unstable/mcp-servers/manifest-schema.js.map +1 -0
  814. package/dist/src/unstable/mcp-servers/operations/install.d.ts +44 -0
  815. package/dist/src/unstable/mcp-servers/operations/install.d.ts.map +1 -0
  816. package/dist/src/unstable/mcp-servers/operations/install.js +239 -0
  817. package/dist/src/unstable/mcp-servers/operations/install.js.map +1 -0
  818. package/dist/src/unstable/mcp-servers/operations/publish.d.ts +41 -0
  819. package/dist/src/unstable/mcp-servers/operations/publish.d.ts.map +1 -0
  820. package/dist/src/unstable/mcp-servers/operations/publish.js +120 -0
  821. package/dist/src/unstable/mcp-servers/operations/publish.js.map +1 -0
  822. package/dist/src/unstable/mcp-servers/operations/uninstall.d.ts +40 -0
  823. package/dist/src/unstable/mcp-servers/operations/uninstall.d.ts.map +1 -0
  824. package/dist/src/unstable/mcp-servers/operations/uninstall.js +195 -0
  825. package/dist/src/unstable/mcp-servers/operations/uninstall.js.map +1 -0
  826. package/dist/src/unstable/mcp-servers/reconciliation-adapter.d.ts +3 -0
  827. package/dist/src/unstable/mcp-servers/reconciliation-adapter.d.ts.map +1 -0
  828. package/dist/src/unstable/mcp-servers/reconciliation-adapter.js +145 -0
  829. package/dist/src/unstable/mcp-servers/reconciliation-adapter.js.map +1 -0
  830. package/dist/src/unstable/mcp-servers/refs.d.ts +17 -0
  831. package/dist/src/unstable/mcp-servers/refs.d.ts.map +1 -0
  832. package/dist/src/unstable/mcp-servers/refs.js +8 -0
  833. package/dist/src/unstable/mcp-servers/refs.js.map +1 -0
  834. package/dist/src/unstable/mcp-servers/registry-ref-builder.d.ts +7 -0
  835. package/dist/src/unstable/mcp-servers/registry-ref-builder.d.ts.map +1 -0
  836. package/dist/src/unstable/mcp-servers/registry-ref-builder.js +13 -0
  837. package/dist/src/unstable/mcp-servers/registry-ref-builder.js.map +1 -0
  838. package/dist/src/unstable/packaging/axm-package-meta.d.ts +23 -0
  839. package/dist/src/unstable/packaging/axm-package-meta.d.ts.map +1 -0
  840. package/dist/src/unstable/packaging/axm-package-meta.js +22 -0
  841. package/dist/src/unstable/packaging/axm-package-meta.js.map +1 -0
  842. package/dist/src/unstable/packaging/bazel.d.ts +27 -0
  843. package/dist/src/unstable/packaging/bazel.d.ts.map +1 -0
  844. package/dist/src/unstable/packaging/bazel.js +184 -0
  845. package/dist/src/unstable/packaging/bazel.js.map +1 -0
  846. package/dist/src/unstable/packaging/cargo.d.ts +29 -0
  847. package/dist/src/unstable/packaging/cargo.d.ts.map +1 -0
  848. package/dist/src/unstable/packaging/cargo.js +234 -0
  849. package/dist/src/unstable/packaging/cargo.js.map +1 -0
  850. package/dist/src/unstable/packaging/cocoapods.d.ts +26 -0
  851. package/dist/src/unstable/packaging/cocoapods.d.ts.map +1 -0
  852. package/dist/src/unstable/packaging/cocoapods.js +212 -0
  853. package/dist/src/unstable/packaging/cocoapods.js.map +1 -0
  854. package/dist/src/unstable/packaging/composer.d.ts +26 -0
  855. package/dist/src/unstable/packaging/composer.d.ts.map +1 -0
  856. package/dist/src/unstable/packaging/composer.js +166 -0
  857. package/dist/src/unstable/packaging/composer.js.map +1 -0
  858. package/dist/src/unstable/packaging/conan.d.ts +30 -0
  859. package/dist/src/unstable/packaging/conan.d.ts.map +1 -0
  860. package/dist/src/unstable/packaging/conan.js +249 -0
  861. package/dist/src/unstable/packaging/conan.js.map +1 -0
  862. package/dist/src/unstable/packaging/conda.d.ts +26 -0
  863. package/dist/src/unstable/packaging/conda.d.ts.map +1 -0
  864. package/dist/src/unstable/packaging/conda.js +345 -0
  865. package/dist/src/unstable/packaging/conda.js.map +1 -0
  866. package/dist/src/unstable/packaging/cpan.d.ts +29 -0
  867. package/dist/src/unstable/packaging/cpan.d.ts.map +1 -0
  868. package/dist/src/unstable/packaging/cpan.js +214 -0
  869. package/dist/src/unstable/packaging/cpan.js.map +1 -0
  870. package/dist/src/unstable/packaging/cran.d.ts +29 -0
  871. package/dist/src/unstable/packaging/cran.d.ts.map +1 -0
  872. package/dist/src/unstable/packaging/cran.js +187 -0
  873. package/dist/src/unstable/packaging/cran.js.map +1 -0
  874. package/dist/src/unstable/packaging/detect.d.ts +16 -0
  875. package/dist/src/unstable/packaging/detect.d.ts.map +1 -0
  876. package/dist/src/unstable/packaging/detect.js +25 -0
  877. package/dist/src/unstable/packaging/detect.js.map +1 -0
  878. package/dist/src/unstable/packaging/docker.d.ts +27 -0
  879. package/dist/src/unstable/packaging/docker.d.ts.map +1 -0
  880. package/dist/src/unstable/packaging/docker.js +282 -0
  881. package/dist/src/unstable/packaging/docker.js.map +1 -0
  882. package/dist/src/unstable/packaging/gem.d.ts +26 -0
  883. package/dist/src/unstable/packaging/gem.d.ts.map +1 -0
  884. package/dist/src/unstable/packaging/gem.js +248 -0
  885. package/dist/src/unstable/packaging/gem.js.map +1 -0
  886. package/dist/src/unstable/packaging/golang.d.ts +26 -0
  887. package/dist/src/unstable/packaging/golang.d.ts.map +1 -0
  888. package/dist/src/unstable/packaging/golang.js +193 -0
  889. package/dist/src/unstable/packaging/golang.js.map +1 -0
  890. package/dist/src/unstable/packaging/hackage.d.ts +26 -0
  891. package/dist/src/unstable/packaging/hackage.d.ts.map +1 -0
  892. package/dist/src/unstable/packaging/hackage.js +316 -0
  893. package/dist/src/unstable/packaging/hackage.js.map +1 -0
  894. package/dist/src/unstable/packaging/hex.d.ts +28 -0
  895. package/dist/src/unstable/packaging/hex.d.ts.map +1 -0
  896. package/dist/src/unstable/packaging/hex.js +225 -0
  897. package/dist/src/unstable/packaging/hex.js.map +1 -0
  898. package/dist/src/unstable/packaging/huggingface.d.ts +20 -0
  899. package/dist/src/unstable/packaging/huggingface.d.ts.map +1 -0
  900. package/dist/src/unstable/packaging/huggingface.js +123 -0
  901. package/dist/src/unstable/packaging/huggingface.js.map +1 -0
  902. package/dist/src/unstable/packaging/index.d.ts +54 -0
  903. package/dist/src/unstable/packaging/index.d.ts.map +1 -0
  904. package/dist/src/unstable/packaging/index.js +130 -0
  905. package/dist/src/unstable/packaging/index.js.map +1 -0
  906. package/dist/src/unstable/packaging/jsr.d.ts +30 -0
  907. package/dist/src/unstable/packaging/jsr.d.ts.map +1 -0
  908. package/dist/src/unstable/packaging/jsr.js +260 -0
  909. package/dist/src/unstable/packaging/jsr.js.map +1 -0
  910. package/dist/src/unstable/packaging/julia.d.ts +27 -0
  911. package/dist/src/unstable/packaging/julia.d.ts.map +1 -0
  912. package/dist/src/unstable/packaging/julia.js +193 -0
  913. package/dist/src/unstable/packaging/julia.js.map +1 -0
  914. package/dist/src/unstable/packaging/luarocks.d.ts +28 -0
  915. package/dist/src/unstable/packaging/luarocks.d.ts.map +1 -0
  916. package/dist/src/unstable/packaging/luarocks.js +184 -0
  917. package/dist/src/unstable/packaging/luarocks.js.map +1 -0
  918. package/dist/src/unstable/packaging/maven.d.ts +26 -0
  919. package/dist/src/unstable/packaging/maven.d.ts.map +1 -0
  920. package/dist/src/unstable/packaging/maven.js +450 -0
  921. package/dist/src/unstable/packaging/maven.js.map +1 -0
  922. package/dist/src/unstable/packaging/mojo.d.ts +30 -0
  923. package/dist/src/unstable/packaging/mojo.d.ts.map +1 -0
  924. package/dist/src/unstable/packaging/mojo.js +192 -0
  925. package/dist/src/unstable/packaging/mojo.js.map +1 -0
  926. package/dist/src/unstable/packaging/npm.d.ts +26 -0
  927. package/dist/src/unstable/packaging/npm.d.ts.map +1 -0
  928. package/dist/src/unstable/packaging/npm.js +214 -0
  929. package/dist/src/unstable/packaging/npm.js.map +1 -0
  930. package/dist/src/unstable/packaging/nuget.d.ts +26 -0
  931. package/dist/src/unstable/packaging/nuget.d.ts.map +1 -0
  932. package/dist/src/unstable/packaging/nuget.js +258 -0
  933. package/dist/src/unstable/packaging/nuget.js.map +1 -0
  934. package/dist/src/unstable/packaging/opam.d.ts +27 -0
  935. package/dist/src/unstable/packaging/opam.d.ts.map +1 -0
  936. package/dist/src/unstable/packaging/opam.js +298 -0
  937. package/dist/src/unstable/packaging/opam.js.map +1 -0
  938. package/dist/src/unstable/packaging/package-type.d.ts +19 -0
  939. package/dist/src/unstable/packaging/package-type.d.ts.map +1 -0
  940. package/dist/src/unstable/packaging/package-type.js +18 -0
  941. package/dist/src/unstable/packaging/package-type.js.map +1 -0
  942. package/dist/src/unstable/packaging/package-url.d.ts +44 -0
  943. package/dist/src/unstable/packaging/package-url.d.ts.map +1 -0
  944. package/dist/src/unstable/packaging/package-url.js +63 -0
  945. package/dist/src/unstable/packaging/package-url.js.map +1 -0
  946. package/dist/src/unstable/packaging/pub.d.ts +26 -0
  947. package/dist/src/unstable/packaging/pub.d.ts.map +1 -0
  948. package/dist/src/unstable/packaging/pub.js +335 -0
  949. package/dist/src/unstable/packaging/pub.js.map +1 -0
  950. package/dist/src/unstable/packaging/purl-match.d.ts +28 -0
  951. package/dist/src/unstable/packaging/purl-match.d.ts.map +1 -0
  952. package/dist/src/unstable/packaging/purl-match.js +35 -0
  953. package/dist/src/unstable/packaging/purl-match.js.map +1 -0
  954. package/dist/src/unstable/packaging/pypi.d.ts +23 -0
  955. package/dist/src/unstable/packaging/pypi.d.ts.map +1 -0
  956. package/dist/src/unstable/packaging/pypi.js +482 -0
  957. package/dist/src/unstable/packaging/pypi.js.map +1 -0
  958. package/dist/src/unstable/packaging/read.d.ts +17 -0
  959. package/dist/src/unstable/packaging/read.d.ts.map +1 -0
  960. package/dist/src/unstable/packaging/read.js +31 -0
  961. package/dist/src/unstable/packaging/read.js.map +1 -0
  962. package/dist/src/unstable/packaging/swift.d.ts +26 -0
  963. package/dist/src/unstable/packaging/swift.d.ts.map +1 -0
  964. package/dist/src/unstable/packaging/swift.js +165 -0
  965. package/dist/src/unstable/packaging/swift.js.map +1 -0
  966. package/dist/src/unstable/packaging/types.d.ts +43 -0
  967. package/dist/src/unstable/packaging/types.d.ts.map +1 -0
  968. package/dist/src/unstable/packaging/types.js +8 -0
  969. package/dist/src/unstable/packaging/types.js.map +1 -0
  970. package/dist/src/unstable/packaging/zig.d.ts +32 -0
  971. package/dist/src/unstable/packaging/zig.d.ts.map +1 -0
  972. package/dist/src/unstable/packaging/zig.js +176 -0
  973. package/dist/src/unstable/packaging/zig.js.map +1 -0
  974. package/dist/src/unstable/packs/dependency-resolution.d.ts +15 -0
  975. package/dist/src/unstable/packs/dependency-resolution.d.ts.map +1 -0
  976. package/dist/src/unstable/packs/dependency-resolution.js +77 -0
  977. package/dist/src/unstable/packs/dependency-resolution.js.map +1 -0
  978. package/dist/src/unstable/packs/expansion.d.ts +64 -0
  979. package/dist/src/unstable/packs/expansion.d.ts.map +1 -0
  980. package/dist/src/unstable/packs/expansion.js +149 -0
  981. package/dist/src/unstable/packs/expansion.js.map +1 -0
  982. package/dist/src/unstable/packs/index.d.ts +30 -0
  983. package/dist/src/unstable/packs/index.d.ts.map +1 -0
  984. package/dist/src/unstable/packs/index.js +27 -0
  985. package/dist/src/unstable/packs/index.js.map +1 -0
  986. package/dist/src/unstable/packs/manager.d.ts +22 -0
  987. package/dist/src/unstable/packs/manager.d.ts.map +1 -0
  988. package/dist/src/unstable/packs/manager.js +132 -0
  989. package/dist/src/unstable/packs/manager.js.map +1 -0
  990. package/dist/src/unstable/packs/manifest-schema.d.ts +52 -0
  991. package/dist/src/unstable/packs/manifest-schema.d.ts.map +1 -0
  992. package/dist/src/unstable/packs/manifest-schema.js +33 -0
  993. package/dist/src/unstable/packs/manifest-schema.js.map +1 -0
  994. package/dist/src/unstable/packs/operations/add-to-pack.d.ts +43 -0
  995. package/dist/src/unstable/packs/operations/add-to-pack.d.ts.map +1 -0
  996. package/dist/src/unstable/packs/operations/add-to-pack.js +116 -0
  997. package/dist/src/unstable/packs/operations/add-to-pack.js.map +1 -0
  998. package/dist/src/unstable/packs/operations/hash-content.d.ts +2 -0
  999. package/dist/src/unstable/packs/operations/hash-content.d.ts.map +1 -0
  1000. package/dist/src/unstable/packs/operations/hash-content.js +3 -0
  1001. package/dist/src/unstable/packs/operations/hash-content.js.map +1 -0
  1002. package/dist/src/unstable/packs/operations/install.d.ts +62 -0
  1003. package/dist/src/unstable/packs/operations/install.d.ts.map +1 -0
  1004. package/dist/src/unstable/packs/operations/install.js +78 -0
  1005. package/dist/src/unstable/packs/operations/install.js.map +1 -0
  1006. package/dist/src/unstable/packs/operations/new-pack.d.ts +38 -0
  1007. package/dist/src/unstable/packs/operations/new-pack.d.ts.map +1 -0
  1008. package/dist/src/unstable/packs/operations/new-pack.js +99 -0
  1009. package/dist/src/unstable/packs/operations/new-pack.js.map +1 -0
  1010. package/dist/src/unstable/packs/operations/publish.d.ts +40 -0
  1011. package/dist/src/unstable/packs/operations/publish.d.ts.map +1 -0
  1012. package/dist/src/unstable/packs/operations/publish.js +133 -0
  1013. package/dist/src/unstable/packs/operations/publish.js.map +1 -0
  1014. package/dist/src/unstable/packs/operations/remove-from-pack.d.ts +43 -0
  1015. package/dist/src/unstable/packs/operations/remove-from-pack.d.ts.map +1 -0
  1016. package/dist/src/unstable/packs/operations/remove-from-pack.js +100 -0
  1017. package/dist/src/unstable/packs/operations/remove-from-pack.js.map +1 -0
  1018. package/dist/src/unstable/packs/operations/uninstall.d.ts +36 -0
  1019. package/dist/src/unstable/packs/operations/uninstall.d.ts.map +1 -0
  1020. package/dist/src/unstable/packs/operations/uninstall.js +86 -0
  1021. package/dist/src/unstable/packs/operations/uninstall.js.map +1 -0
  1022. package/dist/src/unstable/packs/operations/unpack.d.ts +35 -0
  1023. package/dist/src/unstable/packs/operations/unpack.d.ts.map +1 -0
  1024. package/dist/src/unstable/packs/operations/unpack.js +125 -0
  1025. package/dist/src/unstable/packs/operations/unpack.js.map +1 -0
  1026. package/dist/src/unstable/packs/paths.d.ts +29 -0
  1027. package/dist/src/unstable/packs/paths.d.ts.map +1 -0
  1028. package/dist/src/unstable/packs/paths.js +22 -0
  1029. package/dist/src/unstable/packs/paths.js.map +1 -0
  1030. package/dist/src/unstable/packs/reconciliation-adapter.d.ts +3 -0
  1031. package/dist/src/unstable/packs/reconciliation-adapter.d.ts.map +1 -0
  1032. package/dist/src/unstable/packs/reconciliation-adapter.js +312 -0
  1033. package/dist/src/unstable/packs/reconciliation-adapter.js.map +1 -0
  1034. package/dist/src/unstable/packs/refs.d.ts +15 -0
  1035. package/dist/src/unstable/packs/refs.d.ts.map +1 -0
  1036. package/dist/src/unstable/packs/refs.js +10 -0
  1037. package/dist/src/unstable/packs/refs.js.map +1 -0
  1038. package/dist/src/unstable/publish/archive-guardrails.d.ts +28 -0
  1039. package/dist/src/unstable/publish/archive-guardrails.d.ts.map +1 -0
  1040. package/dist/src/unstable/publish/archive-guardrails.js +222 -0
  1041. package/dist/src/unstable/publish/archive-guardrails.js.map +1 -0
  1042. package/dist/src/unstable/publish/index.d.ts +5 -0
  1043. package/dist/src/unstable/publish/index.d.ts.map +1 -0
  1044. package/dist/src/unstable/publish/index.js +5 -0
  1045. package/dist/src/unstable/publish/index.js.map +1 -0
  1046. package/dist/src/unstable/publish/ingest-limits.d.ts +25 -0
  1047. package/dist/src/unstable/publish/ingest-limits.d.ts.map +1 -0
  1048. package/dist/src/unstable/publish/ingest-limits.js +41 -0
  1049. package/dist/src/unstable/publish/ingest-limits.js.map +1 -0
  1050. package/dist/src/unstable/publish/input-normalization.d.ts +39 -0
  1051. package/dist/src/unstable/publish/input-normalization.d.ts.map +1 -0
  1052. package/dist/src/unstable/publish/input-normalization.js +85 -0
  1053. package/dist/src/unstable/publish/input-normalization.js.map +1 -0
  1054. package/dist/src/unstable/publish/manifest-policy.d.ts +171 -0
  1055. package/dist/src/unstable/publish/manifest-policy.d.ts.map +1 -0
  1056. package/dist/src/unstable/publish/manifest-policy.js +131 -0
  1057. package/dist/src/unstable/publish/manifest-policy.js.map +1 -0
  1058. package/dist/src/unstable/publish/test-zip-helpers.d.ts +13 -0
  1059. package/dist/src/unstable/publish/test-zip-helpers.d.ts.map +1 -0
  1060. package/dist/src/unstable/publish/test-zip-helpers.js +117 -0
  1061. package/dist/src/unstable/publish/test-zip-helpers.js.map +1 -0
  1062. package/dist/src/unstable/registry/__generated__/registry-client.d.ts +2632 -0
  1063. package/dist/src/unstable/registry/__generated__/registry-client.d.ts.map +1 -0
  1064. package/dist/src/unstable/registry/__generated__/registry-client.js +1026 -0
  1065. package/dist/src/unstable/registry/__generated__/registry-client.js.map +1 -0
  1066. package/dist/src/unstable/registry/client.d.ts +182 -0
  1067. package/dist/src/unstable/registry/client.d.ts.map +1 -0
  1068. package/dist/src/unstable/registry/client.js +45 -0
  1069. package/dist/src/unstable/registry/client.js.map +1 -0
  1070. package/dist/src/unstable/registry/discover-schema.d.ts +74 -0
  1071. package/dist/src/unstable/registry/discover-schema.d.ts.map +1 -0
  1072. package/dist/src/unstable/registry/discover-schema.js +64 -0
  1073. package/dist/src/unstable/registry/discover-schema.js.map +1 -0
  1074. package/dist/src/unstable/registry/error-mapping.d.ts +98 -0
  1075. package/dist/src/unstable/registry/error-mapping.d.ts.map +1 -0
  1076. package/dist/src/unstable/registry/error-mapping.js +307 -0
  1077. package/dist/src/unstable/registry/error-mapping.js.map +1 -0
  1078. package/dist/src/unstable/registry/index.d.ts +20 -0
  1079. package/dist/src/unstable/registry/index.d.ts.map +1 -0
  1080. package/dist/src/unstable/registry/index.js +21 -0
  1081. package/dist/src/unstable/registry/index.js.map +1 -0
  1082. package/dist/src/unstable/registry/local-client.d.ts +24 -0
  1083. package/dist/src/unstable/registry/local-client.d.ts.map +1 -0
  1084. package/dist/src/unstable/registry/local-client.js +355 -0
  1085. package/dist/src/unstable/registry/local-client.js.map +1 -0
  1086. package/dist/src/unstable/registry/remote-client.d.ts +24 -0
  1087. package/dist/src/unstable/registry/remote-client.d.ts.map +1 -0
  1088. package/dist/src/unstable/registry/remote-client.js +572 -0
  1089. package/dist/src/unstable/registry/remote-client.js.map +1 -0
  1090. package/dist/src/unstable/registry/schema.d.ts +85 -0
  1091. package/dist/src/unstable/registry/schema.d.ts.map +1 -0
  1092. package/dist/src/unstable/registry/schema.js +73 -0
  1093. package/dist/src/unstable/registry/schema.js.map +1 -0
  1094. package/dist/src/unstable/registry/utils.d.ts +33 -0
  1095. package/dist/src/unstable/registry/utils.d.ts.map +1 -0
  1096. package/dist/src/unstable/registry/utils.js +98 -0
  1097. package/dist/src/unstable/registry/utils.js.map +1 -0
  1098. package/dist/src/unstable/schema/format-issues.d.ts +13 -0
  1099. package/dist/src/unstable/schema/format-issues.d.ts.map +1 -0
  1100. package/dist/src/unstable/schema/format-issues.js +34 -0
  1101. package/dist/src/unstable/schema/format-issues.js.map +1 -0
  1102. package/dist/src/unstable/schema/index.d.ts +4 -0
  1103. package/dist/src/unstable/schema/index.d.ts.map +1 -0
  1104. package/dist/src/unstable/schema/index.js +3 -0
  1105. package/dist/src/unstable/schema/index.js.map +1 -0
  1106. package/dist/src/unstable/schema/read-and-validate-json-file.d.ts +20 -0
  1107. package/dist/src/unstable/schema/read-and-validate-json-file.d.ts.map +1 -0
  1108. package/dist/src/unstable/schema/read-and-validate-json-file.js +85 -0
  1109. package/dist/src/unstable/schema/read-and-validate-json-file.js.map +1 -0
  1110. package/dist/src/unstable/schema/types.d.ts +26 -0
  1111. package/dist/src/unstable/schema/types.d.ts.map +1 -0
  1112. package/dist/src/unstable/schema/types.js +2 -0
  1113. package/dist/src/unstable/schema/types.js.map +1 -0
  1114. package/dist/src/unstable/settings/format-preserving-json.d.ts +19 -0
  1115. package/dist/src/unstable/settings/format-preserving-json.d.ts.map +1 -0
  1116. package/dist/src/unstable/settings/format-preserving-json.js +11 -0
  1117. package/dist/src/unstable/settings/format-preserving-json.js.map +1 -0
  1118. package/dist/src/unstable/settings/ignored-patterns.d.ts +20 -0
  1119. package/dist/src/unstable/settings/ignored-patterns.d.ts.map +1 -0
  1120. package/dist/src/unstable/settings/ignored-patterns.js +46 -0
  1121. package/dist/src/unstable/settings/ignored-patterns.js.map +1 -0
  1122. package/dist/src/unstable/settings/index.d.ts +15 -0
  1123. package/dist/src/unstable/settings/index.d.ts.map +1 -0
  1124. package/dist/src/unstable/settings/index.js +15 -0
  1125. package/dist/src/unstable/settings/index.js.map +1 -0
  1126. package/dist/src/unstable/settings/schema.d.ts +478 -0
  1127. package/dist/src/unstable/settings/schema.d.ts.map +1 -0
  1128. package/dist/src/unstable/settings/schema.js +466 -0
  1129. package/dist/src/unstable/settings/schema.js.map +1 -0
  1130. package/dist/src/unstable/settings/settings.d.ts +185 -0
  1131. package/dist/src/unstable/settings/settings.d.ts.map +1 -0
  1132. package/dist/src/unstable/settings/settings.js +147 -0
  1133. package/dist/src/unstable/settings/settings.js.map +1 -0
  1134. package/dist/src/unstable/skills/disk-check.d.ts +13 -0
  1135. package/dist/src/unstable/skills/disk-check.d.ts.map +1 -0
  1136. package/dist/src/unstable/skills/disk-check.js +38 -0
  1137. package/dist/src/unstable/skills/disk-check.js.map +1 -0
  1138. package/dist/src/unstable/skills/index.d.ts +33 -0
  1139. package/dist/src/unstable/skills/index.d.ts.map +1 -0
  1140. package/dist/src/unstable/skills/index.js +29 -0
  1141. package/dist/src/unstable/skills/index.js.map +1 -0
  1142. package/dist/src/unstable/skills/managed-marker-ops.d.ts +23 -0
  1143. package/dist/src/unstable/skills/managed-marker-ops.d.ts.map +1 -0
  1144. package/dist/src/unstable/skills/managed-marker-ops.js +46 -0
  1145. package/dist/src/unstable/skills/managed-marker-ops.js.map +1 -0
  1146. package/dist/src/unstable/skills/manager.d.ts +24 -0
  1147. package/dist/src/unstable/skills/manager.d.ts.map +1 -0
  1148. package/dist/src/unstable/skills/manager.js +167 -0
  1149. package/dist/src/unstable/skills/manager.js.map +1 -0
  1150. package/dist/src/unstable/skills/manifest-schema.d.ts +48 -0
  1151. package/dist/src/unstable/skills/manifest-schema.d.ts.map +1 -0
  1152. package/dist/src/unstable/skills/manifest-schema.js +29 -0
  1153. package/dist/src/unstable/skills/manifest-schema.js.map +1 -0
  1154. package/dist/src/unstable/skills/materialization.d.ts +31 -0
  1155. package/dist/src/unstable/skills/materialization.d.ts.map +1 -0
  1156. package/dist/src/unstable/skills/materialization.js +105 -0
  1157. package/dist/src/unstable/skills/materialization.js.map +1 -0
  1158. package/dist/src/unstable/skills/operations/copy.d.ts +43 -0
  1159. package/dist/src/unstable/skills/operations/copy.d.ts.map +1 -0
  1160. package/dist/src/unstable/skills/operations/copy.js +92 -0
  1161. package/dist/src/unstable/skills/operations/copy.js.map +1 -0
  1162. package/dist/src/unstable/skills/operations/disable.d.ts +41 -0
  1163. package/dist/src/unstable/skills/operations/disable.d.ts.map +1 -0
  1164. package/dist/src/unstable/skills/operations/disable.js +131 -0
  1165. package/dist/src/unstable/skills/operations/disable.js.map +1 -0
  1166. package/dist/src/unstable/skills/operations/enable.d.ts +38 -0
  1167. package/dist/src/unstable/skills/operations/enable.d.ts.map +1 -0
  1168. package/dist/src/unstable/skills/operations/enable.js +84 -0
  1169. package/dist/src/unstable/skills/operations/enable.js.map +1 -0
  1170. package/dist/src/unstable/skills/operations/install-result.d.ts +31 -0
  1171. package/dist/src/unstable/skills/operations/install-result.d.ts.map +1 -0
  1172. package/dist/src/unstable/skills/operations/install-result.js +10 -0
  1173. package/dist/src/unstable/skills/operations/install-result.js.map +1 -0
  1174. package/dist/src/unstable/skills/operations/install.d.ts +73 -0
  1175. package/dist/src/unstable/skills/operations/install.d.ts.map +1 -0
  1176. package/dist/src/unstable/skills/operations/install.js +366 -0
  1177. package/dist/src/unstable/skills/operations/install.js.map +1 -0
  1178. package/dist/src/unstable/skills/operations/new-skill.d.ts +42 -0
  1179. package/dist/src/unstable/skills/operations/new-skill.d.ts.map +1 -0
  1180. package/dist/src/unstable/skills/operations/new-skill.js +125 -0
  1181. package/dist/src/unstable/skills/operations/new-skill.js.map +1 -0
  1182. package/dist/src/unstable/skills/operations/publish.d.ts +43 -0
  1183. package/dist/src/unstable/skills/operations/publish.d.ts.map +1 -0
  1184. package/dist/src/unstable/skills/operations/publish.js +135 -0
  1185. package/dist/src/unstable/skills/operations/publish.js.map +1 -0
  1186. package/dist/src/unstable/skills/operations/rename.d.ts +34 -0
  1187. package/dist/src/unstable/skills/operations/rename.d.ts.map +1 -0
  1188. package/dist/src/unstable/skills/operations/rename.js +117 -0
  1189. package/dist/src/unstable/skills/operations/rename.js.map +1 -0
  1190. package/dist/src/unstable/skills/operations/uninstall.d.ts +39 -0
  1191. package/dist/src/unstable/skills/operations/uninstall.d.ts.map +1 -0
  1192. package/dist/src/unstable/skills/operations/uninstall.js +123 -0
  1193. package/dist/src/unstable/skills/operations/uninstall.js.map +1 -0
  1194. package/dist/src/unstable/skills/paths.d.ts +45 -0
  1195. package/dist/src/unstable/skills/paths.d.ts.map +1 -0
  1196. package/dist/src/unstable/skills/paths.js +26 -0
  1197. package/dist/src/unstable/skills/paths.js.map +1 -0
  1198. package/dist/src/unstable/skills/reconciliation-adapter.d.ts +4 -0
  1199. package/dist/src/unstable/skills/reconciliation-adapter.d.ts.map +1 -0
  1200. package/dist/src/unstable/skills/reconciliation-adapter.js +115 -0
  1201. package/dist/src/unstable/skills/reconciliation-adapter.js.map +1 -0
  1202. package/dist/src/unstable/skills/refs.d.ts +20 -0
  1203. package/dist/src/unstable/skills/refs.d.ts.map +1 -0
  1204. package/dist/src/unstable/skills/refs.js +11 -0
  1205. package/dist/src/unstable/skills/refs.js.map +1 -0
  1206. package/dist/src/unstable/skills/registry-ref-builder.d.ts +18 -0
  1207. package/dist/src/unstable/skills/registry-ref-builder.d.ts.map +1 -0
  1208. package/dist/src/unstable/skills/registry-ref-builder.js +24 -0
  1209. package/dist/src/unstable/skills/registry-ref-builder.js.map +1 -0
  1210. package/dist/src/unstable/skills/skill-content.d.ts +30 -0
  1211. package/dist/src/unstable/skills/skill-content.d.ts.map +1 -0
  1212. package/dist/src/unstable/skills/skill-content.js +69 -0
  1213. package/dist/src/unstable/skills/skill-content.js.map +1 -0
  1214. package/dist/src/unstable/skills/types.d.ts +22 -0
  1215. package/dist/src/unstable/skills/types.d.ts.map +1 -0
  1216. package/dist/src/unstable/skills/types.js +9 -0
  1217. package/dist/src/unstable/skills/types.js.map +1 -0
  1218. package/dist/src/unstable/skills/utils.d.ts +32 -0
  1219. package/dist/src/unstable/skills/utils.d.ts.map +1 -0
  1220. package/dist/src/unstable/skills/utils.js +56 -0
  1221. package/dist/src/unstable/skills/utils.js.map +1 -0
  1222. package/dist/src/unstable/source-resolution/discover-skills.d.ts +58 -0
  1223. package/dist/src/unstable/source-resolution/discover-skills.d.ts.map +1 -0
  1224. package/dist/src/unstable/source-resolution/discover-skills.js +218 -0
  1225. package/dist/src/unstable/source-resolution/discover-skills.js.map +1 -0
  1226. package/dist/src/unstable/source-resolution/index.d.ts +20 -0
  1227. package/dist/src/unstable/source-resolution/index.d.ts.map +1 -0
  1228. package/dist/src/unstable/source-resolution/index.js +23 -0
  1229. package/dist/src/unstable/source-resolution/index.js.map +1 -0
  1230. package/dist/src/unstable/source-resolution/parse-manifests.d.ts +16 -0
  1231. package/dist/src/unstable/source-resolution/parse-manifests.d.ts.map +1 -0
  1232. package/dist/src/unstable/source-resolution/parse-manifests.js +168 -0
  1233. package/dist/src/unstable/source-resolution/parse-manifests.js.map +1 -0
  1234. package/dist/src/unstable/source-resolution/providers/azurerepos/index.d.ts +11 -0
  1235. package/dist/src/unstable/source-resolution/providers/azurerepos/index.d.ts.map +1 -0
  1236. package/dist/src/unstable/source-resolution/providers/azurerepos/index.js +11 -0
  1237. package/dist/src/unstable/source-resolution/providers/azurerepos/index.js.map +1 -0
  1238. package/dist/src/unstable/source-resolution/providers/azurerepos/print.d.ts +3 -0
  1239. package/dist/src/unstable/source-resolution/providers/azurerepos/print.d.ts.map +1 -0
  1240. package/dist/src/unstable/source-resolution/providers/azurerepos/print.js +10 -0
  1241. package/dist/src/unstable/source-resolution/providers/azurerepos/print.js.map +1 -0
  1242. package/dist/src/unstable/source-resolution/providers/azurerepos/repo-exists.d.ts +5 -0
  1243. package/dist/src/unstable/source-resolution/providers/azurerepos/repo-exists.d.ts.map +1 -0
  1244. package/dist/src/unstable/source-resolution/providers/azurerepos/repo-exists.js +23 -0
  1245. package/dist/src/unstable/source-resolution/providers/azurerepos/repo-exists.js.map +1 -0
  1246. package/dist/src/unstable/source-resolution/providers/azurerepos/scp.d.ts +10 -0
  1247. package/dist/src/unstable/source-resolution/providers/azurerepos/scp.d.ts.map +1 -0
  1248. package/dist/src/unstable/source-resolution/providers/azurerepos/scp.js +33 -0
  1249. package/dist/src/unstable/source-resolution/providers/azurerepos/scp.js.map +1 -0
  1250. package/dist/src/unstable/source-resolution/providers/azurerepos/url.d.ts +11 -0
  1251. package/dist/src/unstable/source-resolution/providers/azurerepos/url.d.ts.map +1 -0
  1252. package/dist/src/unstable/source-resolution/providers/azurerepos/url.js +40 -0
  1253. package/dist/src/unstable/source-resolution/providers/azurerepos/url.js.map +1 -0
  1254. package/dist/src/unstable/source-resolution/providers/bitbucket/index.d.ts +12 -0
  1255. package/dist/src/unstable/source-resolution/providers/bitbucket/index.d.ts.map +1 -0
  1256. package/dist/src/unstable/source-resolution/providers/bitbucket/index.js +12 -0
  1257. package/dist/src/unstable/source-resolution/providers/bitbucket/index.js.map +1 -0
  1258. package/dist/src/unstable/source-resolution/providers/bitbucket/print.d.ts +3 -0
  1259. package/dist/src/unstable/source-resolution/providers/bitbucket/print.d.ts.map +1 -0
  1260. package/dist/src/unstable/source-resolution/providers/bitbucket/print.js +10 -0
  1261. package/dist/src/unstable/source-resolution/providers/bitbucket/print.js.map +1 -0
  1262. package/dist/src/unstable/source-resolution/providers/bitbucket/resolve-repo.d.ts +11 -0
  1263. package/dist/src/unstable/source-resolution/providers/bitbucket/resolve-repo.d.ts.map +1 -0
  1264. package/dist/src/unstable/source-resolution/providers/bitbucket/resolve-repo.js +34 -0
  1265. package/dist/src/unstable/source-resolution/providers/bitbucket/resolve-repo.js.map +1 -0
  1266. package/dist/src/unstable/source-resolution/providers/bitbucket/scp.d.ts +9 -0
  1267. package/dist/src/unstable/source-resolution/providers/bitbucket/scp.d.ts.map +1 -0
  1268. package/dist/src/unstable/source-resolution/providers/bitbucket/scp.js +32 -0
  1269. package/dist/src/unstable/source-resolution/providers/bitbucket/scp.js.map +1 -0
  1270. package/dist/src/unstable/source-resolution/providers/bitbucket/shorthand.d.ts +9 -0
  1271. package/dist/src/unstable/source-resolution/providers/bitbucket/shorthand.d.ts.map +1 -0
  1272. package/dist/src/unstable/source-resolution/providers/bitbucket/shorthand.js +11 -0
  1273. package/dist/src/unstable/source-resolution/providers/bitbucket/shorthand.js.map +1 -0
  1274. package/dist/src/unstable/source-resolution/providers/bitbucket/url.d.ts +10 -0
  1275. package/dist/src/unstable/source-resolution/providers/bitbucket/url.d.ts.map +1 -0
  1276. package/dist/src/unstable/source-resolution/providers/bitbucket/url.js +41 -0
  1277. package/dist/src/unstable/source-resolution/providers/bitbucket/url.js.map +1 -0
  1278. package/dist/src/unstable/source-resolution/providers/git-hosting.d.ts +49 -0
  1279. package/dist/src/unstable/source-resolution/providers/git-hosting.d.ts.map +1 -0
  1280. package/dist/src/unstable/source-resolution/providers/git-hosting.js +133 -0
  1281. package/dist/src/unstable/source-resolution/providers/git-hosting.js.map +1 -0
  1282. package/dist/src/unstable/source-resolution/providers/git.d.ts +19 -0
  1283. package/dist/src/unstable/source-resolution/providers/git.d.ts.map +1 -0
  1284. package/dist/src/unstable/source-resolution/providers/git.js +31 -0
  1285. package/dist/src/unstable/source-resolution/providers/git.js.map +1 -0
  1286. package/dist/src/unstable/source-resolution/providers/github/index.d.ts +12 -0
  1287. package/dist/src/unstable/source-resolution/providers/github/index.d.ts.map +1 -0
  1288. package/dist/src/unstable/source-resolution/providers/github/index.js +12 -0
  1289. package/dist/src/unstable/source-resolution/providers/github/index.js.map +1 -0
  1290. package/dist/src/unstable/source-resolution/providers/github/print.d.ts +3 -0
  1291. package/dist/src/unstable/source-resolution/providers/github/print.d.ts.map +1 -0
  1292. package/dist/src/unstable/source-resolution/providers/github/print.js +10 -0
  1293. package/dist/src/unstable/source-resolution/providers/github/print.js.map +1 -0
  1294. package/dist/src/unstable/source-resolution/providers/github/resolve-repo.d.ts +11 -0
  1295. package/dist/src/unstable/source-resolution/providers/github/resolve-repo.d.ts.map +1 -0
  1296. package/dist/src/unstable/source-resolution/providers/github/resolve-repo.js +35 -0
  1297. package/dist/src/unstable/source-resolution/providers/github/resolve-repo.js.map +1 -0
  1298. package/dist/src/unstable/source-resolution/providers/github/scp.d.ts +9 -0
  1299. package/dist/src/unstable/source-resolution/providers/github/scp.d.ts.map +1 -0
  1300. package/dist/src/unstable/source-resolution/providers/github/scp.js +32 -0
  1301. package/dist/src/unstable/source-resolution/providers/github/scp.js.map +1 -0
  1302. package/dist/src/unstable/source-resolution/providers/github/shorthand.d.ts +9 -0
  1303. package/dist/src/unstable/source-resolution/providers/github/shorthand.d.ts.map +1 -0
  1304. package/dist/src/unstable/source-resolution/providers/github/shorthand.js +11 -0
  1305. package/dist/src/unstable/source-resolution/providers/github/shorthand.js.map +1 -0
  1306. package/dist/src/unstable/source-resolution/providers/github/url.d.ts +10 -0
  1307. package/dist/src/unstable/source-resolution/providers/github/url.d.ts.map +1 -0
  1308. package/dist/src/unstable/source-resolution/providers/github/url.js +41 -0
  1309. package/dist/src/unstable/source-resolution/providers/github/url.js.map +1 -0
  1310. package/dist/src/unstable/source-resolution/providers/gitlab/index.d.ts +12 -0
  1311. package/dist/src/unstable/source-resolution/providers/gitlab/index.d.ts.map +1 -0
  1312. package/dist/src/unstable/source-resolution/providers/gitlab/index.js +12 -0
  1313. package/dist/src/unstable/source-resolution/providers/gitlab/index.js.map +1 -0
  1314. package/dist/src/unstable/source-resolution/providers/gitlab/print.d.ts +3 -0
  1315. package/dist/src/unstable/source-resolution/providers/gitlab/print.d.ts.map +1 -0
  1316. package/dist/src/unstable/source-resolution/providers/gitlab/print.js +10 -0
  1317. package/dist/src/unstable/source-resolution/providers/gitlab/print.js.map +1 -0
  1318. package/dist/src/unstable/source-resolution/providers/gitlab/resolve-repo.d.ts +11 -0
  1319. package/dist/src/unstable/source-resolution/providers/gitlab/resolve-repo.d.ts.map +1 -0
  1320. package/dist/src/unstable/source-resolution/providers/gitlab/resolve-repo.js +34 -0
  1321. package/dist/src/unstable/source-resolution/providers/gitlab/resolve-repo.js.map +1 -0
  1322. package/dist/src/unstable/source-resolution/providers/gitlab/scp.d.ts +9 -0
  1323. package/dist/src/unstable/source-resolution/providers/gitlab/scp.d.ts.map +1 -0
  1324. package/dist/src/unstable/source-resolution/providers/gitlab/scp.js +32 -0
  1325. package/dist/src/unstable/source-resolution/providers/gitlab/scp.js.map +1 -0
  1326. package/dist/src/unstable/source-resolution/providers/gitlab/shorthand.d.ts +9 -0
  1327. package/dist/src/unstable/source-resolution/providers/gitlab/shorthand.d.ts.map +1 -0
  1328. package/dist/src/unstable/source-resolution/providers/gitlab/shorthand.js +11 -0
  1329. package/dist/src/unstable/source-resolution/providers/gitlab/shorthand.js.map +1 -0
  1330. package/dist/src/unstable/source-resolution/providers/gitlab/url.d.ts +10 -0
  1331. package/dist/src/unstable/source-resolution/providers/gitlab/url.d.ts.map +1 -0
  1332. package/dist/src/unstable/source-resolution/providers/gitlab/url.js +41 -0
  1333. package/dist/src/unstable/source-resolution/providers/gitlab/url.js.map +1 -0
  1334. package/dist/src/unstable/source-resolution/providers/local-parser/index.d.ts +9 -0
  1335. package/dist/src/unstable/source-resolution/providers/local-parser/index.d.ts.map +1 -0
  1336. package/dist/src/unstable/source-resolution/providers/local-parser/index.js +9 -0
  1337. package/dist/src/unstable/source-resolution/providers/local-parser/index.js.map +1 -0
  1338. package/dist/src/unstable/source-resolution/providers/local-parser/parser.d.ts +14 -0
  1339. package/dist/src/unstable/source-resolution/providers/local-parser/parser.d.ts.map +1 -0
  1340. package/dist/src/unstable/source-resolution/providers/local-parser/parser.js +14 -0
  1341. package/dist/src/unstable/source-resolution/providers/local-parser/parser.js.map +1 -0
  1342. package/dist/src/unstable/source-resolution/providers/local-parser/print.d.ts +3 -0
  1343. package/dist/src/unstable/source-resolution/providers/local-parser/print.d.ts.map +1 -0
  1344. package/dist/src/unstable/source-resolution/providers/local-parser/print.js +2 -0
  1345. package/dist/src/unstable/source-resolution/providers/local-parser/print.js.map +1 -0
  1346. package/dist/src/unstable/source-resolution/providers/local.d.ts +21 -0
  1347. package/dist/src/unstable/source-resolution/providers/local.d.ts.map +1 -0
  1348. package/dist/src/unstable/source-resolution/providers/local.js +66 -0
  1349. package/dist/src/unstable/source-resolution/providers/local.js.map +1 -0
  1350. package/dist/src/unstable/source-resolution/providers/parse-provider-shorthand.d.ts +18 -0
  1351. package/dist/src/unstable/source-resolution/providers/parse-provider-shorthand.d.ts.map +1 -0
  1352. package/dist/src/unstable/source-resolution/providers/parse-provider-shorthand.js +46 -0
  1353. package/dist/src/unstable/source-resolution/providers/parse-provider-shorthand.js.map +1 -0
  1354. package/dist/src/unstable/source-resolution/providers/registry/host-provider.d.ts +49 -0
  1355. package/dist/src/unstable/source-resolution/providers/registry/host-provider.d.ts.map +1 -0
  1356. package/dist/src/unstable/source-resolution/providers/registry/host-provider.js +321 -0
  1357. package/dist/src/unstable/source-resolution/providers/registry/host-provider.js.map +1 -0
  1358. package/dist/src/unstable/source-resolution/resolve-source-pattern.d.ts +28 -0
  1359. package/dist/src/unstable/source-resolution/resolve-source-pattern.d.ts.map +1 -0
  1360. package/dist/src/unstable/source-resolution/resolve-source-pattern.js +112 -0
  1361. package/dist/src/unstable/source-resolution/resolve-source-pattern.js.map +1 -0
  1362. package/dist/src/unstable/source-resolution/resolve-source.d.ts +73 -0
  1363. package/dist/src/unstable/source-resolution/resolve-source.d.ts.map +1 -0
  1364. package/dist/src/unstable/source-resolution/resolve-source.js +440 -0
  1365. package/dist/src/unstable/source-resolution/resolve-source.js.map +1 -0
  1366. package/dist/src/unstable/source-resolution/service.d.ts +69 -0
  1367. package/dist/src/unstable/source-resolution/service.d.ts.map +1 -0
  1368. package/dist/src/unstable/source-resolution/service.js +179 -0
  1369. package/dist/src/unstable/source-resolution/service.js.map +1 -0
  1370. package/dist/src/unstable/sources/index.d.ts +21 -0
  1371. package/dist/src/unstable/sources/index.d.ts.map +1 -0
  1372. package/dist/src/unstable/sources/index.js +20 -0
  1373. package/dist/src/unstable/sources/index.js.map +1 -0
  1374. package/dist/src/unstable/sources/parser.d.ts +76 -0
  1375. package/dist/src/unstable/sources/parser.d.ts.map +1 -0
  1376. package/dist/src/unstable/sources/parser.js +108 -0
  1377. package/dist/src/unstable/sources/parser.js.map +1 -0
  1378. package/dist/src/unstable/sources/printer.d.ts +24 -0
  1379. package/dist/src/unstable/sources/printer.d.ts.map +1 -0
  1380. package/dist/src/unstable/sources/printer.js +93 -0
  1381. package/dist/src/unstable/sources/printer.js.map +1 -0
  1382. package/dist/src/unstable/sources/provider.d.ts +65 -0
  1383. package/dist/src/unstable/sources/provider.d.ts.map +1 -0
  1384. package/dist/src/unstable/sources/provider.js +11 -0
  1385. package/dist/src/unstable/sources/provider.js.map +1 -0
  1386. package/dist/src/unstable/sources/source-to-lock-entry.d.ts +29 -0
  1387. package/dist/src/unstable/sources/source-to-lock-entry.d.ts.map +1 -0
  1388. package/dist/src/unstable/sources/source-to-lock-entry.js +111 -0
  1389. package/dist/src/unstable/sources/source-to-lock-entry.js.map +1 -0
  1390. package/dist/src/unstable/sources/types.d.ts +210 -0
  1391. package/dist/src/unstable/sources/types.d.ts.map +1 -0
  1392. package/dist/src/unstable/sources/types.js +101 -0
  1393. package/dist/src/unstable/sources/types.js.map +1 -0
  1394. package/dist/src/unstable/sources/utils.d.ts +9 -0
  1395. package/dist/src/unstable/sources/utils.d.ts.map +1 -0
  1396. package/dist/src/unstable/sources/utils.js +12 -0
  1397. package/dist/src/unstable/sources/utils.js.map +1 -0
  1398. package/dist/src/unstable/subagents/index.d.ts +23 -0
  1399. package/dist/src/unstable/subagents/index.d.ts.map +1 -0
  1400. package/dist/src/unstable/subagents/index.js +28 -0
  1401. package/dist/src/unstable/subagents/index.js.map +1 -0
  1402. package/dist/src/unstable/subagents/lock-entry-builder.d.ts +17 -0
  1403. package/dist/src/unstable/subagents/lock-entry-builder.d.ts.map +1 -0
  1404. package/dist/src/unstable/subagents/lock-entry-builder.js +108 -0
  1405. package/dist/src/unstable/subagents/lock-entry-builder.js.map +1 -0
  1406. package/dist/src/unstable/subagents/manager.d.ts +23 -0
  1407. package/dist/src/unstable/subagents/manager.d.ts.map +1 -0
  1408. package/dist/src/unstable/subagents/manager.js +266 -0
  1409. package/dist/src/unstable/subagents/manager.js.map +1 -0
  1410. package/dist/src/unstable/subagents/manifest-schema.d.ts +62 -0
  1411. package/dist/src/unstable/subagents/manifest-schema.d.ts.map +1 -0
  1412. package/dist/src/unstable/subagents/manifest-schema.js +45 -0
  1413. package/dist/src/unstable/subagents/manifest-schema.js.map +1 -0
  1414. package/dist/src/unstable/subagents/operations/disable.d.ts +42 -0
  1415. package/dist/src/unstable/subagents/operations/disable.d.ts.map +1 -0
  1416. package/dist/src/unstable/subagents/operations/disable.js +114 -0
  1417. package/dist/src/unstable/subagents/operations/disable.js.map +1 -0
  1418. package/dist/src/unstable/subagents/operations/enable.d.ts +40 -0
  1419. package/dist/src/unstable/subagents/operations/enable.d.ts.map +1 -0
  1420. package/dist/src/unstable/subagents/operations/enable.js +136 -0
  1421. package/dist/src/unstable/subagents/operations/enable.js.map +1 -0
  1422. package/dist/src/unstable/subagents/operations/publish.d.ts +44 -0
  1423. package/dist/src/unstable/subagents/operations/publish.d.ts.map +1 -0
  1424. package/dist/src/unstable/subagents/operations/publish.js +164 -0
  1425. package/dist/src/unstable/subagents/operations/publish.js.map +1 -0
  1426. package/dist/src/unstable/subagents/paths.d.ts +57 -0
  1427. package/dist/src/unstable/subagents/paths.d.ts.map +1 -0
  1428. package/dist/src/unstable/subagents/paths.js +34 -0
  1429. package/dist/src/unstable/subagents/paths.js.map +1 -0
  1430. package/dist/src/unstable/subagents/reconciliation-adapter.d.ts +13 -0
  1431. package/dist/src/unstable/subagents/reconciliation-adapter.d.ts.map +1 -0
  1432. package/dist/src/unstable/subagents/reconciliation-adapter.js +124 -0
  1433. package/dist/src/unstable/subagents/reconciliation-adapter.js.map +1 -0
  1434. package/dist/src/unstable/subagents/refs.d.ts +17 -0
  1435. package/dist/src/unstable/subagents/refs.d.ts.map +1 -0
  1436. package/dist/src/unstable/subagents/refs.js +8 -0
  1437. package/dist/src/unstable/subagents/refs.js.map +1 -0
  1438. package/dist/src/unstable/subagents/registry-ref-builder.d.ts +18 -0
  1439. package/dist/src/unstable/subagents/registry-ref-builder.d.ts.map +1 -0
  1440. package/dist/src/unstable/subagents/registry-ref-builder.js +24 -0
  1441. package/dist/src/unstable/subagents/registry-ref-builder.js.map +1 -0
  1442. package/dist/src/unstable/subagents/rendering/adapters/json.d.ts +17 -0
  1443. package/dist/src/unstable/subagents/rendering/adapters/json.d.ts.map +1 -0
  1444. package/dist/src/unstable/subagents/rendering/adapters/json.js +62 -0
  1445. package/dist/src/unstable/subagents/rendering/adapters/json.js.map +1 -0
  1446. package/dist/src/unstable/subagents/rendering/adapters/markdown-yaml.d.ts +18 -0
  1447. package/dist/src/unstable/subagents/rendering/adapters/markdown-yaml.d.ts.map +1 -0
  1448. package/dist/src/unstable/subagents/rendering/adapters/markdown-yaml.js +130 -0
  1449. package/dist/src/unstable/subagents/rendering/adapters/markdown-yaml.js.map +1 -0
  1450. package/dist/src/unstable/subagents/rendering/adapters/roo.d.ts +80 -0
  1451. package/dist/src/unstable/subagents/rendering/adapters/roo.d.ts.map +1 -0
  1452. package/dist/src/unstable/subagents/rendering/adapters/roo.js +125 -0
  1453. package/dist/src/unstable/subagents/rendering/adapters/roo.js.map +1 -0
  1454. package/dist/src/unstable/subagents/rendering/adapters/toml.d.ts +17 -0
  1455. package/dist/src/unstable/subagents/rendering/adapters/toml.d.ts.map +1 -0
  1456. package/dist/src/unstable/subagents/rendering/adapters/toml.js +79 -0
  1457. package/dist/src/unstable/subagents/rendering/adapters/toml.js.map +1 -0
  1458. package/dist/src/unstable/subagents/rendering/index.d.ts +37 -0
  1459. package/dist/src/unstable/subagents/rendering/index.d.ts.map +1 -0
  1460. package/dist/src/unstable/subagents/rendering/index.js +83 -0
  1461. package/dist/src/unstable/subagents/rendering/index.js.map +1 -0
  1462. package/dist/src/unstable/subagents/rendering/model-mapping.d.ts +31 -0
  1463. package/dist/src/unstable/subagents/rendering/model-mapping.d.ts.map +1 -0
  1464. package/dist/src/unstable/subagents/rendering/model-mapping.js +127 -0
  1465. package/dist/src/unstable/subagents/rendering/model-mapping.js.map +1 -0
  1466. package/dist/src/unstable/subagents/rendering/tool-access-mapping.d.ts +31 -0
  1467. package/dist/src/unstable/subagents/rendering/tool-access-mapping.d.ts.map +1 -0
  1468. package/dist/src/unstable/subagents/rendering/tool-access-mapping.js +169 -0
  1469. package/dist/src/unstable/subagents/rendering/tool-access-mapping.js.map +1 -0
  1470. package/dist/src/unstable/subagents/rendering/types.d.ts +100 -0
  1471. package/dist/src/unstable/subagents/rendering/types.d.ts.map +1 -0
  1472. package/dist/src/unstable/subagents/rendering/types.js +28 -0
  1473. package/dist/src/unstable/subagents/rendering/types.js.map +1 -0
  1474. package/dist/src/unstable/subagents/subagent-content.d.ts +82 -0
  1475. package/dist/src/unstable/subagents/subagent-content.d.ts.map +1 -0
  1476. package/dist/src/unstable/subagents/subagent-content.js +90 -0
  1477. package/dist/src/unstable/subagents/subagent-content.js.map +1 -0
  1478. package/dist/src/unstable/subagents/tool-access.d.ts +11 -0
  1479. package/dist/src/unstable/subagents/tool-access.d.ts.map +1 -0
  1480. package/dist/src/unstable/subagents/tool-access.js +15 -0
  1481. package/dist/src/unstable/subagents/tool-access.js.map +1 -0
  1482. package/dist/src/unstable/telemetry/__generated__/telemetry-client.d.ts +701 -0
  1483. package/dist/src/unstable/telemetry/__generated__/telemetry-client.d.ts.map +1 -0
  1484. package/dist/src/unstable/telemetry/__generated__/telemetry-client.js +327 -0
  1485. package/dist/src/unstable/telemetry/__generated__/telemetry-client.js.map +1 -0
  1486. package/dist/src/unstable/telemetry/client.d.ts +36 -0
  1487. package/dist/src/unstable/telemetry/client.d.ts.map +1 -0
  1488. package/dist/src/unstable/telemetry/client.js +87 -0
  1489. package/dist/src/unstable/telemetry/client.js.map +1 -0
  1490. package/dist/src/unstable/telemetry/index.d.ts +3 -0
  1491. package/dist/src/unstable/telemetry/index.d.ts.map +1 -0
  1492. package/dist/src/unstable/telemetry/index.js +3 -0
  1493. package/dist/src/unstable/telemetry/index.js.map +1 -0
  1494. package/dist/src/unstable/telemetry/mode.d.ts +11 -0
  1495. package/dist/src/unstable/telemetry/mode.d.ts.map +1 -0
  1496. package/dist/src/unstable/telemetry/mode.js +23 -0
  1497. package/dist/src/unstable/telemetry/mode.js.map +1 -0
  1498. package/dist/src/unstable/update-check/update-check.d.ts +101 -0
  1499. package/dist/src/unstable/update-check/update-check.d.ts.map +1 -0
  1500. package/dist/src/unstable/update-check/update-check.js +181 -0
  1501. package/dist/src/unstable/update-check/update-check.js.map +1 -0
  1502. package/dist/src/unstable/utils/build-zip-archive.d.ts +19 -0
  1503. package/dist/src/unstable/utils/build-zip-archive.d.ts.map +1 -0
  1504. package/dist/src/unstable/utils/build-zip-archive.js +66 -0
  1505. package/dist/src/unstable/utils/build-zip-archive.js.map +1 -0
  1506. package/dist/src/unstable/utils/create-symlink.d.ts +25 -0
  1507. package/dist/src/unstable/utils/create-symlink.d.ts.map +1 -0
  1508. package/dist/src/unstable/utils/create-symlink.js +89 -0
  1509. package/dist/src/unstable/utils/create-symlink.js.map +1 -0
  1510. package/dist/src/unstable/utils/environment.d.ts +37 -0
  1511. package/dist/src/unstable/utils/environment.d.ts.map +1 -0
  1512. package/dist/src/unstable/utils/environment.js +69 -0
  1513. package/dist/src/unstable/utils/environment.js.map +1 -0
  1514. package/dist/src/unstable/utils/fs-helpers.d.ts +25 -0
  1515. package/dist/src/unstable/utils/fs-helpers.d.ts.map +1 -0
  1516. package/dist/src/unstable/utils/fs-helpers.js +45 -0
  1517. package/dist/src/unstable/utils/fs-helpers.js.map +1 -0
  1518. package/dist/src/unstable/utils/glob.d.ts +35 -0
  1519. package/dist/src/unstable/utils/glob.d.ts.map +1 -0
  1520. package/dist/src/unstable/utils/glob.js +48 -0
  1521. package/dist/src/unstable/utils/glob.js.map +1 -0
  1522. package/dist/src/unstable/utils/index.d.ts +10 -0
  1523. package/dist/src/unstable/utils/index.d.ts.map +1 -0
  1524. package/dist/src/unstable/utils/index.js +10 -0
  1525. package/dist/src/unstable/utils/index.js.map +1 -0
  1526. package/dist/src/unstable/utils/integrity.d.ts +9 -0
  1527. package/dist/src/unstable/utils/integrity.d.ts.map +1 -0
  1528. package/dist/src/unstable/utils/integrity.js +13 -0
  1529. package/dist/src/unstable/utils/integrity.js.map +1 -0
  1530. package/dist/src/unstable/utils/network.d.ts +6 -0
  1531. package/dist/src/unstable/utils/network.d.ts.map +1 -0
  1532. package/dist/src/unstable/utils/network.js +6 -0
  1533. package/dist/src/unstable/utils/network.js.map +1 -0
  1534. package/dist/src/unstable/utils/path-safety.d.ts +6 -0
  1535. package/dist/src/unstable/utils/path-safety.d.ts.map +1 -0
  1536. package/dist/src/unstable/utils/path-safety.js +16 -0
  1537. package/dist/src/unstable/utils/path-safety.js.map +1 -0
  1538. package/dist/src/unstable/utils/resolve-parent-symlinks.d.ts +13 -0
  1539. package/dist/src/unstable/utils/resolve-parent-symlinks.d.ts.map +1 -0
  1540. package/dist/src/unstable/utils/resolve-parent-symlinks.js +19 -0
  1541. package/dist/src/unstable/utils/resolve-parent-symlinks.js.map +1 -0
  1542. package/dist/src/unstable/version-constraints/version-constraints.d.ts +61 -0
  1543. package/dist/src/unstable/version-constraints/version-constraints.d.ts.map +1 -0
  1544. package/dist/src/unstable/version-constraints/version-constraints.js +112 -0
  1545. package/dist/src/unstable/version-constraints/version-constraints.js.map +1 -0
  1546. package/dist/src/unstable/version-resolution/version-resolution.d.ts +39 -0
  1547. package/dist/src/unstable/version-resolution/version-resolution.d.ts.map +1 -0
  1548. package/dist/src/unstable/version-resolution/version-resolution.js +159 -0
  1549. package/dist/src/unstable/version-resolution/version-resolution.js.map +1 -0
  1550. package/dist/src/unstable/workflows/index.d.ts +9 -0
  1551. package/dist/src/unstable/workflows/index.d.ts.map +1 -0
  1552. package/dist/src/unstable/workflows/index.js +9 -0
  1553. package/dist/src/unstable/workflows/index.js.map +1 -0
  1554. package/dist/src/unstable/workflows/install-command/workflow.d.ts +50 -0
  1555. package/dist/src/unstable/workflows/install-command/workflow.d.ts.map +1 -0
  1556. package/dist/src/unstable/workflows/install-command/workflow.js +37 -0
  1557. package/dist/src/unstable/workflows/install-command/workflow.js.map +1 -0
  1558. package/dist/src/unstable/workflows/uninstall-command/workflow.d.ts +38 -0
  1559. package/dist/src/unstable/workflows/uninstall-command/workflow.d.ts.map +1 -0
  1560. package/dist/src/unstable/workflows/uninstall-command/workflow.js +26 -0
  1561. package/dist/src/unstable/workflows/uninstall-command/workflow.js.map +1 -0
  1562. package/dist/src/unstable/workspace/apply-plan.d.ts +29 -0
  1563. package/dist/src/unstable/workspace/apply-plan.d.ts.map +1 -0
  1564. package/dist/src/unstable/workspace/apply-plan.js +91 -0
  1565. package/dist/src/unstable/workspace/apply-plan.js.map +1 -0
  1566. package/dist/src/unstable/workspace/augment-plan.d.ts +33 -0
  1567. package/dist/src/unstable/workspace/augment-plan.d.ts.map +1 -0
  1568. package/dist/src/unstable/workspace/augment-plan.js +71 -0
  1569. package/dist/src/unstable/workspace/augment-plan.js.map +1 -0
  1570. package/dist/src/unstable/workspace/classifier-records.d.ts +39 -0
  1571. package/dist/src/unstable/workspace/classifier-records.d.ts.map +1 -0
  1572. package/dist/src/unstable/workspace/classifier-records.js +182 -0
  1573. package/dist/src/unstable/workspace/classifier-records.js.map +1 -0
  1574. package/dist/src/unstable/workspace/classifier.d.ts +62 -0
  1575. package/dist/src/unstable/workspace/classifier.d.ts.map +1 -0
  1576. package/dist/src/unstable/workspace/classifier.js +102 -0
  1577. package/dist/src/unstable/workspace/classifier.js.map +1 -0
  1578. package/dist/src/unstable/workspace/configured-entry-resolution/index.d.ts +4 -0
  1579. package/dist/src/unstable/workspace/configured-entry-resolution/index.d.ts.map +1 -0
  1580. package/dist/src/unstable/workspace/configured-entry-resolution/index.js +4 -0
  1581. package/dist/src/unstable/workspace/configured-entry-resolution/index.js.map +1 -0
  1582. package/dist/src/unstable/workspace/configured-entry-resolution/resolve.d.ts +29 -0
  1583. package/dist/src/unstable/workspace/configured-entry-resolution/resolve.d.ts.map +1 -0
  1584. package/dist/src/unstable/workspace/configured-entry-resolution/resolve.js +256 -0
  1585. package/dist/src/unstable/workspace/configured-entry-resolution/resolve.js.map +1 -0
  1586. package/dist/src/unstable/workspace/configured-entry-resolution/timeout.d.ts +5 -0
  1587. package/dist/src/unstable/workspace/configured-entry-resolution/timeout.d.ts.map +1 -0
  1588. package/dist/src/unstable/workspace/configured-entry-resolution/timeout.js +12 -0
  1589. package/dist/src/unstable/workspace/configured-entry-resolution/timeout.js.map +1 -0
  1590. package/dist/src/unstable/workspace/configured-entry-resolution/types.d.ts +20 -0
  1591. package/dist/src/unstable/workspace/configured-entry-resolution/types.d.ts.map +1 -0
  1592. package/dist/src/unstable/workspace/configured-entry-resolution/types.js +17 -0
  1593. package/dist/src/unstable/workspace/configured-entry-resolution/types.js.map +1 -0
  1594. package/dist/src/unstable/workspace/display-plan.d.ts +18 -0
  1595. package/dist/src/unstable/workspace/display-plan.d.ts.map +1 -0
  1596. package/dist/src/unstable/workspace/display-plan.js +126 -0
  1597. package/dist/src/unstable/workspace/display-plan.js.map +1 -0
  1598. package/dist/src/unstable/workspace/doctor/check-def.d.ts +29 -0
  1599. package/dist/src/unstable/workspace/doctor/check-def.d.ts.map +1 -0
  1600. package/dist/src/unstable/workspace/doctor/check-def.js +17 -0
  1601. package/dist/src/unstable/workspace/doctor/check-def.js.map +1 -0
  1602. package/dist/src/unstable/workspace/doctor/checks/agents-configured.d.ts +5 -0
  1603. package/dist/src/unstable/workspace/doctor/checks/agents-configured.d.ts.map +1 -0
  1604. package/dist/src/unstable/workspace/doctor/checks/agents-configured.js +170 -0
  1605. package/dist/src/unstable/workspace/doctor/checks/agents-configured.js.map +1 -0
  1606. package/dist/src/unstable/workspace/doctor/checks/extensions-installed.d.ts +5 -0
  1607. package/dist/src/unstable/workspace/doctor/checks/extensions-installed.d.ts.map +1 -0
  1608. package/dist/src/unstable/workspace/doctor/checks/extensions-installed.js +472 -0
  1609. package/dist/src/unstable/workspace/doctor/checks/extensions-installed.js.map +1 -0
  1610. package/dist/src/unstable/workspace/doctor/checks/workspace-ready.d.ts +5 -0
  1611. package/dist/src/unstable/workspace/doctor/checks/workspace-ready.d.ts.map +1 -0
  1612. package/dist/src/unstable/workspace/doctor/checks/workspace-ready.js +201 -0
  1613. package/dist/src/unstable/workspace/doctor/checks/workspace-ready.js.map +1 -0
  1614. package/dist/src/unstable/workspace/doctor/diagnose.d.ts +49 -0
  1615. package/dist/src/unstable/workspace/doctor/diagnose.d.ts.map +1 -0
  1616. package/dist/src/unstable/workspace/doctor/diagnose.js +65 -0
  1617. package/dist/src/unstable/workspace/doctor/diagnose.js.map +1 -0
  1618. package/dist/src/unstable/workspace/doctor/index.d.ts +8 -0
  1619. package/dist/src/unstable/workspace/doctor/index.d.ts.map +1 -0
  1620. package/dist/src/unstable/workspace/doctor/index.js +6 -0
  1621. package/dist/src/unstable/workspace/doctor/index.js.map +1 -0
  1622. package/dist/src/unstable/workspace/doctor/rollup.d.ts +4 -0
  1623. package/dist/src/unstable/workspace/doctor/rollup.d.ts.map +1 -0
  1624. package/dist/src/unstable/workspace/doctor/rollup.js +28 -0
  1625. package/dist/src/unstable/workspace/doctor/rollup.js.map +1 -0
  1626. package/dist/src/unstable/workspace/doctor/runner.d.ts +6 -0
  1627. package/dist/src/unstable/workspace/doctor/runner.d.ts.map +1 -0
  1628. package/dist/src/unstable/workspace/doctor/runner.js +179 -0
  1629. package/dist/src/unstable/workspace/doctor/runner.js.map +1 -0
  1630. package/dist/src/unstable/workspace/doctor/types.d.ts +125 -0
  1631. package/dist/src/unstable/workspace/doctor/types.d.ts.map +1 -0
  1632. package/dist/src/unstable/workspace/doctor/types.js +58 -0
  1633. package/dist/src/unstable/workspace/doctor/types.js.map +1 -0
  1634. package/dist/src/unstable/workspace/index.d.ts +33 -0
  1635. package/dist/src/unstable/workspace/index.d.ts.map +1 -0
  1636. package/dist/src/unstable/workspace/index.js +46 -0
  1637. package/dist/src/unstable/workspace/index.js.map +1 -0
  1638. package/dist/src/unstable/workspace/initialization-interaction.d.ts +36 -0
  1639. package/dist/src/unstable/workspace/initialization-interaction.d.ts.map +1 -0
  1640. package/dist/src/unstable/workspace/initialization-interaction.js +41 -0
  1641. package/dist/src/unstable/workspace/initialization-interaction.js.map +1 -0
  1642. package/dist/src/unstable/workspace/initialization.d.ts +225 -0
  1643. package/dist/src/unstable/workspace/initialization.d.ts.map +1 -0
  1644. package/dist/src/unstable/workspace/initialization.js +156 -0
  1645. package/dist/src/unstable/workspace/initialization.js.map +1 -0
  1646. package/dist/src/unstable/workspace/paths.d.ts +81 -0
  1647. package/dist/src/unstable/workspace/paths.d.ts.map +1 -0
  1648. package/dist/src/unstable/workspace/paths.js +95 -0
  1649. package/dist/src/unstable/workspace/paths.js.map +1 -0
  1650. package/dist/src/unstable/workspace/plan.d.ts +98 -0
  1651. package/dist/src/unstable/workspace/plan.d.ts.map +1 -0
  1652. package/dist/src/unstable/workspace/plan.js +12 -0
  1653. package/dist/src/unstable/workspace/plan.js.map +1 -0
  1654. package/dist/src/unstable/workspace/reconciliation-types.d.ts +75 -0
  1655. package/dist/src/unstable/workspace/reconciliation-types.d.ts.map +1 -0
  1656. package/dist/src/unstable/workspace/reconciliation-types.js +2 -0
  1657. package/dist/src/unstable/workspace/reconciliation-types.js.map +1 -0
  1658. package/dist/src/unstable/workspace/reconciliation.d.ts +34 -0
  1659. package/dist/src/unstable/workspace/reconciliation.d.ts.map +1 -0
  1660. package/dist/src/unstable/workspace/reconciliation.js +201 -0
  1661. package/dist/src/unstable/workspace/reconciliation.js.map +1 -0
  1662. package/dist/src/unstable/workspace/resolve-plan-interaction.d.ts +26 -0
  1663. package/dist/src/unstable/workspace/resolve-plan-interaction.d.ts.map +1 -0
  1664. package/dist/src/unstable/workspace/resolve-plan-interaction.js +35 -0
  1665. package/dist/src/unstable/workspace/resolve-plan-interaction.js.map +1 -0
  1666. package/dist/src/unstable/workspace/resolve-plan.d.ts +45 -0
  1667. package/dist/src/unstable/workspace/resolve-plan.d.ts.map +1 -0
  1668. package/dist/src/unstable/workspace/resolve-plan.js +128 -0
  1669. package/dist/src/unstable/workspace/resolve-plan.js.map +1 -0
  1670. package/dist/src/unstable/workspace/scan-plan-readiness.d.ts +22 -0
  1671. package/dist/src/unstable/workspace/scan-plan-readiness.d.ts.map +1 -0
  1672. package/dist/src/unstable/workspace/scan-plan-readiness.js +41 -0
  1673. package/dist/src/unstable/workspace/scan-plan-readiness.js.map +1 -0
  1674. package/dist/src/unstable/workspace/scope.d.ts +11 -0
  1675. package/dist/src/unstable/workspace/scope.d.ts.map +1 -0
  1676. package/dist/src/unstable/workspace/scope.js +10 -0
  1677. package/dist/src/unstable/workspace/scope.js.map +1 -0
  1678. package/dist/src/unstable/workspace/service-interface.d.ts +357 -0
  1679. package/dist/src/unstable/workspace/service-interface.d.ts.map +1 -0
  1680. package/dist/src/unstable/workspace/service-interface.js +27 -0
  1681. package/dist/src/unstable/workspace/service-interface.js.map +1 -0
  1682. package/dist/src/unstable/workspace/service.d.ts +1055 -0
  1683. package/dist/src/unstable/workspace/service.d.ts.map +1 -0
  1684. package/dist/src/unstable/workspace/service.js +1062 -0
  1685. package/dist/src/unstable/workspace/service.js.map +1 -0
  1686. package/dist/src/unstable/workspace/settings-validation/detect-blockers.d.ts +7 -0
  1687. package/dist/src/unstable/workspace/settings-validation/detect-blockers.d.ts.map +1 -0
  1688. package/dist/src/unstable/workspace/settings-validation/detect-blockers.js +107 -0
  1689. package/dist/src/unstable/workspace/settings-validation/detect-blockers.js.map +1 -0
  1690. package/dist/src/unstable/workspace/settings-validation/detect-lockfile-blockers.d.ts +18 -0
  1691. package/dist/src/unstable/workspace/settings-validation/detect-lockfile-blockers.d.ts.map +1 -0
  1692. package/dist/src/unstable/workspace/settings-validation/detect-lockfile-blockers.js +201 -0
  1693. package/dist/src/unstable/workspace/settings-validation/detect-lockfile-blockers.js.map +1 -0
  1694. package/dist/src/unstable/workspace/settings-validation/index.d.ts +4 -0
  1695. package/dist/src/unstable/workspace/settings-validation/index.d.ts.map +1 -0
  1696. package/dist/src/unstable/workspace/settings-validation/index.js +3 -0
  1697. package/dist/src/unstable/workspace/settings-validation/index.js.map +1 -0
  1698. package/dist/src/unstable/workspace/settings-validation/types.d.ts +16 -0
  1699. package/dist/src/unstable/workspace/settings-validation/types.d.ts.map +1 -0
  1700. package/dist/src/unstable/workspace/settings-validation/types.js +2 -0
  1701. package/dist/src/unstable/workspace/settings-validation/types.js.map +1 -0
  1702. package/dist/src/unstable/workspace/skill-snapshot.d.ts +77 -0
  1703. package/dist/src/unstable/workspace/skill-snapshot.d.ts.map +1 -0
  1704. package/dist/src/unstable/workspace/skill-snapshot.js +117 -0
  1705. package/dist/src/unstable/workspace/skill-snapshot.js.map +1 -0
  1706. package/dist/src/unstable/workspace/source-metadata.d.ts +42 -0
  1707. package/dist/src/unstable/workspace/source-metadata.d.ts.map +1 -0
  1708. package/dist/src/unstable/workspace/source-metadata.js +96 -0
  1709. package/dist/src/unstable/workspace/source-metadata.js.map +1 -0
  1710. package/dist/src/unstable/workspace/sync.d.ts +17 -0
  1711. package/dist/src/unstable/workspace/sync.d.ts.map +1 -0
  1712. package/dist/src/unstable/workspace/sync.js +142 -0
  1713. package/dist/src/unstable/workspace/sync.js.map +1 -0
  1714. package/dist/src/unstable/workspace/taxonomy-types.d.ts +119 -0
  1715. package/dist/src/unstable/workspace/taxonomy-types.d.ts.map +1 -0
  1716. package/dist/src/unstable/workspace/taxonomy-types.js +10 -0
  1717. package/dist/src/unstable/workspace/taxonomy-types.js.map +1 -0
  1718. package/dist/src/unstable/workspace/test-stubs.d.ts +146 -0
  1719. package/dist/src/unstable/workspace/test-stubs.d.ts.map +1 -0
  1720. package/dist/src/unstable/workspace/test-stubs.js +245 -0
  1721. package/dist/src/unstable/workspace/test-stubs.js.map +1 -0
  1722. package/package.json +202 -0
  1723. package/site-content/INSTALL.md +189 -0
  1724. package/site-content/__generated__/schemas/axm-lock.schema.json +1642 -0
  1725. package/site-content/__generated__/schemas/axm-package-meta.schema.json +34 -0
  1726. package/site-content/__generated__/schemas/command.schema.json +179 -0
  1727. package/site-content/__generated__/schemas/extension-pack.schema.json +221 -0
  1728. package/site-content/__generated__/schemas/mcp-server.schema.json +179 -0
  1729. package/site-content/__generated__/schemas/settings.schema.json +483 -0
  1730. package/site-content/__generated__/schemas/skill.schema.json +192 -0
  1731. package/site-content/docs/config.json +3 -0
  1732. package/site-content/docs/quickstart.md +236 -0
  1733. package/site-content/install.sh +146 -0
@@ -0,0 +1,225 @@
1
+ /**
2
+ * Hex package detector and reader for package-compatibility discovery.
3
+ *
4
+ * Supports both Elixir (mix.exs) and Gleam (gleam.toml) projects.
5
+ *
6
+ * @experimental This API is unstable and may change without notice.
7
+ * @packageDocumentation
8
+ */
9
+ import * as Effect from "effect/Effect";
10
+ import * as FileSystem from "effect/FileSystem";
11
+ import * as Option from "effect/Option";
12
+ import * as Path from "effect/Path";
13
+ import * as Result from "effect/Result";
14
+ import * as Schema from "effect/Schema";
15
+ import { PackageURL } from "packageurl-js";
16
+ import { AxmPackageMetaSchema } from "./axm-package-meta.js";
17
+ import { PackageTypeSchema } from "./package-type.js";
18
+ import { PackageUrlSchema } from "./package-url.js";
19
+ const hexType = Schema.decodeUnknownSync(PackageTypeSchema)("hex");
20
+ const decodePurl = Schema.decodeUnknownSync(PackageUrlSchema);
21
+ const decodeAxmMeta = Schema.decodeUnknownResult(AxmPackageMetaSchema);
22
+ /**
23
+ * Returns true if the specifier is an exact semver version (no range operators).
24
+ */
25
+ const isExactVersion = (specifier) => /^\d+\.\d+\.\d+(?:[-+][a-zA-Z0-9._+-]*)?$/.test(specifier);
26
+ /**
27
+ * Regex to detect :path or :git options which indicate non-registry deps.
28
+ */
29
+ const PATH_OR_GIT_REGEX = /(?:path|git):\s*"/;
30
+ /**
31
+ * Parse mix.exs content and extract dependency tuples from the deps function.
32
+ */
33
+ const parseMixExs = (content, source) => {
34
+ const results = [];
35
+ // Extract the full dep tuples to check for path/git options
36
+ const fullTuples = new Map();
37
+ let fullMatch;
38
+ const fullRegex = /\{:(\w+)[^}]*\}/g;
39
+ while ((fullMatch = fullRegex.exec(content)) !== null) {
40
+ const name = fullMatch[1];
41
+ if (name !== undefined) {
42
+ fullTuples.set(name, fullMatch[0]);
43
+ }
44
+ }
45
+ // Now extract deps with version strings
46
+ let match;
47
+ const depRegex = /\{:(\w+),\s*"([^"]*)"/g;
48
+ while ((match = depRegex.exec(content)) !== null) {
49
+ const name = match[1];
50
+ const versionSpec = match[2];
51
+ if (name === undefined || versionSpec === undefined)
52
+ continue;
53
+ // Check if this dep has path: or git: options (skip if so)
54
+ const fullTuple = fullTuples.get(name);
55
+ if (fullTuple !== undefined && PATH_OR_GIT_REGEX.test(fullTuple))
56
+ continue;
57
+ const version = isExactVersion(versionSpec) ? versionSpec : undefined;
58
+ const purl = new PackageURL("hex", null, name, version ?? null, null, null);
59
+ const purlParts = decodePurl(purl.toString());
60
+ results.push({ purl: purlParts, type: hexType, source });
61
+ }
62
+ return results;
63
+ };
64
+ /**
65
+ * Parse a TOML-like section for dependencies.
66
+ * Handles simple `name = "version"` entries within a section block.
67
+ */
68
+ const parseTomlDeps = (content, sectionName, source) => {
69
+ const results = [];
70
+ // Find the section
71
+ const sectionRegex = new RegExp(`\\[${sectionName.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")}\\]`);
72
+ const sectionMatch = sectionRegex.exec(content);
73
+ if (sectionMatch === null)
74
+ return [];
75
+ const sectionStart = sectionMatch.index + sectionMatch[0].length;
76
+ // Find the next section (or end of content)
77
+ const nextSectionMatch = /\n\[/.exec(content.slice(sectionStart));
78
+ const sectionEnd = nextSectionMatch !== null ? sectionStart + nextSectionMatch.index : content.length;
79
+ const sectionContent = content.slice(sectionStart, sectionEnd);
80
+ // Parse key = "value" entries
81
+ const entryRegex = /^(\w+)\s*=\s*"([^"]*)"/gm;
82
+ let match;
83
+ while ((match = entryRegex.exec(sectionContent)) !== null) {
84
+ const name = match[1];
85
+ const versionSpec = match[2];
86
+ if (name === undefined || versionSpec === undefined)
87
+ continue;
88
+ const version = isExactVersion(versionSpec) ? versionSpec : undefined;
89
+ const purl = new PackageURL("hex", null, name, version ?? null, null, null);
90
+ const purlParts = decodePurl(purl.toString());
91
+ results.push({ purl: purlParts, type: hexType, source });
92
+ }
93
+ return results;
94
+ };
95
+ /**
96
+ * Parse gleam.toml content and extract dependencies from [dependencies] and [dev-dependencies].
97
+ */
98
+ const parseGleamToml = (content, source) => {
99
+ const deps = parseTomlDeps(content, "dependencies", source);
100
+ const devDeps = parseTomlDeps(content, "dev-dependencies", source);
101
+ return [...deps, ...devDeps];
102
+ };
103
+ /**
104
+ * Read a file as string, returning Option.none for NotFound and other errors.
105
+ */
106
+ const readFileOptional = (filePath) => Effect.gen(function* () {
107
+ const fs = yield* FileSystem.FileSystem;
108
+ const content = yield* fs.readFileString(filePath).pipe(Effect.option);
109
+ return content;
110
+ });
111
+ /**
112
+ * Parse JSON string, returning Option.none and logging a warning on failure.
113
+ */
114
+ const parseJsonOptional = (content, context) => Effect.gen(function* () {
115
+ const result = yield* Effect.try({
116
+ try: () => JSON.parse(content),
117
+ catch: () => ({ _tag: "JsonParseError" }),
118
+ }).pipe(Effect.option);
119
+ if (Option.isNone(result)) {
120
+ yield* Effect.logWarning(`Malformed JSON in ${context}, skipping`);
121
+ return Option.none();
122
+ }
123
+ return Option.some(result.value);
124
+ });
125
+ /**
126
+ * Parse Erlang term format hex_metadata.config to extract the extra.axm field.
127
+ * This is a simplified parser that extracts the axm JSON from the extra field.
128
+ *
129
+ * Erlang binary strings use `<<"...">>` delimiters. The axm value is a JSON
130
+ * string embedded as an Erlang binary, potentially with escaped quotes inside.
131
+ */
132
+ const parseHexMetadataExtra = (content) => {
133
+ // Look for <<"axm">> key followed by its value in <<"...">> format
134
+ // The value may contain escaped quotes within the Erlang binary string
135
+ const axmMatch = /<<"axm">>,\s*<<"((?:[^"\\]|\\.)*)">>/m.exec(content);
136
+ if (axmMatch?.[1] !== undefined) {
137
+ // Unescape any escaped quotes from the Erlang binary string encoding
138
+ const jsonStr = axmMatch[1].replace(/\\"/g, '"');
139
+ try {
140
+ const parsed = JSON.parse(jsonStr);
141
+ return parsed;
142
+ }
143
+ catch {
144
+ return undefined;
145
+ }
146
+ }
147
+ return undefined;
148
+ };
149
+ /**
150
+ * Hex package detector.
151
+ *
152
+ * Scans `mix.exs` and `gleam.toml` in the project directory and extracts
153
+ * dependencies from Elixir dependency tuples and Gleam TOML sections.
154
+ *
155
+ * @experimental This API is unstable and may change without notice.
156
+ */
157
+ export const hexDetector = {
158
+ type: hexType,
159
+ detect: Effect.fn("detect.hex")(function* (projectDir) {
160
+ const path = yield* Path.Path;
161
+ const results = [];
162
+ // Try mix.exs (Elixir)
163
+ const mixPath = path.join(projectDir, "mix.exs");
164
+ const mixContent = yield* readFileOptional(mixPath);
165
+ if (Option.isSome(mixContent)) {
166
+ const mixDeps = parseMixExs(mixContent.value, mixPath);
167
+ results.push(...mixDeps);
168
+ }
169
+ // Try gleam.toml (Gleam)
170
+ const gleamPath = path.join(projectDir, "gleam.toml");
171
+ const gleamContent = yield* readFileOptional(gleamPath);
172
+ if (Option.isSome(gleamContent)) {
173
+ const gleamDeps = parseGleamToml(gleamContent.value, gleamPath);
174
+ results.push(...gleamDeps);
175
+ }
176
+ return results;
177
+ }, Effect.annotateLogs({ detector: "hex" }), Effect.withSpan("detect.hex")),
178
+ };
179
+ /**
180
+ * Hex package reader.
181
+ *
182
+ * Reads `deps/<package-name>/axm.json` as the primary source, falling back to
183
+ * parsing `hex_metadata.config` for each detected Hex package.
184
+ *
185
+ * @experimental This API is unstable and may change without notice.
186
+ */
187
+ export const hexReader = {
188
+ type: hexType,
189
+ read: Effect.fn("read.hex")(function* (pkg) {
190
+ const path = yield* Path.Path;
191
+ // Derive project directory from the source manifest path
192
+ const projectDir = path.dirname(pkg.source);
193
+ const pkgName = pkg.purl.name;
194
+ // Try axm.json sidecar first
195
+ const axmJsonPath = path.join(projectDir, "deps", pkgName, "axm.json");
196
+ const axmContent = yield* readFileOptional(axmJsonPath);
197
+ if (Option.isSome(axmContent)) {
198
+ const parsed = yield* parseJsonOptional(axmContent.value, `${pkgName}/axm.json`);
199
+ if (Option.isSome(parsed)) {
200
+ const metaResult = decodeAxmMeta(parsed.value);
201
+ if (Result.isFailure(metaResult)) {
202
+ yield* Effect.logWarning(`Invalid axm metadata in ${pkgName}/axm.json: schema validation failed`);
203
+ return Option.none();
204
+ }
205
+ return Option.some(metaResult.success.recommendedExtensions);
206
+ }
207
+ }
208
+ // Fall back to hex_metadata.config
209
+ const hexMetaPath = path.join(projectDir, "deps", pkgName, "hex_metadata.config");
210
+ const hexMetaContent = yield* readFileOptional(hexMetaPath);
211
+ if (Option.isSome(hexMetaContent)) {
212
+ const axmData = parseHexMetadataExtra(hexMetaContent.value);
213
+ if (axmData !== undefined) {
214
+ const metaResult = decodeAxmMeta(axmData);
215
+ if (Result.isFailure(metaResult)) {
216
+ yield* Effect.logWarning(`Invalid axm metadata in ${pkgName}/hex_metadata.config: schema validation failed`);
217
+ return Option.none();
218
+ }
219
+ return Option.some(metaResult.success.recommendedExtensions);
220
+ }
221
+ }
222
+ return Option.none();
223
+ }, Effect.annotateLogs({ reader: "hex" }), Effect.withSpan("read.hex")),
224
+ };
225
+ //# sourceMappingURL=hex.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hex.js","sourceRoot":"","sources":["../../../../src/unstable/packaging/hex.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AACpC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAA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AAI,EAAE,CAAC;gBACvB,CAAC;gBACD,OAAO,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC;YAC/D,CAAC;QACH,CAAC;QAED,OAAO,MAAM,CAAC,IAAI,EAAE,CAAC;IACvB,CAAC,EACD,MAAM,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC,EACtC,MAAM,CAAC,QAAQ,CAAC,UAAU,CAAC,CAC5B;CACF,CAAC"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Hugging Face (ML models) package reader for package-compatibility discovery.
3
+ *
4
+ * Reads YAML frontmatter from model cards in the Hugging Face cache directory.
5
+ * No detector is provided for this ecosystem.
6
+ *
7
+ * @experimental This API is unstable and may change without notice.
8
+ * @packageDocumentation
9
+ */
10
+ import type { PackageReader } from "./types.js";
11
+ /**
12
+ * Hugging Face model reader.
13
+ *
14
+ * Reads YAML frontmatter from model cards in
15
+ * `~/.cache/huggingface/hub/models--<id>/` and extracts axm metadata.
16
+ *
17
+ * @experimental This API is unstable and may change without notice.
18
+ */
19
+ export declare const huggingfaceReader: PackageReader;
20
+ //# sourceMappingURL=huggingface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"huggingface.d.ts","sourceRoot":"","sources":["../../../../src/unstable/packaging/huggingface.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAgBH,OAAO,KAAK,EAAmB,aAAa,EAAE,MAAM,YAAY,CAAC;AAqDjE;;;;;;;GAOG;AACH,eAAO,MAAM,iBAAiB,EAAE,aAkE/B,CAAC"}
@@ -0,0 +1,123 @@
1
+ /**
2
+ * Hugging Face (ML models) package reader for package-compatibility discovery.
3
+ *
4
+ * Reads YAML frontmatter from model cards in the Hugging Face cache directory.
5
+ * No detector is provided for this ecosystem.
6
+ *
7
+ * @experimental This API is unstable and may change without notice.
8
+ * @packageDocumentation
9
+ */
10
+ // Intentional escape hatch: node:os homedir() has no @effect/platform equivalent.
11
+ import * as os from "node:os";
12
+ import * as Effect from "effect/Effect";
13
+ import * as FileSystem from "effect/FileSystem";
14
+ import * as Option from "effect/Option";
15
+ import * as Path from "effect/Path";
16
+ import * as Result from "effect/Result";
17
+ import * as Schema from "effect/Schema";
18
+ import YAML from "yaml";
19
+ import { AxmPackageMetaSchema } from "./axm-package-meta.js";
20
+ // eslint-disable-next-line no-restricted-properties -- Centralized env var access for packaging detectors
21
+ const readEnv = (name) => process.env[name];
22
+ import { PackageTypeSchema } from "./package-type.js";
23
+ const huggingfaceType = Schema.decodeUnknownSync(PackageTypeSchema)("huggingface");
24
+ const decodeAxmMeta = Schema.decodeUnknownResult(AxmPackageMetaSchema);
25
+ // ---------------------------------------------------------------------------
26
+ // Helpers
27
+ // ---------------------------------------------------------------------------
28
+ /**
29
+ * Read a file as string, returning Option.none for NotFound and other errors.
30
+ */
31
+ const readFileOptional = (filePath) => Effect.gen(function* () {
32
+ const fs = yield* FileSystem.FileSystem;
33
+ const content = yield* fs.readFileString(filePath).pipe(Effect.option);
34
+ return content;
35
+ });
36
+ /**
37
+ * Extract YAML frontmatter from a markdown file.
38
+ * Frontmatter is delimited by `---` at the start and end.
39
+ */
40
+ const extractYamlFrontmatter = (content) => {
41
+ if (!content.startsWith("---"))
42
+ return undefined;
43
+ const endIdx = content.indexOf("\n---", 3);
44
+ if (endIdx === -1)
45
+ return undefined;
46
+ return content.slice(3, endIdx).trim();
47
+ };
48
+ /** Schema for extracting the axm field from model card frontmatter. */
49
+ const ModelCardAxmSchema = Schema.Struct({
50
+ axm: Schema.optional(Schema.Unknown),
51
+ });
52
+ const decodeModelCardAxm = Schema.decodeUnknownResult(ModelCardAxmSchema);
53
+ /**
54
+ * Resolve the Hugging Face cache directory.
55
+ * Checks HF_HOME, HUGGINGFACE_HUB_CACHE, then defaults to ~/.cache/huggingface/hub.
56
+ */
57
+ const resolveHfCache = () => Effect.sync(() => readEnv("HUGGINGFACE_HUB_CACHE") ??
58
+ (readEnv("HF_HOME") ? `${readEnv("HF_HOME")}/hub` : `${os.homedir()}/.cache/huggingface/hub`));
59
+ // ---------------------------------------------------------------------------
60
+ // Reader
61
+ // ---------------------------------------------------------------------------
62
+ /**
63
+ * Hugging Face model reader.
64
+ *
65
+ * Reads YAML frontmatter from model cards in
66
+ * `~/.cache/huggingface/hub/models--<id>/` and extracts axm metadata.
67
+ *
68
+ * @experimental This API is unstable and may change without notice.
69
+ */
70
+ export const huggingfaceReader = {
71
+ type: huggingfaceType,
72
+ read: Effect.fn("read.huggingface")(function* (pkg) {
73
+ const path = yield* Path.Path;
74
+ const hfCache = yield* resolveHfCache();
75
+ // Model IDs use -- as separator in the cache directory
76
+ // e.g., models--org--model-name for org/model-name
77
+ const namespace = pkg.purl.namespace;
78
+ const modelDirName = namespace
79
+ ? `models--${namespace}--${pkg.purl.name}`
80
+ : `models--${pkg.purl.name}`;
81
+ // Look for README.md in the snapshot directory
82
+ const modelDir = path.join(hfCache, modelDirName);
83
+ // Find the latest snapshot by reading the refs/main file
84
+ const refsMainPath = path.join(modelDir, "refs", "main");
85
+ const refContent = yield* readFileOptional(refsMainPath);
86
+ if (Option.isNone(refContent))
87
+ return Option.none();
88
+ const snapshotHash = refContent.value.trim();
89
+ if (snapshotHash === "")
90
+ return Option.none();
91
+ const readmePath = path.join(modelDir, "snapshots", snapshotHash, "README.md");
92
+ const readmeContent = yield* readFileOptional(readmePath);
93
+ if (Option.isNone(readmeContent))
94
+ return Option.none();
95
+ // Extract YAML frontmatter
96
+ const frontmatter = extractYamlFrontmatter(readmeContent.value);
97
+ if (frontmatter === undefined)
98
+ return Option.none();
99
+ // Parse YAML frontmatter
100
+ const parsed = yield* Effect.try({
101
+ try: () => YAML.parse(frontmatter),
102
+ catch: () => ({ _tag: "YamlParseError" }),
103
+ }).pipe(Effect.option);
104
+ if (Option.isNone(parsed)) {
105
+ yield* Effect.logWarning(`Malformed YAML frontmatter in ${pkg.purl.name} model card, skipping`);
106
+ return Option.none();
107
+ }
108
+ // Extract axm metadata
109
+ const containerResult = decodeModelCardAxm(parsed.value);
110
+ if (Result.isFailure(containerResult))
111
+ return Option.none();
112
+ const axmRaw = containerResult.success.axm;
113
+ if (axmRaw === undefined)
114
+ return Option.none();
115
+ const metaResult = decodeAxmMeta(axmRaw);
116
+ if (Result.isFailure(metaResult)) {
117
+ yield* Effect.logWarning(`Invalid axm metadata in ${pkg.purl.name}: schema validation failed`);
118
+ return Option.none();
119
+ }
120
+ return Option.some(metaResult.success.recommendedExtensions);
121
+ }, Effect.annotateLogs({ reader: "huggingface" }), Effect.withSpan("read.huggingface")),
122
+ };
123
+ //# sourceMappingURL=huggingface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"huggingface.js","sourceRoot":"","sources":["../../../../src/unstable/packaging/huggingface.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,kFAAkF;AAClF,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AAC9B,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,UAAU,MAAM,mBAAmB,CAAC;AAChD,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AACpC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAE7D,0GAA0G;AAC1G,MAAM,OAAO,GAAG,CAAC,IAAY,EAAsB,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;AACxE,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAGtD,MAAM,eAAe,GAAG,MAAM,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAC,aAAa,CAAC,CAAC;AACnF,MAAM,aAAa,GAAG,MAAM,CAAC,mBAAmB,CAA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UAAU,GAAG,aAAa,CAAC,MAAM,CAAC,CAAC;QACzC,IAAI,MAAM,CAAC,SAAS,CAAC,UAAU,CAAC,EAAE,CAAC;YACjC,KAAK,CAAC,CAAC,MAAM,CAAC,UAAU,CACtB,2BAA2B,GAAG,CAAC,IAAI,CAAC,IAAI,4BAA4B,CACrE,CAAC;YACF,OAAO,MAAM,CAAC,IAAI,EAAE,CAAC;QACvB,CAAC;QAED,OAAO,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC;IAC/D,CAAC,EACD,MAAM,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE,aAAa,EAAE,CAAC,EAC9C,MAAM,CAAC,QAAQ,CAAC,kBAAkB,CAAC,CACpC;CACF,CAAC"}
@@ -0,0 +1,54 @@
1
+ /**
2
+ * Packaging schemas for purl-based package identification.
3
+ *
4
+ * @experimental All exports from this module are unstable and may change without notice.
5
+ * @packageDocumentation
6
+ */
7
+ export { PackageTypeSchema, type PackageType } from "./package-type.js";
8
+ export { formatPackageDisplay, PackageUrlPartsSchema, PackageUrlSchema, type PackageUrlParts, } from "./package-url.js";
9
+ export type { DetectedPackage, PackageDetector, PackageReader } from "./types.js";
10
+ export { detectPackages } from "./detect.js";
11
+ export { readLocalRecommendations } from "./read.js";
12
+ export { purlIdentityMatch, purlMatch } from "./purl-match.js";
13
+ export { AxmPackageMetaSchema, type AxmPackageMeta } from "./axm-package-meta.js";
14
+ import { npmDetector, npmReader } from "./npm.js";
15
+ import { golangDetector, golangReader } from "./golang.js";
16
+ import { pypiDetector, pypiReader } from "./pypi.js";
17
+ import { cargoDetector, cargoReader } from "./cargo.js";
18
+ import { gemDetector, gemReader } from "./gem.js";
19
+ import { mavenDetector, mavenReader } from "./maven.js";
20
+ import { nugetDetector, nugetReader } from "./nuget.js";
21
+ import { composerDetector, composerReader } from "./composer.js";
22
+ import { swiftDetector, swiftReader } from "./swift.js";
23
+ import { hexDetector, hexReader } from "./hex.js";
24
+ import { pubDetector, pubReader } from "./pub.js";
25
+ import { dockerDetector, dockerReader } from "./docker.js";
26
+ import { cocoapodsDetector, cocoapodsReader } from "./cocoapods.js";
27
+ import { condaDetector, condaReader } from "./conda.js";
28
+ import { conanDetector, conanReader } from "./conan.js";
29
+ import { cranDetector, cranReader } from "./cran.js";
30
+ import { huggingfaceReader } from "./huggingface.js";
31
+ import { cpanDetector, cpanReader } from "./cpan.js";
32
+ import { hackageDetector, hackageReader } from "./hackage.js";
33
+ import { juliaDetector, juliaReader } from "./julia.js";
34
+ import { luarocksDetector, luarocksReader } from "./luarocks.js";
35
+ import { opamDetector, opamReader } from "./opam.js";
36
+ import { bazelDetector, bazelReader } from "./bazel.js";
37
+ import { zigDetector, zigReader } from "./zig.js";
38
+ import { jsrDetector, denoReader } from "./jsr.js";
39
+ import { mojoDetector, mojoReader } from "./mojo.js";
40
+ import type { PackageDetector, PackageReader } from "./types.js";
41
+ export { npmDetector, npmReader, golangDetector, golangReader, pypiDetector, pypiReader, cargoDetector, cargoReader, gemDetector, gemReader, mavenDetector, mavenReader, nugetDetector, nugetReader, composerDetector, composerReader, swiftDetector, swiftReader, hexDetector, hexReader, pubDetector, pubReader, dockerDetector, dockerReader, cocoapodsDetector, cocoapodsReader, condaDetector, condaReader, conanDetector, conanReader, cranDetector, cranReader, huggingfaceReader, cpanDetector, cpanReader, hackageDetector, hackageReader, juliaDetector, juliaReader, luarocksDetector, luarocksReader, opamDetector, opamReader, bazelDetector, bazelReader, zigDetector, zigReader, jsrDetector, denoReader, mojoDetector, mojoReader, };
42
+ /**
43
+ * All registered package detectors.
44
+ *
45
+ * @experimental This API is unstable and may change without notice.
46
+ */
47
+ export declare const packageDetectors: ReadonlyArray<PackageDetector>;
48
+ /**
49
+ * All registered package readers.
50
+ *
51
+ * @experimental This API is unstable and may change without notice.
52
+ */
53
+ export declare const packageReaders: ReadonlyArray<PackageReader>;
54
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+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ACX,SAAS,EACT,cAAc,EACd,YAAY,EACZ,iBAAiB,EACjB,eAAe,EACf,aAAa,EACb,WAAW,EAEX,aAAa,EACb,WAAW,EACX,YAAY,EACZ,UAAU,EACV,iBAAiB,EACjB,YAAY,EACZ,UAAU,EACV,eAAe,EACf,aAAa,EACb,aAAa,EACb,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,YAAY,EACZ,UAAU,EACV,aAAa,EACb,WAAW,EAEX,WAAW,EACX,SAAS,EACT,WAAW,EACX,UAAU,EACV,YAAY,EACZ,UAAU,GACX,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,EAAE,aAAa,CAAC,eAAe,CA+B3D,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,cAAc,EAAE,aAAa,CAAC,aAAa,CAgCvD,CAAC"}
@@ -0,0 +1,130 @@
1
+ /**
2
+ * Packaging schemas for purl-based package identification.
3
+ *
4
+ * @experimental All exports from this module are unstable and may change without notice.
5
+ * @packageDocumentation
6
+ */
7
+ export { PackageTypeSchema } from "./package-type.js";
8
+ export { formatPackageDisplay, PackageUrlPartsSchema, PackageUrlSchema, } from "./package-url.js";
9
+ export { detectPackages } from "./detect.js";
10
+ export { readLocalRecommendations } from "./read.js";
11
+ export { purlIdentityMatch, purlMatch } from "./purl-match.js";
12
+ export { AxmPackageMetaSchema } from "./axm-package-meta.js";
13
+ // Tier 1
14
+ import { npmDetector, npmReader } from "./npm.js";
15
+ import { golangDetector, golangReader } from "./golang.js";
16
+ import { pypiDetector, pypiReader } from "./pypi.js";
17
+ // Tier 2
18
+ import { cargoDetector, cargoReader } from "./cargo.js";
19
+ import { gemDetector, gemReader } from "./gem.js";
20
+ import { mavenDetector, mavenReader } from "./maven.js";
21
+ import { nugetDetector, nugetReader } from "./nuget.js";
22
+ // Tier 3
23
+ import { composerDetector, composerReader } from "./composer.js";
24
+ import { swiftDetector, swiftReader } from "./swift.js";
25
+ import { hexDetector, hexReader } from "./hex.js";
26
+ import { pubDetector, pubReader } from "./pub.js";
27
+ import { dockerDetector, dockerReader } from "./docker.js";
28
+ import { cocoapodsDetector, cocoapodsReader } from "./cocoapods.js";
29
+ import { condaDetector, condaReader } from "./conda.js";
30
+ // Tier 4
31
+ import { conanDetector, conanReader } from "./conan.js";
32
+ import { cranDetector, cranReader } from "./cran.js";
33
+ import { huggingfaceReader } from "./huggingface.js";
34
+ import { cpanDetector, cpanReader } from "./cpan.js";
35
+ import { hackageDetector, hackageReader } from "./hackage.js";
36
+ import { juliaDetector, juliaReader } from "./julia.js";
37
+ import { luarocksDetector, luarocksReader } from "./luarocks.js";
38
+ import { opamDetector, opamReader } from "./opam.js";
39
+ import { bazelDetector, bazelReader } from "./bazel.js";
40
+ // Tier 5
41
+ import { zigDetector, zigReader } from "./zig.js";
42
+ import { jsrDetector, denoReader } from "./jsr.js";
43
+ import { mojoDetector, mojoReader } from "./mojo.js";
44
+ export {
45
+ // Tier 1
46
+ npmDetector, npmReader, golangDetector, golangReader, pypiDetector, pypiReader,
47
+ // Tier 2
48
+ cargoDetector, cargoReader, gemDetector, gemReader, mavenDetector, mavenReader, nugetDetector, nugetReader,
49
+ // Tier 3
50
+ composerDetector, composerReader, swiftDetector, swiftReader, hexDetector, hexReader, pubDetector, pubReader, dockerDetector, dockerReader, cocoapodsDetector, cocoapodsReader, condaDetector, condaReader,
51
+ // Tier 4
52
+ conanDetector, conanReader, cranDetector, cranReader, huggingfaceReader, cpanDetector, cpanReader, hackageDetector, hackageReader, juliaDetector, juliaReader, luarocksDetector, luarocksReader, opamDetector, opamReader, bazelDetector, bazelReader,
53
+ // Tier 5
54
+ zigDetector, zigReader, jsrDetector, denoReader, mojoDetector, mojoReader, };
55
+ /**
56
+ * All registered package detectors.
57
+ *
58
+ * @experimental This API is unstable and may change without notice.
59
+ */
60
+ export const packageDetectors = [
61
+ // Tier 1
62
+ npmDetector,
63
+ golangDetector,
64
+ pypiDetector,
65
+ // Tier 2
66
+ cargoDetector,
67
+ gemDetector,
68
+ mavenDetector,
69
+ nugetDetector,
70
+ // Tier 3
71
+ composerDetector,
72
+ swiftDetector,
73
+ hexDetector,
74
+ pubDetector,
75
+ dockerDetector,
76
+ cocoapodsDetector,
77
+ condaDetector,
78
+ // Tier 4
79
+ conanDetector,
80
+ cranDetector,
81
+ cpanDetector,
82
+ hackageDetector,
83
+ juliaDetector,
84
+ luarocksDetector,
85
+ opamDetector,
86
+ bazelDetector,
87
+ // Tier 5
88
+ zigDetector,
89
+ jsrDetector,
90
+ mojoDetector,
91
+ ];
92
+ /**
93
+ * All registered package readers.
94
+ *
95
+ * @experimental This API is unstable and may change without notice.
96
+ */
97
+ export const packageReaders = [
98
+ // Tier 1
99
+ npmReader,
100
+ golangReader,
101
+ pypiReader,
102
+ // Tier 2
103
+ cargoReader,
104
+ gemReader,
105
+ mavenReader,
106
+ nugetReader,
107
+ // Tier 3
108
+ composerReader,
109
+ swiftReader,
110
+ hexReader,
111
+ pubReader,
112
+ dockerReader,
113
+ cocoapodsReader,
114
+ condaReader,
115
+ // Tier 4
116
+ conanReader,
117
+ cranReader,
118
+ huggingfaceReader,
119
+ cpanReader,
120
+ hackageReader,
121
+ juliaReader,
122
+ luarocksReader,
123
+ opamReader,
124
+ bazelReader,
125
+ // Tier 5
126
+ zigReader,
127
+ denoReader,
128
+ mojoReader,
129
+ ];
130
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/unstable/packaging/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,iBAAiB,EAAoB,MAAM,mBAAmB,CAAC;AAExE,OAAO,EACL,oBAAoB,EACpB,qBAAqB,EACrB,gBAAgB,GAEjB,MAAM,kBAAkB,CAAC;AAI1B,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAE7C,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAErD,OAAO,EAAE,iBAAiB,EAAE,SA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ACZ,SAAS;IACT,aAAa;IACb,WAAW;IACX,aAAa;IACb,aAAa;IACb,SAAS;IACT,gBAAgB;IAChB,aAAa;IACb,WAAW;IACX,WAAW;IACX,cAAc;IACd,iBAAiB;IACjB,aAAa;IACb,SAAS;IACT,aAAa;IACb,YAAY;IACZ,YAAY;IACZ,eAAe;IACf,aAAa;IACb,gBAAgB;IAChB,YAAY;IACZ,aAAa;IACb,SAAS;IACT,WAAW;IACX,WAAW;IACX,YAAY;CACb,CAAC;AAEF;;;;GAIG;AACH,MAAM,CAAC,MAAM,cAAc,GAAiC;IAC1D,SAAS;IACT,SAAS;IACT,YAAY;IACZ,UAAU;IACV,SAAS;IACT,WAAW;IACX,SAAS;IACT,WAAW;IACX,WAAW;IACX,SAAS;IACT,cAAc;IACd,WAAW;IACX,SAAS;IACT,SAAS;IACT,YAAY;IACZ,eAAe;IACf,WAAW;IACX,SAAS;IACT,WAAW;IACX,UAAU;IACV,iBAAiB;IACjB,UAAU;IACV,aAAa;IACb,WAAW;IACX,cAAc;IACd,UAAU;IACV,WAAW;IACX,SAAS;IACT,SAAS;IACT,UAAU;IACV,UAAU;CACX,CAAC"}
@@ -0,0 +1,30 @@
1
+ /**
2
+ * JSR package detector and Deno reader for package-compatibility discovery.
3
+ *
4
+ * Parses `deno.json`/`deno.jsonc` for `jsr:@scope/name` imports and reads
5
+ * axm metadata from Deno's module cache.
6
+ *
7
+ * @experimental This API is unstable and may change without notice.
8
+ * @packageDocumentation
9
+ */
10
+ import type { PackageDetector, PackageReader } from "./types.js";
11
+ /**
12
+ * JSR package detector.
13
+ *
14
+ * Scans `deno.json` and `deno.jsonc` in the project directory and extracts
15
+ * `jsr:@scope/name` imports, producing `pkg:generic/jsr/<scope>/<name>` purls.
16
+ * npm-prefixed imports are skipped.
17
+ *
18
+ * @experimental This API is unstable and may change without notice.
19
+ */
20
+ export declare const jsrDetector: PackageDetector;
21
+ /**
22
+ * Deno package reader.
23
+ *
24
+ * Reads axm metadata from cached module metadata in Deno's module cache.
25
+ * Checks for an `"axm"` field in cached `deno.json` files.
26
+ *
27
+ * @experimental This API is unstable and may change without notice.
28
+ */
29
+ export declare const denoReader: PackageReader;
30
+ //# sourceMappingURL=jsr.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jsr.d.ts","sourceRoot":"","sources":["../../../../src/unstable/packaging/jsr.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAiBH,OAAO,KAAK,EAAmB,eAAe,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAgJlF;;;;;;;;GAQG;AACH,eAAO,MAAM,WAAW,EAAE,eAuCzB,CAAC;AAwBF;;;;;;;GAOG;AACH,eAAO,MAAM,UAAU,EAAE,aAwExB,CAAC"}