@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 @@
1
+ {"version":3,"file":"shorthand.d.ts","sourceRoot":"","sources":["../../../../src/sources/bitbucket/shorthand.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,cAAc,GAAI,OAAO,MAAM;;;;;;4CAWxC,CAAC"}
@@ -0,0 +1,15 @@
1
+ import * as Effect from "effect/Effect";
2
+ import * as Option from "effect/Option";
3
+ import { parseProviderShorthand } from "../parse-provider-shorthand.js";
4
+ export const parseShorthand = (input) => Effect.gen(function* () {
5
+ const body = input.slice("bitbucket:".length);
6
+ const parts = yield* parseProviderShorthand(body, input);
7
+ return {
8
+ type: "bitbucket",
9
+ owner: parts.owner,
10
+ repo: parts.repo,
11
+ ref: Option.fromNullable(parts.ref),
12
+ subPath: Option.fromNullable(parts.subPath),
13
+ };
14
+ });
15
+ //# sourceMappingURL=shorthand.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shorthand.js","sourceRoot":"","sources":["../../../../src/sources/bitbucket/shorthand.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAGxE,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,KAAa,EAAE,EAAE,CAC9C,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IAClB,MAAM,IAAI,GAAG,KAAK,CAAC,KAAK,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC;IAC9C,MAAM,KAAK,GAAG,KAAK,CAAC,CAAC,sBAAsB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACzD,OAAO;QACL,IAAI,EAAE,WAAW;QACjB,KAAK,EAAE,KAAK,CAAC,KAAK;QAClB,IAAI,EAAE,KAAK,CAAC,IAAI;QAChB,GAAG,EAAE,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,GAAG,CAAC;QACnC,OAAO,EAAE,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,OAAO,CAAC;KACb,CAAC;AACnC,CAAC,CAAC,CAAC"}
@@ -0,0 +1,12 @@
1
+ import * as Effect from "effect/Effect";
2
+ import * as Option from "effect/Option";
3
+ import { ParseError } from "../errors.js";
4
+ export declare const CANONICAL_HOSTNAME = "bitbucket.org";
5
+ export declare const parseUrl: (url: URL, hostname?: string) => Effect.Effect<never, ParseError, never> | Effect.Effect<{
6
+ type: "bitbucket";
7
+ owner: string;
8
+ repo: string;
9
+ ref: Option.Option<string>;
10
+ subPath: Option.Option<string>;
11
+ }, never, never>;
12
+ //# sourceMappingURL=url.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"url.d.ts","sourceRoot":"","sources":["../../../../src/sources/bitbucket/url.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG1C,eAAO,MAAM,kBAAkB,kBAAkB,CAAC;AAKlD,eAAO,MAAM,QAAQ,GAAI,KAAK,GAAG,EAAE,WAAU,MAA2B;;;;;;gBAmBvE,CAAC"}
@@ -0,0 +1,23 @@
1
+ import * as Effect from "effect/Effect";
2
+ import * as Option from "effect/Option";
3
+ import { ParseError } from "../errors.js";
4
+ export const CANONICAL_HOSTNAME = "bitbucket.org";
5
+ /** Matches: /owner/repo[/src/ref/path] */
6
+ const BITBUCKET_PATH_PATTERN = /^\/([^/]+)\/([^/]+?)(?:\.git)?(?:\/src\/([^/]+)(?:\/(.+))?)?$/;
7
+ export const parseUrl = (url, hostname = CANONICAL_HOSTNAME) => {
8
+ if (url.hostname !== hostname) {
9
+ return Effect.fail(new ParseError({ message: "Invalid Bitbucket URL format", input: url.href }));
10
+ }
11
+ const match = url.pathname.match(BITBUCKET_PATH_PATTERN);
12
+ if (!match || !match[1] || !match[2]) {
13
+ return Effect.fail(new ParseError({ message: "Invalid Bitbucket URL format", input: url.href }));
14
+ }
15
+ return Effect.succeed({
16
+ type: "bitbucket",
17
+ owner: match[1],
18
+ repo: match[2],
19
+ ref: Option.fromNullable(match[3]),
20
+ subPath: Option.fromNullable(match[4]),
21
+ });
22
+ };
23
+ //# sourceMappingURL=url.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"url.js","sourceRoot":"","sources":["../../../../src/sources/bitbucket/url.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG1C,MAAM,CAAC,MAAM,kBAAkB,GAAG,eAAe,CAAC;AAElD,0CAA0C;AAC1C,MAAM,sBAAsB,GAAG,+DAA+D,CAAC;AAE/F,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,GAAQ,EAAE,WAAmB,kBAAkB,EAAE,EAAE;IAC1E,IAAI,GAAG,CAAC,QAAQ,KAAK,QAAQ,EAAE,CAAC;QAC9B,OAAO,MAAM,CAAC,IAAI,CAChB,IAAI,UAAU,CAAC,EAAE,OAAO,EAAE,8BAA8B,EAAE,KAAK,EAAE,GAAG,CAAC,IAAI,EAAE,CAAC,CAC7E,CAAC;IACJ,CAAC;IACD,MAAM,KAAK,GAAG,GAAG,CAAC,QAAQ,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC;IACzD,IAAI,CAAC,KAAK,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;QACrC,OAAO,MAAM,CAAC,IAAI,CAChB,IAAI,UAAU,CAAC,EAAE,OAAO,EAAE,8BAA8B,EAAE,KAAK,EAAE,GAAG,CAAC,IAAI,EAAE,CAAC,CAC7E,CAAC;IACJ,CAAC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC;QACpB,IAAI,EAAE,WAAW;QACjB,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC;QACf,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC;QACd,GAAG,EAAE,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QAClC,OAAO,EAAE,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;KACR,CAAC,CAAC;AACpC,CAAC,CAAC"}
@@ -0,0 +1,41 @@
1
+ /**
2
+ * Clone URL building utilities for sources.
3
+ *
4
+ * @experimental This API is unstable and may change without notice.
5
+ * @packageDocumentation
6
+ */
7
+ import * as Effect from "effect/Effect";
8
+ import { CloneUrlError } from "./errors.js";
9
+ import type { Source } from "./types.js";
10
+ /**
11
+ * Build a git clone URL from a source.
12
+ *
13
+ * Only works for GitHub, GitLab, Bitbucket, and Azure Repos sources.
14
+ * Returns CloneUrlError for other types.
15
+ *
16
+ * Uses the configured `url` field from the source config as the base URL.
17
+ *
18
+ * @experimental This API is unstable and may change without notice.
19
+ * @param source - The resolved source to build a clone URL for
20
+ * @returns Effect containing the HTTPS clone URL or CloneUrlError
21
+ */
22
+ export declare const buildCloneUrl: (source: Source) => Effect.Effect<string, CloneUrlError>;
23
+ /**
24
+ * Get the origin URL from a source.
25
+ *
26
+ * Returns the human-readable URL or path for the source.
27
+ * Uses the configured `url` field for git hosting sources.
28
+ *
29
+ * - For GitHub: {url}/owner/repo
30
+ * - For GitLab: {url}/owner/repo
31
+ * - For Bitbucket: {url}/owner/repo
32
+ * - For Azure Repos: {url}/organization/project/_git/repo
33
+ * - For local: the path
34
+ * - For git/registry: the url or path
35
+ *
36
+ * @experimental This API is unstable and may change without notice.
37
+ * @param source - The resolved source to get the origin from
38
+ * @returns The origin URL or path
39
+ */
40
+ export declare const getOrigin: (source: Source) => string;
41
+ //# sourceMappingURL=clone-url.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clone-url.d.ts","sourceRoot":"","sources":["../../../src/sources/clone-url.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAEzC;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,aAAa,GAAI,QAAQ,MAAM,KAAG,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,aAAa,CAoBjF,CAAC;AAEF;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,SAAS,GAAI,QAAQ,MAAM,KAAG,MAiB1C,CAAC"}
@@ -0,0 +1,73 @@
1
+ /**
2
+ * Clone URL building utilities for sources.
3
+ *
4
+ * @experimental This API is unstable and may change without notice.
5
+ * @packageDocumentation
6
+ */
7
+ import * as Effect from "effect/Effect";
8
+ import { CloneUrlError } from "./errors.js";
9
+ /**
10
+ * Build a git clone URL from a source.
11
+ *
12
+ * Only works for GitHub, GitLab, Bitbucket, and Azure Repos sources.
13
+ * Returns CloneUrlError for other types.
14
+ *
15
+ * Uses the configured `url` field from the source config as the base URL.
16
+ *
17
+ * @experimental This API is unstable and may change without notice.
18
+ * @param source - The resolved source to build a clone URL for
19
+ * @returns Effect containing the HTTPS clone URL or CloneUrlError
20
+ */
21
+ export const buildCloneUrl = (source) => {
22
+ switch (source.type) {
23
+ case "github":
24
+ return Effect.succeed(`${source.url.origin}/${source.owner}/${source.repo}.git`);
25
+ case "gitlab":
26
+ return Effect.succeed(`${source.url.origin}/${source.owner}/${source.repo}.git`);
27
+ case "bitbucket":
28
+ return Effect.succeed(`${source.url.origin}/${source.owner}/${source.repo}.git`);
29
+ case "azurerepos":
30
+ return Effect.succeed(`${source.url.origin}/${source.organization}/${source.project}/_git/${source.repo}`);
31
+ default:
32
+ return Effect.fail(new CloneUrlError({
33
+ message: `Cannot build clone URL for source type: ${source.type}`,
34
+ sourceType: source.type,
35
+ }));
36
+ }
37
+ };
38
+ /**
39
+ * Get the origin URL from a source.
40
+ *
41
+ * Returns the human-readable URL or path for the source.
42
+ * Uses the configured `url` field for git hosting sources.
43
+ *
44
+ * - For GitHub: {url}/owner/repo
45
+ * - For GitLab: {url}/owner/repo
46
+ * - For Bitbucket: {url}/owner/repo
47
+ * - For Azure Repos: {url}/organization/project/_git/repo
48
+ * - For local: the path
49
+ * - For git/registry: the url or path
50
+ *
51
+ * @experimental This API is unstable and may change without notice.
52
+ * @param source - The resolved source to get the origin from
53
+ * @returns The origin URL or path
54
+ */
55
+ export const getOrigin = (source) => {
56
+ switch (source.type) {
57
+ case "github":
58
+ return `${source.url.origin}/${source.owner}/${source.repo}`;
59
+ case "gitlab":
60
+ return `${source.url.origin}/${source.owner}/${source.repo}`;
61
+ case "bitbucket":
62
+ return `${source.url.origin}/${source.owner}/${source.repo}`;
63
+ case "azurerepos":
64
+ return `${source.url.origin}/${source.organization}/${source.project}/_git/${source.repo}`;
65
+ case "local":
66
+ return source.path;
67
+ case "git":
68
+ return source.url.href;
69
+ case "registry":
70
+ return source.type;
71
+ }
72
+ };
73
+ //# sourceMappingURL=clone-url.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clone-url.js","sourceRoot":"","sources":["../../../src/sources/clone-url.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAG5C;;;;;;;;;;;GAWG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,MAAc,EAAwC,EAAE;IACpF,QAAQ,MAAM,CAAC,IAAI,EAAE,CAAC;QACpB,KAAK,QAAQ;YACX,OAAO,MAAM,CAAC,OAAO,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,MAAM,IAAI,MAAM,CAAC,KAAK,IAAI,MAAM,CAAC,IAAI,MAAM,CAAC,CAAC;QACnF,KAAK,QAAQ;YACX,OAAO,MAAM,CAAC,OAAO,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,MAAM,IAAI,MAAM,CAAC,KAAK,IAAI,MAAM,CAAC,IAAI,MAAM,CAAC,CAAC;QACnF,KAAK,WAAW;YACd,OAAO,MAAM,CAAC,OAAO,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,MAAM,IAAI,MAAM,CAAC,KAAK,IAAI,MAAM,CAAC,IAAI,MAAM,CAAC,CAAC;QACnF,KAAK,YAAY;YACf,OAAO,MAAM,CAAC,OAAO,CACnB,GAAG,MAAM,CAAC,GAAG,CAAC,MAAM,IAAI,MAAM,CAAC,YAAY,IAAI,MAAM,CAAC,OAAO,SAAS,MAAM,CAAC,IAAI,EAAE,CACpF,CAAC;QACJ;YACE,OAAO,MAAM,CAAC,IAAI,CAChB,IAAI,aAAa,CAAC;gBAChB,OAAO,EAAE,2CAA2C,MAAM,CAAC,IAAI,EAAE;gBACjE,UAAU,EAAE,MAAM,CAAC,IAAI;aACxB,CAAC,CACH,CAAC;IACN,CAAC;AACH,CAAC,CAAC;AAEF;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,MAAc,EAAU,EAAE;IAClD,QAAQ,MAAM,CAAC,IAAI,EAAE,CAAC;QACpB,KAAK,QAAQ;YACX,OAAO,GAAG,MAAM,CAAC,GAAG,CAAC,MAAM,IAAI,MAAM,CAAC,KAAK,IAAI,MAAM,CAAC,IAAI,EAAE,CAAC;QAC/D,KAAK,QAAQ;YACX,OAAO,GAAG,MAAM,CAAC,GAAG,CAAC,MAAM,IAAI,MAAM,CAAC,KAAK,IAAI,MAAM,CAAC,IAAI,EAAE,CAAC;QAC/D,KAAK,WAAW;YACd,OAAO,GAAG,MAAM,CAAC,GAAG,CAAC,MAAM,IAAI,MAAM,CAAC,KAAK,IAAI,MAAM,CAAC,IAAI,EAAE,CAAC;QAC/D,KAAK,YAAY;YACf,OAAO,GAAG,MAAM,CAAC,GAAG,CAAC,MAAM,IAAI,MAAM,CAAC,YAAY,IAAI,MAAM,CAAC,OAAO,SAAS,MAAM,CAAC,IAAI,EAAE,CAAC;QAC7F,KAAK,OAAO;YACV,OAAO,MAAM,CAAC,IAAI,CAAC;QACrB,KAAK,KAAK;YACR,OAAO,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC;QACzB,KAAK,UAAU;YACb,OAAO,MAAM,CAAC,IAAI,CAAC;IACvB,CAAC;AACH,CAAC,CAAC"}
@@ -0,0 +1,34 @@
1
+ /**
2
+ * Error types for source parsing.
3
+ *
4
+ * @experimental This API is unstable and may change without notice.
5
+ * @packageDocumentation
6
+ */
7
+ declare const ParseError_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 & {
8
+ readonly _tag: "ParseError";
9
+ } & Readonly<A>;
10
+ /**
11
+ * Error thrown when source string parsing fails.
12
+ *
13
+ * @experimental This API is unstable and may change without notice.
14
+ */
15
+ export declare class ParseError extends ParseError_base<{
16
+ readonly message: string;
17
+ readonly input: string;
18
+ }> {
19
+ }
20
+ declare const CloneUrlError_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 & {
21
+ readonly _tag: "CloneUrlError";
22
+ } & Readonly<A>;
23
+ /**
24
+ * Error when a clone URL cannot be built for a source type.
25
+ *
26
+ * @experimental This API is unstable and may change without notice.
27
+ */
28
+ export declare class CloneUrlError extends CloneUrlError_base<{
29
+ readonly message: string;
30
+ readonly sourceType: string;
31
+ }> {
32
+ }
33
+ export {};
34
+ //# sourceMappingURL=errors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../../src/sources/errors.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;;;;AAIH;;;;GAIG;AACH,qBAAa,UAAW,SAAQ,gBAA+B;IAC7D,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB,CAAC;CAAG;;;;AAEL;;;;GAIG;AACH,qBAAa,aAAc,SAAQ,mBAAkC;IACnE,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC7B,CAAC;CAAG"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Error types for source parsing.
3
+ *
4
+ * @experimental This API is unstable and may change without notice.
5
+ * @packageDocumentation
6
+ */
7
+ import * as Data from "effect/Data";
8
+ /**
9
+ * Error thrown when source string parsing fails.
10
+ *
11
+ * @experimental This API is unstable and may change without notice.
12
+ */
13
+ export class ParseError extends Data.TaggedError("ParseError") {
14
+ }
15
+ /**
16
+ * Error when a clone URL cannot be built for a source type.
17
+ *
18
+ * @experimental This API is unstable and may change without notice.
19
+ */
20
+ export class CloneUrlError extends Data.TaggedError("CloneUrlError") {
21
+ }
22
+ //# sourceMappingURL=errors.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../src/sources/errors.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AAEpC;;;;GAIG;AACH,MAAM,OAAO,UAAW,SAAQ,IAAI,CAAC,WAAW,CAAC,YAAY,CAG3D;CAAG;AAEL;;;;GAIG;AACH,MAAM,OAAO,aAAc,SAAQ,IAAI,CAAC,WAAW,CAAC,eAAe,CAGjE;CAAG"}
@@ -0,0 +1,42 @@
1
+ /**
2
+ * GitHub API operations for fetching repository metadata.
3
+ *
4
+ * @experimental This API is unstable and may change without notice.
5
+ * @packageDocumentation
6
+ */
7
+ import * as Effect from "effect/Effect";
8
+ import * as Option from "effect/Option";
9
+ declare const GitHubApiError_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 & {
10
+ readonly _tag: "GitHubApiError";
11
+ } & Readonly<A>;
12
+ /**
13
+ * Error type for GitHub API operations.
14
+ *
15
+ * @experimental This API is unstable and may change without notice.
16
+ */
17
+ export declare class GitHubApiError extends GitHubApiError_base<{
18
+ /** HTTP status code (if applicable) */
19
+ readonly status: Option.Option<number>;
20
+ /** Human-readable error message */
21
+ readonly message: string;
22
+ /** Original error cause */
23
+ readonly cause: Option.Option<unknown>;
24
+ }> {
25
+ }
26
+ /**
27
+ * Fetch the tree SHA for a path within a GitHub repository.
28
+ *
29
+ * Uses the GitHub Trees API to fetch the tree SHA without cloning the repository.
30
+ * Returns null if the path does not exist in the repository.
31
+ *
32
+ * @param owner - Repository owner (user or organization)
33
+ * @param repo - Repository name
34
+ * @param ref - Git ref (branch, tag, or commit SHA)
35
+ * @param path - Path within the repository (empty string or "." for root)
36
+ * @returns Effect that resolves to the tree SHA, null if path not found, or fails with GitHubApiError
37
+ *
38
+ * @experimental This API is unstable and may change without notice.
39
+ */
40
+ export declare const fetchGitHubTreeHash: (owner: string, repo: string, ref: string, path: string) => Effect.Effect<string | null, GitHubApiError>;
41
+ export {};
42
+ //# sourceMappingURL=api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../../src/sources/github/api.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;;;;AAMxC;;;;GAIG;AACH,qBAAa,cAAe,SAAQ,oBAAmC;IACrE,uCAAuC;IACvC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACvC,mCAAmC;IACnC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,2BAA2B;IAC3B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;CACxC,CAAC;CAAG;AA+BL;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,mBAAmB,GAC9B,OAAO,MAAM,EACb,MAAM,MAAM,EACZ,KAAK,MAAM,EACX,MAAM,MAAM,KACX,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,IAAI,EAAE,cAAc,CAqE1C,CAAC"}
@@ -0,0 +1,94 @@
1
+ /**
2
+ * GitHub API operations for fetching repository metadata.
3
+ *
4
+ * @experimental This API is unstable and may change without notice.
5
+ * @packageDocumentation
6
+ */
7
+ import * as Array from "effect/Array";
8
+ import * as Data from "effect/Data";
9
+ import * as Effect from "effect/Effect";
10
+ import * as Option from "effect/Option";
11
+ // -----------------------------------------------------------------------------
12
+ // Error Types
13
+ // -----------------------------------------------------------------------------
14
+ /**
15
+ * Error type for GitHub API operations.
16
+ *
17
+ * @experimental This API is unstable and may change without notice.
18
+ */
19
+ export class GitHubApiError extends Data.TaggedError("GitHubApiError") {
20
+ }
21
+ // -----------------------------------------------------------------------------
22
+ // GitHub API Operations
23
+ // -----------------------------------------------------------------------------
24
+ /**
25
+ * Fetch the tree SHA for a path within a GitHub repository.
26
+ *
27
+ * Uses the GitHub Trees API to fetch the tree SHA without cloning the repository.
28
+ * Returns null if the path does not exist in the repository.
29
+ *
30
+ * @param owner - Repository owner (user or organization)
31
+ * @param repo - Repository name
32
+ * @param ref - Git ref (branch, tag, or commit SHA)
33
+ * @param path - Path within the repository (empty string or "." for root)
34
+ * @returns Effect that resolves to the tree SHA, null if path not found, or fails with GitHubApiError
35
+ *
36
+ * @experimental This API is unstable and may change without notice.
37
+ */
38
+ export const fetchGitHubTreeHash = (owner, repo, ref, path) => Effect.gen(function* () {
39
+ const url = `https://api.github.com/repos/${encodeURIComponent(owner)}/${encodeURIComponent(repo)}/git/trees/${encodeURIComponent(ref)}?recursive=1`;
40
+ const response = yield* Effect.tryPromise({
41
+ try: () => fetch(url, {
42
+ headers: {
43
+ Accept: "application/vnd.github+json",
44
+ "X-GitHub-Api-Version": "2022-11-28",
45
+ },
46
+ }),
47
+ catch: (error) => new GitHubApiError({
48
+ status: Option.none(),
49
+ message: `Failed to fetch GitHub tree: ${error instanceof Error ? error.message : String(error)}`,
50
+ cause: Option.some(error),
51
+ }),
52
+ });
53
+ // Handle HTTP errors
54
+ if (!response.ok) {
55
+ if (response.status === 404) {
56
+ // Repository or ref not found - return null
57
+ return null;
58
+ }
59
+ const body = yield* Effect.tryPromise({
60
+ try: () => response.text(),
61
+ catch: () => new GitHubApiError({
62
+ status: Option.some(response.status),
63
+ message: `GitHub API returned ${response.status}`,
64
+ cause: Option.none(),
65
+ }),
66
+ });
67
+ return yield* new GitHubApiError({
68
+ status: Option.some(response.status),
69
+ message: `GitHub API returned ${response.status}: ${body}`,
70
+ cause: Option.none(),
71
+ });
72
+ }
73
+ // Parse JSON response
74
+ const data = yield* Effect.tryPromise({
75
+ try: () => response.json(),
76
+ catch: (error) => new GitHubApiError({
77
+ status: Option.none(),
78
+ message: `Failed to parse GitHub API response: ${error instanceof Error ? error.message : String(error)}`,
79
+ cause: Option.some(error),
80
+ }),
81
+ });
82
+ // Normalize the path (remove leading/trailing slashes, handle "." and "")
83
+ const normalizedPath = path === "." || path === "" ? "" : path.replace(/^\/+|\/+$/g, "");
84
+ // For root path, return the root tree SHA
85
+ if (normalizedPath === "") {
86
+ return data.sha;
87
+ }
88
+ // Find the tree entry matching the path
89
+ return Option.match(Array.findFirst(data.tree, (e) => e.path === normalizedPath && e.type === "tree"), {
90
+ onNone: () => null,
91
+ onSome: (entry) => entry.sha,
92
+ });
93
+ });
94
+ //# sourceMappingURL=api.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"api.js","sourceRoot":"","sources":["../../../../src/sources/github/api.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,KAAK,MAAM,cAAc,CAAC;AACtC,OAAO,KAAK,IAAI,MAAM,aAAa,CAAC;AACpC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,gFAAgF;AAChF,cAAc;AACd,gFAAgF;AAEhF;;;;GAIG;AACH,MAAM,OAAO,cAAe,SAAQ,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAOnE;CAAG;AA2BL,gFAAgF;AAChF,wBAAwB;AACxB,gFAAgF;AAEhF;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CACjC,KAAa,EACb,IAAY,EACZ,GAAW,EACX,IAAY,EACkC,EAAE,CAChD,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IAClB,MAAM,GAAG,GAAG,gCAAgC,kBAAkB,CAAC,KAAK,CAAC,IAAI,kBAAkB,CAAC,IAAI,CAAC,cAAc,kBAAkB,CAAC,GAAG,CAAC,cAAc,CAAC;IAErJ,MAAM,QAAQ,GAAG,KAAK,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC;QACxC,GAAG,EAAE,GAAG,EAAE,CACR,KAAK,CAAC,GAAG,EAAE;YACT,OAAO,EAAE;gBACP,MAAM,EAAE,6BAA6B;gBACrC,sBAAsB,EAAE,YAAY;aACrC;SACF,CAAC;QACJ,KAAK,EAAE,CAAC,KAAK,EAAE,EAAE,CACf,IAAI,cAAc,CAAC;YACjB,MAAM,EAAE,MAAM,CAAC,IAAI,EAAE;YACrB,OAAO,EAAE,gCAAgC,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE;YACjG,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC;SAC1B,CAAC;KACL,CAAC,CAAC;IAEH,qBAAqB;IACrB,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;QACjB,IAAI,QAAQ,CAAC,MAAM,KAAK,GAAG,EAAE,CAAC;YAC5B,4CAA4C;YAC5C,OAAO,IAAI,CAAC;QACd,CAAC;QACD,MAAM,IAAI,GAAG,KAAK,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC;YACpC,GAAG,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,IAAI,EAAE;YAC1B,KAAK,EAAE,GAAG,EAAE,CACV,IAAI,cAAc,CAAC;gBACjB,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC;gBACpC,OAAO,EAAE,uBAAuB,QAAQ,CAAC,MAAM,EAAE;gBACjD,KAAK,EAAE,MAAM,CAAC,IAAI,EAAE;aACrB,CAAC;SACL,CAAC,CAAC;QACH,OAAO,KAAK,CAAC,CAAC,IAAI,cAAc,CAAC;YAC/B,MAAM,EAAE,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC;YACpC,OAAO,EAAE,uBAAuB,QAAQ,CAAC,MAAM,KAAK,IAAI,EAAE;YAC1D,KAAK,EAAE,MAAM,CAAC,IAAI,EAAE;SACrB,CAAC,CAAC;IACL,CAAC;IAED,sBAAsB;IACtB,MAAM,IAAI,GAAG,KAAK,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC;QACpC,GAAG,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,IAAI,EAAiC;QACzD,KAAK,EAAE,CAAC,KAAK,EAAE,EAAE,CACf,IAAI,cAAc,CAAC;YACjB,MAAM,EAAE,MAAM,CAAC,IAAI,EAAE;YACrB,OAAO,EAAE,wCAAwC,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE;YACzG,KAAK,EAAE,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC;SAC1B,CAAC;KACL,CAAC,CAAC;IAEH,0EAA0E;IAC1E,MAAM,cAAc,GAAG,IAAI,KAAK,GAAG,IAAI,IAAI,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,YAAY,EAAE,EAAE,CAAC,CAAC;IAEzF,0CAA0C;IAC1C,IAAI,cAAc,KAAK,EAAE,EAAE,CAAC;QAC1B,OAAO,IAAI,CAAC,GAAG,CAAC;IAClB,CAAC;IAED,wCAAwC;IACxC,OAAO,MAAM,CAAC,KAAK,CACjB,KAAK,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,cAAc,IAAI,CAAC,CAAC,IAAI,KAAK,MAAM,CAAC,EACjF;QACE,MAAM,EAAE,GAAG,EAAE,CAAC,IAAI;QAClB,MAAM,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,GAAG;KAC7B,CACF,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * GitHub source parsing and API operations.
3
+ *
4
+ * @experimental This API is unstable and may change without notice.
5
+ * @packageDocumentation
6
+ */
7
+ export { fetchGitHubTreeHash, GitHubApiError } from "./api.js";
8
+ export { resolveRepo } from "./resolve-repo.js";
9
+ export { print } from "./print.js";
10
+ export { parseShorthand } from "./shorthand.js";
11
+ export { parseUrl } from "./url.js";
12
+ export { parseScp } from "./scp.js";
13
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/sources/github/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC"}
@@ -0,0 +1,13 @@
1
+ /**
2
+ * GitHub source parsing and API operations.
3
+ *
4
+ * @experimental This API is unstable and may change without notice.
5
+ * @packageDocumentation
6
+ */
7
+ export { fetchGitHubTreeHash, GitHubApiError } from "./api.js";
8
+ export { resolveRepo } from "./resolve-repo.js";
9
+ export { print } from "./print.js";
10
+ export { parseShorthand } from "./shorthand.js";
11
+ export { parseUrl } from "./url.js";
12
+ export { parseScp } from "./scp.js";
13
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/sources/github/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { GitHubSourceInput } from "../types.js";
2
+ export declare const print: (source: GitHubSourceInput) => string;
3
+ //# sourceMappingURL=print.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"print.d.ts","sourceRoot":"","sources":["../../../../src/sources/github/print.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAErD,eAAO,MAAM,KAAK,GAAI,QAAQ,iBAAiB,WAK9C,CAAC"}
@@ -0,0 +1,10 @@
1
+ import * as Option from "effect/Option";
2
+ export const print = (source) => {
3
+ let s = `github:${source.owner}/${source.repo}`;
4
+ if (Option.isSome(source.subPath))
5
+ s += `/${source.subPath.value}`;
6
+ if (Option.isSome(source.ref))
7
+ s += `@${source.ref.value}`;
8
+ return s;
9
+ };
10
+ //# sourceMappingURL=print.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"print.js","sourceRoot":"","sources":["../../../../src/sources/github/print.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAIxC,MAAM,CAAC,MAAM,KAAK,GAAG,CAAC,MAAyB,EAAE,EAAE;IACjD,IAAI,CAAC,GAAG,UAAU,MAAM,CAAC,KAAK,IAAI,MAAM,CAAC,IAAI,EAAE,CAAC;IAChD,IAAI,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC;QAAE,CAAC,IAAI,IAAI,MAAM,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;IACnE,IAAI,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC;QAAE,CAAC,IAAI,IAAI,MAAM,CAAC,GAAG,CAAC,KAAK,EAAE,CAAC;IAC3D,OAAO,CAAC,CAAC;AACX,CAAC,CAAC"}
@@ -0,0 +1,10 @@
1
+ import * as Effect from "effect/Effect";
2
+ import * as Option from "effect/Option";
3
+ import { ParseError } from "../errors.js";
4
+ import type { GitHubSourceInput } from "../types.js";
5
+ export declare const resolveRepo: (args: {
6
+ readonly owner: string;
7
+ readonly repo: string;
8
+ readonly subPath: Option.Option<string>;
9
+ }) => Effect.Effect<Option.Option<GitHubSourceInput>, ParseError>;
10
+ //# sourceMappingURL=resolve-repo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolve-repo.d.ts","sourceRoot":"","sources":["../../../../src/sources/github/resolve-repo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAYrD,eAAO,MAAM,WAAW,GAAI,MAAM;IAChC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;CACzC,KAAG,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC,EAAE,UAAU,CAsB1D,CAAC"}
@@ -0,0 +1,30 @@
1
+ import * as Effect from "effect/Effect";
2
+ import * as Option from "effect/Option";
3
+ import { ParseError } from "../errors.js";
4
+ const headRequest = (url, input) => Effect.tryPromise({
5
+ try: () => fetch(url, { method: "HEAD" }),
6
+ catch: (error) => new ParseError({
7
+ message: `Failed to check GitHub: ${error instanceof Error ? error.message : String(error)}`,
8
+ input,
9
+ }),
10
+ });
11
+ export const resolveRepo = (args) => Effect.gen(function* () {
12
+ const repoUrl = `https://github.com/${args.owner}/${args.repo}`;
13
+ const repoResponse = yield* headRequest(repoUrl, `${args.owner}/${args.repo}`);
14
+ if (!repoResponse.ok)
15
+ return Option.none();
16
+ if (Option.isSome(args.subPath)) {
17
+ const subPathUrl = `${repoUrl}/tree/HEAD/${args.subPath.value}`;
18
+ const subPathResponse = yield* headRequest(subPathUrl, `${args.owner}/${args.repo}/${args.subPath.value}`);
19
+ if (!subPathResponse.ok)
20
+ return Option.none();
21
+ }
22
+ return Option.some({
23
+ type: "github",
24
+ owner: args.owner,
25
+ repo: args.repo,
26
+ ref: Option.none(),
27
+ subPath: args.subPath,
28
+ });
29
+ });
30
+ //# sourceMappingURL=resolve-repo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolve-repo.js","sourceRoot":"","sources":["../../../../src/sources/github/resolve-repo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG1C,MAAM,WAAW,GAAG,CAAC,GAAW,EAAE,KAAa,EAAE,EAAE,CACjD,MAAM,CAAC,UAAU,CAAC;IAChB,GAAG,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,GAAG,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;IACzC,KAAK,EAAE,CAAC,KAAK,EAAE,EAAE,CACf,IAAI,UAAU,CAAC;QACb,OAAO,EAAE,2BAA2B,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE;QAC5F,KAAK;KACN,CAAC;CACL,CAAC,CAAC;AAEL,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,IAI3B,EAA+D,EAAE,CAChE,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IAClB,MAAM,OAAO,GAAG,sBAAsB,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC;IAChE,MAAM,YAAY,GAAG,KAAK,CAAC,CAAC,WAAW,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;IAC/E,IAAI,CAAC,YAAY,CAAC,EAAE;QAAE,OAAO,MAAM,CAAC,IAAI,EAAE,CAAC;IAE3C,IAAI,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC;QAChC,MAAM,UAAU,GAAG,GAAG,OAAO,cAAc,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC;QAChE,MAAM,eAAe,GAAG,KAAK,CAAC,CAAC,WAAW,CACxC,UAAU,EACV,GAAG,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,CACnD,CAAC;QACF,IAAI,CAAC,eAAe,CAAC,EAAE;YAAE,OAAO,MAAM,CAAC,IAAI,EAAE,CAAC;IAChD,CAAC;IAED,OAAO,MAAM,CAAC,IAAI,CAAC;QACjB,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,IAAI,CAAC,KAAK;QACjB,IAAI,EAAE,IAAI,CAAC,IAAI;QACf,GAAG,EAAE,MAAM,CAAC,IAAI,EAAE;QAClB,OAAO,EAAE,IAAI,CAAC,OAAO;KACM,CAAC,CAAC;AACjC,CAAC,CAAC,CAAC"}
@@ -0,0 +1,11 @@
1
+ import * as Effect from "effect/Effect";
2
+ import * as Option from "effect/Option";
3
+ import { ParseError } from "../errors.js";
4
+ export declare const parseScp: (input: string, hostname?: string) => Effect.Effect<never, ParseError, never> | Effect.Effect<{
5
+ type: "github";
6
+ owner: string;
7
+ repo: string;
8
+ ref: Option.Option<string>;
9
+ subPath: Option.Option<string>;
10
+ }, never, never>;
11
+ //# sourceMappingURL=scp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scp.d.ts","sourceRoot":"","sources":["../../../../src/sources/github/scp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAO1C,eAAO,MAAM,QAAQ,GAAI,OAAO,MAAM,EAAE,WAAU,MAA2B;;;;;;gBAY5E,CAAC"}
@@ -0,0 +1,20 @@
1
+ import * as Effect from "effect/Effect";
2
+ import * as Option from "effect/Option";
3
+ import { ParseError } from "../errors.js";
4
+ import { CANONICAL_HOSTNAME } from "./url.js";
5
+ /** Matches: git@{hostname}:owner/repo.git */
6
+ const SCP_PATTERN = /^git@([^:]+):([^/]+)\/([^/]+?)(?:\.git)?$/;
7
+ export const parseScp = (input, hostname = CANONICAL_HOSTNAME) => {
8
+ const match = input.match(SCP_PATTERN);
9
+ if (!match || !match[1] || !match[2] || !match[3] || match[1] !== hostname) {
10
+ return Effect.fail(new ParseError({ message: "Invalid GitHub SSH URL format", input }));
11
+ }
12
+ return Effect.succeed({
13
+ type: "github",
14
+ owner: match[2],
15
+ repo: match[3],
16
+ ref: Option.none(),
17
+ subPath: Option.none(),
18
+ });
19
+ };
20
+ //# sourceMappingURL=scp.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scp.js","sourceRoot":"","sources":["../../../../src/sources/github/scp.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAE9C,6CAA6C;AAC7C,MAAM,WAAW,GAAG,2CAA2C,CAAC;AAEhE,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,KAAa,EAAE,WAAmB,kBAAkB,EAAE,EAAE;IAC/E,MAAM,KAAK,GAAG,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;IACvC,IAAI,CAAC,KAAK,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC,KAAK,QAAQ,EAAE,CAAC;QAC3E,OAAO,MAAM,CAAC,IAAI,CAAC,IAAI,UAAU,CAAC,EAAE,OAAO,EAAE,+BAA+B,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC;IAC1F,CAAC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC;QACpB,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC;QACf,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC;QACd,GAAG,EAAE,MAAM,CAAC,IAAI,EAAE;QAClB,OAAO,EAAE,MAAM,CAAC,IAAI,EAAE;KACK,CAAC,CAAC;AACjC,CAAC,CAAC"}
@@ -0,0 +1,10 @@
1
+ import * as Effect from "effect/Effect";
2
+ import * as Option from "effect/Option";
3
+ export declare const parseShorthand: (input: string) => Effect.Effect<{
4
+ type: "github";
5
+ owner: string;
6
+ repo: string;
7
+ ref: Option.Option<string>;
8
+ subPath: Option.Option<string>;
9
+ }, import("../errors.js").ParseError, never>;
10
+ //# sourceMappingURL=shorthand.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shorthand.d.ts","sourceRoot":"","sources":["../../../../src/sources/github/shorthand.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,cAAc,GAAI,OAAO,MAAM;;;;;;4CAWxC,CAAC"}
@@ -0,0 +1,15 @@
1
+ import * as Effect from "effect/Effect";
2
+ import * as Option from "effect/Option";
3
+ import { parseProviderShorthand } from "../parse-provider-shorthand.js";
4
+ export const parseShorthand = (input) => Effect.gen(function* () {
5
+ const body = input.slice("github:".length);
6
+ const parts = yield* parseProviderShorthand(body, input);
7
+ return {
8
+ type: "github",
9
+ owner: parts.owner,
10
+ repo: parts.repo,
11
+ ref: Option.fromNullable(parts.ref),
12
+ subPath: Option.fromNullable(parts.subPath),
13
+ };
14
+ });
15
+ //# sourceMappingURL=shorthand.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shorthand.js","sourceRoot":"","sources":["../../../../src/sources/github/shorthand.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAGxE,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,KAAa,EAAE,EAAE,CAC9C,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IAClB,MAAM,IAAI,GAAG,KAAK,CAAC,KAAK,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC;IAC3C,MAAM,KAAK,GAAG,KAAK,CAAC,CAAC,sBAAsB,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACzD,OAAO;QACL,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,KAAK,CAAC,KAAK;QAClB,IAAI,EAAE,KAAK,CAAC,IAAI;QAChB,GAAG,EAAE,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,GAAG,CAAC;QACnC,OAAO,EAAE,MAAM,CAAC,YAAY,CAAC,KAAK,CAAC,OAAO,CAAC;KAChB,CAAC;AAChC,CAAC,CAAC,CAAC"}
@@ -0,0 +1,12 @@
1
+ import * as Effect from "effect/Effect";
2
+ import * as Option from "effect/Option";
3
+ import { ParseError } from "../errors.js";
4
+ export declare const CANONICAL_HOSTNAME = "github.com";
5
+ export declare const parseUrl: (url: URL, hostname?: string) => Effect.Effect<never, ParseError, never> | Effect.Effect<{
6
+ type: "github";
7
+ owner: string;
8
+ repo: string;
9
+ ref: Option.Option<string>;
10
+ subPath: Option.Option<string>;
11
+ }, never, never>;
12
+ //# sourceMappingURL=url.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"url.d.ts","sourceRoot":"","sources":["../../../../src/sources/github/url.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAG1C,eAAO,MAAM,kBAAkB,eAAe,CAAC;AAK/C,eAAO,MAAM,QAAQ,GAAI,KAAK,GAAG,EAAE,WAAU,MAA2B;;;;;;gBAevE,CAAC"}