@specforge/mcp 2.0.9 → 2.1.0

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 (433) hide show
  1. package/README.md +324 -0
  2. package/bin/specforge-mcp +19 -1
  3. package/dist/cli/commands/blocked.d.ts +16 -0
  4. package/dist/cli/commands/blocked.d.ts.map +1 -0
  5. package/dist/cli/commands/blocked.js +214 -0
  6. package/dist/cli/commands/blocked.js.map +1 -0
  7. package/dist/cli/commands/configure.d.ts +16 -0
  8. package/dist/cli/commands/configure.d.ts.map +1 -0
  9. package/dist/cli/commands/configure.js +218 -0
  10. package/dist/cli/commands/configure.js.map +1 -0
  11. package/dist/cli/commands/configure.types.d.ts +110 -0
  12. package/dist/cli/commands/configure.types.d.ts.map +1 -0
  13. package/dist/cli/commands/configure.types.js +105 -0
  14. package/dist/cli/commands/configure.types.js.map +1 -0
  15. package/dist/cli/commands/debug/call.d.ts +14 -0
  16. package/dist/cli/commands/debug/call.d.ts.map +1 -0
  17. package/dist/cli/commands/debug/call.js +117 -0
  18. package/dist/cli/commands/debug/call.js.map +1 -0
  19. package/dist/cli/commands/debug/index.d.ts +12 -0
  20. package/dist/cli/commands/debug/index.d.ts.map +1 -0
  21. package/dist/cli/commands/debug/index.js +12 -0
  22. package/dist/cli/commands/debug/index.js.map +1 -0
  23. package/dist/cli/commands/debug/register.d.ts +11 -0
  24. package/dist/cli/commands/debug/register.d.ts.map +1 -0
  25. package/dist/cli/commands/debug/register.js +90 -0
  26. package/dist/cli/commands/debug/register.js.map +1 -0
  27. package/dist/cli/commands/debug/test.d.ts +13 -0
  28. package/dist/cli/commands/debug/test.d.ts.map +1 -0
  29. package/dist/cli/commands/debug/test.js +117 -0
  30. package/dist/cli/commands/debug/test.js.map +1 -0
  31. package/dist/cli/commands/debug/tools.d.ts +13 -0
  32. package/dist/cli/commands/debug/tools.d.ts.map +1 -0
  33. package/dist/cli/commands/debug/tools.js +117 -0
  34. package/dist/cli/commands/debug/tools.js.map +1 -0
  35. package/dist/cli/commands/debug/types.d.ts +117 -0
  36. package/dist/cli/commands/debug/types.d.ts.map +1 -0
  37. package/dist/cli/commands/debug/types.js +43 -0
  38. package/dist/cli/commands/debug/types.js.map +1 -0
  39. package/dist/cli/commands/debug/whoami.d.ts +13 -0
  40. package/dist/cli/commands/debug/whoami.d.ts.map +1 -0
  41. package/dist/cli/commands/debug/whoami.js +161 -0
  42. package/dist/cli/commands/debug/whoami.js.map +1 -0
  43. package/dist/cli/commands/docs/content/api.d.ts +7 -0
  44. package/dist/cli/commands/docs/content/api.d.ts.map +1 -0
  45. package/dist/cli/commands/docs/content/api.js +64 -0
  46. package/dist/cli/commands/docs/content/api.js.map +1 -0
  47. package/dist/cli/commands/docs/content/concepts.d.ts +7 -0
  48. package/dist/cli/commands/docs/content/concepts.d.ts.map +1 -0
  49. package/dist/cli/commands/docs/content/concepts.js +68 -0
  50. package/dist/cli/commands/docs/content/concepts.js.map +1 -0
  51. package/dist/cli/commands/docs/content/examples.d.ts +7 -0
  52. package/dist/cli/commands/docs/content/examples.d.ts.map +1 -0
  53. package/dist/cli/commands/docs/content/examples.js +84 -0
  54. package/dist/cli/commands/docs/content/examples.js.map +1 -0
  55. package/dist/cli/commands/docs/content/index.d.ts +10 -0
  56. package/dist/cli/commands/docs/content/index.d.ts.map +1 -0
  57. package/dist/cli/commands/docs/content/index.js +10 -0
  58. package/dist/cli/commands/docs/content/index.js.map +1 -0
  59. package/dist/cli/commands/docs/content/workflow.d.ts +7 -0
  60. package/dist/cli/commands/docs/content/workflow.d.ts.map +1 -0
  61. package/dist/cli/commands/docs/content/workflow.js +44 -0
  62. package/dist/cli/commands/docs/content/workflow.js.map +1 -0
  63. package/dist/cli/commands/docs/content.d.ts +23 -0
  64. package/dist/cli/commands/docs/content.d.ts.map +1 -0
  65. package/dist/cli/commands/docs/content.js +38 -0
  66. package/dist/cli/commands/docs/content.js.map +1 -0
  67. package/dist/cli/commands/docs/display.d.ts +26 -0
  68. package/dist/cli/commands/docs/display.d.ts.map +1 -0
  69. package/dist/cli/commands/docs/display.js +53 -0
  70. package/dist/cli/commands/docs/display.js.map +1 -0
  71. package/dist/cli/commands/docs/docs.d.ts +19 -0
  72. package/dist/cli/commands/docs/docs.d.ts.map +1 -0
  73. package/dist/cli/commands/docs/docs.js +124 -0
  74. package/dist/cli/commands/docs/docs.js.map +1 -0
  75. package/dist/cli/commands/docs/index.d.ts +13 -0
  76. package/dist/cli/commands/docs/index.d.ts.map +1 -0
  77. package/dist/cli/commands/docs/index.js +13 -0
  78. package/dist/cli/commands/docs/index.js.map +1 -0
  79. package/dist/cli/commands/docs/register.d.ts +23 -0
  80. package/dist/cli/commands/docs/register.d.ts.map +1 -0
  81. package/dist/cli/commands/docs/register.js +64 -0
  82. package/dist/cli/commands/docs/register.js.map +1 -0
  83. package/dist/cli/commands/docs/tool-docs.d.ts +44 -0
  84. package/dist/cli/commands/docs/tool-docs.d.ts.map +1 -0
  85. package/dist/cli/commands/docs/tool-docs.js +182 -0
  86. package/dist/cli/commands/docs/tool-docs.js.map +1 -0
  87. package/dist/cli/commands/docs/tool-examples.d.ts +14 -0
  88. package/dist/cli/commands/docs/tool-examples.d.ts.map +1 -0
  89. package/dist/cli/commands/docs/tool-examples.js +127 -0
  90. package/dist/cli/commands/docs/tool-examples.js.map +1 -0
  91. package/dist/cli/commands/docs/types.d.ts +108 -0
  92. package/dist/cli/commands/docs/types.d.ts.map +1 -0
  93. package/dist/cli/commands/docs/types.js +33 -0
  94. package/dist/cli/commands/docs/types.js.map +1 -0
  95. package/dist/cli/commands/doctor.d.ts +16 -0
  96. package/dist/cli/commands/doctor.d.ts.map +1 -0
  97. package/dist/cli/commands/doctor.js +322 -0
  98. package/dist/cli/commands/doctor.js.map +1 -0
  99. package/dist/cli/commands/doctor.types.d.ts +177 -0
  100. package/dist/cli/commands/doctor.types.d.ts.map +1 -0
  101. package/dist/cli/commands/doctor.types.js +172 -0
  102. package/dist/cli/commands/doctor.types.js.map +1 -0
  103. package/dist/cli/commands/index.d.ts +18 -0
  104. package/dist/cli/commands/index.d.ts.map +1 -0
  105. package/dist/cli/commands/index.js +18 -0
  106. package/dist/cli/commands/index.js.map +1 -0
  107. package/dist/cli/commands/init.d.ts +17 -0
  108. package/dist/cli/commands/init.d.ts.map +1 -0
  109. package/dist/cli/commands/init.js +326 -0
  110. package/dist/cli/commands/init.js.map +1 -0
  111. package/dist/cli/commands/init.types.d.ts +141 -0
  112. package/dist/cli/commands/init.types.d.ts.map +1 -0
  113. package/dist/cli/commands/init.types.js +24 -0
  114. package/dist/cli/commands/init.types.js.map +1 -0
  115. package/dist/cli/commands/login.d.ts +40 -0
  116. package/dist/cli/commands/login.d.ts.map +1 -0
  117. package/dist/cli/commands/login.js +174 -0
  118. package/dist/cli/commands/login.js.map +1 -0
  119. package/dist/cli/commands/next.d.ts +16 -0
  120. package/dist/cli/commands/next.d.ts.map +1 -0
  121. package/dist/cli/commands/next.js +279 -0
  122. package/dist/cli/commands/next.js.map +1 -0
  123. package/dist/cli/commands/next.types.d.ts +191 -0
  124. package/dist/cli/commands/next.types.d.ts.map +1 -0
  125. package/dist/cli/commands/next.types.js +129 -0
  126. package/dist/cli/commands/next.types.js.map +1 -0
  127. package/dist/cli/commands/projects.d.ts +16 -0
  128. package/dist/cli/commands/projects.d.ts.map +1 -0
  129. package/dist/cli/commands/projects.js +149 -0
  130. package/dist/cli/commands/projects.js.map +1 -0
  131. package/dist/cli/commands/projects.types.d.ts +81 -0
  132. package/dist/cli/commands/projects.types.d.ts.map +1 -0
  133. package/dist/cli/commands/projects.types.js +35 -0
  134. package/dist/cli/commands/projects.types.js.map +1 -0
  135. package/dist/cli/commands/review/display.d.ts +33 -0
  136. package/dist/cli/commands/review/display.d.ts.map +1 -0
  137. package/dist/cli/commands/review/display.js +159 -0
  138. package/dist/cli/commands/review/display.js.map +1 -0
  139. package/dist/cli/commands/review/epic-review.d.ts +13 -0
  140. package/dist/cli/commands/review/epic-review.d.ts.map +1 -0
  141. package/dist/cli/commands/review/epic-review.js +69 -0
  142. package/dist/cli/commands/review/epic-review.js.map +1 -0
  143. package/dist/cli/commands/review/index.d.ts +13 -0
  144. package/dist/cli/commands/review/index.d.ts.map +1 -0
  145. package/dist/cli/commands/review/index.js +17 -0
  146. package/dist/cli/commands/review/index.js.map +1 -0
  147. package/dist/cli/commands/review/report.d.ts +31 -0
  148. package/dist/cli/commands/review/report.d.ts.map +1 -0
  149. package/dist/cli/commands/review/report.js +146 -0
  150. package/dist/cli/commands/review/report.js.map +1 -0
  151. package/dist/cli/commands/review/review.d.ts +17 -0
  152. package/dist/cli/commands/review/review.d.ts.map +1 -0
  153. package/dist/cli/commands/review/review.js +129 -0
  154. package/dist/cli/commands/review/review.js.map +1 -0
  155. package/dist/cli/commands/review/spec-review.d.ts +13 -0
  156. package/dist/cli/commands/review/spec-review.d.ts.map +1 -0
  157. package/dist/cli/commands/review/spec-review.js +65 -0
  158. package/dist/cli/commands/review/spec-review.js.map +1 -0
  159. package/dist/cli/commands/review/ticket-review.d.ts +37 -0
  160. package/dist/cli/commands/review/ticket-review.d.ts.map +1 -0
  161. package/dist/cli/commands/review/ticket-review.js +194 -0
  162. package/dist/cli/commands/review/ticket-review.js.map +1 -0
  163. package/dist/cli/commands/review/types.d.ts +232 -0
  164. package/dist/cli/commands/review/types.d.ts.map +1 -0
  165. package/dist/cli/commands/review/types.js +85 -0
  166. package/dist/cli/commands/review/types.js.map +1 -0
  167. package/dist/cli/commands/scaffold/display.d.ts +27 -0
  168. package/dist/cli/commands/scaffold/display.d.ts.map +1 -0
  169. package/dist/cli/commands/scaffold/display.js +90 -0
  170. package/dist/cli/commands/scaffold/display.js.map +1 -0
  171. package/dist/cli/commands/scaffold/index.d.ts +12 -0
  172. package/dist/cli/commands/scaffold/index.d.ts.map +1 -0
  173. package/dist/cli/commands/scaffold/index.js +12 -0
  174. package/dist/cli/commands/scaffold/index.js.map +1 -0
  175. package/dist/cli/commands/scaffold/register.d.ts +11 -0
  176. package/dist/cli/commands/scaffold/register.d.ts.map +1 -0
  177. package/dist/cli/commands/scaffold/register.js +25 -0
  178. package/dist/cli/commands/scaffold/register.js.map +1 -0
  179. package/dist/cli/commands/scaffold/scaffold.d.ts +11 -0
  180. package/dist/cli/commands/scaffold/scaffold.d.ts.map +1 -0
  181. package/dist/cli/commands/scaffold/scaffold.js +111 -0
  182. package/dist/cli/commands/scaffold/scaffold.js.map +1 -0
  183. package/dist/cli/commands/scaffold/targets.d.ts +31 -0
  184. package/dist/cli/commands/scaffold/targets.d.ts.map +1 -0
  185. package/dist/cli/commands/scaffold/targets.js +84 -0
  186. package/dist/cli/commands/scaffold/targets.js.map +1 -0
  187. package/dist/cli/commands/scaffold/types.d.ts +88 -0
  188. package/dist/cli/commands/scaffold/types.d.ts.map +1 -0
  189. package/dist/cli/commands/scaffold/types.js +21 -0
  190. package/dist/cli/commands/scaffold/types.js.map +1 -0
  191. package/dist/cli/commands/scaffold/utils.d.ts +31 -0
  192. package/dist/cli/commands/scaffold/utils.d.ts.map +1 -0
  193. package/dist/cli/commands/scaffold/utils.js +71 -0
  194. package/dist/cli/commands/scaffold/utils.js.map +1 -0
  195. package/dist/cli/commands/session/display.d.ts +40 -0
  196. package/dist/cli/commands/session/display.d.ts.map +1 -0
  197. package/dist/cli/commands/session/display.js +114 -0
  198. package/dist/cli/commands/session/display.js.map +1 -0
  199. package/dist/cli/commands/session/end.d.ts +12 -0
  200. package/dist/cli/commands/session/end.d.ts.map +1 -0
  201. package/dist/cli/commands/session/end.js +165 -0
  202. package/dist/cli/commands/session/end.js.map +1 -0
  203. package/dist/cli/commands/session/index.d.ts +13 -0
  204. package/dist/cli/commands/session/index.d.ts.map +1 -0
  205. package/dist/cli/commands/session/index.js +13 -0
  206. package/dist/cli/commands/session/index.js.map +1 -0
  207. package/dist/cli/commands/session/register.d.ts +12 -0
  208. package/dist/cli/commands/session/register.d.ts.map +1 -0
  209. package/dist/cli/commands/session/register.js +87 -0
  210. package/dist/cli/commands/session/register.js.map +1 -0
  211. package/dist/cli/commands/session/start.d.ts +12 -0
  212. package/dist/cli/commands/session/start.d.ts.map +1 -0
  213. package/dist/cli/commands/session/start.js +189 -0
  214. package/dist/cli/commands/session/start.js.map +1 -0
  215. package/dist/cli/commands/session/status.d.ts +12 -0
  216. package/dist/cli/commands/session/status.d.ts.map +1 -0
  217. package/dist/cli/commands/session/status.js +93 -0
  218. package/dist/cli/commands/session/status.js.map +1 -0
  219. package/dist/cli/commands/session/types.d.ts +179 -0
  220. package/dist/cli/commands/session/types.d.ts.map +1 -0
  221. package/dist/cli/commands/session/types.js +8 -0
  222. package/dist/cli/commands/session/types.js.map +1 -0
  223. package/dist/cli/commands/session/utils.d.ts +24 -0
  224. package/dist/cli/commands/session/utils.d.ts.map +1 -0
  225. package/dist/cli/commands/session/utils.js +72 -0
  226. package/dist/cli/commands/session/utils.js.map +1 -0
  227. package/dist/cli/commands/specs.d.ts +16 -0
  228. package/dist/cli/commands/specs.d.ts.map +1 -0
  229. package/dist/cli/commands/specs.js +212 -0
  230. package/dist/cli/commands/specs.js.map +1 -0
  231. package/dist/cli/commands/specs.types.d.ts +120 -0
  232. package/dist/cli/commands/specs.types.d.ts.map +1 -0
  233. package/dist/cli/commands/specs.types.js +75 -0
  234. package/dist/cli/commands/specs.types.js.map +1 -0
  235. package/dist/cli/commands/status.d.ts +17 -0
  236. package/dist/cli/commands/status.d.ts.map +1 -0
  237. package/dist/cli/commands/status.js +271 -0
  238. package/dist/cli/commands/status.js.map +1 -0
  239. package/dist/cli/commands/status.types.d.ts +382 -0
  240. package/dist/cli/commands/status.types.d.ts.map +1 -0
  241. package/dist/cli/commands/status.types.js +166 -0
  242. package/dist/cli/commands/status.types.js.map +1 -0
  243. package/dist/cli/commands/switch.d.ts +18 -0
  244. package/dist/cli/commands/switch.d.ts.map +1 -0
  245. package/dist/cli/commands/switch.js +181 -0
  246. package/dist/cli/commands/switch.js.map +1 -0
  247. package/dist/cli/commands/switch.types.d.ts +123 -0
  248. package/dist/cli/commands/switch.types.d.ts.map +1 -0
  249. package/dist/cli/commands/switch.types.js +65 -0
  250. package/dist/cli/commands/switch.types.js.map +1 -0
  251. package/dist/cli/commands/ticket/command.d.ts +14 -0
  252. package/dist/cli/commands/ticket/command.d.ts.map +1 -0
  253. package/dist/cli/commands/ticket/command.js +141 -0
  254. package/dist/cli/commands/ticket/command.js.map +1 -0
  255. package/dist/cli/commands/ticket/display.d.ts +56 -0
  256. package/dist/cli/commands/ticket/display.d.ts.map +1 -0
  257. package/dist/cli/commands/ticket/display.js +205 -0
  258. package/dist/cli/commands/ticket/display.js.map +1 -0
  259. package/dist/cli/commands/ticket/index.d.ts +11 -0
  260. package/dist/cli/commands/ticket/index.d.ts.map +1 -0
  261. package/dist/cli/commands/ticket/index.js +11 -0
  262. package/dist/cli/commands/ticket/index.js.map +1 -0
  263. package/dist/cli/commands/ticket/register.d.ts +11 -0
  264. package/dist/cli/commands/ticket/register.d.ts.map +1 -0
  265. package/dist/cli/commands/ticket/register.js +39 -0
  266. package/dist/cli/commands/ticket/register.js.map +1 -0
  267. package/dist/cli/commands/ticket/resolver.d.ts +16 -0
  268. package/dist/cli/commands/ticket/resolver.d.ts.map +1 -0
  269. package/dist/cli/commands/ticket/resolver.js +35 -0
  270. package/dist/cli/commands/ticket/resolver.js.map +1 -0
  271. package/dist/cli/commands/ticket/types.d.ts +157 -0
  272. package/dist/cli/commands/ticket/types.d.ts.map +1 -0
  273. package/dist/cli/commands/ticket/types.js +8 -0
  274. package/dist/cli/commands/ticket/types.js.map +1 -0
  275. package/dist/cli/commands/tickets.d.ts +16 -0
  276. package/dist/cli/commands/tickets.d.ts.map +1 -0
  277. package/dist/cli/commands/tickets.js +271 -0
  278. package/dist/cli/commands/tickets.js.map +1 -0
  279. package/dist/cli/commands/tickets.types.d.ts +202 -0
  280. package/dist/cli/commands/tickets.types.d.ts.map +1 -0
  281. package/dist/cli/commands/tickets.types.js +138 -0
  282. package/dist/cli/commands/tickets.types.js.map +1 -0
  283. package/dist/cli/config/index.d.ts +11 -0
  284. package/dist/cli/config/index.d.ts.map +1 -0
  285. package/dist/cli/config/index.js +11 -0
  286. package/dist/cli/config/index.js.map +1 -0
  287. package/dist/cli/config/loader.d.ts +98 -0
  288. package/dist/cli/config/loader.d.ts.map +1 -0
  289. package/dist/cli/config/loader.js +237 -0
  290. package/dist/cli/config/loader.js.map +1 -0
  291. package/dist/cli/config/paths.d.ts +96 -0
  292. package/dist/cli/config/paths.d.ts.map +1 -0
  293. package/dist/cli/config/paths.js +140 -0
  294. package/dist/cli/config/paths.js.map +1 -0
  295. package/dist/cli/config/types.d.ts +148 -0
  296. package/dist/cli/config/types.d.ts.map +1 -0
  297. package/dist/cli/config/types.js +34 -0
  298. package/dist/cli/config/types.js.map +1 -0
  299. package/dist/cli/config/writer.d.ts +171 -0
  300. package/dist/cli/config/writer.d.ts.map +1 -0
  301. package/dist/cli/config/writer.js +312 -0
  302. package/dist/cli/config/writer.js.map +1 -0
  303. package/dist/cli/index.d.ts +30 -0
  304. package/dist/cli/index.d.ts.map +1 -0
  305. package/dist/cli/index.js +183 -0
  306. package/dist/cli/index.js.map +1 -0
  307. package/dist/cli/middleware/auth-guard.d.ts +107 -0
  308. package/dist/cli/middleware/auth-guard.d.ts.map +1 -0
  309. package/dist/cli/middleware/auth-guard.js +190 -0
  310. package/dist/cli/middleware/auth-guard.js.map +1 -0
  311. package/dist/cli/middleware/error-handler.d.ts +133 -0
  312. package/dist/cli/middleware/error-handler.d.ts.map +1 -0
  313. package/dist/cli/middleware/error-handler.js +209 -0
  314. package/dist/cli/middleware/error-handler.js.map +1 -0
  315. package/dist/cli/middleware/index.d.ts +6 -0
  316. package/dist/cli/middleware/index.d.ts.map +1 -0
  317. package/dist/cli/middleware/index.js +6 -0
  318. package/dist/cli/middleware/index.js.map +1 -0
  319. package/dist/cli/templates/commands.d.ts +20 -0
  320. package/dist/cli/templates/commands.d.ts.map +1 -0
  321. package/dist/cli/templates/commands.js +174 -0
  322. package/dist/cli/templates/commands.js.map +1 -0
  323. package/dist/cli/templates/content/sf-autonomous.d.ts +7 -0
  324. package/dist/cli/templates/content/sf-autonomous.d.ts.map +1 -0
  325. package/dist/cli/templates/content/sf-autonomous.js +78 -0
  326. package/dist/cli/templates/content/sf-autonomous.js.map +1 -0
  327. package/dist/cli/templates/content/sf-blockers.d.ts +7 -0
  328. package/dist/cli/templates/content/sf-blockers.d.ts.map +1 -0
  329. package/dist/cli/templates/content/sf-blockers.js +68 -0
  330. package/dist/cli/templates/content/sf-blockers.js.map +1 -0
  331. package/dist/cli/templates/content/sf-commit.d.ts +7 -0
  332. package/dist/cli/templates/content/sf-commit.d.ts.map +1 -0
  333. package/dist/cli/templates/content/sf-commit.js +78 -0
  334. package/dist/cli/templates/content/sf-commit.js.map +1 -0
  335. package/dist/cli/templates/content/sf-context.d.ts +7 -0
  336. package/dist/cli/templates/content/sf-context.d.ts.map +1 -0
  337. package/dist/cli/templates/content/sf-context.js +64 -0
  338. package/dist/cli/templates/content/sf-context.js.map +1 -0
  339. package/dist/cli/templates/content/sf-create-epics.d.ts +7 -0
  340. package/dist/cli/templates/content/sf-create-epics.d.ts.map +1 -0
  341. package/dist/cli/templates/content/sf-create-epics.js +70 -0
  342. package/dist/cli/templates/content/sf-create-epics.js.map +1 -0
  343. package/dist/cli/templates/content/sf-create-spec.d.ts +7 -0
  344. package/dist/cli/templates/content/sf-create-spec.d.ts.map +1 -0
  345. package/dist/cli/templates/content/sf-create-spec.js +67 -0
  346. package/dist/cli/templates/content/sf-create-spec.js.map +1 -0
  347. package/dist/cli/templates/content/sf-create-tickets.d.ts +7 -0
  348. package/dist/cli/templates/content/sf-create-tickets.d.ts.map +1 -0
  349. package/dist/cli/templates/content/sf-create-tickets.js +76 -0
  350. package/dist/cli/templates/content/sf-create-tickets.js.map +1 -0
  351. package/dist/cli/templates/content/sf-epic.d.ts +7 -0
  352. package/dist/cli/templates/content/sf-epic.d.ts.map +1 -0
  353. package/dist/cli/templates/content/sf-epic.js +69 -0
  354. package/dist/cli/templates/content/sf-epic.js.map +1 -0
  355. package/dist/cli/templates/content/sf-help.d.ts +7 -0
  356. package/dist/cli/templates/content/sf-help.d.ts.map +1 -0
  357. package/dist/cli/templates/content/sf-help.js +61 -0
  358. package/dist/cli/templates/content/sf-help.js.map +1 -0
  359. package/dist/cli/templates/content/sf-import.d.ts +7 -0
  360. package/dist/cli/templates/content/sf-import.d.ts.map +1 -0
  361. package/dist/cli/templates/content/sf-import.js +88 -0
  362. package/dist/cli/templates/content/sf-import.js.map +1 -0
  363. package/dist/cli/templates/content/sf-init.d.ts +7 -0
  364. package/dist/cli/templates/content/sf-init.d.ts.map +1 -0
  365. package/dist/cli/templates/content/sf-init.js +61 -0
  366. package/dist/cli/templates/content/sf-init.js.map +1 -0
  367. package/dist/cli/templates/content/sf-next.d.ts +7 -0
  368. package/dist/cli/templates/content/sf-next.d.ts.map +1 -0
  369. package/dist/cli/templates/content/sf-next.js +67 -0
  370. package/dist/cli/templates/content/sf-next.js.map +1 -0
  371. package/dist/cli/templates/content/sf-reset.d.ts +7 -0
  372. package/dist/cli/templates/content/sf-reset.d.ts.map +1 -0
  373. package/dist/cli/templates/content/sf-reset.js +78 -0
  374. package/dist/cli/templates/content/sf-reset.js.map +1 -0
  375. package/dist/cli/templates/content/sf-review.d.ts +7 -0
  376. package/dist/cli/templates/content/sf-review.d.ts.map +1 -0
  377. package/dist/cli/templates/content/sf-review.js +67 -0
  378. package/dist/cli/templates/content/sf-review.js.map +1 -0
  379. package/dist/cli/templates/content/sf-search.d.ts +7 -0
  380. package/dist/cli/templates/content/sf-search.d.ts.map +1 -0
  381. package/dist/cli/templates/content/sf-search.js +64 -0
  382. package/dist/cli/templates/content/sf-search.js.map +1 -0
  383. package/dist/cli/templates/content/sf-status.d.ts +7 -0
  384. package/dist/cli/templates/content/sf-status.d.ts.map +1 -0
  385. package/dist/cli/templates/content/sf-status.js +67 -0
  386. package/dist/cli/templates/content/sf-status.js.map +1 -0
  387. package/dist/cli/templates/content/sf-ticket.d.ts +7 -0
  388. package/dist/cli/templates/content/sf-ticket.d.ts.map +1 -0
  389. package/dist/cli/templates/content/sf-ticket.js +76 -0
  390. package/dist/cli/templates/content/sf-ticket.js.map +1 -0
  391. package/dist/cli/templates/content/sf-validate.d.ts +7 -0
  392. package/dist/cli/templates/content/sf-validate.d.ts.map +1 -0
  393. package/dist/cli/templates/content/sf-validate.js +78 -0
  394. package/dist/cli/templates/content/sf-validate.js.map +1 -0
  395. package/dist/cli/templates/index.d.ts +7 -0
  396. package/dist/cli/templates/index.d.ts.map +1 -0
  397. package/dist/cli/templates/index.js +7 -0
  398. package/dist/cli/templates/index.js.map +1 -0
  399. package/dist/cli/ui/colors.d.ts +76 -0
  400. package/dist/cli/ui/colors.d.ts.map +1 -0
  401. package/dist/cli/ui/colors.js +81 -0
  402. package/dist/cli/ui/colors.js.map +1 -0
  403. package/dist/cli/ui/dashboard.d.ts +54 -0
  404. package/dist/cli/ui/dashboard.d.ts.map +1 -0
  405. package/dist/cli/ui/dashboard.js +339 -0
  406. package/dist/cli/ui/dashboard.js.map +1 -0
  407. package/dist/cli/ui/index.d.ts +7 -0
  408. package/dist/cli/ui/index.d.ts.map +1 -0
  409. package/dist/cli/ui/index.js +7 -0
  410. package/dist/cli/ui/index.js.map +1 -0
  411. package/dist/cli/ui/output.d.ts +117 -0
  412. package/dist/cli/ui/output.d.ts.map +1 -0
  413. package/dist/cli/ui/output.js +172 -0
  414. package/dist/cli/ui/output.js.map +1 -0
  415. package/dist/cli/ui/spinner.d.ts +105 -0
  416. package/dist/cli/ui/spinner.d.ts.map +1 -0
  417. package/dist/cli/ui/spinner.js +148 -0
  418. package/dist/cli/ui/spinner.js.map +1 -0
  419. package/dist/cli/ui/time.d.ts +54 -0
  420. package/dist/cli/ui/time.d.ts.map +1 -0
  421. package/dist/cli/ui/time.js +173 -0
  422. package/dist/cli/ui/time.js.map +1 -0
  423. package/dist/lib/format.d.ts +4 -4
  424. package/dist/lib/format.js +5 -5
  425. package/dist/server.js +8 -8
  426. package/dist/server.js.map +1 -1
  427. package/dist/tools/core/session.js +6 -6
  428. package/dist/tools/core/session.js.map +1 -1
  429. package/dist/tools/index.js +9 -9
  430. package/dist/tools/index.js.map +1 -1
  431. package/dist/validation/index.js +1 -1
  432. package/dist/validation/index.js.map +1 -1
  433. package/package.json +9 -2
