@axm.sh/cli 0.0.1

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 (1094) hide show
  1. package/LICENSE +21 -0
  2. package/dist/src/agents/adal/descriptor.d.ts +14 -0
  3. package/dist/src/agents/adal/descriptor.d.ts.map +1 -0
  4. package/dist/src/agents/adal/descriptor.js +19 -0
  5. package/dist/src/agents/adal/descriptor.js.map +1 -0
  6. package/dist/src/agents/adal/index.d.ts +8 -0
  7. package/dist/src/agents/adal/index.d.ts.map +1 -0
  8. package/dist/src/agents/adal/index.js +8 -0
  9. package/dist/src/agents/adal/index.js.map +1 -0
  10. package/dist/src/agents/amp/descriptor.d.ts +14 -0
  11. package/dist/src/agents/amp/descriptor.d.ts.map +1 -0
  12. package/dist/src/agents/amp/descriptor.js +19 -0
  13. package/dist/src/agents/amp/descriptor.js.map +1 -0
  14. package/dist/src/agents/amp/index.d.ts +8 -0
  15. package/dist/src/agents/amp/index.d.ts.map +1 -0
  16. package/dist/src/agents/amp/index.js +8 -0
  17. package/dist/src/agents/amp/index.js.map +1 -0
  18. package/dist/src/agents/antigravity/descriptor.d.ts +14 -0
  19. package/dist/src/agents/antigravity/descriptor.d.ts.map +1 -0
  20. package/dist/src/agents/antigravity/descriptor.js +19 -0
  21. package/dist/src/agents/antigravity/descriptor.js.map +1 -0
  22. package/dist/src/agents/antigravity/index.d.ts +8 -0
  23. package/dist/src/agents/antigravity/index.d.ts.map +1 -0
  24. package/dist/src/agents/antigravity/index.js +8 -0
  25. package/dist/src/agents/antigravity/index.js.map +1 -0
  26. package/dist/src/agents/augment/descriptor.d.ts +14 -0
  27. package/dist/src/agents/augment/descriptor.d.ts.map +1 -0
  28. package/dist/src/agents/augment/descriptor.js +19 -0
  29. package/dist/src/agents/augment/descriptor.js.map +1 -0
  30. package/dist/src/agents/augment/index.d.ts +8 -0
  31. package/dist/src/agents/augment/index.d.ts.map +1 -0
  32. package/dist/src/agents/augment/index.js +8 -0
  33. package/dist/src/agents/augment/index.js.map +1 -0
  34. package/dist/src/agents/claude-code/constants.d.ts +15 -0
  35. package/dist/src/agents/claude-code/constants.d.ts.map +1 -0
  36. package/dist/src/agents/claude-code/constants.js +17 -0
  37. package/dist/src/agents/claude-code/constants.js.map +1 -0
  38. package/dist/src/agents/claude-code/descriptor.d.ts +14 -0
  39. package/dist/src/agents/claude-code/descriptor.d.ts.map +1 -0
  40. package/dist/src/agents/claude-code/descriptor.js +21 -0
  41. package/dist/src/agents/claude-code/descriptor.js.map +1 -0
  42. package/dist/src/agents/claude-code/detection.d.ts +16 -0
  43. package/dist/src/agents/claude-code/detection.d.ts.map +1 -0
  44. package/dist/src/agents/claude-code/detection.js +19 -0
  45. package/dist/src/agents/claude-code/detection.js.map +1 -0
  46. package/dist/src/agents/claude-code/index.d.ts +10 -0
  47. package/dist/src/agents/claude-code/index.d.ts.map +1 -0
  48. package/dist/src/agents/claude-code/index.js +10 -0
  49. package/dist/src/agents/claude-code/index.js.map +1 -0
  50. package/dist/src/agents/cline/descriptor.d.ts +14 -0
  51. package/dist/src/agents/cline/descriptor.d.ts.map +1 -0
  52. package/dist/src/agents/cline/descriptor.js +19 -0
  53. package/dist/src/agents/cline/descriptor.js.map +1 -0
  54. package/dist/src/agents/cline/index.d.ts +8 -0
  55. package/dist/src/agents/cline/index.d.ts.map +1 -0
  56. package/dist/src/agents/cline/index.js +8 -0
  57. package/dist/src/agents/cline/index.js.map +1 -0
  58. package/dist/src/agents/codebuddy/descriptor.d.ts +14 -0
  59. package/dist/src/agents/codebuddy/descriptor.d.ts.map +1 -0
  60. package/dist/src/agents/codebuddy/descriptor.js +19 -0
  61. package/dist/src/agents/codebuddy/descriptor.js.map +1 -0
  62. package/dist/src/agents/codebuddy/index.d.ts +8 -0
  63. package/dist/src/agents/codebuddy/index.d.ts.map +1 -0
  64. package/dist/src/agents/codebuddy/index.js +8 -0
  65. package/dist/src/agents/codebuddy/index.js.map +1 -0
  66. package/dist/src/agents/codex/constants.d.ts +15 -0
  67. package/dist/src/agents/codex/constants.d.ts.map +1 -0
  68. package/dist/src/agents/codex/constants.js +17 -0
  69. package/dist/src/agents/codex/constants.js.map +1 -0
  70. package/dist/src/agents/codex/descriptor.d.ts +14 -0
  71. package/dist/src/agents/codex/descriptor.d.ts.map +1 -0
  72. package/dist/src/agents/codex/descriptor.js +21 -0
  73. package/dist/src/agents/codex/descriptor.js.map +1 -0
  74. package/dist/src/agents/codex/detection.d.ts +18 -0
  75. package/dist/src/agents/codex/detection.d.ts.map +1 -0
  76. package/dist/src/agents/codex/detection.js +22 -0
  77. package/dist/src/agents/codex/detection.js.map +1 -0
  78. package/dist/src/agents/codex/index.d.ts +10 -0
  79. package/dist/src/agents/codex/index.d.ts.map +1 -0
  80. package/dist/src/agents/codex/index.js +10 -0
  81. package/dist/src/agents/codex/index.js.map +1 -0
  82. package/dist/src/agents/command-code/descriptor.d.ts +14 -0
  83. package/dist/src/agents/command-code/descriptor.d.ts.map +1 -0
  84. package/dist/src/agents/command-code/descriptor.js +19 -0
  85. package/dist/src/agents/command-code/descriptor.js.map +1 -0
  86. package/dist/src/agents/command-code/index.d.ts +8 -0
  87. package/dist/src/agents/command-code/index.d.ts.map +1 -0
  88. package/dist/src/agents/command-code/index.js +8 -0
  89. package/dist/src/agents/command-code/index.js.map +1 -0
  90. package/dist/src/agents/constants.d.ts +24 -0
  91. package/dist/src/agents/constants.d.ts.map +1 -0
  92. package/dist/src/agents/constants.js +26 -0
  93. package/dist/src/agents/constants.js.map +1 -0
  94. package/dist/src/agents/continue/descriptor.d.ts +14 -0
  95. package/dist/src/agents/continue/descriptor.d.ts.map +1 -0
  96. package/dist/src/agents/continue/descriptor.js +21 -0
  97. package/dist/src/agents/continue/descriptor.js.map +1 -0
  98. package/dist/src/agents/continue/detection.d.ts +16 -0
  99. package/dist/src/agents/continue/detection.d.ts.map +1 -0
  100. package/dist/src/agents/continue/detection.js +20 -0
  101. package/dist/src/agents/continue/detection.js.map +1 -0
  102. package/dist/src/agents/continue/index.d.ts +9 -0
  103. package/dist/src/agents/continue/index.d.ts.map +1 -0
  104. package/dist/src/agents/continue/index.js +9 -0
  105. package/dist/src/agents/continue/index.js.map +1 -0
  106. package/dist/src/agents/crush/descriptor.d.ts +14 -0
  107. package/dist/src/agents/crush/descriptor.d.ts.map +1 -0
  108. package/dist/src/agents/crush/descriptor.js +19 -0
  109. package/dist/src/agents/crush/descriptor.js.map +1 -0
  110. package/dist/src/agents/crush/index.d.ts +8 -0
  111. package/dist/src/agents/crush/index.d.ts.map +1 -0
  112. package/dist/src/agents/crush/index.js +8 -0
  113. package/dist/src/agents/crush/index.js.map +1 -0
  114. package/dist/src/agents/cursor/descriptor.d.ts +14 -0
  115. package/dist/src/agents/cursor/descriptor.d.ts.map +1 -0
  116. package/dist/src/agents/cursor/descriptor.js +21 -0
  117. package/dist/src/agents/cursor/descriptor.js.map +1 -0
  118. package/dist/src/agents/cursor/detection.d.ts +16 -0
  119. package/dist/src/agents/cursor/detection.d.ts.map +1 -0
  120. package/dist/src/agents/cursor/detection.js +20 -0
  121. package/dist/src/agents/cursor/detection.js.map +1 -0
  122. package/dist/src/agents/cursor/index.d.ts +9 -0
  123. package/dist/src/agents/cursor/index.d.ts.map +1 -0
  124. package/dist/src/agents/cursor/index.js +9 -0
  125. package/dist/src/agents/cursor/index.js.map +1 -0
  126. package/dist/src/agents/detection.d.ts +85 -0
  127. package/dist/src/agents/detection.d.ts.map +1 -0
  128. package/dist/src/agents/detection.js +120 -0
  129. package/dist/src/agents/detection.js.map +1 -0
  130. package/dist/src/agents/droid/descriptor.d.ts +14 -0
  131. package/dist/src/agents/droid/descriptor.d.ts.map +1 -0
  132. package/dist/src/agents/droid/descriptor.js +19 -0
  133. package/dist/src/agents/droid/descriptor.js.map +1 -0
  134. package/dist/src/agents/droid/index.d.ts +8 -0
  135. package/dist/src/agents/droid/index.d.ts.map +1 -0
  136. package/dist/src/agents/droid/index.js +8 -0
  137. package/dist/src/agents/droid/index.js.map +1 -0
  138. package/dist/src/agents/gemini-cli/descriptor.d.ts +14 -0
  139. package/dist/src/agents/gemini-cli/descriptor.d.ts.map +1 -0
  140. package/dist/src/agents/gemini-cli/descriptor.js +19 -0
  141. package/dist/src/agents/gemini-cli/descriptor.js.map +1 -0
  142. package/dist/src/agents/gemini-cli/index.d.ts +8 -0
  143. package/dist/src/agents/gemini-cli/index.d.ts.map +1 -0
  144. package/dist/src/agents/gemini-cli/index.js +8 -0
  145. package/dist/src/agents/gemini-cli/index.js.map +1 -0
  146. package/dist/src/agents/github-copilot/descriptor.d.ts +14 -0
  147. package/dist/src/agents/github-copilot/descriptor.d.ts.map +1 -0
  148. package/dist/src/agents/github-copilot/descriptor.js +19 -0
  149. package/dist/src/agents/github-copilot/descriptor.js.map +1 -0
  150. package/dist/src/agents/github-copilot/index.d.ts +8 -0
  151. package/dist/src/agents/github-copilot/index.d.ts.map +1 -0
  152. package/dist/src/agents/github-copilot/index.js +8 -0
  153. package/dist/src/agents/github-copilot/index.js.map +1 -0
  154. package/dist/src/agents/goose/descriptor.d.ts +14 -0
  155. package/dist/src/agents/goose/descriptor.d.ts.map +1 -0
  156. package/dist/src/agents/goose/descriptor.js +19 -0
  157. package/dist/src/agents/goose/descriptor.js.map +1 -0
  158. package/dist/src/agents/goose/index.d.ts +8 -0
  159. package/dist/src/agents/goose/index.d.ts.map +1 -0
  160. package/dist/src/agents/goose/index.js +8 -0
  161. package/dist/src/agents/goose/index.js.map +1 -0
  162. package/dist/src/agents/iflow-cli/descriptor.d.ts +14 -0
  163. package/dist/src/agents/iflow-cli/descriptor.d.ts.map +1 -0
  164. package/dist/src/agents/iflow-cli/descriptor.js +19 -0
  165. package/dist/src/agents/iflow-cli/descriptor.js.map +1 -0
  166. package/dist/src/agents/iflow-cli/index.d.ts +8 -0
  167. package/dist/src/agents/iflow-cli/index.d.ts.map +1 -0
  168. package/dist/src/agents/iflow-cli/index.js +8 -0
  169. package/dist/src/agents/iflow-cli/index.js.map +1 -0
  170. package/dist/src/agents/index.d.ts +15 -0
  171. package/dist/src/agents/index.d.ts.map +1 -0
  172. package/dist/src/agents/index.js +17 -0
  173. package/dist/src/agents/index.js.map +1 -0
  174. package/dist/src/agents/junie/descriptor.d.ts +14 -0
  175. package/dist/src/agents/junie/descriptor.d.ts.map +1 -0
  176. package/dist/src/agents/junie/descriptor.js +19 -0
  177. package/dist/src/agents/junie/descriptor.js.map +1 -0
  178. package/dist/src/agents/junie/index.d.ts +8 -0
  179. package/dist/src/agents/junie/index.d.ts.map +1 -0
  180. package/dist/src/agents/junie/index.js +8 -0
  181. package/dist/src/agents/junie/index.js.map +1 -0
  182. package/dist/src/agents/kilo/descriptor.d.ts +14 -0
  183. package/dist/src/agents/kilo/descriptor.d.ts.map +1 -0
  184. package/dist/src/agents/kilo/descriptor.js +19 -0
  185. package/dist/src/agents/kilo/descriptor.js.map +1 -0
  186. package/dist/src/agents/kilo/index.d.ts +8 -0
  187. package/dist/src/agents/kilo/index.d.ts.map +1 -0
  188. package/dist/src/agents/kilo/index.js +8 -0
  189. package/dist/src/agents/kilo/index.js.map +1 -0
  190. package/dist/src/agents/kimi-cli/descriptor.d.ts +14 -0
  191. package/dist/src/agents/kimi-cli/descriptor.d.ts.map +1 -0
  192. package/dist/src/agents/kimi-cli/descriptor.js +19 -0
  193. package/dist/src/agents/kimi-cli/descriptor.js.map +1 -0
  194. package/dist/src/agents/kimi-cli/index.d.ts +8 -0
  195. package/dist/src/agents/kimi-cli/index.d.ts.map +1 -0
  196. package/dist/src/agents/kimi-cli/index.js +8 -0
  197. package/dist/src/agents/kimi-cli/index.js.map +1 -0
  198. package/dist/src/agents/kiro-cli/descriptor.d.ts +14 -0
  199. package/dist/src/agents/kiro-cli/descriptor.d.ts.map +1 -0
  200. package/dist/src/agents/kiro-cli/descriptor.js +19 -0
  201. package/dist/src/agents/kiro-cli/descriptor.js.map +1 -0
  202. package/dist/src/agents/kiro-cli/index.d.ts +8 -0
  203. package/dist/src/agents/kiro-cli/index.d.ts.map +1 -0
  204. package/dist/src/agents/kiro-cli/index.js +8 -0
  205. package/dist/src/agents/kiro-cli/index.js.map +1 -0
  206. package/dist/src/agents/kode/descriptor.d.ts +14 -0
  207. package/dist/src/agents/kode/descriptor.d.ts.map +1 -0
  208. package/dist/src/agents/kode/descriptor.js +19 -0
  209. package/dist/src/agents/kode/descriptor.js.map +1 -0
  210. package/dist/src/agents/kode/index.d.ts +8 -0
  211. package/dist/src/agents/kode/index.d.ts.map +1 -0
  212. package/dist/src/agents/kode/index.js +8 -0
  213. package/dist/src/agents/kode/index.js.map +1 -0
  214. package/dist/src/agents/mcpjam/descriptor.d.ts +14 -0
  215. package/dist/src/agents/mcpjam/descriptor.d.ts.map +1 -0
  216. package/dist/src/agents/mcpjam/descriptor.js +19 -0
  217. package/dist/src/agents/mcpjam/descriptor.js.map +1 -0
  218. package/dist/src/agents/mcpjam/index.d.ts +8 -0
  219. package/dist/src/agents/mcpjam/index.d.ts.map +1 -0
  220. package/dist/src/agents/mcpjam/index.js +8 -0
  221. package/dist/src/agents/mcpjam/index.js.map +1 -0
  222. package/dist/src/agents/mistral-vibe/descriptor.d.ts +14 -0
  223. package/dist/src/agents/mistral-vibe/descriptor.d.ts.map +1 -0
  224. package/dist/src/agents/mistral-vibe/descriptor.js +19 -0
  225. package/dist/src/agents/mistral-vibe/descriptor.js.map +1 -0
  226. package/dist/src/agents/mistral-vibe/index.d.ts +8 -0
  227. package/dist/src/agents/mistral-vibe/index.d.ts.map +1 -0
  228. package/dist/src/agents/mistral-vibe/index.js +8 -0
  229. package/dist/src/agents/mistral-vibe/index.js.map +1 -0
  230. package/dist/src/agents/mux/descriptor.d.ts +14 -0
  231. package/dist/src/agents/mux/descriptor.d.ts.map +1 -0
  232. package/dist/src/agents/mux/descriptor.js +19 -0
  233. package/dist/src/agents/mux/descriptor.js.map +1 -0
  234. package/dist/src/agents/mux/index.d.ts +8 -0
  235. package/dist/src/agents/mux/index.d.ts.map +1 -0
  236. package/dist/src/agents/mux/index.js +8 -0
  237. package/dist/src/agents/mux/index.js.map +1 -0
  238. package/dist/src/agents/neovate/descriptor.d.ts +14 -0
  239. package/dist/src/agents/neovate/descriptor.d.ts.map +1 -0
  240. package/dist/src/agents/neovate/descriptor.js +19 -0
  241. package/dist/src/agents/neovate/descriptor.js.map +1 -0
  242. package/dist/src/agents/neovate/index.d.ts +8 -0
  243. package/dist/src/agents/neovate/index.d.ts.map +1 -0
  244. package/dist/src/agents/neovate/index.js +8 -0
  245. package/dist/src/agents/neovate/index.js.map +1 -0
  246. package/dist/src/agents/openclaw/descriptor.d.ts +14 -0
  247. package/dist/src/agents/openclaw/descriptor.d.ts.map +1 -0
  248. package/dist/src/agents/openclaw/descriptor.js +19 -0
  249. package/dist/src/agents/openclaw/descriptor.js.map +1 -0
  250. package/dist/src/agents/openclaw/index.d.ts +8 -0
  251. package/dist/src/agents/openclaw/index.d.ts.map +1 -0
  252. package/dist/src/agents/openclaw/index.js +8 -0
  253. package/dist/src/agents/openclaw/index.js.map +1 -0
  254. package/dist/src/agents/opencode/descriptor.d.ts +14 -0
  255. package/dist/src/agents/opencode/descriptor.d.ts.map +1 -0
  256. package/dist/src/agents/opencode/descriptor.js +21 -0
  257. package/dist/src/agents/opencode/descriptor.js.map +1 -0
  258. package/dist/src/agents/opencode/detection.d.ts +16 -0
  259. package/dist/src/agents/opencode/detection.d.ts.map +1 -0
  260. package/dist/src/agents/opencode/detection.js +20 -0
  261. package/dist/src/agents/opencode/detection.js.map +1 -0
  262. package/dist/src/agents/opencode/index.d.ts +9 -0
  263. package/dist/src/agents/opencode/index.d.ts.map +1 -0
  264. package/dist/src/agents/opencode/index.js +9 -0
  265. package/dist/src/agents/opencode/index.js.map +1 -0
  266. package/dist/src/agents/openhands/descriptor.d.ts +14 -0
  267. package/dist/src/agents/openhands/descriptor.d.ts.map +1 -0
  268. package/dist/src/agents/openhands/descriptor.js +19 -0
  269. package/dist/src/agents/openhands/descriptor.js.map +1 -0
  270. package/dist/src/agents/openhands/index.d.ts +8 -0
  271. package/dist/src/agents/openhands/index.d.ts.map +1 -0
  272. package/dist/src/agents/openhands/index.js +8 -0
  273. package/dist/src/agents/openhands/index.js.map +1 -0
  274. package/dist/src/agents/pi/descriptor.d.ts +14 -0
  275. package/dist/src/agents/pi/descriptor.d.ts.map +1 -0
  276. package/dist/src/agents/pi/descriptor.js +19 -0
  277. package/dist/src/agents/pi/descriptor.js.map +1 -0
  278. package/dist/src/agents/pi/index.d.ts +8 -0
  279. package/dist/src/agents/pi/index.d.ts.map +1 -0
  280. package/dist/src/agents/pi/index.js +8 -0
  281. package/dist/src/agents/pi/index.js.map +1 -0
  282. package/dist/src/agents/pochi/descriptor.d.ts +14 -0
  283. package/dist/src/agents/pochi/descriptor.d.ts.map +1 -0
  284. package/dist/src/agents/pochi/descriptor.js +19 -0
  285. package/dist/src/agents/pochi/descriptor.js.map +1 -0
  286. package/dist/src/agents/pochi/index.d.ts +8 -0
  287. package/dist/src/agents/pochi/index.d.ts.map +1 -0
  288. package/dist/src/agents/pochi/index.js +8 -0
  289. package/dist/src/agents/pochi/index.js.map +1 -0
  290. package/dist/src/agents/qoder/descriptor.d.ts +14 -0
  291. package/dist/src/agents/qoder/descriptor.d.ts.map +1 -0
  292. package/dist/src/agents/qoder/descriptor.js +19 -0
  293. package/dist/src/agents/qoder/descriptor.js.map +1 -0
  294. package/dist/src/agents/qoder/index.d.ts +8 -0
  295. package/dist/src/agents/qoder/index.d.ts.map +1 -0
  296. package/dist/src/agents/qoder/index.js +8 -0
  297. package/dist/src/agents/qoder/index.js.map +1 -0
  298. package/dist/src/agents/qwen-code/descriptor.d.ts +14 -0
  299. package/dist/src/agents/qwen-code/descriptor.d.ts.map +1 -0
  300. package/dist/src/agents/qwen-code/descriptor.js +19 -0
  301. package/dist/src/agents/qwen-code/descriptor.js.map +1 -0
  302. package/dist/src/agents/qwen-code/index.d.ts +8 -0
  303. package/dist/src/agents/qwen-code/index.d.ts.map +1 -0
  304. package/dist/src/agents/qwen-code/index.js +8 -0
  305. package/dist/src/agents/qwen-code/index.js.map +1 -0
  306. package/dist/src/agents/registry.d.ts +72 -0
  307. package/dist/src/agents/registry.d.ts.map +1 -0
  308. package/dist/src/agents/registry.js +150 -0
  309. package/dist/src/agents/registry.js.map +1 -0
  310. package/dist/src/agents/replit/descriptor.d.ts +16 -0
  311. package/dist/src/agents/replit/descriptor.d.ts.map +1 -0
  312. package/dist/src/agents/replit/descriptor.js +21 -0
  313. package/dist/src/agents/replit/descriptor.js.map +1 -0
  314. package/dist/src/agents/replit/index.d.ts +8 -0
  315. package/dist/src/agents/replit/index.d.ts.map +1 -0
  316. package/dist/src/agents/replit/index.js +8 -0
  317. package/dist/src/agents/replit/index.js.map +1 -0
  318. package/dist/src/agents/roo/descriptor.d.ts +14 -0
  319. package/dist/src/agents/roo/descriptor.d.ts.map +1 -0
  320. package/dist/src/agents/roo/descriptor.js +19 -0
  321. package/dist/src/agents/roo/descriptor.js.map +1 -0
  322. package/dist/src/agents/roo/index.d.ts +8 -0
  323. package/dist/src/agents/roo/index.d.ts.map +1 -0
  324. package/dist/src/agents/roo/index.js +8 -0
  325. package/dist/src/agents/roo/index.js.map +1 -0
  326. package/dist/src/agents/trae/descriptor.d.ts +14 -0
  327. package/dist/src/agents/trae/descriptor.d.ts.map +1 -0
  328. package/dist/src/agents/trae/descriptor.js +19 -0
  329. package/dist/src/agents/trae/descriptor.js.map +1 -0
  330. package/dist/src/agents/trae/index.d.ts +8 -0
  331. package/dist/src/agents/trae/index.d.ts.map +1 -0
  332. package/dist/src/agents/trae/index.js +8 -0
  333. package/dist/src/agents/trae/index.js.map +1 -0
  334. package/dist/src/agents/trae-cn/descriptor.d.ts +14 -0
  335. package/dist/src/agents/trae-cn/descriptor.d.ts.map +1 -0
  336. package/dist/src/agents/trae-cn/descriptor.js +19 -0
  337. package/dist/src/agents/trae-cn/descriptor.js.map +1 -0
  338. package/dist/src/agents/trae-cn/index.d.ts +8 -0
  339. package/dist/src/agents/trae-cn/index.d.ts.map +1 -0
  340. package/dist/src/agents/trae-cn/index.js +8 -0
  341. package/dist/src/agents/trae-cn/index.js.map +1 -0
  342. package/dist/src/agents/types.d.ts +57 -0
  343. package/dist/src/agents/types.d.ts.map +1 -0
  344. package/dist/src/agents/types.js +8 -0
  345. package/dist/src/agents/types.js.map +1 -0
  346. package/dist/src/agents/windsurf/descriptor.d.ts +14 -0
  347. package/dist/src/agents/windsurf/descriptor.d.ts.map +1 -0
  348. package/dist/src/agents/windsurf/descriptor.js +21 -0
  349. package/dist/src/agents/windsurf/descriptor.js.map +1 -0
  350. package/dist/src/agents/windsurf/detection.d.ts +16 -0
  351. package/dist/src/agents/windsurf/detection.d.ts.map +1 -0
  352. package/dist/src/agents/windsurf/detection.js +20 -0
  353. package/dist/src/agents/windsurf/detection.js.map +1 -0
  354. package/dist/src/agents/windsurf/index.d.ts +9 -0
  355. package/dist/src/agents/windsurf/index.d.ts.map +1 -0
  356. package/dist/src/agents/windsurf/index.js +9 -0
  357. package/dist/src/agents/windsurf/index.js.map +1 -0
  358. package/dist/src/agents/zencoder/descriptor.d.ts +14 -0
  359. package/dist/src/agents/zencoder/descriptor.d.ts.map +1 -0
  360. package/dist/src/agents/zencoder/descriptor.js +19 -0
  361. package/dist/src/agents/zencoder/descriptor.js.map +1 -0
  362. package/dist/src/agents/zencoder/index.d.ts +8 -0
  363. package/dist/src/agents/zencoder/index.d.ts.map +1 -0
  364. package/dist/src/agents/zencoder/index.js +8 -0
  365. package/dist/src/agents/zencoder/index.js.map +1 -0
  366. package/dist/src/cli-commands/init/command.d.ts +10 -0
  367. package/dist/src/cli-commands/init/command.d.ts.map +1 -0
  368. package/dist/src/cli-commands/init/command.js +47 -0
  369. package/dist/src/cli-commands/init/command.js.map +1 -0
  370. package/dist/src/cli-commands/init/handler.d.ts +22 -0
  371. package/dist/src/cli-commands/init/handler.d.ts.map +1 -0
  372. package/dist/src/cli-commands/init/handler.js +43 -0
  373. package/dist/src/cli-commands/init/handler.js.map +1 -0
  374. package/dist/src/cli-commands/skills/command.d.ts +3 -0
  375. package/dist/src/cli-commands/skills/command.d.ts.map +1 -0
  376. package/dist/src/cli-commands/skills/command.js +32 -0
  377. package/dist/src/cli-commands/skills/command.js.map +1 -0
  378. package/dist/src/cli-commands/skills/copy-skill-directory.d.ts +22 -0
  379. package/dist/src/cli-commands/skills/copy-skill-directory.d.ts.map +1 -0
  380. package/dist/src/cli-commands/skills/copy-skill-directory.js +51 -0
  381. package/dist/src/cli-commands/skills/copy-skill-directory.js.map +1 -0
  382. package/dist/src/cli-commands/skills/copy-skill.d.ts +24 -0
  383. package/dist/src/cli-commands/skills/copy-skill.d.ts.map +1 -0
  384. package/dist/src/cli-commands/skills/copy-skill.js +79 -0
  385. package/dist/src/cli-commands/skills/copy-skill.js.map +1 -0
  386. package/dist/src/cli-commands/skills/fork/command.d.ts +15 -0
  387. package/dist/src/cli-commands/skills/fork/command.d.ts.map +1 -0
  388. package/dist/src/cli-commands/skills/fork/command.js +59 -0
  389. package/dist/src/cli-commands/skills/fork/command.js.map +1 -0
  390. package/dist/src/cli-commands/skills/fork/handler.d.ts +49 -0
  391. package/dist/src/cli-commands/skills/fork/handler.d.ts.map +1 -0
  392. package/dist/src/cli-commands/skills/fork/handler.js +180 -0
  393. package/dist/src/cli-commands/skills/fork/handler.js.map +1 -0
  394. package/dist/src/cli-commands/skills/index.d.ts +3 -0
  395. package/dist/src/cli-commands/skills/index.d.ts.map +1 -0
  396. package/dist/src/cli-commands/skills/index.js +3 -0
  397. package/dist/src/cli-commands/skills/index.js.map +1 -0
  398. package/dist/src/cli-commands/skills/install/build-plan.d.ts +19 -0
  399. package/dist/src/cli-commands/skills/install/build-plan.d.ts.map +1 -0
  400. package/dist/src/cli-commands/skills/install/build-plan.js +43 -0
  401. package/dist/src/cli-commands/skills/install/build-plan.js.map +1 -0
  402. package/dist/src/cli-commands/skills/install/command.d.ts +16 -0
  403. package/dist/src/cli-commands/skills/install/command.d.ts.map +1 -0
  404. package/dist/src/cli-commands/skills/install/command.js +91 -0
  405. package/dist/src/cli-commands/skills/install/command.js.map +1 -0
  406. package/dist/src/cli-commands/skills/install/discover-skills.d.ts +62 -0
  407. package/dist/src/cli-commands/skills/install/discover-skills.d.ts.map +1 -0
  408. package/dist/src/cli-commands/skills/install/discover-skills.js +231 -0
  409. package/dist/src/cli-commands/skills/install/discover-skills.js.map +1 -0
  410. package/dist/src/cli-commands/skills/install/handler.d.ts +75 -0
  411. package/dist/src/cli-commands/skills/install/handler.d.ts.map +1 -0
  412. package/dist/src/cli-commands/skills/install/handler.js +151 -0
  413. package/dist/src/cli-commands/skills/install/handler.js.map +1 -0
  414. package/dist/src/cli-commands/skills/install/install-result.d.ts +31 -0
  415. package/dist/src/cli-commands/skills/install/install-result.d.ts.map +1 -0
  416. package/dist/src/cli-commands/skills/install/install-result.js +10 -0
  417. package/dist/src/cli-commands/skills/install/install-result.js.map +1 -0
  418. package/dist/src/cli-commands/skills/install/install-skill.d.ts +27 -0
  419. package/dist/src/cli-commands/skills/install/install-skill.d.ts.map +1 -0
  420. package/dist/src/cli-commands/skills/install/install-skill.js +231 -0
  421. package/dist/src/cli-commands/skills/install/install-skill.js.map +1 -0
  422. package/dist/src/cli-commands/skills/install/parse-manifests.d.ts +16 -0
  423. package/dist/src/cli-commands/skills/install/parse-manifests.d.ts.map +1 -0
  424. package/dist/src/cli-commands/skills/install/parse-manifests.js +161 -0
  425. package/dist/src/cli-commands/skills/install/parse-manifests.js.map +1 -0
  426. package/dist/src/cli-commands/skills/install/parse-skill-md.d.ts +18 -0
  427. package/dist/src/cli-commands/skills/install/parse-skill-md.d.ts.map +1 -0
  428. package/dist/src/cli-commands/skills/install/parse-skill-md.js +47 -0
  429. package/dist/src/cli-commands/skills/install/parse-skill-md.js.map +1 -0
  430. package/dist/src/cli-commands/skills/install/select-skills.d.ts +37 -0
  431. package/dist/src/cli-commands/skills/install/select-skills.d.ts.map +1 -0
  432. package/dist/src/cli-commands/skills/install/select-skills.js +84 -0
  433. package/dist/src/cli-commands/skills/install/select-skills.js.map +1 -0
  434. package/dist/src/cli-commands/skills/install/skill-utils.d.ts +27 -0
  435. package/dist/src/cli-commands/skills/install/skill-utils.d.ts.map +1 -0
  436. package/dist/src/cli-commands/skills/install/skill-utils.js +43 -0
  437. package/dist/src/cli-commands/skills/install/skill-utils.js.map +1 -0
  438. package/dist/src/cli-commands/skills/list/command.d.ts +12 -0
  439. package/dist/src/cli-commands/skills/list/command.d.ts.map +1 -0
  440. package/dist/src/cli-commands/skills/list/command.js +43 -0
  441. package/dist/src/cli-commands/skills/list/command.js.map +1 -0
  442. package/dist/src/cli-commands/skills/list/handler.d.ts +29 -0
  443. package/dist/src/cli-commands/skills/list/handler.d.ts.map +1 -0
  444. package/dist/src/cli-commands/skills/list/handler.js +43 -0
  445. package/dist/src/cli-commands/skills/list/handler.js.map +1 -0
  446. package/dist/src/cli-commands/skills/operations.d.ts +95 -0
  447. package/dist/src/cli-commands/skills/operations.d.ts.map +1 -0
  448. package/dist/src/cli-commands/skills/operations.js +10 -0
  449. package/dist/src/cli-commands/skills/operations.js.map +1 -0
  450. package/dist/src/cli-commands/skills/publish/command.d.ts +15 -0
  451. package/dist/src/cli-commands/skills/publish/command.d.ts.map +1 -0
  452. package/dist/src/cli-commands/skills/publish/command.js +56 -0
  453. package/dist/src/cli-commands/skills/publish/command.js.map +1 -0
  454. package/dist/src/cli-commands/skills/publish/handler.d.ts +43 -0
  455. package/dist/src/cli-commands/skills/publish/handler.d.ts.map +1 -0
  456. package/dist/src/cli-commands/skills/publish/handler.js +137 -0
  457. package/dist/src/cli-commands/skills/publish/handler.js.map +1 -0
  458. package/dist/src/cli-commands/skills/publish-skill.d.ts +25 -0
  459. package/dist/src/cli-commands/skills/publish-skill.d.ts.map +1 -0
  460. package/dist/src/cli-commands/skills/publish-skill.js +155 -0
  461. package/dist/src/cli-commands/skills/publish-skill.js.map +1 -0
  462. package/dist/src/cli-commands/skills/source-to-lock-entry.d.ts +37 -0
  463. package/dist/src/cli-commands/skills/source-to-lock-entry.d.ts.map +1 -0
  464. package/dist/src/cli-commands/skills/source-to-lock-entry.js +110 -0
  465. package/dist/src/cli-commands/skills/source-to-lock-entry.js.map +1 -0
  466. package/dist/src/cli-commands/skills/uninstall/build-plan.d.ts +19 -0
  467. package/dist/src/cli-commands/skills/uninstall/build-plan.d.ts.map +1 -0
  468. package/dist/src/cli-commands/skills/uninstall/build-plan.js +43 -0
  469. package/dist/src/cli-commands/skills/uninstall/build-plan.js.map +1 -0
  470. package/dist/src/cli-commands/skills/uninstall/command.d.ts +15 -0
  471. package/dist/src/cli-commands/skills/uninstall/command.d.ts.map +1 -0
  472. package/dist/src/cli-commands/skills/uninstall/command.js +60 -0
  473. package/dist/src/cli-commands/skills/uninstall/command.js.map +1 -0
  474. package/dist/src/cli-commands/skills/uninstall/handler.d.ts +40 -0
  475. package/dist/src/cli-commands/skills/uninstall/handler.d.ts.map +1 -0
  476. package/dist/src/cli-commands/skills/uninstall/handler.js +66 -0
  477. package/dist/src/cli-commands/skills/uninstall/handler.js.map +1 -0
  478. package/dist/src/cli-commands/skills/uninstall/uninstall-skill.d.ts +25 -0
  479. package/dist/src/cli-commands/skills/uninstall/uninstall-skill.d.ts.map +1 -0
  480. package/dist/src/cli-commands/skills/uninstall/uninstall-skill.js +177 -0
  481. package/dist/src/cli-commands/skills/uninstall/uninstall-skill.js.map +1 -0
  482. package/dist/src/cli-commands/skills/update/build-plan.d.ts +20 -0
  483. package/dist/src/cli-commands/skills/update/build-plan.d.ts.map +1 -0
  484. package/dist/src/cli-commands/skills/update/build-plan.js +80 -0
  485. package/dist/src/cli-commands/skills/update/build-plan.js.map +1 -0
  486. package/dist/src/cli-commands/skills/update/command.d.ts +14 -0
  487. package/dist/src/cli-commands/skills/update/command.d.ts.map +1 -0
  488. package/dist/src/cli-commands/skills/update/command.js +75 -0
  489. package/dist/src/cli-commands/skills/update/command.js.map +1 -0
  490. package/dist/src/cli-commands/skills/update/handler.d.ts +64 -0
  491. package/dist/src/cli-commands/skills/update/handler.d.ts.map +1 -0
  492. package/dist/src/cli-commands/skills/update/handler.js +174 -0
  493. package/dist/src/cli-commands/skills/update/handler.js.map +1 -0
  494. package/dist/src/cli-commands/skills/update/index.d.ts +2 -0
  495. package/dist/src/cli-commands/skills/update/index.d.ts.map +1 -0
  496. package/dist/src/cli-commands/skills/update/index.js +2 -0
  497. package/dist/src/cli-commands/skills/update/index.js.map +1 -0
  498. package/dist/src/cli-commands/skills/utils.d.ts +42 -0
  499. package/dist/src/cli-commands/skills/utils.d.ts.map +1 -0
  500. package/dist/src/cli-commands/skills/utils.js +84 -0
  501. package/dist/src/cli-commands/skills/utils.js.map +1 -0
  502. package/dist/src/dev-cli-commands/tui/command.d.ts +3 -0
  503. package/dist/src/dev-cli-commands/tui/command.d.ts.map +1 -0
  504. package/dist/src/dev-cli-commands/tui/command.js +24 -0
  505. package/dist/src/dev-cli-commands/tui/command.js.map +1 -0
  506. package/dist/src/dev-cli-commands/tui/confirm/command.d.ts +3 -0
  507. package/dist/src/dev-cli-commands/tui/confirm/command.d.ts.map +1 -0
  508. package/dist/src/dev-cli-commands/tui/confirm/command.js +16 -0
  509. package/dist/src/dev-cli-commands/tui/confirm/command.js.map +1 -0
  510. package/dist/src/dev-cli-commands/tui/log/command.d.ts +3 -0
  511. package/dist/src/dev-cli-commands/tui/log/command.d.ts.map +1 -0
  512. package/dist/src/dev-cli-commands/tui/log/command.js +18 -0
  513. package/dist/src/dev-cli-commands/tui/log/command.js.map +1 -0
  514. package/dist/src/dev-cli-commands/tui/multiselect/command.d.ts +3 -0
  515. package/dist/src/dev-cli-commands/tui/multiselect/command.d.ts.map +1 -0
  516. package/dist/src/dev-cli-commands/tui/multiselect/command.js +23 -0
  517. package/dist/src/dev-cli-commands/tui/multiselect/command.js.map +1 -0
  518. package/dist/src/dev-cli-commands/tui/note/command.d.ts +3 -0
  519. package/dist/src/dev-cli-commands/tui/note/command.d.ts.map +1 -0
  520. package/dist/src/dev-cli-commands/tui/note/command.js +15 -0
  521. package/dist/src/dev-cli-commands/tui/note/command.js.map +1 -0
  522. package/dist/src/dev-cli-commands/tui/password-input/command.d.ts +3 -0
  523. package/dist/src/dev-cli-commands/tui/password-input/command.d.ts.map +1 -0
  524. package/dist/src/dev-cli-commands/tui/password-input/command.js +16 -0
  525. package/dist/src/dev-cli-commands/tui/password-input/command.js.map +1 -0
  526. package/dist/src/dev-cli-commands/tui/select/command.d.ts +3 -0
  527. package/dist/src/dev-cli-commands/tui/select/command.d.ts.map +1 -0
  528. package/dist/src/dev-cli-commands/tui/select/command.js +21 -0
  529. package/dist/src/dev-cli-commands/tui/select/command.js.map +1 -0
  530. package/dist/src/dev-cli-commands/tui/spinner/command.d.ts +3 -0
  531. package/dist/src/dev-cli-commands/tui/spinner/command.d.ts.map +1 -0
  532. package/dist/src/dev-cli-commands/tui/spinner/command.js +16 -0
  533. package/dist/src/dev-cli-commands/tui/spinner/command.js.map +1 -0
  534. package/dist/src/dev-cli-commands/tui/text-input/command.d.ts +3 -0
  535. package/dist/src/dev-cli-commands/tui/text-input/command.d.ts.map +1 -0
  536. package/dist/src/dev-cli-commands/tui/text-input/command.js +19 -0
  537. package/dist/src/dev-cli-commands/tui/text-input/command.js.map +1 -0
  538. package/dist/src/dev-main.d.ts +3 -0
  539. package/dist/src/dev-main.d.ts.map +1 -0
  540. package/dist/src/dev-main.js +28 -0
  541. package/dist/src/dev-main.js.map +1 -0
  542. package/dist/src/e2e/utils.d.ts +103 -0
  543. package/dist/src/e2e/utils.d.ts.map +1 -0
  544. package/dist/src/e2e/utils.js +119 -0
  545. package/dist/src/e2e/utils.js.map +1 -0
  546. package/dist/src/extensions/commands/manifest-schema.d.ts +36 -0
  547. package/dist/src/extensions/commands/manifest-schema.d.ts.map +1 -0
  548. package/dist/src/extensions/commands/manifest-schema.js +19 -0
  549. package/dist/src/extensions/commands/manifest-schema.js.map +1 -0
  550. package/dist/src/extensions/common.d.ts +83 -0
  551. package/dist/src/extensions/common.d.ts.map +1 -0
  552. package/dist/src/extensions/common.js +55 -0
  553. package/dist/src/extensions/common.js.map +1 -0
  554. package/dist/src/extensions/mcp-servers/manifest-schema.d.ts +36 -0
  555. package/dist/src/extensions/mcp-servers/manifest-schema.d.ts.map +1 -0
  556. package/dist/src/extensions/mcp-servers/manifest-schema.js +19 -0
  557. package/dist/src/extensions/mcp-servers/manifest-schema.js.map +1 -0
  558. package/dist/src/extensions/packs/manifest-schema.d.ts +40 -0
  559. package/dist/src/extensions/packs/manifest-schema.d.ts.map +1 -0
  560. package/dist/src/extensions/packs/manifest-schema.js +23 -0
  561. package/dist/src/extensions/packs/manifest-schema.js.map +1 -0
  562. package/dist/src/extensions/skills/index.d.ts +13 -0
  563. package/dist/src/extensions/skills/index.d.ts.map +1 -0
  564. package/dist/src/extensions/skills/index.js +11 -0
  565. package/dist/src/extensions/skills/index.js.map +1 -0
  566. package/dist/src/extensions/skills/manifest-schema.d.ts +38 -0
  567. package/dist/src/extensions/skills/manifest-schema.d.ts.map +1 -0
  568. package/dist/src/extensions/skills/manifest-schema.js +21 -0
  569. package/dist/src/extensions/skills/manifest-schema.js.map +1 -0
  570. package/dist/src/extensions/skills/state/index.d.ts +49 -0
  571. package/dist/src/extensions/skills/state/index.d.ts.map +1 -0
  572. package/dist/src/extensions/skills/state/index.js +54 -0
  573. package/dist/src/extensions/skills/state/index.js.map +1 -0
  574. package/dist/src/extensions/skills/state/pure-functions.d.ts +101 -0
  575. package/dist/src/extensions/skills/state/pure-functions.d.ts.map +1 -0
  576. package/dist/src/extensions/skills/state/pure-functions.js +118 -0
  577. package/dist/src/extensions/skills/state/pure-functions.js.map +1 -0
  578. package/dist/src/extensions/skills/state/types.d.ts +2022 -0
  579. package/dist/src/extensions/skills/state/types.d.ts.map +1 -0
  580. package/dist/src/extensions/skills/state/types.js +622 -0
  581. package/dist/src/extensions/skills/state/types.js.map +1 -0
  582. package/dist/src/extensions/skills/types.d.ts +62 -0
  583. package/dist/src/extensions/skills/types.d.ts.map +1 -0
  584. package/dist/src/extensions/skills/types.js +10 -0
  585. package/dist/src/extensions/skills/types.js.map +1 -0
  586. package/dist/src/git/errors.d.ts +26 -0
  587. package/dist/src/git/errors.d.ts.map +1 -0
  588. package/dist/src/git/errors.js +16 -0
  589. package/dist/src/git/errors.js.map +1 -0
  590. package/dist/src/git/index.d.ts +9 -0
  591. package/dist/src/git/index.d.ts.map +1 -0
  592. package/dist/src/git/index.js +9 -0
  593. package/dist/src/git/index.js.map +1 -0
  594. package/dist/src/git/operations.d.ts +75 -0
  595. package/dist/src/git/operations.d.ts.map +1 -0
  596. package/dist/src/git/operations.js +175 -0
  597. package/dist/src/git/operations.js.map +1 -0
  598. package/dist/src/lockfile/index.d.ts +15 -0
  599. package/dist/src/lockfile/index.d.ts.map +1 -0
  600. package/dist/src/lockfile/index.js +13 -0
  601. package/dist/src/lockfile/index.js.map +1 -0
  602. package/dist/src/lockfile/lockfile.d.ts +93 -0
  603. package/dist/src/lockfile/lockfile.d.ts.map +1 -0
  604. package/dist/src/lockfile/lockfile.js +161 -0
  605. package/dist/src/lockfile/lockfile.js.map +1 -0
  606. package/dist/src/lockfile/schema.d.ts +400 -0
  607. package/dist/src/lockfile/schema.d.ts.map +1 -0
  608. package/dist/src/lockfile/schema.js +187 -0
  609. package/dist/src/lockfile/schema.js.map +1 -0
  610. package/dist/src/main.d.ts +10 -0
  611. package/dist/src/main.d.ts.map +1 -0
  612. package/dist/src/main.js +36 -0
  613. package/dist/src/main.js.map +1 -0
  614. package/dist/src/registry/index.d.ts +12 -0
  615. package/dist/src/registry/index.d.ts.map +1 -0
  616. package/dist/src/registry/index.js +11 -0
  617. package/dist/src/registry/index.js.map +1 -0
  618. package/dist/src/registry/schema.d.ts +91 -0
  619. package/dist/src/registry/schema.d.ts.map +1 -0
  620. package/dist/src/registry/schema.js +69 -0
  621. package/dist/src/registry/schema.js.map +1 -0
  622. package/dist/src/resolution/errors.d.ts +29 -0
  623. package/dist/src/resolution/errors.d.ts.map +1 -0
  624. package/dist/src/resolution/errors.js +15 -0
  625. package/dist/src/resolution/errors.js.map +1 -0
  626. package/dist/src/resolution/index.d.ts +13 -0
  627. package/dist/src/resolution/index.d.ts.map +1 -0
  628. package/dist/src/resolution/index.js +14 -0
  629. package/dist/src/resolution/index.js.map +1 -0
  630. package/dist/src/resolution/resolver.d.ts +35 -0
  631. package/dist/src/resolution/resolver.d.ts.map +1 -0
  632. package/dist/src/resolution/resolver.js +105 -0
  633. package/dist/src/resolution/resolver.js.map +1 -0
  634. package/dist/src/resolution/resolvers/ambiguous.d.ts +42 -0
  635. package/dist/src/resolution/resolvers/ambiguous.d.ts.map +1 -0
  636. package/dist/src/resolution/resolvers/ambiguous.js +216 -0
  637. package/dist/src/resolution/resolvers/ambiguous.js.map +1 -0
  638. package/dist/src/resolution/resolvers/axm-name.d.ts +56 -0
  639. package/dist/src/resolution/resolvers/axm-name.d.ts.map +1 -0
  640. package/dist/src/resolution/resolvers/axm-name.js +132 -0
  641. package/dist/src/resolution/resolvers/axm-name.js.map +1 -0
  642. package/dist/src/resolution/resolvers/bare-name.d.ts +31 -0
  643. package/dist/src/resolution/resolvers/bare-name.d.ts.map +1 -0
  644. package/dist/src/resolution/resolvers/bare-name.js +64 -0
  645. package/dist/src/resolution/resolvers/bare-name.js.map +1 -0
  646. package/dist/src/resolution/resolvers/explicit-source.d.ts +29 -0
  647. package/dist/src/resolution/resolvers/explicit-source.d.ts.map +1 -0
  648. package/dist/src/resolution/resolvers/explicit-source.js +101 -0
  649. package/dist/src/resolution/resolvers/explicit-source.js.map +1 -0
  650. package/dist/src/resolution/resolvers/index.d.ts +13 -0
  651. package/dist/src/resolution/resolvers/index.d.ts.map +1 -0
  652. package/dist/src/resolution/resolvers/index.js +13 -0
  653. package/dist/src/resolution/resolvers/index.js.map +1 -0
  654. package/dist/src/resolution/resolvers/local-path.d.ts +40 -0
  655. package/dist/src/resolution/resolvers/local-path.d.ts.map +1 -0
  656. package/dist/src/resolution/resolvers/local-path.js +192 -0
  657. package/dist/src/resolution/resolvers/local-path.js.map +1 -0
  658. package/dist/src/resolution/resolvers/path-utils.d.ts +12 -0
  659. package/dist/src/resolution/resolvers/path-utils.d.ts.map +1 -0
  660. package/dist/src/resolution/resolvers/path-utils.js +22 -0
  661. package/dist/src/resolution/resolvers/path-utils.js.map +1 -0
  662. package/dist/src/resolution/resolvers/url-utils.d.ts +10 -0
  663. package/dist/src/resolution/resolvers/url-utils.d.ts.map +1 -0
  664. package/dist/src/resolution/resolvers/url-utils.js +23 -0
  665. package/dist/src/resolution/resolvers/url-utils.js.map +1 -0
  666. package/dist/src/resolution/resolvers/url.d.ts +30 -0
  667. package/dist/src/resolution/resolvers/url.d.ts.map +1 -0
  668. package/dist/src/resolution/resolvers/url.js +79 -0
  669. package/dist/src/resolution/resolvers/url.js.map +1 -0
  670. package/dist/src/resolution/types.d.ts +74 -0
  671. package/dist/src/resolution/types.d.ts.map +1 -0
  672. package/dist/src/resolution/types.js +8 -0
  673. package/dist/src/resolution/types.js.map +1 -0
  674. package/dist/src/runtime/index.d.ts +44 -0
  675. package/dist/src/runtime/index.d.ts.map +1 -0
  676. package/dist/src/runtime/index.js +37 -0
  677. package/dist/src/runtime/index.js.map +1 -0
  678. package/dist/src/settings/format-preserving-json.d.ts +64 -0
  679. package/dist/src/settings/format-preserving-json.d.ts.map +1 -0
  680. package/dist/src/settings/format-preserving-json.js +132 -0
  681. package/dist/src/settings/format-preserving-json.js.map +1 -0
  682. package/dist/src/settings/index.d.ts +16 -0
  683. package/dist/src/settings/index.d.ts.map +1 -0
  684. package/dist/src/settings/index.js +13 -0
  685. package/dist/src/settings/index.js.map +1 -0
  686. package/dist/src/settings/schema.d.ts +194 -0
  687. package/dist/src/settings/schema.d.ts.map +1 -0
  688. package/dist/src/settings/schema.js +182 -0
  689. package/dist/src/settings/schema.js.map +1 -0
  690. package/dist/src/settings/settings.d.ts +143 -0
  691. package/dist/src/settings/settings.d.ts.map +1 -0
  692. package/dist/src/settings/settings.js +160 -0
  693. package/dist/src/settings/settings.js.map +1 -0
  694. package/dist/src/skills/glob.d.ts +31 -0
  695. package/dist/src/skills/glob.d.ts.map +1 -0
  696. package/dist/src/skills/glob.js +44 -0
  697. package/dist/src/skills/glob.js.map +1 -0
  698. package/dist/src/skills/index.d.ts +7 -0
  699. package/dist/src/skills/index.d.ts.map +1 -0
  700. package/dist/src/skills/index.js +7 -0
  701. package/dist/src/skills/index.js.map +1 -0
  702. package/dist/src/sources/azurerepos/index.d.ts +11 -0
  703. package/dist/src/sources/azurerepos/index.d.ts.map +1 -0
  704. package/dist/src/sources/azurerepos/index.js +11 -0
  705. package/dist/src/sources/azurerepos/index.js.map +1 -0
  706. package/dist/src/sources/azurerepos/print.d.ts +3 -0
  707. package/dist/src/sources/azurerepos/print.d.ts.map +1 -0
  708. package/dist/src/sources/azurerepos/print.js +10 -0
  709. package/dist/src/sources/azurerepos/print.js.map +1 -0
  710. package/dist/src/sources/azurerepos/repo-exists.d.ts +4 -0
  711. package/dist/src/sources/azurerepos/repo-exists.d.ts.map +1 -0
  712. package/dist/src/sources/azurerepos/repo-exists.js +15 -0
  713. package/dist/src/sources/azurerepos/repo-exists.js.map +1 -0
  714. package/dist/src/sources/azurerepos/scp.d.ts +12 -0
  715. package/dist/src/sources/azurerepos/scp.d.ts.map +1 -0
  716. package/dist/src/sources/azurerepos/scp.js +21 -0
  717. package/dist/src/sources/azurerepos/scp.js.map +1 -0
  718. package/dist/src/sources/azurerepos/url.d.ts +13 -0
  719. package/dist/src/sources/azurerepos/url.d.ts.map +1 -0
  720. package/dist/src/sources/azurerepos/url.js +24 -0
  721. package/dist/src/sources/azurerepos/url.js.map +1 -0
  722. package/dist/src/sources/bitbucket/index.d.ts +12 -0
  723. package/dist/src/sources/bitbucket/index.d.ts.map +1 -0
  724. package/dist/src/sources/bitbucket/index.js +12 -0
  725. package/dist/src/sources/bitbucket/index.js.map +1 -0
  726. package/dist/src/sources/bitbucket/print.d.ts +3 -0
  727. package/dist/src/sources/bitbucket/print.d.ts.map +1 -0
  728. package/dist/src/sources/bitbucket/print.js +10 -0
  729. package/dist/src/sources/bitbucket/print.js.map +1 -0
  730. package/dist/src/sources/bitbucket/resolve-repo.d.ts +10 -0
  731. package/dist/src/sources/bitbucket/resolve-repo.d.ts.map +1 -0
  732. package/dist/src/sources/bitbucket/resolve-repo.js +30 -0
  733. package/dist/src/sources/bitbucket/resolve-repo.js.map +1 -0
  734. package/dist/src/sources/bitbucket/scp.d.ts +11 -0
  735. package/dist/src/sources/bitbucket/scp.d.ts.map +1 -0
  736. package/dist/src/sources/bitbucket/scp.js +20 -0
  737. package/dist/src/sources/bitbucket/scp.js.map +1 -0
  738. package/dist/src/sources/bitbucket/shorthand.d.ts +10 -0
  739. package/dist/src/sources/bitbucket/shorthand.d.ts.map +1 -0
  740. package/dist/src/sources/bitbucket/shorthand.js +15 -0
  741. package/dist/src/sources/bitbucket/shorthand.js.map +1 -0
  742. package/dist/src/sources/bitbucket/url.d.ts +12 -0
  743. package/dist/src/sources/bitbucket/url.d.ts.map +1 -0
  744. package/dist/src/sources/bitbucket/url.js +23 -0
  745. package/dist/src/sources/bitbucket/url.js.map +1 -0
  746. package/dist/src/sources/clone-url.d.ts +41 -0
  747. package/dist/src/sources/clone-url.d.ts.map +1 -0
  748. package/dist/src/sources/clone-url.js +73 -0
  749. package/dist/src/sources/clone-url.js.map +1 -0
  750. package/dist/src/sources/errors.d.ts +34 -0
  751. package/dist/src/sources/errors.d.ts.map +1 -0
  752. package/dist/src/sources/errors.js +22 -0
  753. package/dist/src/sources/errors.js.map +1 -0
  754. package/dist/src/sources/github/api.d.ts +42 -0
  755. package/dist/src/sources/github/api.d.ts.map +1 -0
  756. package/dist/src/sources/github/api.js +94 -0
  757. package/dist/src/sources/github/api.js.map +1 -0
  758. package/dist/src/sources/github/index.d.ts +13 -0
  759. package/dist/src/sources/github/index.d.ts.map +1 -0
  760. package/dist/src/sources/github/index.js +13 -0
  761. package/dist/src/sources/github/index.js.map +1 -0
  762. package/dist/src/sources/github/print.d.ts +3 -0
  763. package/dist/src/sources/github/print.d.ts.map +1 -0
  764. package/dist/src/sources/github/print.js +10 -0
  765. package/dist/src/sources/github/print.js.map +1 -0
  766. package/dist/src/sources/github/resolve-repo.d.ts +10 -0
  767. package/dist/src/sources/github/resolve-repo.d.ts.map +1 -0
  768. package/dist/src/sources/github/resolve-repo.js +30 -0
  769. package/dist/src/sources/github/resolve-repo.js.map +1 -0
  770. package/dist/src/sources/github/scp.d.ts +11 -0
  771. package/dist/src/sources/github/scp.d.ts.map +1 -0
  772. package/dist/src/sources/github/scp.js +20 -0
  773. package/dist/src/sources/github/scp.js.map +1 -0
  774. package/dist/src/sources/github/shorthand.d.ts +10 -0
  775. package/dist/src/sources/github/shorthand.d.ts.map +1 -0
  776. package/dist/src/sources/github/shorthand.js +15 -0
  777. package/dist/src/sources/github/shorthand.js.map +1 -0
  778. package/dist/src/sources/github/url.d.ts +12 -0
  779. package/dist/src/sources/github/url.d.ts.map +1 -0
  780. package/dist/src/sources/github/url.js +23 -0
  781. package/dist/src/sources/github/url.js.map +1 -0
  782. package/dist/src/sources/gitlab/index.d.ts +12 -0
  783. package/dist/src/sources/gitlab/index.d.ts.map +1 -0
  784. package/dist/src/sources/gitlab/index.js +12 -0
  785. package/dist/src/sources/gitlab/index.js.map +1 -0
  786. package/dist/src/sources/gitlab/print.d.ts +3 -0
  787. package/dist/src/sources/gitlab/print.d.ts.map +1 -0
  788. package/dist/src/sources/gitlab/print.js +10 -0
  789. package/dist/src/sources/gitlab/print.js.map +1 -0
  790. package/dist/src/sources/gitlab/resolve-repo.d.ts +10 -0
  791. package/dist/src/sources/gitlab/resolve-repo.d.ts.map +1 -0
  792. package/dist/src/sources/gitlab/resolve-repo.js +30 -0
  793. package/dist/src/sources/gitlab/resolve-repo.js.map +1 -0
  794. package/dist/src/sources/gitlab/scp.d.ts +11 -0
  795. package/dist/src/sources/gitlab/scp.d.ts.map +1 -0
  796. package/dist/src/sources/gitlab/scp.js +20 -0
  797. package/dist/src/sources/gitlab/scp.js.map +1 -0
  798. package/dist/src/sources/gitlab/shorthand.d.ts +10 -0
  799. package/dist/src/sources/gitlab/shorthand.d.ts.map +1 -0
  800. package/dist/src/sources/gitlab/shorthand.js +15 -0
  801. package/dist/src/sources/gitlab/shorthand.js.map +1 -0
  802. package/dist/src/sources/gitlab/url.d.ts +12 -0
  803. package/dist/src/sources/gitlab/url.d.ts.map +1 -0
  804. package/dist/src/sources/gitlab/url.js +23 -0
  805. package/dist/src/sources/gitlab/url.js.map +1 -0
  806. package/dist/src/sources/index.d.ts +31 -0
  807. package/dist/src/sources/index.d.ts.map +1 -0
  808. package/dist/src/sources/index.js +30 -0
  809. package/dist/src/sources/index.js.map +1 -0
  810. package/dist/src/sources/local/index.d.ts +9 -0
  811. package/dist/src/sources/local/index.d.ts.map +1 -0
  812. package/dist/src/sources/local/index.js +9 -0
  813. package/dist/src/sources/local/index.js.map +1 -0
  814. package/dist/src/sources/local/parser.d.ts +14 -0
  815. package/dist/src/sources/local/parser.d.ts.map +1 -0
  816. package/dist/src/sources/local/parser.js +14 -0
  817. package/dist/src/sources/local/parser.js.map +1 -0
  818. package/dist/src/sources/local/print.d.ts +3 -0
  819. package/dist/src/sources/local/print.d.ts.map +1 -0
  820. package/dist/src/sources/local/print.js +2 -0
  821. package/dist/src/sources/local/print.js.map +1 -0
  822. package/dist/src/sources/parse-provider-shorthand.d.ts +22 -0
  823. package/dist/src/sources/parse-provider-shorthand.d.ts.map +1 -0
  824. package/dist/src/sources/parse-provider-shorthand.js +30 -0
  825. package/dist/src/sources/parse-provider-shorthand.js.map +1 -0
  826. package/dist/src/sources/parser.d.ts +62 -0
  827. package/dist/src/sources/parser.d.ts.map +1 -0
  828. package/dist/src/sources/parser.js +83 -0
  829. package/dist/src/sources/parser.js.map +1 -0
  830. package/dist/src/sources/printer.d.ts +14 -0
  831. package/dist/src/sources/printer.d.ts.map +1 -0
  832. package/dist/src/sources/printer.js +35 -0
  833. package/dist/src/sources/printer.js.map +1 -0
  834. package/dist/src/sources/provider.d.ts +158 -0
  835. package/dist/src/sources/provider.d.ts.map +1 -0
  836. package/dist/src/sources/provider.js +38 -0
  837. package/dist/src/sources/provider.js.map +1 -0
  838. package/dist/src/sources/providers/azurerepos.d.ts +17 -0
  839. package/dist/src/sources/providers/azurerepos.d.ts.map +1 -0
  840. package/dist/src/sources/providers/azurerepos.js +27 -0
  841. package/dist/src/sources/providers/azurerepos.js.map +1 -0
  842. package/dist/src/sources/providers/git-hosting.d.ts +43 -0
  843. package/dist/src/sources/providers/git-hosting.d.ts.map +1 -0
  844. package/dist/src/sources/providers/git-hosting.js +118 -0
  845. package/dist/src/sources/providers/git-hosting.js.map +1 -0
  846. package/dist/src/sources/providers/git.d.ts +17 -0
  847. package/dist/src/sources/providers/git.d.ts.map +1 -0
  848. package/dist/src/sources/providers/git.js +27 -0
  849. package/dist/src/sources/providers/git.js.map +1 -0
  850. package/dist/src/sources/providers/index.d.ts +13 -0
  851. package/dist/src/sources/providers/index.d.ts.map +1 -0
  852. package/dist/src/sources/providers/index.js +12 -0
  853. package/dist/src/sources/providers/index.js.map +1 -0
  854. package/dist/src/sources/providers/local.d.ts +19 -0
  855. package/dist/src/sources/providers/local.d.ts.map +1 -0
  856. package/dist/src/sources/providers/local.js +49 -0
  857. package/dist/src/sources/providers/local.js.map +1 -0
  858. package/dist/src/sources/providers/registry.d.ts +67 -0
  859. package/dist/src/sources/providers/registry.d.ts.map +1 -0
  860. package/dist/src/sources/providers/registry.js +395 -0
  861. package/dist/src/sources/providers/registry.js.map +1 -0
  862. package/dist/src/sources/registry-guard.d.ts +23 -0
  863. package/dist/src/sources/registry-guard.d.ts.map +1 -0
  864. package/dist/src/sources/registry-guard.js +52 -0
  865. package/dist/src/sources/registry-guard.js.map +1 -0
  866. package/dist/src/sources/resolve-source.d.ts +29 -0
  867. package/dist/src/sources/resolve-source.d.ts.map +1 -0
  868. package/dist/src/sources/resolve-source.js +270 -0
  869. package/dist/src/sources/resolve-source.js.map +1 -0
  870. package/dist/src/sources/service.d.ts +70 -0
  871. package/dist/src/sources/service.d.ts.map +1 -0
  872. package/dist/src/sources/service.js +130 -0
  873. package/dist/src/sources/service.js.map +1 -0
  874. package/dist/src/sources/types.d.ts +160 -0
  875. package/dist/src/sources/types.d.ts.map +1 -0
  876. package/dist/src/sources/types.js +26 -0
  877. package/dist/src/sources/types.js.map +1 -0
  878. package/dist/src/sources/utils.d.ts +12 -0
  879. package/dist/src/sources/utils.d.ts.map +1 -0
  880. package/dist/src/sources/utils.js +11 -0
  881. package/dist/src/sources/utils.js.map +1 -0
  882. package/dist/src/tui/confirm/component.d.ts +9 -0
  883. package/dist/src/tui/confirm/component.d.ts.map +1 -0
  884. package/dist/src/tui/confirm/component.js +30 -0
  885. package/dist/src/tui/confirm/component.js.map +1 -0
  886. package/dist/src/tui/confirm/index.d.ts +4 -0
  887. package/dist/src/tui/confirm/index.d.ts.map +1 -0
  888. package/dist/src/tui/confirm/index.js +3 -0
  889. package/dist/src/tui/confirm/index.js.map +1 -0
  890. package/dist/src/tui/confirm/service.d.ts +15 -0
  891. package/dist/src/tui/confirm/service.d.ts.map +1 -0
  892. package/dist/src/tui/confirm/service.js +23 -0
  893. package/dist/src/tui/confirm/service.js.map +1 -0
  894. package/dist/src/tui/confirm/test.d.ts +14 -0
  895. package/dist/src/tui/confirm/test.d.ts.map +1 -0
  896. package/dist/src/tui/confirm/test.js +21 -0
  897. package/dist/src/tui/confirm/test.js.map +1 -0
  898. package/dist/src/tui/confirm/types.d.ts +5 -0
  899. package/dist/src/tui/confirm/types.d.ts.map +1 -0
  900. package/dist/src/tui/confirm/types.js +2 -0
  901. package/dist/src/tui/confirm/types.js.map +1 -0
  902. package/dist/src/tui/errors.d.ts +18 -0
  903. package/dist/src/tui/errors.d.ts.map +1 -0
  904. package/dist/src/tui/errors.js +6 -0
  905. package/dist/src/tui/errors.js.map +1 -0
  906. package/dist/src/tui/index.d.ts +21 -0
  907. package/dist/src/tui/index.d.ts.map +1 -0
  908. package/dist/src/tui/index.js +38 -0
  909. package/dist/src/tui/index.js.map +1 -0
  910. package/dist/src/tui/log/index.d.ts +3 -0
  911. package/dist/src/tui/log/index.d.ts.map +1 -0
  912. package/dist/src/tui/log/index.js +3 -0
  913. package/dist/src/tui/log/index.js.map +1 -0
  914. package/dist/src/tui/log/service.d.ts +16 -0
  915. package/dist/src/tui/log/service.d.ts.map +1 -0
  916. package/dist/src/tui/log/service.js +15 -0
  917. package/dist/src/tui/log/service.js.map +1 -0
  918. package/dist/src/tui/log/test.d.ts +14 -0
  919. package/dist/src/tui/log/test.d.ts.map +1 -0
  920. package/dist/src/tui/log/test.js +33 -0
  921. package/dist/src/tui/log/test.js.map +1 -0
  922. package/dist/src/tui/multiselect/component.d.ts +9 -0
  923. package/dist/src/tui/multiselect/component.d.ts.map +1 -0
  924. package/dist/src/tui/multiselect/component.js +67 -0
  925. package/dist/src/tui/multiselect/component.js.map +1 -0
  926. package/dist/src/tui/multiselect/index.d.ts +4 -0
  927. package/dist/src/tui/multiselect/index.d.ts.map +1 -0
  928. package/dist/src/tui/multiselect/index.js +3 -0
  929. package/dist/src/tui/multiselect/index.js.map +1 -0
  930. package/dist/src/tui/multiselect/service.d.ts +14 -0
  931. package/dist/src/tui/multiselect/service.d.ts.map +1 -0
  932. package/dist/src/tui/multiselect/service.js +33 -0
  933. package/dist/src/tui/multiselect/service.js.map +1 -0
  934. package/dist/src/tui/multiselect/test.d.ts +17 -0
  935. package/dist/src/tui/multiselect/test.d.ts.map +1 -0
  936. package/dist/src/tui/multiselect/test.js +23 -0
  937. package/dist/src/tui/multiselect/test.js.map +1 -0
  938. package/dist/src/tui/multiselect/types.d.ts +14 -0
  939. package/dist/src/tui/multiselect/types.d.ts.map +1 -0
  940. package/dist/src/tui/multiselect/types.js +2 -0
  941. package/dist/src/tui/multiselect/types.js.map +1 -0
  942. package/dist/src/tui/note/index.d.ts +3 -0
  943. package/dist/src/tui/note/index.d.ts.map +1 -0
  944. package/dist/src/tui/note/index.js +3 -0
  945. package/dist/src/tui/note/index.js.map +1 -0
  946. package/dist/src/tui/note/service.d.ts +12 -0
  947. package/dist/src/tui/note/service.d.ts.map +1 -0
  948. package/dist/src/tui/note/service.js +31 -0
  949. package/dist/src/tui/note/service.js.map +1 -0
  950. package/dist/src/tui/note/test.d.ts +11 -0
  951. package/dist/src/tui/note/test.d.ts.map +1 -0
  952. package/dist/src/tui/note/test.js +15 -0
  953. package/dist/src/tui/note/test.js.map +1 -0
  954. package/dist/src/tui/password-input/component.d.ts +9 -0
  955. package/dist/src/tui/password-input/component.d.ts.map +1 -0
  956. package/dist/src/tui/password-input/component.js +14 -0
  957. package/dist/src/tui/password-input/component.js.map +1 -0
  958. package/dist/src/tui/password-input/index.d.ts +4 -0
  959. package/dist/src/tui/password-input/index.d.ts.map +1 -0
  960. package/dist/src/tui/password-input/index.js +3 -0
  961. package/dist/src/tui/password-input/index.js.map +1 -0
  962. package/dist/src/tui/password-input/service.d.ts +14 -0
  963. package/dist/src/tui/password-input/service.d.ts.map +1 -0
  964. package/dist/src/tui/password-input/service.js +32 -0
  965. package/dist/src/tui/password-input/service.js.map +1 -0
  966. package/dist/src/tui/password-input/test.d.ts +14 -0
  967. package/dist/src/tui/password-input/test.d.ts.map +1 -0
  968. package/dist/src/tui/password-input/test.js +22 -0
  969. package/dist/src/tui/password-input/test.js.map +1 -0
  970. package/dist/src/tui/password-input/types.d.ts +5 -0
  971. package/dist/src/tui/password-input/types.d.ts.map +1 -0
  972. package/dist/src/tui/password-input/types.js +2 -0
  973. package/dist/src/tui/password-input/types.js.map +1 -0
  974. package/dist/src/tui/select/component.d.ts +9 -0
  975. package/dist/src/tui/select/component.d.ts.map +1 -0
  976. package/dist/src/tui/select/component.js +20 -0
  977. package/dist/src/tui/select/component.js.map +1 -0
  978. package/dist/src/tui/select/index.d.ts +4 -0
  979. package/dist/src/tui/select/index.d.ts.map +1 -0
  980. package/dist/src/tui/select/index.js +3 -0
  981. package/dist/src/tui/select/index.js.map +1 -0
  982. package/dist/src/tui/select/service.d.ts +14 -0
  983. package/dist/src/tui/select/service.d.ts.map +1 -0
  984. package/dist/src/tui/select/service.js +31 -0
  985. package/dist/src/tui/select/service.js.map +1 -0
  986. package/dist/src/tui/select/test.d.ts +16 -0
  987. package/dist/src/tui/select/test.d.ts.map +1 -0
  988. package/dist/src/tui/select/test.js +25 -0
  989. package/dist/src/tui/select/test.js.map +1 -0
  990. package/dist/src/tui/select/types.d.ts +11 -0
  991. package/dist/src/tui/select/types.d.ts.map +1 -0
  992. package/dist/src/tui/select/types.js +2 -0
  993. package/dist/src/tui/select/types.js.map +1 -0
  994. package/dist/src/tui/spinner/component.d.ts +6 -0
  995. package/dist/src/tui/spinner/component.d.ts.map +1 -0
  996. package/dist/src/tui/spinner/component.js +8 -0
  997. package/dist/src/tui/spinner/component.js.map +1 -0
  998. package/dist/src/tui/spinner/index.d.ts +4 -0
  999. package/dist/src/tui/spinner/index.d.ts.map +1 -0
  1000. package/dist/src/tui/spinner/index.js +3 -0
  1001. package/dist/src/tui/spinner/index.js.map +1 -0
  1002. package/dist/src/tui/spinner/service.d.ts +13 -0
  1003. package/dist/src/tui/spinner/service.d.ts.map +1 -0
  1004. package/dist/src/tui/spinner/service.js +22 -0
  1005. package/dist/src/tui/spinner/service.js.map +1 -0
  1006. package/dist/src/tui/spinner/test.d.ts +11 -0
  1007. package/dist/src/tui/spinner/test.d.ts.map +1 -0
  1008. package/dist/src/tui/spinner/test.js +22 -0
  1009. package/dist/src/tui/spinner/test.js.map +1 -0
  1010. package/dist/src/tui/spinner/types.d.ts +5 -0
  1011. package/dist/src/tui/spinner/types.d.ts.map +1 -0
  1012. package/dist/src/tui/spinner/types.js +2 -0
  1013. package/dist/src/tui/spinner/types.js.map +1 -0
  1014. package/dist/src/tui/text-input/component.d.ts +9 -0
  1015. package/dist/src/tui/text-input/component.d.ts.map +1 -0
  1016. package/dist/src/tui/text-input/component.js +28 -0
  1017. package/dist/src/tui/text-input/component.js.map +1 -0
  1018. package/dist/src/tui/text-input/index.d.ts +4 -0
  1019. package/dist/src/tui/text-input/index.d.ts.map +1 -0
  1020. package/dist/src/tui/text-input/index.js +3 -0
  1021. package/dist/src/tui/text-input/index.js.map +1 -0
  1022. package/dist/src/tui/text-input/service.d.ts +15 -0
  1023. package/dist/src/tui/text-input/service.d.ts.map +1 -0
  1024. package/dist/src/tui/text-input/service.js +23 -0
  1025. package/dist/src/tui/text-input/service.js.map +1 -0
  1026. package/dist/src/tui/text-input/test.d.ts +14 -0
  1027. package/dist/src/tui/text-input/test.d.ts.map +1 -0
  1028. package/dist/src/tui/text-input/test.js +21 -0
  1029. package/dist/src/tui/text-input/test.js.map +1 -0
  1030. package/dist/src/tui/text-input/types.d.ts +7 -0
  1031. package/dist/src/tui/text-input/types.d.ts.map +1 -0
  1032. package/dist/src/tui/text-input/types.js +2 -0
  1033. package/dist/src/tui/text-input/types.js.map +1 -0
  1034. package/dist/src/utils/checksum.d.ts +9 -0
  1035. package/dist/src/utils/checksum.d.ts.map +1 -0
  1036. package/dist/src/utils/checksum.js +13 -0
  1037. package/dist/src/utils/checksum.js.map +1 -0
  1038. package/dist/src/utils/create-symlink.d.ts +37 -0
  1039. package/dist/src/utils/create-symlink.d.ts.map +1 -0
  1040. package/dist/src/utils/create-symlink.js +86 -0
  1041. package/dist/src/utils/create-symlink.js.map +1 -0
  1042. package/dist/src/utils/errors.d.ts +48 -0
  1043. package/dist/src/utils/errors.d.ts.map +1 -0
  1044. package/dist/src/utils/errors.js +71 -0
  1045. package/dist/src/utils/errors.js.map +1 -0
  1046. package/dist/src/utils/index.d.ts +7 -0
  1047. package/dist/src/utils/index.d.ts.map +1 -0
  1048. package/dist/src/utils/index.js +7 -0
  1049. package/dist/src/utils/index.js.map +1 -0
  1050. package/dist/src/utils/path-safety.d.ts +6 -0
  1051. package/dist/src/utils/path-safety.d.ts.map +1 -0
  1052. package/dist/src/utils/path-safety.js +11 -0
  1053. package/dist/src/utils/path-safety.js.map +1 -0
  1054. package/dist/src/utils/resolve-parent-symlinks.d.ts +12 -0
  1055. package/dist/src/utils/resolve-parent-symlinks.d.ts.map +1 -0
  1056. package/dist/src/utils/resolve-parent-symlinks.js +18 -0
  1057. package/dist/src/utils/resolve-parent-symlinks.js.map +1 -0
  1058. package/dist/src/utils/tty.d.ts +12 -0
  1059. package/dist/src/utils/tty.d.ts.map +1 -0
  1060. package/dist/src/utils/tty.js +14 -0
  1061. package/dist/src/utils/tty.js.map +1 -0
  1062. package/dist/src/workspace/apply-plan.d.ts +55 -0
  1063. package/dist/src/workspace/apply-plan.d.ts.map +1 -0
  1064. package/dist/src/workspace/apply-plan.js +55 -0
  1065. package/dist/src/workspace/apply-plan.js.map +1 -0
  1066. package/dist/src/workspace/display-plan.d.ts +18 -0
  1067. package/dist/src/workspace/display-plan.d.ts.map +1 -0
  1068. package/dist/src/workspace/display-plan.js +69 -0
  1069. package/dist/src/workspace/display-plan.js.map +1 -0
  1070. package/dist/src/workspace/ensure-agents.d.ts +58 -0
  1071. package/dist/src/workspace/ensure-agents.d.ts.map +1 -0
  1072. package/dist/src/workspace/ensure-agents.js +92 -0
  1073. package/dist/src/workspace/ensure-agents.js.map +1 -0
  1074. package/dist/src/workspace/errors.d.ts +40 -0
  1075. package/dist/src/workspace/errors.d.ts.map +1 -0
  1076. package/dist/src/workspace/errors.js +31 -0
  1077. package/dist/src/workspace/errors.js.map +1 -0
  1078. package/dist/src/workspace/index.d.ts +13 -0
  1079. package/dist/src/workspace/index.d.ts.map +1 -0
  1080. package/dist/src/workspace/index.js +16 -0
  1081. package/dist/src/workspace/index.js.map +1 -0
  1082. package/dist/src/workspace/paths.d.ts +74 -0
  1083. package/dist/src/workspace/paths.d.ts.map +1 -0
  1084. package/dist/src/workspace/paths.js +85 -0
  1085. package/dist/src/workspace/paths.js.map +1 -0
  1086. package/dist/src/workspace/plan.d.ts +43 -0
  1087. package/dist/src/workspace/plan.d.ts.map +1 -0
  1088. package/dist/src/workspace/plan.js +12 -0
  1089. package/dist/src/workspace/plan.js.map +1 -0
  1090. package/dist/src/workspace/service.d.ts +128 -0
  1091. package/dist/src/workspace/service.d.ts.map +1 -0
  1092. package/dist/src/workspace/service.js +421 -0
  1093. package/dist/src/workspace/service.js.map +1 -0
  1094. package/package.json +111 -0
@@ -0,0 +1,83 @@
1
+ /**
2
+ * Input pattern classification for source strings.
3
+ *
4
+ * Classifies raw input strings into typed `InputPattern` variants
5
+ * (URL, SCP, shorthand, file path, etc.) for downstream routing
6
+ * by `resolveSource`.
7
+ *
8
+ * @experimental This API is unstable and may change without notice.
9
+ * @packageDocumentation
10
+ */
11
+ import * as Option from "effect/Option";
12
+ import * as Schema from "effect/Schema";
13
+ /** Matches: ./path, ../path, /path, ~/path, ~\path, or Windows paths like C:\path */
14
+ const LOCAL_PATH_PATTERN = /^(?:\.\.?\/|\/|~\/|~\\|[A-Za-z]:[\\/])/;
15
+ const REGISTRY_SOURCE_PATTERN = /^@([^/]+)\/(.+)$/;
16
+ /** SCP-style: `user@host:path` — no `://` scheme. */
17
+ const SCP_PATTERN = /^([^@]+)@([^:]+):(.+)$/;
18
+ /** Known shorthand prefixes. */
19
+ const SHORTHAND_PREFIXES = new Set(["github", "gitlab", "bitbucket"]);
20
+ /** Simple name: alphanumeric with hyphens, no leading/trailing hyphen. */
21
+ const NAME_PATTERN = /^[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$/;
22
+ /**
23
+ * Classify an input string into an InputPattern.
24
+ *
25
+ * Pure function — no effects, no trimming. Returns `None` for empty/whitespace-only input.
26
+ */
27
+ export const parseInputPattern = (input) => {
28
+ // 1. SCP-style git address (user@host:path) — must check before URL
29
+ const scpMatch = input.match(SCP_PATTERN);
30
+ if (scpMatch && scpMatch[1] && scpMatch[2] && scpMatch[3]) {
31
+ return Option.some({
32
+ _tag: "GitScpAddress",
33
+ user: scpMatch[1],
34
+ host: scpMatch[2],
35
+ path: scpMatch[3],
36
+ });
37
+ }
38
+ // 2. Shorthand prefix (github:..., gitlab:..., etc.) — must check before URL
39
+ const colonIndex = input.indexOf(":");
40
+ if (colonIndex > 0 && SHORTHAND_PREFIXES.has(input.slice(0, colonIndex))) {
41
+ return Option.some({ _tag: "ShorthandInput", prefix: input.slice(0, colonIndex), input });
42
+ }
43
+ // 3. File path — must check before URL (e.g. `C:/path` is a valid URL with scheme `c:`)
44
+ if (LOCAL_PATH_PATTERN.test(input)) {
45
+ return Option.some({ _tag: "FilePathPattern", path: input });
46
+ }
47
+ // 4. URL (validated via Schema.URL)
48
+ const urlOption = Schema.decodeUnknownOption(Schema.URL)(input);
49
+ if (Option.isSome(urlOption)) {
50
+ if (urlOption.value.protocol === "file:") {
51
+ return Option.some({ _tag: "FilePathPattern", path: urlOption.value.pathname });
52
+ }
53
+ return Option.some({ _tag: "UrlInput", url: urlOption.value });
54
+ }
55
+ // 5. Registry source (@scope/name)
56
+ const registryMatch = input.match(REGISTRY_SOURCE_PATTERN);
57
+ if (registryMatch && registryMatch[1] && registryMatch[2]) {
58
+ return Option.some({
59
+ _tag: "RegistryPatternInput",
60
+ scope: registryMatch[1],
61
+ name: registryMatch[2],
62
+ });
63
+ }
64
+ // 6. Slash pattern (exactly two valid-name segments: `owner/repo`)
65
+ if (input.includes("/")) {
66
+ const segments = input.split("/");
67
+ if (segments.length === 2 && segments.every((s) => NAME_PATTERN.test(s))) {
68
+ return Option.some({
69
+ _tag: "SlashPattern",
70
+ owner: segments[0],
71
+ repo: segments[1],
72
+ subPath: Option.none(),
73
+ });
74
+ }
75
+ return Option.none();
76
+ }
77
+ // 7. Simple name (alphanumeric with hyphens, no leading/trailing hyphen)
78
+ if (NAME_PATTERN.test(input)) {
79
+ return Option.some({ _tag: "NameInput", name: input });
80
+ }
81
+ return Option.none();
82
+ };
83
+ //# sourceMappingURL=parser.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parser.js","sourceRoot":"","sources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AC,EAAE,CAAC;QACxB,MAAM,QAAQ,GAAG,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QAClC,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC,IAAI,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;YACzE,OAAO,MAAM,CAAC,IAAI,CAAC;gBACjB,IAAI,EAAE,cAAc;gBACpB,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAE;gBACnB,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAE;gBAClB,OAAO,EAAE,MAAM,CAAC,IAAI,EAAE;aACvB,CAAC,CAAC;QACL,CAAC;QACD,OAAO,MAAM,CAAC,IAAI,EAAE,CAAC;IACvB,CAAC;IAED,yEAAyE;IACzE,IAAI,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;QAC7B,OAAO,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC;IACzD,CAAC;IAED,OAAO,MAAM,CAAC,IAAI,EAAE,CAAC;AACvB,CAAC,CAAC"}
@@ -0,0 +1,14 @@
1
+ /**
2
+ * Source printer for canonical shorthand strings.
3
+ *
4
+ * @experimental This API is unstable and may change without notice.
5
+ * @packageDocumentation
6
+ */
7
+ import type { SourceInput } from "./types.js";
8
+ /**
9
+ * Print a source input as its canonical shorthand string.
10
+ *
11
+ * @experimental This API is unstable and may change without notice.
12
+ */
13
+ export declare const printSourceInput: (source: SourceInput) => string;
14
+ //# sourceMappingURL=printer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"printer.d.ts","sourceRoot":"","sources":["../../../src/sources/printer.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAOH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,GAAI,QAAQ,WAAW,KAAG,MAiBtD,CAAC"}
@@ -0,0 +1,35 @@
1
+ /**
2
+ * Source printer for canonical shorthand strings.
3
+ *
4
+ * @experimental This API is unstable and may change without notice.
5
+ * @packageDocumentation
6
+ */
7
+ import { print as azurereposPrint } from "./azurerepos/index.js";
8
+ import { print as bitbucketPrint } from "./bitbucket/index.js";
9
+ import { print as githubPrint } from "./github/index.js";
10
+ import { print as gitlabPrint } from "./gitlab/index.js";
11
+ import { print as localPrint } from "./local/index.js";
12
+ /**
13
+ * Print a source input as its canonical shorthand string.
14
+ *
15
+ * @experimental This API is unstable and may change without notice.
16
+ */
17
+ export const printSourceInput = (source) => {
18
+ switch (source.type) {
19
+ case "github":
20
+ return githubPrint(source);
21
+ case "gitlab":
22
+ return gitlabPrint(source);
23
+ case "bitbucket":
24
+ return bitbucketPrint(source);
25
+ case "azurerepos":
26
+ return azurereposPrint(source);
27
+ case "local":
28
+ return localPrint(source);
29
+ case "git":
30
+ return source.url.href;
31
+ case "registry":
32
+ return `${source.scope}/${source.name}`;
33
+ }
34
+ };
35
+ //# sourceMappingURL=printer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"printer.js","sourceRoot":"","sources":["../../../src/sources/printer.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,KAAK,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,KAAK,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,KAAK,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAGvD;;;;GAIG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,MAAmB,EAAU,EAAE;IAC9D,QAAQ,MAAM,CAAC,IAAI,EAAE,CAAC;QACpB,KAAK,QAAQ;YACX,OAAO,WAAW,CAAC,MAAM,CAAC,CAAC;QAC7B,KAAK,QAAQ;YACX,OAAO,WAAW,CAAC,MAAM,CAAC,CAAC;QAC7B,KAAK,WAAW;YACd,OAAO,cAAc,CAAC,MAAM,CAAC,CAAC;QAChC,KAAK,YAAY;YACf,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC;QACjC,KAAK,OAAO;YACV,OAAO,UAAU,CAAC,MAAM,CAAC,CAAC;QAC5B,KAAK,KAAK;YACR,OAAO,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC;QACzB,KAAK,UAAU;YACb,OAAO,GAAG,MAAM,CAAC,KAAK,IAAI,MAAM,CAAC,IAAI,EAAE,CAAC;IAC5C,CAAC;AACH,CAAC,CAAC"}
@@ -0,0 +1,158 @@
1
+ /**
2
+ * Source provider abstraction for unified extension discovery and fetching.
3
+ *
4
+ * Defines the `SourceProvider` interface that all source types implement,
5
+ * along with supporting types for search criteria, discovery results, and errors.
6
+ *
7
+ * @experimental This API is unstable and may change without notice.
8
+ * @packageDocumentation
9
+ */
10
+ import type * as Effect from "effect/Effect";
11
+ import type * as Option from "effect/Option";
12
+ import type { ExtensionType } from "../extensions/common.js";
13
+ import type { Skill } from "../extensions/skills/types.js";
14
+ import type { SourceInput } from "./types.js";
15
+ /**
16
+ * Search criteria passed to `find` -- independent of source identity.
17
+ *
18
+ * - `names`: extension names to match (empty = all)
19
+ * - `agents`: agent compatibility filter (empty = all)
20
+ * - `type`: extension type filter (`"skill"`, `"mcp-server"`, or `"*"` for all)
21
+ *
22
+ * @experimental This API is unstable and may change without notice.
23
+ */
24
+ export interface FindOptions {
25
+ readonly names: ReadonlyArray<string>;
26
+ readonly agents: ReadonlyArray<string>;
27
+ readonly type: ExtensionType | "*";
28
+ }
29
+ /**
30
+ * Discriminated union of discovered extension references.
31
+ *
32
+ * Returned by `find`, consumed by `fetch`.
33
+ *
34
+ * @experimental This API is unstable and may change without notice.
35
+ */
36
+ export type ExtensionRef = SkillRef | McpServerRef;
37
+ /**
38
+ * A discovered skill reference.
39
+ *
40
+ * @experimental This API is unstable and may change without notice.
41
+ */
42
+ export interface SkillRef {
43
+ /** Discriminator for the extension type. */
44
+ readonly type: "skill";
45
+ /** Parsed skill metadata from SKILL.md. */
46
+ readonly skill: Skill;
47
+ /** The source that was searched. */
48
+ readonly source: SourceInput;
49
+ /** URL where extension files are materialized (`file://` or `https://`). */
50
+ readonly location: string;
51
+ /** Resolved version for registry sources; `None` for git/local. */
52
+ readonly version: Option.Option<string>;
53
+ /** Git tree SHA for integrity verification. */
54
+ readonly gitTreeSha: Option.Option<string>;
55
+ }
56
+ /**
57
+ * A discovered MCP server reference (forward compatibility).
58
+ *
59
+ * @experimental This API is unstable and may change without notice.
60
+ */
61
+ export interface McpServerRef {
62
+ /** Discriminator for the extension type. */
63
+ readonly type: "mcp-server";
64
+ /** Name of the MCP server. */
65
+ readonly name: string;
66
+ /** The source that was searched. */
67
+ readonly source: SourceInput;
68
+ /** URL where extension files are materialized (`file://` or `https://`). */
69
+ readonly location: string;
70
+ /** Resolved version for registry sources; `None` for git/local. */
71
+ readonly version: Option.Option<string>;
72
+ }
73
+ /**
74
+ * Materialized extension files ready for installation.
75
+ *
76
+ * Returned by `fetch` after files have been prepared.
77
+ *
78
+ * @experimental This API is unstable and may change without notice.
79
+ */
80
+ export interface ExtensionFiles {
81
+ /** Absolute path to directory containing extension files. */
82
+ readonly directory: string;
83
+ }
84
+ declare const SourceError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
85
+ readonly _tag: "SourceError";
86
+ } & Readonly<A>;
87
+ /**
88
+ * Error for source provider operations (find/fetch).
89
+ *
90
+ * Subsumes existing `DiscoveryError` and `CloneUrlError` as providers
91
+ * replace the current discovery code.
92
+ *
93
+ * @experimental This API is unstable and may change without notice.
94
+ */
95
+ export declare class SourceError extends SourceError_base<{
96
+ readonly message: string;
97
+ readonly cause: unknown;
98
+ }> {
99
+ }
100
+ declare const RegistryError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
101
+ readonly _tag: "RegistryError";
102
+ } & Readonly<A>;
103
+ /**
104
+ * Error for registry-specific operations (fetchIndex, publishVersion, etc.).
105
+ *
106
+ * @experimental This API is unstable and may change without notice.
107
+ */
108
+ export declare class RegistryError extends RegistryError_base<{
109
+ readonly message: string;
110
+ readonly cause: unknown;
111
+ }> {
112
+ }
113
+ declare const RegistryNotConfiguredError_base: new <A extends Record<string, any> = {}>(args: import("effect/Types").Equals<A, {}> extends true ? void : { readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }) => import("effect/Cause").YieldableError & {
114
+ readonly _tag: "RegistryNotConfiguredError";
115
+ } & Readonly<A>;
116
+ /**
117
+ * Error when no registry source is configured.
118
+ *
119
+ * @experimental This API is unstable and may change without notice.
120
+ */
121
+ export declare class RegistryNotConfiguredError extends RegistryNotConfiguredError_base<{
122
+ readonly message: string;
123
+ }> {
124
+ }
125
+ /**
126
+ * Source provider that unifies how all source types are accessed.
127
+ *
128
+ * Each source type is implemented as a provider with `find` and `fetch`
129
+ * capabilities. The `R` parameter captures Effect requirements for the
130
+ * provider's operations.
131
+ *
132
+ * @typeParam S - The specific `SourceInput` variant this provider handles.
133
+ * @typeParam R - Effect requirements for provider operations.
134
+ *
135
+ * @experimental This API is unstable and may change without notice.
136
+ */
137
+ export interface SourceProvider<S extends SourceInput = SourceInput, R = never> {
138
+ /** Source type discriminator matching `S["type"]`. */
139
+ readonly type: S["type"];
140
+ /** Discover extensions at the given source matching the search criteria. */
141
+ readonly find: (source: S, options: FindOptions) => Effect.Effect<ReadonlyArray<ExtensionRef>, SourceError, R>;
142
+ /** Fetch and materialize extension files for a discovered ref. */
143
+ readonly fetch: (source: S, extension: ExtensionRef) => Effect.Effect<ExtensionFiles, SourceError, R>;
144
+ }
145
+ /**
146
+ * Maps each source type to its provider implementation.
147
+ *
148
+ * Internal to the `SourceProviders` service -- handlers don't see this directly.
149
+ *
150
+ * @experimental This API is unstable and may change without notice.
151
+ */
152
+ export type ProviderRegistry = {
153
+ [K in SourceInput["type"]]: SourceProvider<Extract<SourceInput, {
154
+ type: K;
155
+ }>, any>;
156
+ };
157
+ export {};
158
+ //# sourceMappingURL=provider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../../../src/sources/provider.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,KAAK,KAAK,MAAM,MAAM,eAAe,CAAC;AAC7C,OAAO,KAAK,KAAK,MAAM,MAAM,eAAe,CAAC;AAE7C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAM9C;;;;;;;;GAQG;AACH,MAAM,WAAW,WAAW;IAC1B,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IACtC,QAAQ,CAAC,MAAM,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IACvC,QAAQ,CAAC,IAAI,EAAE,aAAa,GAAG,GAAG,CAAC;CACpC;AAMD;;;;;;GAMG;AACH,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,YAAY,CAAC;AAEnD;;;;GAIG;AACH,MAAM,WAAW,QAAQ;IACvB,4CAA4C;IAC5C,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;IACvB,2CAA2C;IAC3C,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC;IACtB,oCAAoC;IACpC,QAAQ,CAAC,MAAM,EAAE,WAAW,CAA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WAAW,GAAG,WAAW,EAAE,CAAC,GAAG,KAAK;IAC5E,sDAAsD;IACtD,QAAQ,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC;IACzB,4EAA4E;IAC5E,QAAQ,CAAC,IAAI,EAAE,CACb,MAAM,EAAE,CAAC,EACT,OAAO,EAAE,WAAW,KACjB,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC;IAChE,kEAAkE;IAClE,QAAQ,CAAC,KAAK,EAAE,CACd,MAAM,EAAE,CAAC,EACT,SAAS,EAAE,YAAY,KACpB,MAAM,CAAC,MAAM,CAAC,cAAc,EAAE,WAAW,EAAE,CAAC,CAAC,CAAC;CACpD;AAMD;;;;;;GAMG;AACH,MAAM,MAAM,gBAAgB,GAAG;KAE5B,CAAC,IAAI,WAAW,CAAC,MAAM,CAAC,GAAG,cAAc,CAAC,OAAO,CAAC,WAAW,EAAE;QAAE,IAAI,EAAE,CAAC,CAAA;KAAE,CAAC,EAAE,GAAG,CAAC;CACnF,CAAC"}
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Source provider abstraction for unified extension discovery and fetching.
3
+ *
4
+ * Defines the `SourceProvider` interface that all source types implement,
5
+ * along with supporting types for search criteria, discovery results, and errors.
6
+ *
7
+ * @experimental This API is unstable and may change without notice.
8
+ * @packageDocumentation
9
+ */
10
+ import * as Data from "effect/Data";
11
+ // -----------------------------------------------------------------------------
12
+ // Errors
13
+ // -----------------------------------------------------------------------------
14
+ /**
15
+ * Error for source provider operations (find/fetch).
16
+ *
17
+ * Subsumes existing `DiscoveryError` and `CloneUrlError` as providers
18
+ * replace the current discovery code.
19
+ *
20
+ * @experimental This API is unstable and may change without notice.
21
+ */
22
+ export class SourceError extends Data.TaggedError("SourceError") {
23
+ }
24
+ /**
25
+ * Error for registry-specific operations (fetchIndex, publishVersion, etc.).
26
+ *
27
+ * @experimental This API is unstable and may change without notice.
28
+ */
29
+ export class RegistryError extends Data.TaggedError("RegistryError") {
30
+ }
31
+ /**
32
+ * Error when no registry source is configured.
33
+ *
34
+ * @experimental This API is unstable and may change without notice.
35
+ */
36
+ export class RegistryNotConfiguredError extends Data.TaggedError("RegistryNotConfiguredError") {
37
+ }
38
+ //# sourceMappingURL=provider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"provider.js","sourceRoot":"","sources":["../../../src/sources/provider.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AA8FpC,gFAAgF;AAChF,SAAS;AACT,gFAAgF;AAEhF;;;;;;;GAOG;AACH,MAAM,OAAO,WAAY,SAAQ,IAAI,CAAC,WAAW,CAAC,aAAa,CAG7D;CAAG;AAEL;;;;GAIG;AACH,MAAM,OAAO,aAAc,SAAQ,IAAI,CAAC,WAAW,CAAC,eAAe,CAGjE;CAAG;AAEL;;;;GAIG;AACH,MAAM,OAAO,0BAA2B,SAAQ,IAAI,CAAC,WAAW,CAAC,4BAA4B,CAE3F;CAAG"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Source provider stub for Azure Repos.
3
+ *
4
+ * Not yet implemented -- all operations fail with a descriptive error.
5
+ *
6
+ * @experimental This API is unstable and may change without notice.
7
+ * @packageDocumentation
8
+ */
9
+ import type { SourceProvider } from "../provider.js";
10
+ import type { AzureReposSourceInput } from "../types.js";
11
+ /**
12
+ * Source provider for Azure Repos (stub).
13
+ *
14
+ * @experimental This API is unstable and may change without notice.
15
+ */
16
+ export declare const createAzureReposProvider: () => SourceProvider<AzureReposSourceInput>;
17
+ //# sourceMappingURL=azurerepos.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"azurerepos.d.ts","sourceRoot":"","sources":["../../../../src/sources/providers/azurerepos.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAKH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAEzD;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,QAAO,cAAc,CAAC,qBAAqB,CAkB9E,CAAC"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Source provider stub for Azure Repos.
3
+ *
4
+ * Not yet implemented -- all operations fail with a descriptive error.
5
+ *
6
+ * @experimental This API is unstable and may change without notice.
7
+ * @packageDocumentation
8
+ */
9
+ import * as Effect from "effect/Effect";
10
+ import { SourceError } from "../provider.js";
11
+ /**
12
+ * Source provider for Azure Repos (stub).
13
+ *
14
+ * @experimental This API is unstable and may change without notice.
15
+ */
16
+ export const createAzureReposProvider = () => ({
17
+ type: "azurerepos",
18
+ find: () => Effect.fail(new SourceError({
19
+ message: "Azure Repos sources are not yet supported",
20
+ cause: undefined,
21
+ })),
22
+ fetch: () => Effect.fail(new SourceError({
23
+ message: "Azure Repos sources are not yet supported",
24
+ cause: undefined,
25
+ })),
26
+ });
27
+ //# sourceMappingURL=azurerepos.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"azurerepos.js","sourceRoot":"","sources":["../../../../src/sources/providers/azurerepos.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAI7C;;;;GAIG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,GAA0C,EAAE,CAAC,CAAC;IACpF,IAAI,EAAE,YAAY;IAElB,IAAI,EAAE,GAAG,EAAE,CACT,MAAM,CAAC,IAAI,CACT,IAAI,WAAW,CAAC;QACd,OAAO,EAAE,2CAA2C;QACpD,KAAK,EAAE,SAAS;KACjB,CAAC,CACH;IAEH,KAAK,EAAE,GAAG,EAAE,CACV,MAAM,CAAC,IAAI,CACT,IAAI,WAAW,CAAC;QACd,OAAO,EAAE,2CAA2C;QACpD,KAAK,EAAE,SAAS;KACjB,CAAC,CACH;CACJ,CAAC,CAAC"}
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Shared source provider factory for git hosting platforms (GitHub, GitLab, Bitbucket).
3
+ *
4
+ * Wraps existing clone + discover logic into the `SourceProvider` interface.
5
+ *
6
+ * @experimental This API is unstable and may change without notice.
7
+ * @packageDocumentation
8
+ */
9
+ import * as FileSystem from "@effect/platform/FileSystem";
10
+ import * as Path from "@effect/platform/Path";
11
+ import type * as Scope from "effect/Scope";
12
+ import type { SourceProvider } from "../provider.js";
13
+ import type { BitbucketSource, GitHubSource, GitLabSource } from "../types.js";
14
+ /**
15
+ * Creates a `SourceProvider` for a git hosting platform.
16
+ *
17
+ * The `find` implementation clones the repository into a scoped temp directory,
18
+ * discovers skills via the 3-phase algorithm, and enriches each with its git
19
+ * tree SHA. The temp directory lifetime is managed by an `Effect.acquireRelease`
20
+ * scope provided by the caller.
21
+ *
22
+ * @experimental This API is unstable and may change without notice.
23
+ */
24
+ export declare const createGitHostingProvider: <S extends GitHubSource | GitLabSource | BitbucketSource>(sourceType: S["type"]) => SourceProvider<S, FileSystem.FileSystem | Path.Path | Scope.Scope>;
25
+ /**
26
+ * Source provider for GitHub repositories.
27
+ *
28
+ * @experimental This API is unstable and may change without notice.
29
+ */
30
+ export declare const createGitHubProvider: () => SourceProvider<GitHubSource, Path.Path | FileSystem.FileSystem | Scope.Scope>;
31
+ /**
32
+ * Source provider for GitLab repositories.
33
+ *
34
+ * @experimental This API is unstable and may change without notice.
35
+ */
36
+ export declare const createGitLabProvider: () => SourceProvider<GitLabSource, Path.Path | FileSystem.FileSystem | Scope.Scope>;
37
+ /**
38
+ * Source provider for Bitbucket repositories.
39
+ *
40
+ * @experimental This API is unstable and may change without notice.
41
+ */
42
+ export declare const createBitbucketProvider: () => SourceProvider<BitbucketSource, Path.Path | FileSystem.FileSystem | Scope.Scope>;
43
+ //# sourceMappingURL=git-hosting.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"git-hosting.d.ts","sourceRoot":"","sources":["../../../../src/sources/providers/git-hosting.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,OAAO,KAAK,UAAU,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,IAAI,MAAM,uBAAuB,CAAC;AAI9C,OAAO,KAAK,KAAK,KAAK,MAAM,cAAc,CAAC;AAM3C,OAAO,KAAK,EAAuC,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAC1F,OAAO,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAM/E;;;;;;;;;GASG;AACH,eAAO,MAAM,wBAAwB,GAAI,CAAC,SAAS,YAAY,GAAG,YAAY,GAAG,eAAe,EAC9F,YAAY,CAAC,CAAC,MAAM,CAAC,KACpB,cAAc,CAAC,CAAC,EAAE,UAAU,CAAC,UAAU,GAAG,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC,KAAK,CAkGlE,CAAC;AA2BH;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,qFAAyD,CAAC;AAE3F;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,qFAAyD,CAAC;AAE3F;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,wFAA+D,CAAC"}
@@ -0,0 +1,118 @@
1
+ /**
2
+ * Shared source provider factory for git hosting platforms (GitHub, GitLab, Bitbucket).
3
+ *
4
+ * Wraps existing clone + discover logic into the `SourceProvider` interface.
5
+ *
6
+ * @experimental This API is unstable and may change without notice.
7
+ * @packageDocumentation
8
+ */
9
+ import { randomUUID } from "node:crypto";
10
+ import { tmpdir } from "node:os";
11
+ import * as FileSystem from "@effect/platform/FileSystem";
12
+ import * as Path from "@effect/platform/Path";
13
+ import * as Array from "effect/Array";
14
+ import * as Effect from "effect/Effect";
15
+ import * as Option from "effect/Option";
16
+ import { discoverSkillsInDir } from "../../cli-commands/skills/install/discover-skills.js";
17
+ import { getTreeSha, shallowClone } from "../../git/index.js";
18
+ import { buildCloneUrl } from "../clone-url.js";
19
+ import { SourceError } from "../provider.js";
20
+ // -----------------------------------------------------------------------------
21
+ // Factory
22
+ // -----------------------------------------------------------------------------
23
+ /**
24
+ * Creates a `SourceProvider` for a git hosting platform.
25
+ *
26
+ * The `find` implementation clones the repository into a scoped temp directory,
27
+ * discovers skills via the 3-phase algorithm, and enriches each with its git
28
+ * tree SHA. The temp directory lifetime is managed by an `Effect.acquireRelease`
29
+ * scope provided by the caller.
30
+ *
31
+ * @experimental This API is unstable and may change without notice.
32
+ */
33
+ export const createGitHostingProvider = (sourceType) => ({
34
+ type: sourceType,
35
+ find: (source, options) => Effect.gen(function* () {
36
+ const path = yield* Path.Path;
37
+ const cloneUrl = yield* buildCloneUrl(source).pipe(Effect.mapError((error) => new SourceError({
38
+ message: `Failed to build clone URL: ${error.message}`,
39
+ cause: error,
40
+ })));
41
+ // Acquire scoped temp directory (cleaned up when scope closes)
42
+ const tempDir = yield* Effect.acquireRelease(Effect.gen(function* () {
43
+ const fs = yield* FileSystem.FileSystem;
44
+ const dir = path.join(tmpdir(), `axm-${randomUUID()}`);
45
+ yield* fs.makeDirectory(dir, { recursive: true }).pipe(Effect.mapError((error) => new SourceError({
46
+ message: `Failed to create temp directory: ${error.message}`,
47
+ cause: error,
48
+ })));
49
+ return dir;
50
+ }), (dir) => Effect.gen(function* () {
51
+ const fs = yield* FileSystem.FileSystem;
52
+ yield* fs.remove(dir, { recursive: true });
53
+ }).pipe(Effect.ignoreLogged));
54
+ yield* shallowClone(cloneUrl, tempDir, Option.getOrUndefined(source.ref)).pipe(Effect.mapError((error) => new SourceError({
55
+ message: `Failed to clone repository: ${error.message}`,
56
+ cause: error,
57
+ })));
58
+ const oldRefs = yield* discoverSkillsInDir(tempDir, source.subPath, {
59
+ fullDepth: false,
60
+ includeInternal: false,
61
+ }, source).pipe(Effect.mapError((error) => new SourceError({
62
+ message: `Failed to discover skills: ${error.message}`,
63
+ cause: error,
64
+ })));
65
+ // Enrich with tree SHAs
66
+ const refs = yield* Effect.forEach(oldRefs, (ref) => Effect.gen(function* () {
67
+ const skillPath = ref.location.replace("file://", "");
68
+ const relativeDir = path.relative(tempDir, skillPath);
69
+ const gitTreeSha = yield* getTreeSha(tempDir, relativeDir).pipe(Effect.mapError((error) => new SourceError({
70
+ message: `Failed to get git tree SHA for skill "${ref.skill.name}": ${error.message}`,
71
+ cause: error,
72
+ })));
73
+ return {
74
+ ...ref,
75
+ source,
76
+ gitTreeSha: Option.some(gitTreeSha),
77
+ };
78
+ }), { concurrency: "unbounded" });
79
+ return filterByOptions(refs, options);
80
+ }),
81
+ fetch: (_source, extension) => Effect.succeed({ directory: extension.location.replace("file://", "") }),
82
+ });
83
+ // -----------------------------------------------------------------------------
84
+ // Filtering
85
+ // -----------------------------------------------------------------------------
86
+ const filterByOptions = (refs, options) => {
87
+ let filtered = refs;
88
+ if (options.names.length > 0) {
89
+ const nameSet = new Set(options.names);
90
+ filtered = Array.filter(filtered, (ref) => {
91
+ const name = ref.type === "skill" ? ref.skill.name : ref.name;
92
+ return nameSet.has(name);
93
+ });
94
+ }
95
+ return filtered;
96
+ };
97
+ // -----------------------------------------------------------------------------
98
+ // Concrete Providers
99
+ // -----------------------------------------------------------------------------
100
+ /**
101
+ * Source provider for GitHub repositories.
102
+ *
103
+ * @experimental This API is unstable and may change without notice.
104
+ */
105
+ export const createGitHubProvider = () => createGitHostingProvider("github");
106
+ /**
107
+ * Source provider for GitLab repositories.
108
+ *
109
+ * @experimental This API is unstable and may change without notice.
110
+ */
111
+ export const createGitLabProvider = () => createGitHostingProvider("gitlab");
112
+ /**
113
+ * Source provider for Bitbucket repositories.
114
+ *
115
+ * @experimental This API is unstable and may change without notice.
116
+ */
117
+ export const createBitbucketProvider = () => createGitHostingProvider("bitbucket");
118
+ //# sourceMappingURL=git-hosting.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"git-hosting.js","sourceRoot":"","sources":["../../../../src/sources/providers/git-hosting.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OA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AQ,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,EAAE,CAAC;CAC3E,CAAC,CAAC;AAEH,gFAAgF;AAChF,YAAY;AACZ,gFAAgF;AAEhF,MAAM,eAAe,GAAG,CACtB,IAAiC,EACjC,OAAoB,EACS,EAAE;IAC/B,IAAI,QAAQ,GAAG,IAAI,CAAC;IAEpB,IAAI,OAAO,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QAC7B,MAAM,OAAO,GAAG,IAAI,GAAG,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QACvC,QAAQ,GAAG,KAAK,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,GAAG,EAAE,EAAE;YACxC,MAAM,IAAI,GAAG,GAAG,CAAC,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC;YAC9D,OAAO,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;QAC3B,CAAC,CAAC,CAAC;IACL,CAAC;IAED,OAAO,QAAQ,CAAC;AAClB,CAAC,CAAC;AAEF,gFAAgF;AAChF,qBAAqB;AACrB,gFAAgF;AAEhF;;;;GAIG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,EAAE,CAAC,wBAAwB,CAAe,QAAQ,CAAC,CAAC;AAE3F;;;;GAIG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,EAAE,CAAC,wBAAwB,CAAe,QAAQ,CAAC,CAAC;AAE3F;;;;GAIG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG,GAAG,EAAE,CAAC,wBAAwB,CAAkB,WAAW,CAAC,CAAC"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Source provider stub for generic git repositories.
3
+ *
4
+ * Not yet implemented -- all operations fail with a descriptive error.
5
+ *
6
+ * @experimental This API is unstable and may change without notice.
7
+ * @packageDocumentation
8
+ */
9
+ import type { SourceProvider } from "../provider.js";
10
+ import type { GitRepositorySourceInput } from "../types.js";
11
+ /**
12
+ * Source provider for generic git URLs (stub).
13
+ *
14
+ * @experimental This API is unstable and may change without notice.
15
+ */
16
+ export declare const createGitProvider: () => SourceProvider<GitRepositorySourceInput>;
17
+ //# sourceMappingURL=git.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"git.d.ts","sourceRoot":"","sources":["../../../../src/sources/providers/git.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAKH,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAE5D;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,QAAO,cAAc,CAAC,wBAAwB,CAkB1E,CAAC"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Source provider stub for generic git repositories.
3
+ *
4
+ * Not yet implemented -- all operations fail with a descriptive error.
5
+ *
6
+ * @experimental This API is unstable and may change without notice.
7
+ * @packageDocumentation
8
+ */
9
+ import * as Effect from "effect/Effect";
10
+ import { SourceError } from "../provider.js";
11
+ /**
12
+ * Source provider for generic git URLs (stub).
13
+ *
14
+ * @experimental This API is unstable and may change without notice.
15
+ */
16
+ export const createGitProvider = () => ({
17
+ type: "git",
18
+ find: () => Effect.fail(new SourceError({
19
+ message: "Generic git sources are not yet supported",
20
+ cause: undefined,
21
+ })),
22
+ fetch: () => Effect.fail(new SourceError({
23
+ message: "Generic git sources are not yet supported",
24
+ cause: undefined,
25
+ })),
26
+ });
27
+ //# sourceMappingURL=git.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"git.js","sourceRoot":"","sources":["../../../../src/sources/providers/git.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAI7C;;;;GAIG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAA6C,EAAE,CAAC,CAAC;IAChF,IAAI,EAAE,KAAK;IAEX,IAAI,EAAE,GAAG,EAAE,CACT,MAAM,CAAC,IAAI,CACT,IAAI,WAAW,CAAC;QACd,OAAO,EAAE,2CAA2C;QACpD,KAAK,EAAE,SAAS;KACjB,CAAC,CACH;IAEH,KAAK,EAAE,GAAG,EAAE,CACV,MAAM,CAAC,IAAI,CACT,IAAI,WAAW,CAAC;QACd,OAAO,EAAE,2CAA2C;QACpD,KAAK,EAAE,SAAS;KACjB,CAAC,CACH;CACJ,CAAC,CAAC"}