@@ -0,0 +1,177 @@
1
+ /**
2
+ * Doctor Command Types
3
+ *
4
+ * Type definitions for the doctor command health checks.
5
+ */
6
+ /**
7
+ * Doctor command options from Commander
8
+ */
9
+ export interface DoctorOptions {
10
+ /** Output as JSON instead of formatted text */
11
+ json?: boolean;
12
+ /** Attempt to fix issues automatically */
13
+ fix?: boolean;
14
+ }
15
+ /**
16
+ * Check status result
17
+ */
18
+ export type CheckStatus = 'pass' | 'fail' | 'warn';
19
+ /**
20
+ * Individual check result
21
+ */
22
+ export interface CheckResult {
23
+ /** Name/title of the check */
24
+ name: string;
25
+ /** Status of the check */
26
+ status: CheckStatus;
27
+ /** Detailed message about the result */
28
+ message: string;
29
+ /** Fix suggestion if check failed/warned */
30
+ fix?: string;
31
+ /** Additional metadata for JSON output */
32
+ metadata?: Record<string, unknown>;
33
+ }
34
+ /**
35
+ * Check category names
36
+ */
37
+ export type CheckCategory = 'configuration' | 'authentication' | 'connection' | 'projectAccess';
38
+ /**
39
+ * Doctor report structure
40
+ */
41
+ export interface DoctorReport {
42
+ /** Check results grouped by category */
43
+ checks: Record<CheckCategory, CheckResult[]>;
44
+ /** Summary counts */
45
+ summary: DoctorSummary;
46
+ /** Timestamp of the check */
47
+ timestamp: string;
48
+ /** Version of the CLI */
49
+ version?: string;
50
+ }
51
+ /**
52
+ * Doctor report summary
53
+ */
54
+ export interface DoctorSummary {
55
+ /** Number of passed checks */
56
+ passed: number;
57
+ /** Number of failed checks */
58
+ failed: number;
59
+ /** Number of warnings */
60
+ warnings: number;
61
+ /** Total number of checks */
62
+ total: number;
63
+ }
64
+ /**
65
+ * Check category display info
66
+ */
67
+ export interface CheckCategoryInfo {
68
+ /** Category identifier */
69
+ id: CheckCategory;
70
+ /** Display name */
71
+ name: string;
72
+ /** Description */
73
+ description: string;
74
+ }
75
+ /**
76
+ * Check category definitions with display info
77
+ */
78
+ export declare const CHECK_CATEGORIES: CheckCategoryInfo[];
79
+ /**
80
+ * Check name constants for configuration checks
81
+ */
82
+ export declare const CONFIG_CHECK_NAMES: {
83
+ readonly MCP_CONFIG_FOUND: ".mcp.json found";
84
+ readonly PROJECT_CONFIG_FOUND: ".specforge.json found";
85
+ readonly API_KEY_CONFIGURED: "API key configured";
86
+ };
87
+ /**
88
+ * Check name constants for authentication checks
89
+ */
90
+ export declare const AUTH_CHECK_NAMES: {
91
+ readonly API_KEY_FORMAT: "API key format valid";
92
+ readonly API_KEY_AUTHENTICATED: "API key authenticated";
93
+ readonly USER_INFO: "User info";
94
+ };
95
+ /**
96
+ * Check name constants for connection checks
97
+ */
98
+ export declare const CONNECTION_CHECK_NAMES: {
99
+ readonly API_ENDPOINT_REACHABLE: "API endpoint reachable";
100
+ readonly RESPONSE_TIME: "Response time";
101
+ };
102
+ /**
103
+ * Check name constants for project access checks
104
+ */
105
+ export declare const PROJECT_CHECK_NAMES: {
106
+ readonly PROJECT_ACCESSIBLE: "Default project accessible";
107
+ readonly SPECIFICATION_ACCESSIBLE: "Default specification accessible";
108
+ readonly IMPLEMENTATION_SESSION: "Implementation session";
109
+ };
110
+ /**
111
+ * Thresholds for performance checks
112
+ */
113
+ export declare const PERFORMANCE_THRESHOLDS: {
114
+ /** Response time warning threshold in ms */
115
+ readonly RESPONSE_TIME_WARNING: 500;
116
+ /** Response time error threshold in ms */
117
+ readonly RESPONSE_TIME_ERROR: 5000;
118
+ /** Connection timeout in ms */
119
+ readonly CONNECTION_TIMEOUT: 10000;
120
+ };
121
+ /**
122
+ * API key validation constants
123
+ */
124
+ export declare const API_KEY_VALIDATION: {
125
+ /** Required prefix for live API keys */
126
+ readonly PREFIX: "sf_live_";
127
+ /** Minimum length for valid API key */
128
+ readonly MIN_LENGTH: 28;
129
+ };
130
+ /**
131
+ * Fix suggestion templates
132
+ */
133
+ export declare const FIX_SUGGESTIONS: {
134
+ readonly MISSING_MCP_CONFIG: "Run 'specforge-mcp init' to create configuration";
135
+ readonly MISSING_PROJECT_CONFIG: "Run 'specforge-mcp init' to create configuration";
136
+ readonly MISSING_API_KEY: "Run 'specforge-mcp login' to authenticate";
137
+ readonly INVALID_API_KEY_FORMAT: "Get a valid API key from https://specforge.com.br/settings/api-keys";
138
+ readonly EXPIRED_API_KEY: "Run 'specforge-mcp login --force' to re-authenticate";
139
+ readonly CONNECTION_FAILED: "Check your internet connection";
140
+ readonly CONNECTION_TIMEOUT: "Check your internet connection or try again later";
141
+ readonly PROJECT_NOT_ACCESSIBLE: "Run 'specforge-mcp init' to reconfigure project";
142
+ readonly SPEC_NOT_ACCESSIBLE: "Run 'specforge-mcp init' to reconfigure specification";
143
+ readonly NO_PROJECT_CONFIGURED: "Run 'specforge-mcp init' to configure a project";
144
+ };
145
+ /**
146
+ * Create a passing check result
147
+ */
148
+ export declare function createPassResult(name: string, message: string, metadata?: Record<string, unknown>): CheckResult;
149
+ /**
150
+ * Create a failing check result
151
+ */
152
+ export declare function createFailResult(name: string, message: string, fix?: string, metadata?: Record<string, unknown>): CheckResult;
153
+ /**
154
+ * Create a warning check result
155
+ */
156
+ export declare function createWarnResult(name: string, message: string, fix?: string, metadata?: Record<string, unknown>): CheckResult;
157
+ /**
158
+ * Calculate summary from check results
159
+ */
160
+ export declare function calculateSummary(checks: Record<CheckCategory, CheckResult[]>): DoctorSummary;
161
+ /**
162
+ * Create an empty report structure
163
+ */
164
+ export declare function createEmptyReport(): DoctorReport;
165
+ /**
166
+ * Check if the report has any failures
167
+ */
168
+ export declare function hasFailures(report: DoctorReport): boolean;
169
+ /**
170
+ * Check if the report has any warnings
171
+ */
172
+ export declare function hasWarnings(report: DoctorReport): boolean;
173
+ /**
174
+ * Get status icon for display
175
+ */
176
+ export declare function getStatusIcon(status: CheckStatus): string;
177
+ //# sourceMappingURL=doctor.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"doctor.types.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/doctor.types.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,+CAA+C;IAC/C,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,0CAA0C;IAC1C,GAAG,CAAC,EAAE,OAAO,CAAC;CACf;AAED;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;AAEnD;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,8BAA8B;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,0BAA0B;IAC1B,MAAM,EAAE,WAAW,CAAC;IACpB,wCAAwC;IACxC,OAAO,EAAE,MAAM,CAAC;IAChB,4CAA4C;IAC5C,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,0CAA0C;IAC1C,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpC;AAED;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,eAAe,GAAG,gBAAgB,GAAG,YAAY,GAAG,eAAe,CAAC;AAEhG;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,wCAAwC;IACxC,MAAM,EAAE,MAAM,CAAC,aAAa,EAAE,WAAW,EAAE,CAAC,CAAC;IAC7C,qBAAqB;IACrB,OAAO,EAAE,aAAa,CAAC;IACvB,6BAA6B;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,yBAAyB;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,8BAA8B;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,8BAA8B;IAC9B,MAAM,EAAE,MAAM,CAAC;IACf,yBAAyB;I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GAAG,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,WAAW,CAE7H;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,MAAM,CAAC,aAAa,EAAE,WAAW,EAAE,CAAC,GAAG,aAAa,CAQ5F;AAED;;GAEG;AACH,wBAAgB,iBAAiB,IAAI,YAAY,CAgBhD;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAEzD;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,MAAM,EAAE,YAAY,GAAG,OAAO,CAEzD;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,WAAW,GAAG,MAAM,CASzD"}
@@ -0,0 +1,172 @@
1
+ /**
2
+ * Doctor Command Types
3
+ *
4
+ * Type definitions for the doctor command health checks.
5
+ */
6
+ /**
7
+ * Check category definitions with display info
8
+ */
9
+ export const CHECK_CATEGORIES = [
10
+ {
11
+ id: 'configuration',
12
+ name: 'Configuration',
13
+ description: 'Config file presence and validity',
14
+ },
15
+ {
16
+ id: 'authentication',
17
+ name: 'Authentication',
18
+ description: 'API key format and authentication',
19
+ },
20
+ {
21
+ id: 'connection',
22
+ name: 'Connection',
23
+ description: 'API connectivity and response time',
24
+ },
25
+ {
26
+ id: 'projectAccess',
27
+ name: 'Project Access',
28
+ description: 'Access to configured project and specification',
29
+ },
30
+ ];
31
+ /**
32
+ * Check name constants for configuration checks
33
+ */
34
+ export const CONFIG_CHECK_NAMES = {
35
+ MCP_CONFIG_FOUND: '.mcp.json found',
36
+ PROJECT_CONFIG_FOUND: '.specforge.json found',
37
+ API_KEY_CONFIGURED: 'API key configured',
38
+ };
39
+ /**
40
+ * Check name constants for authentication checks
41
+ */
42
+ export const AUTH_CHECK_NAMES = {
43
+ API_KEY_FORMAT: 'API key format valid',
44
+ API_KEY_AUTHENTICATED: 'API key authenticated',
45
+ USER_INFO: 'User info',
46
+ };
47
+ /**
48
+ * Check name constants for connection checks
49
+ */
50
+ export const CONNECTION_CHECK_NAMES = {
51
+ API_ENDPOINT_REACHABLE: 'API endpoint reachable',
52
+ RESPONSE_TIME: 'Response time',
53
+ };
54
+ /**
55
+ * Check name constants for project access checks
56
+ */
57
+ export const PROJECT_CHECK_NAMES = {
58
+ PROJECT_ACCESSIBLE: 'Default project accessible',
59
+ SPECIFICATION_ACCESSIBLE: 'Default specification accessible',
60
+ IMPLEMENTATION_SESSION: 'Implementation session',
61
+ };
62
+ /**
63
+ * Thresholds for performance checks
64
+ */
65
+ export const PERFORMANCE_THRESHOLDS = {
66
+ /** Response time warning threshold in ms */
67
+ RESPONSE_TIME_WARNING: 500,
68
+ /** Response time error threshold in ms */
69
+ RESPONSE_TIME_ERROR: 5000,
70
+ /** Connection timeout in ms */
71
+ CONNECTION_TIMEOUT: 10000,
72
+ };
73
+ /**
74
+ * API key validation constants
75
+ */
76
+ export const API_KEY_VALIDATION = {
77
+ /** Required prefix for live API keys */
78
+ PREFIX: 'sf_live_',
79
+ /** Minimum length for valid API key */
80
+ MIN_LENGTH: 28,
81
+ };
82
+ /**
83
+ * Fix suggestion templates
84
+ */
85
+ export const FIX_SUGGESTIONS = {
86
+ MISSING_MCP_CONFIG: "Run 'specforge-mcp init' to create configuration",
87
+ MISSING_PROJECT_CONFIG: "Run 'specforge-mcp init' to create configuration",
88
+ MISSING_API_KEY: "Run 'specforge-mcp login' to authenticate",
89
+ INVALID_API_KEY_FORMAT: 'Get a valid API key from https://specforge.com.br/settings/api-keys',
90
+ EXPIRED_API_KEY: "Run 'specforge-mcp login --force' to re-authenticate",
91
+ CONNECTION_FAILED: 'Check your internet connection',
92
+ CONNECTION_TIMEOUT: 'Check your internet connection or try again later',
93
+ PROJECT_NOT_ACCESSIBLE: "Run 'specforge-mcp init' to reconfigure project",
94
+ SPEC_NOT_ACCESSIBLE: "Run 'specforge-mcp init' to reconfigure specification",
95
+ NO_PROJECT_CONFIGURED: "Run 'specforge-mcp init' to configure a project",
96
+ };
97
+ /**
98
+ * Create a passing check result
99
+ */
100
+ export function createPassResult(name, message, metadata) {
101
+ return { name, status: 'pass', message, metadata };
102
+ }
103
+ /**
104
+ * Create a failing check result
105
+ */
106
+ export function createFailResult(name, message, fix, metadata) {
107
+ return { name, status: 'fail', message, fix, metadata };
108
+ }
109
+ /**
110
+ * Create a warning check result
111
+ */
112
+ export function createWarnResult(name, message, fix, metadata) {
113
+ return { name, status: 'warn', message, fix, metadata };
114
+ }
115
+ /**
116
+ * Calculate summary from check results
117
+ */
118
+ export function calculateSummary(checks) {
119
+ const allChecks = Object.values(checks).flat();
120
+ return {
121
+ passed: allChecks.filter(c => c.status === 'pass').length,
122
+ failed: allChecks.filter(c => c.status === 'fail').length,
123
+ warnings: allChecks.filter(c => c.status === 'warn').length,
124
+ total: allChecks.length,
125
+ };
126
+ }
127
+ /**
128
+ * Create an empty report structure
129
+ */
130
+ export function createEmptyReport() {
131
+ return {
132
+ checks: {
133
+ configuration: [],
134
+ authentication: [],
135
+ connection: [],
136
+ projectAccess: [],
137
+ },
138
+ summary: {
139
+ passed: 0,
140
+ failed: 0,
141
+ warnings: 0,
142
+ total: 0,
143
+ },
144
+ timestamp: new Date().toISOString(),
145
+ };
146
+ }
147
+ /**
148
+ * Check if the report has any failures
149
+ */
150
+ export function hasFailures(report) {
151
+ return report.summary.failed > 0;
152
+ }
153
+ /**
154
+ * Check if the report has any warnings
155
+ */
156
+ export function hasWarnings(report) {
157
+ return report.summary.warnings > 0;
158
+ }
159
+ /**
160
+ * Get status icon for display
161
+ */
162
+ export function getStatusIcon(status) {
163
+ switch (status) {
164
+ case 'pass':
165
+ return '✓';
166
+ case 'fail':
167
+ return '✗';
168
+ case 'warn':
169
+ return '⚠';
170
+ }
171
+ }
172
+ //# sourceMappingURL=doctor.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"doctor.types.js","sourceRoot":"","sources":["../../../src/cli/commands/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* Exports all CLI command registration functions.
5
+ */
6
+ export { registerLoginCommand } from './login.js';
7
+ export { registerInitCommand } from './init.js';
8
+ export { registerConfigureCommand } from './configure.js';
9
+ export { registerDoctorCommand } from './doctor.js';
10
+ export { registerStatusCommand } from './status.js';
11
+ export { registerProjectsCommand } from './projects.js';
12
+ export { registerSpecsCommand } from './specs.js';
13
+ export { registerSwitchCommand } from './switch.js';
14
+ export { registerTicketsCommand } from './tickets.js';
15
+ export { registerNextCommand } from './next.js';
16
+ export { registerBlockedCommand } from './blocked.js';
17
+ export { registerReviewCommand } from './review/index.js';
18
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * CLI Commands Module
3
+ *
4
+ * Exports all CLI command registration functions.
5
+ */
6
+ export { registerLoginCommand } from './login.js';
7
+ export { registerInitCommand } from './init.js';
8
+ export { registerConfigureCommand } from './configure.js';
9
+ export { registerDoctorCommand } from './doctor.js';
10
+ export { registerStatusCommand } from './status.js';
11
+ export { registerProjectsCommand } from './projects.js';
12
+ export { registerSpecsCommand } from './specs.js';
13
+ export { registerSwitchCommand } from './switch.js';
14
+ export { registerTicketsCommand } from './tickets.js';
15
+ export { registerNextCommand } from './next.js';
16
+ export { registerBlockedCommand } from './blocked.js';
17
+ export { registerReviewCommand } from './review/index.js';
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/cli/commands/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AACxD,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AACpD,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAChD,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,EAAE,qBAAqB,EAAE,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Init Command
3
+ *
4
+ * Initializes SpecForge for a project by creating config files
5
+ * and linking to a SpecForge project and specification.
6
+ */
7
+ import { Command } from 'commander';
8
+ import { InitOptions } from './init.types.js';
9
+ /**
10
+ * Init command implementation
11
+ */
12
+ export declare function initAction(options: InitOptions): Promise<void>;
13
+ /**
14
+ * Register init command with Commander
15
+ */
16
+ export declare function registerInitCommand(program: Command): void;
17
+ //# sourceMappingURL=init.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/init.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAuBpC,OAAO,EACL,WAAW,EAUZ,MAAM,iBAAiB,CAAC;AAqLzB;;GAEG;AACH,wBAAsB,UAAU,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CAwLpE;AAED;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAsB1D"}