specweave 0.16.5 → 0.16.11

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 (1033) hide show
  1. package/.claude-plugin/marketplace.json +22 -0
  2. package/CLAUDE.md +45 -26
  3. package/bin/fix-marketplace-errors.sh +136 -0
  4. package/dist/cli/commands/sync-spec-commits.d.ts +9 -0
  5. package/dist/cli/commands/sync-spec-commits.d.ts.map +1 -0
  6. package/dist/cli/commands/sync-spec-commits.js +186 -0
  7. package/dist/cli/commands/sync-spec-commits.js.map +1 -0
  8. package/dist/cli/helpers/issue-tracker/index.d.ts.map +1 -1
  9. package/dist/cli/helpers/issue-tracker/index.js +21 -0
  10. package/dist/cli/helpers/issue-tracker/index.js.map +1 -1
  11. package/dist/core/agent-model-manager.d.ts +52 -0
  12. package/dist/core/agent-model-manager.d.ts.map +1 -0
  13. package/dist/core/agent-model-manager.js +120 -0
  14. package/dist/core/agent-model-manager.js.map +1 -0
  15. package/dist/core/comment-builder.d.ts +57 -0
  16. package/dist/core/comment-builder.d.ts.map +1 -0
  17. package/dist/core/comment-builder.js +239 -0
  18. package/dist/core/comment-builder.js.map +1 -0
  19. package/dist/core/model-selector.d.ts +57 -0
  20. package/dist/core/model-selector.d.ts.map +1 -0
  21. package/dist/core/model-selector.js +115 -0
  22. package/dist/core/model-selector.js.map +1 -0
  23. package/dist/core/phase-detector.d.ts +62 -0
  24. package/dist/core/phase-detector.d.ts.map +1 -0
  25. package/dist/core/phase-detector.js +229 -0
  26. package/dist/core/phase-detector.js.map +1 -0
  27. package/dist/core/spec-task-mapper.d.ts +71 -0
  28. package/dist/core/spec-task-mapper.d.ts.map +1 -0
  29. package/dist/core/spec-task-mapper.js +208 -0
  30. package/dist/core/spec-task-mapper.js.map +1 -0
  31. package/dist/hooks/lib/git-diff-analyzer.d.ts +89 -0
  32. package/dist/hooks/lib/git-diff-analyzer.d.ts.map +1 -0
  33. package/dist/hooks/lib/git-diff-analyzer.js +226 -0
  34. package/dist/hooks/lib/git-diff-analyzer.js.map +1 -0
  35. package/dist/hooks/lib/invoke-translator-skill.d.ts +60 -0
  36. package/dist/hooks/lib/invoke-translator-skill.d.ts.map +1 -0
  37. package/dist/hooks/lib/invoke-translator-skill.js +201 -0
  38. package/dist/hooks/lib/invoke-translator-skill.js.map +1 -0
  39. package/dist/hooks/lib/prepare-reflection-context.d.ts +42 -0
  40. package/dist/hooks/lib/prepare-reflection-context.d.ts.map +1 -0
  41. package/dist/hooks/lib/prepare-reflection-context.js +123 -0
  42. package/dist/hooks/lib/prepare-reflection-context.js.map +1 -0
  43. package/dist/hooks/lib/reflection-config-loader.d.ts +45 -0
  44. package/dist/hooks/lib/reflection-config-loader.d.ts.map +1 -0
  45. package/dist/hooks/lib/reflection-config-loader.js +132 -0
  46. package/dist/hooks/lib/reflection-config-loader.js.map +1 -0
  47. package/dist/hooks/lib/reflection-parser.d.ts +33 -0
  48. package/dist/hooks/lib/reflection-parser.d.ts.map +1 -0
  49. package/dist/hooks/lib/reflection-parser.js +419 -0
  50. package/dist/hooks/lib/reflection-parser.js.map +1 -0
  51. package/dist/hooks/lib/reflection-prompt-builder.d.ts +56 -0
  52. package/dist/hooks/lib/reflection-prompt-builder.d.ts.map +1 -0
  53. package/dist/hooks/lib/reflection-prompt-builder.js +239 -0
  54. package/dist/hooks/lib/reflection-prompt-builder.js.map +1 -0
  55. package/dist/hooks/lib/reflection-storage.d.ts +64 -0
  56. package/dist/hooks/lib/reflection-storage.d.ts.map +1 -0
  57. package/dist/hooks/lib/reflection-storage.js +305 -0
  58. package/dist/hooks/lib/reflection-storage.js.map +1 -0
  59. package/dist/hooks/lib/run-self-reflection.d.ts +43 -0
  60. package/dist/hooks/lib/run-self-reflection.d.ts.map +1 -0
  61. package/dist/hooks/lib/run-self-reflection.js +203 -0
  62. package/dist/hooks/lib/run-self-reflection.js.map +1 -0
  63. package/dist/hooks/lib/sync-living-docs.d.ts +27 -0
  64. package/dist/hooks/lib/sync-living-docs.d.ts.map +1 -0
  65. package/dist/hooks/lib/sync-living-docs.js +116 -0
  66. package/dist/hooks/lib/sync-living-docs.js.map +1 -0
  67. package/dist/hooks/lib/translate-file.d.ts +59 -0
  68. package/dist/hooks/lib/translate-file.d.ts.map +1 -0
  69. package/dist/hooks/lib/translate-file.js +350 -0
  70. package/dist/hooks/lib/translate-file.js.map +1 -0
  71. package/dist/hooks/lib/translate-living-docs.d.ts +13 -0
  72. package/dist/hooks/lib/translate-living-docs.d.ts.map +1 -0
  73. package/dist/hooks/lib/translate-living-docs.js +175 -0
  74. package/dist/hooks/lib/translate-living-docs.js.map +1 -0
  75. package/dist/hooks/lib/types/reflection-types.d.ts +164 -0
  76. package/dist/hooks/lib/types/reflection-types.d.ts.map +1 -0
  77. package/dist/hooks/lib/types/reflection-types.js +73 -0
  78. package/dist/hooks/lib/types/reflection-types.js.map +1 -0
  79. package/dist/hooks/lib/update-tasks-md.d.ts +29 -0
  80. package/dist/hooks/lib/update-tasks-md.d.ts.map +1 -0
  81. package/dist/hooks/lib/update-tasks-md.js +203 -0
  82. package/dist/hooks/lib/update-tasks-md.js.map +1 -0
  83. package/dist/plugins/specweave/lib/hooks/git-diff-analyzer.d.ts +89 -0
  84. package/dist/plugins/specweave/lib/hooks/git-diff-analyzer.d.ts.map +1 -0
  85. package/dist/plugins/specweave/lib/hooks/git-diff-analyzer.js +226 -0
  86. package/dist/plugins/specweave/lib/hooks/git-diff-analyzer.js.map +1 -0
  87. package/dist/plugins/specweave/lib/hooks/invoke-translator-skill.d.ts +60 -0
  88. package/dist/plugins/specweave/lib/hooks/invoke-translator-skill.d.ts.map +1 -0
  89. package/dist/plugins/specweave/lib/hooks/invoke-translator-skill.js +201 -0
  90. package/dist/plugins/specweave/lib/hooks/invoke-translator-skill.js.map +1 -0
  91. package/dist/plugins/specweave/lib/hooks/prepare-reflection-context.d.ts +42 -0
  92. package/dist/plugins/specweave/lib/hooks/prepare-reflection-context.d.ts.map +1 -0
  93. package/dist/plugins/specweave/lib/hooks/prepare-reflection-context.js +123 -0
  94. package/dist/plugins/specweave/lib/hooks/prepare-reflection-context.js.map +1 -0
  95. package/dist/plugins/specweave/lib/hooks/reflection-config-loader.d.ts +45 -0
  96. package/dist/plugins/specweave/lib/hooks/reflection-config-loader.d.ts.map +1 -0
  97. package/dist/plugins/specweave/lib/hooks/reflection-config-loader.js +132 -0
  98. package/dist/plugins/specweave/lib/hooks/reflection-config-loader.js.map +1 -0
  99. package/dist/plugins/specweave/lib/hooks/reflection-parser.d.ts +33 -0
  100. package/dist/plugins/specweave/lib/hooks/reflection-parser.d.ts.map +1 -0
  101. package/dist/plugins/specweave/lib/hooks/reflection-parser.js +419 -0
  102. package/dist/plugins/specweave/lib/hooks/reflection-parser.js.map +1 -0
  103. package/dist/plugins/specweave/lib/hooks/reflection-prompt-builder.d.ts +56 -0
  104. package/dist/plugins/specweave/lib/hooks/reflection-prompt-builder.d.ts.map +1 -0
  105. package/dist/plugins/specweave/lib/hooks/reflection-prompt-builder.js +239 -0
  106. package/dist/plugins/specweave/lib/hooks/reflection-prompt-builder.js.map +1 -0
  107. package/dist/plugins/specweave/lib/hooks/reflection-storage.d.ts +64 -0
  108. package/dist/plugins/specweave/lib/hooks/reflection-storage.d.ts.map +1 -0
  109. package/dist/plugins/specweave/lib/hooks/reflection-storage.js +305 -0
  110. package/dist/plugins/specweave/lib/hooks/reflection-storage.js.map +1 -0
  111. package/dist/plugins/specweave/lib/hooks/run-self-reflection.d.ts +43 -0
  112. package/dist/plugins/specweave/lib/hooks/run-self-reflection.d.ts.map +1 -0
  113. package/dist/plugins/specweave/lib/hooks/run-self-reflection.js +203 -0
  114. package/dist/plugins/specweave/lib/hooks/run-self-reflection.js.map +1 -0
  115. package/dist/plugins/specweave/lib/hooks/sync-living-docs.d.ts +27 -0
  116. package/dist/plugins/specweave/lib/hooks/sync-living-docs.d.ts.map +1 -0
  117. package/dist/plugins/specweave/lib/hooks/sync-living-docs.js +144 -0
  118. package/dist/plugins/specweave/lib/hooks/sync-living-docs.js.map +1 -0
  119. package/dist/plugins/specweave/lib/hooks/translate-file.d.ts +59 -0
  120. package/dist/plugins/specweave/lib/hooks/translate-file.d.ts.map +1 -0
  121. package/dist/plugins/specweave/lib/hooks/translate-file.js +350 -0
  122. package/dist/plugins/specweave/lib/hooks/translate-file.js.map +1 -0
  123. package/dist/plugins/specweave/lib/hooks/translate-living-docs.d.ts +13 -0
  124. package/dist/plugins/specweave/lib/hooks/translate-living-docs.d.ts.map +1 -0
  125. package/dist/plugins/specweave/lib/hooks/translate-living-docs.js +175 -0
  126. package/dist/plugins/specweave/lib/hooks/translate-living-docs.js.map +1 -0
  127. package/dist/plugins/specweave/lib/hooks/types/reflection-types.d.ts +164 -0
  128. package/dist/plugins/specweave/lib/hooks/types/reflection-types.d.ts.map +1 -0
  129. package/dist/plugins/specweave/lib/hooks/types/reflection-types.js +73 -0
  130. package/dist/plugins/specweave/lib/hooks/types/reflection-types.js.map +1 -0
  131. package/dist/plugins/specweave/lib/hooks/update-tasks-md.d.ts +29 -0
  132. package/dist/plugins/specweave/lib/hooks/update-tasks-md.d.ts.map +1 -0
  133. package/dist/plugins/specweave/lib/hooks/update-tasks-md.js +203 -0
  134. package/dist/plugins/specweave/lib/hooks/update-tasks-md.js.map +1 -0
  135. package/dist/plugins/specweave-ado/lib/ado-board-resolver.d.ts +94 -0
  136. package/dist/plugins/specweave-ado/lib/ado-board-resolver.d.ts.map +1 -0
  137. package/dist/plugins/specweave-ado/lib/ado-board-resolver.js +219 -0
  138. package/dist/plugins/specweave-ado/lib/ado-board-resolver.js.map +1 -0
  139. package/dist/plugins/specweave-ado/lib/ado-client-v2.d.ts +134 -0
  140. package/dist/plugins/specweave-ado/lib/ado-client-v2.d.ts.map +1 -0
  141. package/dist/plugins/specweave-ado/lib/ado-client-v2.js +478 -0
  142. package/dist/plugins/specweave-ado/lib/ado-client-v2.js.map +1 -0
  143. package/dist/plugins/specweave-ado/lib/ado-client.d.ts +112 -0
  144. package/dist/plugins/specweave-ado/lib/ado-client.d.ts.map +1 -0
  145. package/dist/plugins/specweave-ado/lib/ado-client.js +272 -0
  146. package/dist/plugins/specweave-ado/lib/ado-client.js.map +1 -0
  147. package/dist/plugins/specweave-ado/lib/ado-hierarchical-sync.d.ts +40 -0
  148. package/dist/plugins/specweave-ado/lib/ado-hierarchical-sync.d.ts.map +1 -0
  149. package/dist/plugins/specweave-ado/lib/ado-hierarchical-sync.js +370 -0
  150. package/dist/plugins/specweave-ado/lib/ado-hierarchical-sync.js.map +1 -0
  151. package/dist/plugins/specweave-ado/lib/ado-multi-project-sync.d.ts +149 -0
  152. package/dist/plugins/specweave-ado/lib/ado-multi-project-sync.d.ts.map +1 -0
  153. package/dist/plugins/specweave-ado/lib/ado-multi-project-sync.js +517 -0
  154. package/dist/plugins/specweave-ado/lib/ado-multi-project-sync.js.map +1 -0
  155. package/dist/plugins/specweave-ado/lib/ado-project-detector.d.ts +72 -0
  156. package/dist/plugins/specweave-ado/lib/ado-project-detector.d.ts.map +1 -0
  157. package/dist/plugins/specweave-ado/lib/ado-project-detector.js +416 -0
  158. package/dist/plugins/specweave-ado/lib/ado-project-detector.js.map +1 -0
  159. package/dist/plugins/specweave-ado/lib/ado-spec-commit-sync.d.ts +38 -0
  160. package/dist/plugins/specweave-ado/lib/ado-spec-commit-sync.d.ts.map +1 -0
  161. package/dist/plugins/specweave-ado/lib/ado-spec-commit-sync.js +210 -0
  162. package/dist/plugins/specweave-ado/lib/ado-spec-commit-sync.js.map +1 -0
  163. package/dist/plugins/specweave-ado/lib/ado-spec-content-sync.d.ts +28 -0
  164. package/dist/plugins/specweave-ado/lib/ado-spec-content-sync.d.ts.map +1 -0
  165. package/dist/plugins/specweave-ado/lib/ado-spec-content-sync.js +241 -0
  166. package/dist/plugins/specweave-ado/lib/ado-spec-content-sync.js.map +1 -0
  167. package/dist/plugins/specweave-ado/lib/ado-spec-sync.d.ts +100 -0
  168. package/dist/plugins/specweave-ado/lib/ado-spec-sync.d.ts.map +1 -0
  169. package/dist/plugins/specweave-ado/lib/ado-spec-sync.js +471 -0
  170. package/dist/plugins/specweave-ado/lib/ado-spec-sync.js.map +1 -0
  171. package/dist/plugins/specweave-ado/lib/conflict-resolver.d.ts +99 -0
  172. package/dist/plugins/specweave-ado/lib/conflict-resolver.d.ts.map +1 -0
  173. package/dist/plugins/specweave-ado/lib/conflict-resolver.js +331 -0
  174. package/dist/plugins/specweave-ado/lib/conflict-resolver.js.map +1 -0
  175. package/dist/plugins/specweave-ado/lib/project-selector.d.ts +42 -0
  176. package/dist/plugins/specweave-ado/lib/project-selector.d.ts.map +1 -0
  177. package/dist/plugins/specweave-ado/lib/project-selector.js +211 -0
  178. package/dist/plugins/specweave-ado/lib/project-selector.js.map +1 -0
  179. package/dist/plugins/specweave-github/lib/cli-sync-increment-changes.d.ts +12 -0
  180. package/dist/plugins/specweave-github/lib/cli-sync-increment-changes.d.ts.map +1 -0
  181. package/dist/plugins/specweave-github/lib/cli-sync-increment-changes.js +28 -0
  182. package/dist/plugins/specweave-github/lib/cli-sync-increment-changes.js.map +1 -0
  183. package/dist/plugins/specweave-github/lib/github-board-resolver.d.ts +54 -0
  184. package/dist/plugins/specweave-github/lib/github-board-resolver.d.ts.map +1 -0
  185. package/dist/plugins/specweave-github/lib/github-board-resolver.js +122 -0
  186. package/dist/plugins/specweave-github/lib/github-board-resolver.js.map +1 -0
  187. package/dist/plugins/specweave-github/lib/github-client-v2.d.ts +104 -0
  188. package/dist/plugins/specweave-github/lib/github-client-v2.d.ts.map +1 -0
  189. package/dist/plugins/specweave-github/lib/github-client-v2.js +408 -0
  190. package/dist/plugins/specweave-github/lib/github-client-v2.js.map +1 -0
  191. package/dist/plugins/specweave-github/lib/github-client.d.ts +96 -0
  192. package/dist/plugins/specweave-github/lib/github-client.d.ts.map +1 -0
  193. package/dist/plugins/specweave-github/lib/github-client.js +299 -0
  194. package/dist/plugins/specweave-github/lib/github-client.js.map +1 -0
  195. package/dist/plugins/specweave-github/lib/github-hierarchical-sync.d.ts +29 -0
  196. package/dist/plugins/specweave-github/lib/github-hierarchical-sync.d.ts.map +1 -0
  197. package/dist/plugins/specweave-github/lib/github-hierarchical-sync.js +268 -0
  198. package/dist/plugins/specweave-github/lib/github-hierarchical-sync.js.map +1 -0
  199. package/dist/plugins/specweave-github/lib/github-issue-updater.d.ts +61 -0
  200. package/dist/plugins/specweave-github/lib/github-issue-updater.d.ts.map +1 -0
  201. package/dist/plugins/specweave-github/lib/github-issue-updater.js +327 -0
  202. package/dist/plugins/specweave-github/lib/github-issue-updater.js.map +1 -0
  203. package/dist/plugins/specweave-github/lib/github-multi-project-sync.d.ts +126 -0
  204. package/dist/plugins/specweave-github/lib/github-multi-project-sync.d.ts.map +1 -0
  205. package/dist/plugins/specweave-github/lib/github-multi-project-sync.js +420 -0
  206. package/dist/plugins/specweave-github/lib/github-multi-project-sync.js.map +1 -0
  207. package/dist/plugins/specweave-github/lib/github-spec-commit-sync.d.ts +37 -0
  208. package/dist/plugins/specweave-github/lib/github-spec-commit-sync.d.ts.map +1 -0
  209. package/dist/plugins/specweave-github/lib/github-spec-commit-sync.js +209 -0
  210. package/dist/plugins/specweave-github/lib/github-spec-commit-sync.js.map +1 -0
  211. package/dist/plugins/specweave-github/lib/github-spec-content-sync.d.ts +28 -0
  212. package/dist/plugins/specweave-github/lib/github-spec-content-sync.d.ts.map +1 -0
  213. package/dist/plugins/specweave-github/lib/github-spec-content-sync.js +195 -0
  214. package/dist/plugins/specweave-github/lib/github-spec-content-sync.js.map +1 -0
  215. package/dist/plugins/specweave-github/lib/github-spec-sync.d.ts +108 -0
  216. package/dist/plugins/specweave-github/lib/github-spec-sync.d.ts.map +1 -0
  217. package/dist/plugins/specweave-github/lib/github-spec-sync.js +505 -0
  218. package/dist/plugins/specweave-github/lib/github-spec-sync.js.map +1 -0
  219. package/dist/plugins/specweave-github/lib/github-sync-bidirectional.d.ts +36 -0
  220. package/dist/plugins/specweave-github/lib/github-sync-bidirectional.d.ts.map +1 -0
  221. package/dist/plugins/specweave-github/lib/github-sync-bidirectional.js +228 -0
  222. package/dist/plugins/specweave-github/lib/github-sync-bidirectional.js.map +1 -0
  223. package/dist/plugins/specweave-github/lib/github-sync-increment-changes.d.ts +18 -0
  224. package/dist/plugins/specweave-github/lib/github-sync-increment-changes.d.ts.map +1 -0
  225. package/dist/plugins/specweave-github/lib/github-sync-increment-changes.js +287 -0
  226. package/dist/plugins/specweave-github/lib/github-sync-increment-changes.js.map +1 -0
  227. package/dist/plugins/specweave-github/lib/index.d.ts +10 -0
  228. package/dist/plugins/specweave-github/lib/index.d.ts.map +1 -0
  229. package/dist/plugins/specweave-github/lib/index.js +10 -0
  230. package/dist/plugins/specweave-github/lib/index.js.map +1 -0
  231. package/dist/plugins/specweave-github/lib/repo-selector.d.ts +49 -0
  232. package/dist/plugins/specweave-github/lib/repo-selector.d.ts.map +1 -0
  233. package/dist/plugins/specweave-github/lib/repo-selector.js +216 -0
  234. package/dist/plugins/specweave-github/lib/repo-selector.js.map +1 -0
  235. package/dist/plugins/specweave-github/lib/subtask-sync.d.ts +51 -0
  236. package/dist/plugins/specweave-github/lib/subtask-sync.d.ts.map +1 -0
  237. package/dist/plugins/specweave-github/lib/subtask-sync.js +147 -0
  238. package/dist/plugins/specweave-github/lib/subtask-sync.js.map +1 -0
  239. package/dist/plugins/specweave-github/lib/task-parser.d.ts +37 -0
  240. package/dist/plugins/specweave-github/lib/task-parser.d.ts.map +1 -0
  241. package/dist/plugins/specweave-github/lib/task-parser.js +211 -0
  242. package/dist/plugins/specweave-github/lib/task-parser.js.map +1 -0
  243. package/dist/plugins/specweave-github/lib/task-sync.d.ts +51 -0
  244. package/dist/plugins/specweave-github/lib/task-sync.d.ts.map +1 -0
  245. package/dist/plugins/specweave-github/lib/task-sync.js +332 -0
  246. package/dist/plugins/specweave-github/lib/task-sync.js.map +1 -0
  247. package/dist/plugins/specweave-github/lib/types.d.ts +80 -0
  248. package/dist/plugins/specweave-github/lib/types.d.ts.map +1 -0
  249. package/dist/plugins/specweave-github/lib/types.js +5 -0
  250. package/dist/plugins/specweave-github/lib/types.js.map +1 -0
  251. package/dist/plugins/specweave-jira/lib/jira-board-resolver.d.ts +50 -0
  252. package/dist/plugins/specweave-jira/lib/jira-board-resolver.d.ts.map +1 -0
  253. package/dist/plugins/specweave-jira/lib/jira-board-resolver.js +84 -0
  254. package/dist/plugins/specweave-jira/lib/jira-board-resolver.js.map +1 -0
  255. package/dist/plugins/specweave-jira/lib/jira-hierarchical-sync.d.ts +33 -0
  256. package/dist/plugins/specweave-jira/lib/jira-hierarchical-sync.d.ts.map +1 -0
  257. package/dist/plugins/specweave-jira/lib/jira-hierarchical-sync.js +206 -0
  258. package/dist/plugins/specweave-jira/lib/jira-hierarchical-sync.js.map +1 -0
  259. package/dist/plugins/specweave-jira/lib/jira-multi-project-sync.d.ts +95 -0
  260. package/dist/plugins/specweave-jira/lib/jira-multi-project-sync.d.ts.map +1 -0
  261. package/dist/plugins/specweave-jira/lib/jira-multi-project-sync.js +301 -0
  262. package/dist/plugins/specweave-jira/lib/jira-multi-project-sync.js.map +1 -0
  263. package/dist/plugins/specweave-jira/lib/jira-spec-commit-sync.d.ts +43 -0
  264. package/dist/plugins/specweave-jira/lib/jira-spec-commit-sync.d.ts.map +1 -0
  265. package/dist/plugins/specweave-jira/lib/jira-spec-commit-sync.js +282 -0
  266. package/dist/plugins/specweave-jira/lib/jira-spec-commit-sync.js.map +1 -0
  267. package/dist/plugins/specweave-jira/lib/jira-spec-content-sync.d.ts +33 -0
  268. package/dist/plugins/specweave-jira/lib/jira-spec-content-sync.d.ts.map +1 -0
  269. package/dist/plugins/specweave-jira/lib/jira-spec-content-sync.js +294 -0
  270. package/dist/plugins/specweave-jira/lib/jira-spec-content-sync.js.map +1 -0
  271. package/dist/plugins/specweave-jira/lib/jira-spec-sync.d.ts +105 -0
  272. package/dist/plugins/specweave-jira/lib/jira-spec-sync.d.ts.map +1 -0
  273. package/dist/plugins/specweave-jira/lib/jira-spec-sync.js +456 -0
  274. package/dist/plugins/specweave-jira/lib/jira-spec-sync.js.map +1 -0
  275. package/dist/plugins/specweave-jira/lib/project-selector.d.ts +42 -0
  276. package/dist/plugins/specweave-jira/lib/project-selector.d.ts.map +1 -0
  277. package/dist/plugins/specweave-jira/lib/project-selector.js +216 -0
  278. package/dist/plugins/specweave-jira/lib/project-selector.js.map +1 -0
  279. package/dist/plugins/specweave-jira/lib/reorganization-detector.d.ts +67 -0
  280. package/dist/plugins/specweave-jira/lib/reorganization-detector.d.ts.map +1 -0
  281. package/dist/plugins/specweave-jira/lib/reorganization-detector.js +252 -0
  282. package/dist/plugins/specweave-jira/lib/reorganization-detector.js.map +1 -0
  283. package/dist/plugins/specweave-jira/lib/setup-wizard.d.ts +29 -0
  284. package/dist/plugins/specweave-jira/lib/setup-wizard.d.ts.map +1 -0
  285. package/dist/plugins/specweave-jira/lib/setup-wizard.js +219 -0
  286. package/dist/plugins/specweave-jira/lib/setup-wizard.js.map +1 -0
  287. package/dist/plugins/specweave-release/lib/dashboard-generator.d.ts +23 -0
  288. package/dist/plugins/specweave-release/lib/dashboard-generator.d.ts.map +1 -0
  289. package/dist/plugins/specweave-release/lib/dashboard-generator.js +258 -0
  290. package/dist/plugins/specweave-release/lib/dashboard-generator.js.map +1 -0
  291. package/dist/plugins/specweave-release/lib/dora-tracker.d.ts +82 -0
  292. package/dist/plugins/specweave-release/lib/dora-tracker.d.ts.map +1 -0
  293. package/dist/plugins/specweave-release/lib/dora-tracker.js +279 -0
  294. package/dist/plugins/specweave-release/lib/dora-tracker.js.map +1 -0
  295. package/dist/project-mapper.js +272 -0
  296. package/dist/scripts/split-spec-by-project.js +105 -0
  297. package/dist/spec-splitter.js +283 -0
  298. package/dist/src/adapters/adapter-base.d.ts +71 -0
  299. package/dist/src/adapters/adapter-base.d.ts.map +1 -0
  300. package/dist/src/adapters/adapter-base.js +139 -0
  301. package/dist/src/adapters/adapter-base.js.map +1 -0
  302. package/dist/src/adapters/adapter-interface.d.ts +149 -0
  303. package/dist/src/adapters/adapter-interface.d.ts.map +1 -0
  304. package/dist/src/adapters/adapter-interface.js +8 -0
  305. package/dist/src/adapters/adapter-interface.js.map +1 -0
  306. package/dist/src/adapters/adapter-loader.d.ts +91 -0
  307. package/dist/src/adapters/adapter-loader.d.ts.map +1 -0
  308. package/dist/src/adapters/adapter-loader.js +238 -0
  309. package/dist/src/adapters/adapter-loader.js.map +1 -0
  310. package/dist/src/adapters/agents-md-generator.d.ts +48 -0
  311. package/dist/src/adapters/agents-md-generator.d.ts.map +1 -0
  312. package/dist/src/adapters/agents-md-generator.js +193 -0
  313. package/dist/src/adapters/agents-md-generator.js.map +1 -0
  314. package/dist/src/adapters/claude/adapter.d.ts +128 -0
  315. package/dist/src/adapters/claude/adapter.d.ts.map +1 -0
  316. package/dist/src/adapters/claude/adapter.js +415 -0
  317. package/dist/src/adapters/claude/adapter.js.map +1 -0
  318. package/dist/src/adapters/claude-md-generator.d.ts +78 -0
  319. package/dist/src/adapters/claude-md-generator.d.ts.map +1 -0
  320. package/dist/src/adapters/claude-md-generator.js +307 -0
  321. package/dist/src/adapters/claude-md-generator.js.map +1 -0
  322. package/dist/src/adapters/codex/adapter.d.ts +50 -0
  323. package/dist/src/adapters/codex/adapter.d.ts.map +1 -0
  324. package/dist/src/adapters/codex/adapter.js +316 -0
  325. package/dist/src/adapters/codex/adapter.js.map +1 -0
  326. package/dist/src/adapters/cursor/adapter.d.ts +98 -0
  327. package/dist/src/adapters/cursor/adapter.d.ts.map +1 -0
  328. package/dist/src/adapters/cursor/adapter.js +406 -0
  329. package/dist/src/adapters/cursor/adapter.js.map +1 -0
  330. package/dist/src/adapters/doc-generator.d.ts +69 -0
  331. package/dist/src/adapters/doc-generator.d.ts.map +1 -0
  332. package/dist/src/adapters/doc-generator.js +247 -0
  333. package/dist/src/adapters/doc-generator.js.map +1 -0
  334. package/dist/src/adapters/gemini/adapter.d.ts +50 -0
  335. package/dist/src/adapters/gemini/adapter.d.ts.map +1 -0
  336. package/dist/src/adapters/gemini/adapter.js +281 -0
  337. package/dist/src/adapters/gemini/adapter.js.map +1 -0
  338. package/dist/src/adapters/generic/adapter.d.ts +86 -0
  339. package/dist/src/adapters/generic/adapter.d.ts.map +1 -0
  340. package/dist/src/adapters/generic/adapter.js +338 -0
  341. package/dist/src/adapters/generic/adapter.js.map +1 -0
  342. package/dist/src/cli/commands/abandon.d.ts +13 -0
  343. package/dist/src/cli/commands/abandon.d.ts.map +1 -0
  344. package/dist/src/cli/commands/abandon.js +15 -0
  345. package/dist/src/cli/commands/abandon.js.map +1 -0
  346. package/dist/src/cli/commands/check-discipline.d.ts +16 -0
  347. package/dist/src/cli/commands/check-discipline.d.ts.map +1 -0
  348. package/dist/src/cli/commands/check-discipline.js +79 -0
  349. package/dist/src/cli/commands/check-discipline.js.map +1 -0
  350. package/dist/src/cli/commands/import-docs.d.ts +21 -0
  351. package/dist/src/cli/commands/import-docs.d.ts.map +1 -0
  352. package/dist/src/cli/commands/import-docs.js +146 -0
  353. package/dist/src/cli/commands/import-docs.js.map +1 -0
  354. package/dist/src/cli/commands/init-multiproject.d.ts +11 -0
  355. package/dist/src/cli/commands/init-multiproject.d.ts.map +1 -0
  356. package/dist/src/cli/commands/init-multiproject.js +202 -0
  357. package/dist/src/cli/commands/init-multiproject.js.map +1 -0
  358. package/dist/src/cli/commands/init.d.ts +10 -0
  359. package/dist/src/cli/commands/init.d.ts.map +1 -0
  360. package/dist/src/cli/commands/init.js +1328 -0
  361. package/dist/src/cli/commands/init.js.map +1 -0
  362. package/dist/src/cli/commands/install.d.ts +9 -0
  363. package/dist/src/cli/commands/install.d.ts.map +1 -0
  364. package/dist/src/cli/commands/install.js +127 -0
  365. package/dist/src/cli/commands/install.js.map +1 -0
  366. package/dist/src/cli/commands/list.d.ts +8 -0
  367. package/dist/src/cli/commands/list.d.ts.map +1 -0
  368. package/dist/src/cli/commands/list.js +119 -0
  369. package/dist/src/cli/commands/list.js.map +1 -0
  370. package/dist/src/cli/commands/migrate-to-multiproject.d.ts +37 -0
  371. package/dist/src/cli/commands/migrate-to-multiproject.d.ts.map +1 -0
  372. package/dist/src/cli/commands/migrate-to-multiproject.js +189 -0
  373. package/dist/src/cli/commands/migrate-to-multiproject.js.map +1 -0
  374. package/dist/src/cli/commands/migrate-to-profiles.d.ts +25 -0
  375. package/dist/src/cli/commands/migrate-to-profiles.d.ts.map +1 -0
  376. package/dist/src/cli/commands/migrate-to-profiles.js +348 -0
  377. package/dist/src/cli/commands/migrate-to-profiles.js.map +1 -0
  378. package/dist/src/cli/commands/pause.d.ts +13 -0
  379. package/dist/src/cli/commands/pause.d.ts.map +1 -0
  380. package/dist/src/cli/commands/pause.js +15 -0
  381. package/dist/src/cli/commands/pause.js.map +1 -0
  382. package/dist/src/cli/commands/qa.d.ts +54 -0
  383. package/dist/src/cli/commands/qa.d.ts.map +1 -0
  384. package/dist/src/cli/commands/qa.js +98 -0
  385. package/dist/src/cli/commands/qa.js.map +1 -0
  386. package/dist/src/cli/commands/resume.d.ts +12 -0
  387. package/dist/src/cli/commands/resume.d.ts.map +1 -0
  388. package/dist/src/cli/commands/resume.js +14 -0
  389. package/dist/src/cli/commands/resume.js.map +1 -0
  390. package/dist/src/cli/commands/status-line.d.ts +14 -0
  391. package/dist/src/cli/commands/status-line.d.ts.map +1 -0
  392. package/dist/src/cli/commands/status-line.js +75 -0
  393. package/dist/src/cli/commands/status-line.js.map +1 -0
  394. package/dist/src/cli/commands/status.d.ts +12 -0
  395. package/dist/src/cli/commands/status.d.ts.map +1 -0
  396. package/dist/src/cli/commands/status.js +23 -0
  397. package/dist/src/cli/commands/status.js.map +1 -0
  398. package/dist/src/cli/commands/switch-project.d.ts +13 -0
  399. package/dist/src/cli/commands/switch-project.d.ts.map +1 -0
  400. package/dist/src/cli/commands/switch-project.js +91 -0
  401. package/dist/src/cli/commands/switch-project.js.map +1 -0
  402. package/dist/src/cli/commands/sync-spec-commits.d.ts +9 -0
  403. package/dist/src/cli/commands/sync-spec-commits.d.ts.map +1 -0
  404. package/dist/src/cli/commands/sync-spec-commits.js +186 -0
  405. package/dist/src/cli/commands/sync-spec-commits.js.map +1 -0
  406. package/dist/src/cli/commands/sync-spec-content.d.ts +13 -0
  407. package/dist/src/cli/commands/sync-spec-content.d.ts.map +1 -0
  408. package/dist/src/cli/commands/sync-spec-content.js +223 -0
  409. package/dist/src/cli/commands/sync-spec-content.js.map +1 -0
  410. package/dist/src/cli/commands/validate-jira.d.ts +35 -0
  411. package/dist/src/cli/commands/validate-jira.d.ts.map +1 -0
  412. package/dist/src/cli/commands/validate-jira.js +112 -0
  413. package/dist/src/cli/commands/validate-jira.js.map +1 -0
  414. package/dist/src/cli/commands/validate-plugins.d.ts +41 -0
  415. package/dist/src/cli/commands/validate-plugins.d.ts.map +1 -0
  416. package/dist/src/cli/commands/validate-plugins.js +171 -0
  417. package/dist/src/cli/commands/validate-plugins.js.map +1 -0
  418. package/dist/src/cli/helpers/github/increment-profile-selector.d.ts +47 -0
  419. package/dist/src/cli/helpers/github/increment-profile-selector.d.ts.map +1 -0
  420. package/dist/src/cli/helpers/github/increment-profile-selector.js +186 -0
  421. package/dist/src/cli/helpers/github/increment-profile-selector.js.map +1 -0
  422. package/dist/src/cli/helpers/github/profile-manager.d.ts +119 -0
  423. package/dist/src/cli/helpers/github/profile-manager.d.ts.map +1 -0
  424. package/dist/src/cli/helpers/github/profile-manager.js +311 -0
  425. package/dist/src/cli/helpers/github/profile-manager.js.map +1 -0
  426. package/dist/src/cli/helpers/issue-tracker/ado.d.ts +57 -0
  427. package/dist/src/cli/helpers/issue-tracker/ado.d.ts.map +1 -0
  428. package/dist/src/cli/helpers/issue-tracker/ado.js +243 -0
  429. package/dist/src/cli/helpers/issue-tracker/ado.js.map +1 -0
  430. package/dist/src/cli/helpers/issue-tracker/github-multi-repo.d.ts +86 -0
  431. package/dist/src/cli/helpers/issue-tracker/github-multi-repo.d.ts.map +1 -0
  432. package/dist/src/cli/helpers/issue-tracker/github-multi-repo.js +417 -0
  433. package/dist/src/cli/helpers/issue-tracker/github-multi-repo.js.map +1 -0
  434. package/dist/src/cli/helpers/issue-tracker/github.d.ts +80 -0
  435. package/dist/src/cli/helpers/issue-tracker/github.d.ts.map +1 -0
  436. package/dist/src/cli/helpers/issue-tracker/github.js +324 -0
  437. package/dist/src/cli/helpers/issue-tracker/github.js.map +1 -0
  438. package/dist/src/cli/helpers/issue-tracker/index.d.ts +22 -0
  439. package/dist/src/cli/helpers/issue-tracker/index.d.ts.map +1 -0
  440. package/dist/src/cli/helpers/issue-tracker/index.js +575 -0
  441. package/dist/src/cli/helpers/issue-tracker/index.js.map +1 -0
  442. package/dist/src/cli/helpers/issue-tracker/jira.d.ts +61 -0
  443. package/dist/src/cli/helpers/issue-tracker/jira.d.ts.map +1 -0
  444. package/dist/src/cli/helpers/issue-tracker/jira.js +404 -0
  445. package/dist/src/cli/helpers/issue-tracker/jira.js.map +1 -0
  446. package/dist/src/cli/helpers/issue-tracker/types.d.ts +108 -0
  447. package/dist/src/cli/helpers/issue-tracker/types.d.ts.map +1 -0
  448. package/dist/src/cli/helpers/issue-tracker/types.js +16 -0
  449. package/dist/src/cli/helpers/issue-tracker/types.js.map +1 -0
  450. package/dist/src/cli/helpers/issue-tracker/utils.d.ts +120 -0
  451. package/dist/src/cli/helpers/issue-tracker/utils.d.ts.map +1 -0
  452. package/dist/src/cli/helpers/issue-tracker/utils.js +293 -0
  453. package/dist/src/cli/helpers/issue-tracker/utils.js.map +1 -0
  454. package/dist/src/core/agent-model-manager.d.ts +52 -0
  455. package/dist/src/core/agent-model-manager.d.ts.map +1 -0
  456. package/dist/src/core/agent-model-manager.js +120 -0
  457. package/dist/src/core/agent-model-manager.js.map +1 -0
  458. package/dist/src/core/brownfield/analyzer.d.ts +86 -0
  459. package/dist/src/core/brownfield/analyzer.d.ts.map +1 -0
  460. package/dist/src/core/brownfield/analyzer.js +365 -0
  461. package/dist/src/core/brownfield/analyzer.js.map +1 -0
  462. package/dist/src/core/brownfield/importer.d.ts +76 -0
  463. package/dist/src/core/brownfield/importer.d.ts.map +1 -0
  464. package/dist/src/core/brownfield/importer.js +287 -0
  465. package/dist/src/core/brownfield/importer.js.map +1 -0
  466. package/dist/src/core/comment-builder.d.ts +57 -0
  467. package/dist/src/core/comment-builder.d.ts.map +1 -0
  468. package/dist/src/core/comment-builder.js +239 -0
  469. package/dist/src/core/comment-builder.js.map +1 -0
  470. package/dist/src/core/config-manager.d.ts +47 -0
  471. package/dist/src/core/config-manager.d.ts.map +1 -0
  472. package/dist/src/core/config-manager.js +136 -0
  473. package/dist/src/core/config-manager.js.map +1 -0
  474. package/dist/src/core/cost-tracker.d.ts +108 -0
  475. package/dist/src/core/cost-tracker.d.ts.map +1 -0
  476. package/dist/src/core/cost-tracker.js +281 -0
  477. package/dist/src/core/cost-tracker.js.map +1 -0
  478. package/dist/src/core/credentials-manager.d.ts +107 -0
  479. package/dist/src/core/credentials-manager.d.ts.map +1 -0
  480. package/dist/src/core/credentials-manager.js +457 -0
  481. package/dist/src/core/credentials-manager.js.map +1 -0
  482. package/dist/src/core/i18n/language-detector.d.ts +29 -0
  483. package/dist/src/core/i18n/language-detector.d.ts.map +1 -0
  484. package/dist/src/core/i18n/language-detector.js +143 -0
  485. package/dist/src/core/i18n/language-detector.js.map +1 -0
  486. package/dist/src/core/i18n/language-manager.d.ts +101 -0
  487. package/dist/src/core/i18n/language-manager.d.ts.map +1 -0
  488. package/dist/src/core/i18n/language-manager.js +232 -0
  489. package/dist/src/core/i18n/language-manager.js.map +1 -0
  490. package/dist/src/core/i18n/language-registry.d.ts +44 -0
  491. package/dist/src/core/i18n/language-registry.d.ts.map +1 -0
  492. package/dist/src/core/i18n/language-registry.js +234 -0
  493. package/dist/src/core/i18n/language-registry.js.map +1 -0
  494. package/dist/src/core/i18n/locale-manager.d.ts +62 -0
  495. package/dist/src/core/i18n/locale-manager.d.ts.map +1 -0
  496. package/dist/src/core/i18n/locale-manager.js +137 -0
  497. package/dist/src/core/i18n/locale-manager.js.map +1 -0
  498. package/dist/src/core/i18n/system-prompt-injector.d.ts +33 -0
  499. package/dist/src/core/i18n/system-prompt-injector.d.ts.map +1 -0
  500. package/dist/src/core/i18n/system-prompt-injector.js +131 -0
  501. package/dist/src/core/i18n/system-prompt-injector.js.map +1 -0
  502. package/dist/src/core/i18n/types.d.ts +151 -0
  503. package/dist/src/core/i18n/types.d.ts.map +1 -0
  504. package/dist/src/core/i18n/types.js +11 -0
  505. package/dist/src/core/i18n/types.js.map +1 -0
  506. package/dist/src/core/increment/active-increment-manager.d.ts +79 -0
  507. package/dist/src/core/increment/active-increment-manager.d.ts.map +1 -0
  508. package/dist/src/core/increment/active-increment-manager.js +153 -0
  509. package/dist/src/core/increment/active-increment-manager.js.map +1 -0
  510. package/dist/src/core/increment/discipline-checker.d.ts +60 -0
  511. package/dist/src/core/increment/discipline-checker.d.ts.map +1 -0
  512. package/dist/src/core/increment/discipline-checker.js +274 -0
  513. package/dist/src/core/increment/discipline-checker.js.map +1 -0
  514. package/dist/src/core/increment/limits.d.ts +68 -0
  515. package/dist/src/core/increment/limits.d.ts.map +1 -0
  516. package/dist/src/core/increment/limits.js +224 -0
  517. package/dist/src/core/increment/limits.js.map +1 -0
  518. package/dist/src/core/increment/metadata-manager.d.ts +116 -0
  519. package/dist/src/core/increment/metadata-manager.d.ts.map +1 -0
  520. package/dist/src/core/increment/metadata-manager.js +335 -0
  521. package/dist/src/core/increment/metadata-manager.js.map +1 -0
  522. package/dist/src/core/increment/metadata-validator.d.ts +33 -0
  523. package/dist/src/core/increment/metadata-validator.d.ts.map +1 -0
  524. package/dist/src/core/increment/metadata-validator.js +147 -0
  525. package/dist/src/core/increment/metadata-validator.js.map +1 -0
  526. package/dist/src/core/increment/status-commands.d.ts +43 -0
  527. package/dist/src/core/increment/status-commands.d.ts.map +1 -0
  528. package/dist/src/core/increment/status-commands.js +277 -0
  529. package/dist/src/core/increment/status-commands.js.map +1 -0
  530. package/dist/src/core/increment/types.d.ts +88 -0
  531. package/dist/src/core/increment/types.d.ts.map +1 -0
  532. package/dist/src/core/increment/types.js +8 -0
  533. package/dist/src/core/increment/types.js.map +1 -0
  534. package/dist/src/core/increment-status.d.ts +72 -0
  535. package/dist/src/core/increment-status.d.ts.map +1 -0
  536. package/dist/src/core/increment-status.js +227 -0
  537. package/dist/src/core/increment-status.js.map +1 -0
  538. package/dist/src/core/model-selector.d.ts +57 -0
  539. package/dist/src/core/model-selector.d.ts.map +1 -0
  540. package/dist/src/core/model-selector.js +115 -0
  541. package/dist/src/core/model-selector.js.map +1 -0
  542. package/dist/src/core/phase-detector.d.ts +62 -0
  543. package/dist/src/core/phase-detector.d.ts.map +1 -0
  544. package/dist/src/core/phase-detector.js +229 -0
  545. package/dist/src/core/phase-detector.js.map +1 -0
  546. package/dist/src/core/plugin-loader.d.ts +131 -0
  547. package/dist/src/core/plugin-loader.d.ts.map +1 -0
  548. package/dist/src/core/plugin-loader.js +421 -0
  549. package/dist/src/core/plugin-loader.js.map +1 -0
  550. package/dist/src/core/project-manager.d.ts +122 -0
  551. package/dist/src/core/project-manager.d.ts.map +1 -0
  552. package/dist/src/core/project-manager.js +539 -0
  553. package/dist/src/core/project-manager.js.map +1 -0
  554. package/dist/src/core/project-structure-detector.d.ts +92 -0
  555. package/dist/src/core/project-structure-detector.d.ts.map +1 -0
  556. package/dist/src/core/project-structure-detector.js +289 -0
  557. package/dist/src/core/project-structure-detector.js.map +1 -0
  558. package/dist/src/core/qa/qa-runner.d.ts +16 -0
  559. package/dist/src/core/qa/qa-runner.d.ts.map +1 -0
  560. package/dist/src/core/qa/qa-runner.js +422 -0
  561. package/dist/src/core/qa/qa-runner.js.map +1 -0
  562. package/dist/src/core/qa/quality-gate-decider.d.ts +53 -0
  563. package/dist/src/core/qa/quality-gate-decider.d.ts.map +1 -0
  564. package/dist/src/core/qa/quality-gate-decider.js +268 -0
  565. package/dist/src/core/qa/quality-gate-decider.js.map +1 -0
  566. package/dist/src/core/qa/risk-calculator.d.ts +126 -0
  567. package/dist/src/core/qa/risk-calculator.d.ts.map +1 -0
  568. package/dist/src/core/qa/risk-calculator.js +247 -0
  569. package/dist/src/core/qa/risk-calculator.js.map +1 -0
  570. package/dist/src/core/qa/types.d.ts +315 -0
  571. package/dist/src/core/qa/types.d.ts.map +1 -0
  572. package/dist/src/core/qa/types.js +8 -0
  573. package/dist/src/core/qa/types.js.map +1 -0
  574. package/dist/src/core/repo-structure/github-validator.d.ts +75 -0
  575. package/dist/src/core/repo-structure/github-validator.d.ts.map +1 -0
  576. package/dist/src/core/repo-structure/github-validator.js +166 -0
  577. package/dist/src/core/repo-structure/github-validator.js.map +1 -0
  578. package/dist/src/core/repo-structure/prompt-consolidator.d.ts +70 -0
  579. package/dist/src/core/repo-structure/prompt-consolidator.d.ts.map +1 -0
  580. package/dist/src/core/repo-structure/prompt-consolidator.js +180 -0
  581. package/dist/src/core/repo-structure/prompt-consolidator.js.map +1 -0
  582. package/dist/src/core/repo-structure/repo-id-generator.d.ts +79 -0
  583. package/dist/src/core/repo-structure/repo-id-generator.d.ts.map +1 -0
  584. package/dist/src/core/repo-structure/repo-id-generator.js +135 -0
  585. package/dist/src/core/repo-structure/repo-id-generator.js.map +1 -0
  586. package/dist/src/core/repo-structure/repo-structure-manager.d.ts +105 -0
  587. package/dist/src/core/repo-structure/repo-structure-manager.d.ts.map +1 -0
  588. package/dist/src/core/repo-structure/repo-structure-manager.js +878 -0
  589. package/dist/src/core/repo-structure/repo-structure-manager.js.map +1 -0
  590. package/dist/src/core/repo-structure/setup-state-manager.d.ts +125 -0
  591. package/dist/src/core/repo-structure/setup-state-manager.d.ts.map +1 -0
  592. package/dist/src/core/repo-structure/setup-state-manager.js +233 -0
  593. package/dist/src/core/repo-structure/setup-state-manager.js.map +1 -0
  594. package/dist/src/core/repo-structure/setup-summary.d.ts +36 -0
  595. package/dist/src/core/repo-structure/setup-summary.d.ts.map +1 -0
  596. package/dist/src/core/repo-structure/setup-summary.js +190 -0
  597. package/dist/src/core/repo-structure/setup-summary.js.map +1 -0
  598. package/dist/src/core/rfc-generator-v2.d.ts +149 -0
  599. package/dist/src/core/rfc-generator-v2.d.ts.map +1 -0
  600. package/dist/src/core/rfc-generator-v2.js +399 -0
  601. package/dist/src/core/rfc-generator-v2.js.map +1 -0
  602. package/dist/src/core/spec-content-sync.d.ts +78 -0
  603. package/dist/src/core/spec-content-sync.d.ts.map +1 -0
  604. package/dist/src/core/spec-content-sync.js +222 -0
  605. package/dist/src/core/spec-content-sync.js.map +1 -0
  606. package/dist/src/core/spec-task-mapper.d.ts +71 -0
  607. package/dist/src/core/spec-task-mapper.d.ts.map +1 -0
  608. package/dist/src/core/spec-task-mapper.js +208 -0
  609. package/dist/src/core/spec-task-mapper.js.map +1 -0
  610. package/dist/src/core/specs/spec-metadata-manager.d.ts +72 -0
  611. package/dist/src/core/specs/spec-metadata-manager.d.ts.map +1 -0
  612. package/dist/src/core/specs/spec-metadata-manager.js +364 -0
  613. package/dist/src/core/specs/spec-metadata-manager.js.map +1 -0
  614. package/dist/src/core/specs/spec-parser.d.ts +66 -0
  615. package/dist/src/core/specs/spec-parser.d.ts.map +1 -0
  616. package/dist/src/core/specs/spec-parser.js +276 -0
  617. package/dist/src/core/specs/spec-parser.js.map +1 -0
  618. package/dist/src/core/status-line/status-line-manager.d.ts +62 -0
  619. package/dist/src/core/status-line/status-line-manager.d.ts.map +1 -0
  620. package/dist/src/core/status-line/status-line-manager.js +169 -0
  621. package/dist/src/core/status-line/status-line-manager.js.map +1 -0
  622. package/dist/src/core/status-line/types.d.ts +50 -0
  623. package/dist/src/core/status-line/types.d.ts.map +1 -0
  624. package/dist/src/core/status-line/types.js +17 -0
  625. package/dist/src/core/status-line/types.js.map +1 -0
  626. package/dist/src/core/sync/bidirectional-engine.d.ts +110 -0
  627. package/dist/src/core/sync/bidirectional-engine.d.ts.map +1 -0
  628. package/dist/src/core/sync/bidirectional-engine.js +356 -0
  629. package/dist/src/core/sync/bidirectional-engine.js.map +1 -0
  630. package/dist/src/core/sync/folder-mapper.d.ts +71 -0
  631. package/dist/src/core/sync/folder-mapper.d.ts.map +1 -0
  632. package/dist/src/core/sync/folder-mapper.js +203 -0
  633. package/dist/src/core/sync/folder-mapper.js.map +1 -0
  634. package/dist/src/core/sync/profile-manager.d.ts +72 -0
  635. package/dist/src/core/sync/profile-manager.d.ts.map +1 -0
  636. package/dist/src/core/sync/profile-manager.js +338 -0
  637. package/dist/src/core/sync/profile-manager.js.map +1 -0
  638. package/dist/src/core/sync/profile-selector.d.ts +52 -0
  639. package/dist/src/core/sync/profile-selector.d.ts.map +1 -0
  640. package/dist/src/core/sync/profile-selector.js +179 -0
  641. package/dist/src/core/sync/profile-selector.js.map +1 -0
  642. package/dist/src/core/sync/profile-validator.d.ts +52 -0
  643. package/dist/src/core/sync/profile-validator.d.ts.map +1 -0
  644. package/dist/src/core/sync/profile-validator.js +170 -0
  645. package/dist/src/core/sync/profile-validator.js.map +1 -0
  646. package/dist/src/core/sync/project-context.d.ts +81 -0
  647. package/dist/src/core/sync/project-context.d.ts.map +1 -0
  648. package/dist/src/core/sync/project-context.js +354 -0
  649. package/dist/src/core/sync/project-context.js.map +1 -0
  650. package/dist/src/core/sync/rate-limiter.d.ts +116 -0
  651. package/dist/src/core/sync/rate-limiter.d.ts.map +1 -0
  652. package/dist/src/core/sync/rate-limiter.js +308 -0
  653. package/dist/src/core/sync/rate-limiter.js.map +1 -0
  654. package/dist/src/core/sync/time-range-selector.d.ts +48 -0
  655. package/dist/src/core/sync/time-range-selector.d.ts.map +1 -0
  656. package/dist/src/core/sync/time-range-selector.js +224 -0
  657. package/dist/src/core/sync/time-range-selector.js.map +1 -0
  658. package/dist/src/core/types/config.d.ts +90 -0
  659. package/dist/src/core/types/config.d.ts.map +1 -0
  660. package/dist/src/core/types/config.js +44 -0
  661. package/dist/src/core/types/config.js.map +1 -0
  662. package/dist/src/core/types/increment-metadata.d.ts +120 -0
  663. package/dist/src/core/types/increment-metadata.d.ts.map +1 -0
  664. package/dist/src/core/types/increment-metadata.js +138 -0
  665. package/dist/src/core/types/increment-metadata.js.map +1 -0
  666. package/dist/src/core/types/plugin.d.ts +283 -0
  667. package/dist/src/core/types/plugin.d.ts.map +1 -0
  668. package/dist/src/core/types/plugin.js +49 -0
  669. package/dist/src/core/types/plugin.js.map +1 -0
  670. package/dist/src/core/types/spec-metadata.d.ts +229 -0
  671. package/dist/src/core/types/spec-metadata.d.ts.map +1 -0
  672. package/dist/src/core/types/spec-metadata.js +14 -0
  673. package/dist/src/core/types/spec-metadata.js.map +1 -0
  674. package/dist/src/core/types/sync-profile.d.ts +349 -0
  675. package/dist/src/core/types/sync-profile.d.ts.map +1 -0
  676. package/dist/src/core/types/sync-profile.js +79 -0
  677. package/dist/src/core/types/sync-profile.js.map +1 -0
  678. package/dist/src/hooks/lib/git-diff-analyzer.d.ts +89 -0
  679. package/dist/src/hooks/lib/git-diff-analyzer.d.ts.map +1 -0
  680. package/dist/src/hooks/lib/git-diff-analyzer.js +226 -0
  681. package/dist/src/hooks/lib/git-diff-analyzer.js.map +1 -0
  682. package/dist/src/hooks/lib/invoke-translator-skill.d.ts +60 -0
  683. package/dist/src/hooks/lib/invoke-translator-skill.d.ts.map +1 -0
  684. package/dist/src/hooks/lib/invoke-translator-skill.js +201 -0
  685. package/dist/src/hooks/lib/invoke-translator-skill.js.map +1 -0
  686. package/dist/src/hooks/lib/prepare-reflection-context.d.ts +42 -0
  687. package/dist/src/hooks/lib/prepare-reflection-context.d.ts.map +1 -0
  688. package/dist/src/hooks/lib/prepare-reflection-context.js +123 -0
  689. package/dist/src/hooks/lib/prepare-reflection-context.js.map +1 -0
  690. package/dist/src/hooks/lib/reflection-config-loader.d.ts +45 -0
  691. package/dist/src/hooks/lib/reflection-config-loader.d.ts.map +1 -0
  692. package/dist/src/hooks/lib/reflection-config-loader.js +132 -0
  693. package/dist/src/hooks/lib/reflection-config-loader.js.map +1 -0
  694. package/dist/src/hooks/lib/reflection-parser.d.ts +33 -0
  695. package/dist/src/hooks/lib/reflection-parser.d.ts.map +1 -0
  696. package/dist/src/hooks/lib/reflection-parser.js +419 -0
  697. package/dist/src/hooks/lib/reflection-parser.js.map +1 -0
  698. package/dist/src/hooks/lib/reflection-prompt-builder.d.ts +56 -0
  699. package/dist/src/hooks/lib/reflection-prompt-builder.d.ts.map +1 -0
  700. package/dist/src/hooks/lib/reflection-prompt-builder.js +239 -0
  701. package/dist/src/hooks/lib/reflection-prompt-builder.js.map +1 -0
  702. package/dist/src/hooks/lib/reflection-storage.d.ts +64 -0
  703. package/dist/src/hooks/lib/reflection-storage.d.ts.map +1 -0
  704. package/dist/src/hooks/lib/reflection-storage.js +305 -0
  705. package/dist/src/hooks/lib/reflection-storage.js.map +1 -0
  706. package/dist/src/hooks/lib/run-self-reflection.d.ts +43 -0
  707. package/dist/src/hooks/lib/run-self-reflection.d.ts.map +1 -0
  708. package/dist/src/hooks/lib/run-self-reflection.js +203 -0
  709. package/dist/src/hooks/lib/run-self-reflection.js.map +1 -0
  710. package/dist/src/hooks/lib/sync-living-docs.d.ts +27 -0
  711. package/dist/src/hooks/lib/sync-living-docs.d.ts.map +1 -0
  712. package/dist/src/hooks/lib/sync-living-docs.js +116 -0
  713. package/dist/src/hooks/lib/sync-living-docs.js.map +1 -0
  714. package/dist/src/hooks/lib/translate-file.d.ts +59 -0
  715. package/dist/src/hooks/lib/translate-file.d.ts.map +1 -0
  716. package/dist/src/hooks/lib/translate-file.js +350 -0
  717. package/dist/src/hooks/lib/translate-file.js.map +1 -0
  718. package/dist/src/hooks/lib/translate-living-docs.d.ts +13 -0
  719. package/dist/src/hooks/lib/translate-living-docs.d.ts.map +1 -0
  720. package/dist/src/hooks/lib/translate-living-docs.js +175 -0
  721. package/dist/src/hooks/lib/translate-living-docs.js.map +1 -0
  722. package/dist/src/hooks/lib/types/reflection-types.d.ts +164 -0
  723. package/dist/src/hooks/lib/types/reflection-types.d.ts.map +1 -0
  724. package/dist/src/hooks/lib/types/reflection-types.js +73 -0
  725. package/dist/src/hooks/lib/types/reflection-types.js.map +1 -0
  726. package/dist/src/hooks/lib/update-tasks-md.d.ts +29 -0
  727. package/dist/src/hooks/lib/update-tasks-md.d.ts.map +1 -0
  728. package/dist/src/hooks/lib/update-tasks-md.js +203 -0
  729. package/dist/src/hooks/lib/update-tasks-md.js.map +1 -0
  730. package/dist/src/integrations/ado/ado-client.d.ts +127 -0
  731. package/dist/src/integrations/ado/ado-client.d.ts.map +1 -0
  732. package/dist/src/integrations/ado/ado-client.js +416 -0
  733. package/dist/src/integrations/ado/ado-client.js.map +1 -0
  734. package/dist/src/integrations/jira/jira-client.d.ts +139 -0
  735. package/dist/src/integrations/jira/jira-client.d.ts.map +1 -0
  736. package/dist/src/integrations/jira/jira-client.js +386 -0
  737. package/dist/src/integrations/jira/jira-client.js.map +1 -0
  738. package/dist/src/integrations/jira/jira-incremental-mapper.d.ts +75 -0
  739. package/dist/src/integrations/jira/jira-incremental-mapper.d.ts.map +1 -0
  740. package/dist/src/integrations/jira/jira-incremental-mapper.js +474 -0
  741. package/dist/src/integrations/jira/jira-incremental-mapper.js.map +1 -0
  742. package/dist/src/integrations/jira/jira-mapper.d.ts +105 -0
  743. package/dist/src/integrations/jira/jira-mapper.d.ts.map +1 -0
  744. package/dist/src/integrations/jira/jira-mapper.js +494 -0
  745. package/dist/src/integrations/jira/jira-mapper.js.map +1 -0
  746. package/dist/src/metrics/calculators/change-failure-rate.d.ts +22 -0
  747. package/dist/src/metrics/calculators/change-failure-rate.d.ts.map +1 -0
  748. package/dist/src/metrics/calculators/change-failure-rate.js +70 -0
  749. package/dist/src/metrics/calculators/change-failure-rate.js.map +1 -0
  750. package/dist/src/metrics/calculators/deployment-frequency.d.ts +20 -0
  751. package/dist/src/metrics/calculators/deployment-frequency.d.ts.map +1 -0
  752. package/dist/src/metrics/calculators/deployment-frequency.js +61 -0
  753. package/dist/src/metrics/calculators/deployment-frequency.js.map +1 -0
  754. package/dist/src/metrics/calculators/lead-time.d.ts +22 -0
  755. package/dist/src/metrics/calculators/lead-time.d.ts.map +1 -0
  756. package/dist/src/metrics/calculators/lead-time.js +82 -0
  757. package/dist/src/metrics/calculators/lead-time.js.map +1 -0
  758. package/dist/src/metrics/calculators/mttr.d.ts +21 -0
  759. package/dist/src/metrics/calculators/mttr.d.ts.map +1 -0
  760. package/dist/src/metrics/calculators/mttr.js +60 -0
  761. package/dist/src/metrics/calculators/mttr.js.map +1 -0
  762. package/dist/src/metrics/dora-calculator.d.ts +28 -0
  763. package/dist/src/metrics/dora-calculator.d.ts.map +1 -0
  764. package/dist/src/metrics/dora-calculator.js +117 -0
  765. package/dist/src/metrics/dora-calculator.js.map +1 -0
  766. package/dist/src/metrics/github-client.d.ts +51 -0
  767. package/dist/src/metrics/github-client.d.ts.map +1 -0
  768. package/dist/src/metrics/github-client.js +133 -0
  769. package/dist/src/metrics/github-client.js.map +1 -0
  770. package/dist/src/metrics/report-generator.d.ts +17 -0
  771. package/dist/src/metrics/report-generator.d.ts.map +1 -0
  772. package/dist/src/metrics/report-generator.js +403 -0
  773. package/dist/src/metrics/report-generator.js.map +1 -0
  774. package/dist/src/metrics/types.d.ts +112 -0
  775. package/dist/src/metrics/types.d.ts.map +1 -0
  776. package/dist/src/metrics/types.js +10 -0
  777. package/dist/src/metrics/types.js.map +1 -0
  778. package/dist/src/metrics/utils/percentile.d.ts +25 -0
  779. package/dist/src/metrics/utils/percentile.d.ts.map +1 -0
  780. package/dist/src/metrics/utils/percentile.js +46 -0
  781. package/dist/src/metrics/utils/percentile.js.map +1 -0
  782. package/dist/src/metrics/utils/tier-classifier.d.ts +61 -0
  783. package/dist/src/metrics/utils/tier-classifier.d.ts.map +1 -0
  784. package/dist/src/metrics/utils/tier-classifier.js +100 -0
  785. package/dist/src/metrics/utils/tier-classifier.js.map +1 -0
  786. package/dist/src/testing/test-generator.d.ts +117 -0
  787. package/dist/src/testing/test-generator.d.ts.map +1 -0
  788. package/dist/src/testing/test-generator.js +370 -0
  789. package/dist/src/testing/test-generator.js.map +1 -0
  790. package/dist/src/types/cost-tracking.d.ts +43 -0
  791. package/dist/src/types/cost-tracking.d.ts.map +1 -0
  792. package/dist/src/types/cost-tracking.js +8 -0
  793. package/dist/src/types/cost-tracking.js.map +1 -0
  794. package/dist/src/types/model-selection.d.ts +53 -0
  795. package/dist/src/types/model-selection.d.ts.map +1 -0
  796. package/dist/src/types/model-selection.js +12 -0
  797. package/dist/src/types/model-selection.js.map +1 -0
  798. package/dist/src/utils/agents-md-compiler.d.ts +68 -0
  799. package/dist/src/utils/agents-md-compiler.d.ts.map +1 -0
  800. package/dist/src/utils/agents-md-compiler.js +420 -0
  801. package/dist/src/utils/agents-md-compiler.js.map +1 -0
  802. package/dist/src/utils/auth-helpers.d.ts +58 -0
  803. package/dist/src/utils/auth-helpers.d.ts.map +1 -0
  804. package/dist/src/utils/auth-helpers.js +108 -0
  805. package/dist/src/utils/auth-helpers.js.map +1 -0
  806. package/dist/src/utils/auto-install.d.ts +47 -0
  807. package/dist/src/utils/auto-install.d.ts.map +1 -0
  808. package/dist/src/utils/auto-install.js +211 -0
  809. package/dist/src/utils/auto-install.js.map +1 -0
  810. package/dist/src/utils/claude-cli-detector.d.ts +75 -0
  811. package/dist/src/utils/claude-cli-detector.d.ts.map +1 -0
  812. package/dist/src/utils/claude-cli-detector.js +285 -0
  813. package/dist/src/utils/claude-cli-detector.js.map +1 -0
  814. package/dist/src/utils/cost-reporter.d.ts +58 -0
  815. package/dist/src/utils/cost-reporter.d.ts.map +1 -0
  816. package/dist/src/utils/cost-reporter.js +224 -0
  817. package/dist/src/utils/cost-reporter.js.map +1 -0
  818. package/dist/src/utils/docs-preview/config-generator.d.ts +46 -0
  819. package/dist/src/utils/docs-preview/config-generator.d.ts.map +1 -0
  820. package/dist/src/utils/docs-preview/config-generator.js +377 -0
  821. package/dist/src/utils/docs-preview/config-generator.js.map +1 -0
  822. package/dist/src/utils/docs-preview/docusaurus-setup.d.ts +38 -0
  823. package/dist/src/utils/docs-preview/docusaurus-setup.d.ts.map +1 -0
  824. package/dist/src/utils/docs-preview/docusaurus-setup.js +177 -0
  825. package/dist/src/utils/docs-preview/docusaurus-setup.js.map +1 -0
  826. package/dist/src/utils/docs-preview/index.d.ts +7 -0
  827. package/dist/src/utils/docs-preview/index.d.ts.map +1 -0
  828. package/dist/src/utils/docs-preview/index.js +7 -0
  829. package/dist/src/utils/docs-preview/index.js.map +1 -0
  830. package/dist/src/utils/docs-preview/package-installer.d.ts +42 -0
  831. package/dist/src/utils/docs-preview/package-installer.d.ts.map +1 -0
  832. package/dist/src/utils/docs-preview/package-installer.js +182 -0
  833. package/dist/src/utils/docs-preview/package-installer.js.map +1 -0
  834. package/dist/src/utils/docs-preview/server-manager.d.ts +30 -0
  835. package/dist/src/utils/docs-preview/server-manager.d.ts.map +1 -0
  836. package/dist/src/utils/docs-preview/server-manager.js +212 -0
  837. package/dist/src/utils/docs-preview/server-manager.js.map +1 -0
  838. package/dist/src/utils/docs-preview/sidebar-builder.d.ts +32 -0
  839. package/dist/src/utils/docs-preview/sidebar-builder.d.ts.map +1 -0
  840. package/dist/src/utils/docs-preview/sidebar-builder.js +202 -0
  841. package/dist/src/utils/docs-preview/sidebar-builder.js.map +1 -0
  842. package/dist/src/utils/docs-preview/types.d.ts +57 -0
  843. package/dist/src/utils/docs-preview/types.d.ts.map +1 -0
  844. package/dist/src/utils/docs-preview/types.js +2 -0
  845. package/dist/src/utils/docs-preview/types.js.map +1 -0
  846. package/dist/src/utils/env-file-generator.d.ts +54 -0
  847. package/dist/src/utils/env-file-generator.d.ts.map +1 -0
  848. package/dist/src/utils/env-file-generator.js +196 -0
  849. package/dist/src/utils/env-file-generator.js.map +1 -0
  850. package/dist/src/utils/env-file.d.ts +88 -0
  851. package/dist/src/utils/env-file.d.ts.map +1 -0
  852. package/dist/src/utils/env-file.js +180 -0
  853. package/dist/src/utils/env-file.js.map +1 -0
  854. package/dist/src/utils/env-multi-project-parser.d.ts +220 -0
  855. package/dist/src/utils/env-multi-project-parser.d.ts.map +1 -0
  856. package/dist/src/utils/env-multi-project-parser.js +401 -0
  857. package/dist/src/utils/env-multi-project-parser.js.map +1 -0
  858. package/dist/src/utils/esm-helpers.d.ts +50 -0
  859. package/dist/src/utils/esm-helpers.d.ts.map +1 -0
  860. package/dist/src/utils/esm-helpers.js +57 -0
  861. package/dist/src/utils/esm-helpers.js.map +1 -0
  862. package/dist/src/utils/execFileNoThrow.d.ts +99 -0
  863. package/dist/src/utils/execFileNoThrow.d.ts.map +1 -0
  864. package/dist/src/utils/execFileNoThrow.js +137 -0
  865. package/dist/src/utils/execFileNoThrow.js.map +1 -0
  866. package/dist/src/utils/external-resource-validator.d.ts +194 -0
  867. package/dist/src/utils/external-resource-validator.d.ts.map +1 -0
  868. package/dist/src/utils/external-resource-validator.js +953 -0
  869. package/dist/src/utils/external-resource-validator.js.map +1 -0
  870. package/dist/src/utils/generate-skills-index.d.ts +24 -0
  871. package/dist/src/utils/generate-skills-index.d.ts.map +1 -0
  872. package/dist/src/utils/generate-skills-index.js +410 -0
  873. package/dist/src/utils/generate-skills-index.js.map +1 -0
  874. package/dist/src/utils/git-detector.d.ts +84 -0
  875. package/dist/src/utils/git-detector.d.ts.map +1 -0
  876. package/dist/src/utils/git-detector.js +233 -0
  877. package/dist/src/utils/git-detector.js.map +1 -0
  878. package/dist/src/utils/git-utils.d.ts +74 -0
  879. package/dist/src/utils/git-utils.d.ts.map +1 -0
  880. package/dist/src/utils/git-utils.js +272 -0
  881. package/dist/src/utils/git-utils.js.map +1 -0
  882. package/dist/src/utils/model-selection.d.ts +75 -0
  883. package/dist/src/utils/model-selection.d.ts.map +1 -0
  884. package/dist/src/utils/model-selection.js +204 -0
  885. package/dist/src/utils/model-selection.js.map +1 -0
  886. package/dist/src/utils/plugin-validator.d.ts +161 -0
  887. package/dist/src/utils/plugin-validator.d.ts.map +1 -0
  888. package/dist/src/utils/plugin-validator.js +558 -0
  889. package/dist/src/utils/plugin-validator.js.map +1 -0
  890. package/dist/src/utils/pricing-constants.d.ts +70 -0
  891. package/dist/src/utils/pricing-constants.d.ts.map +1 -0
  892. package/dist/src/utils/pricing-constants.js +71 -0
  893. package/dist/src/utils/pricing-constants.js.map +1 -0
  894. package/dist/src/utils/project-detection.d.ts +141 -0
  895. package/dist/src/utils/project-detection.d.ts.map +1 -0
  896. package/dist/src/utils/project-detection.js +321 -0
  897. package/dist/src/utils/project-detection.js.map +1 -0
  898. package/dist/src/utils/project-mapper.d.ts +92 -0
  899. package/dist/src/utils/project-mapper.d.ts.map +1 -0
  900. package/dist/src/utils/project-mapper.js +276 -0
  901. package/dist/src/utils/project-mapper.js.map +1 -0
  902. package/dist/src/utils/spec-splitter.d.ts +75 -0
  903. package/dist/src/utils/spec-splitter.d.ts.map +1 -0
  904. package/dist/src/utils/spec-splitter.js +332 -0
  905. package/dist/src/utils/spec-splitter.js.map +1 -0
  906. package/dist/src/utils/string-utils.d.ts +40 -0
  907. package/dist/src/utils/string-utils.d.ts.map +1 -0
  908. package/dist/src/utils/string-utils.js +58 -0
  909. package/dist/src/utils/string-utils.js.map +1 -0
  910. package/dist/src/utils/translation.d.ts +187 -0
  911. package/dist/src/utils/translation.d.ts.map +1 -0
  912. package/dist/src/utils/translation.js +414 -0
  913. package/dist/src/utils/translation.js.map +1 -0
  914. package/dist/utils/git-utils.d.ts +74 -0
  915. package/dist/utils/git-utils.d.ts.map +1 -0
  916. package/dist/utils/git-utils.js +272 -0
  917. package/dist/utils/git-utils.js.map +1 -0
  918. package/package.json +3 -2
  919. package/plugins/specweave/hooks/lib/sync-spec-content.sh +149 -0
  920. package/plugins/specweave/hooks/post-increment-planning.sh +37 -1
  921. package/plugins/specweave/lib/hooks/git-diff-analyzer.js +213 -129
  922. package/plugins/specweave/lib/hooks/invoke-translator-skill.js +192 -146
  923. package/plugins/specweave/lib/hooks/prepare-reflection-context.js +116 -103
  924. package/plugins/specweave/lib/hooks/reflection-config-loader.js +125 -85
  925. package/plugins/specweave/lib/hooks/reflection-parser.js +385 -267
  926. package/plugins/specweave/lib/hooks/reflection-prompt-builder.js +226 -169
  927. package/plugins/specweave/lib/hooks/reflection-storage.js +297 -223
  928. package/plugins/specweave/lib/hooks/run-self-reflection.js +191 -120
  929. package/plugins/specweave/lib/hooks/sync-living-docs.js +129 -87
  930. package/plugins/specweave/lib/hooks/translate-file.js +300 -239
  931. package/plugins/specweave/lib/hooks/translate-living-docs.js +144 -88
  932. package/plugins/specweave/lib/hooks/types/reflection-types.js +72 -57
  933. package/plugins/specweave/lib/hooks/update-tasks-md.js +179 -117
  934. package/plugins/specweave-ado/agents/ado-multi-project-mapper/AGENT.md +521 -0
  935. package/plugins/specweave-ado/agents/ado-sync-judge/AGENT.md +418 -0
  936. package/plugins/specweave-ado/hooks/post-living-docs-update.sh +353 -0
  937. package/plugins/specweave-ado/hooks/post-task-completion.sh +22 -0
  938. package/plugins/specweave-ado/lib/ado-board-resolver.js +205 -135
  939. package/plugins/specweave-ado/lib/ado-client-v2.d.ts +15 -5
  940. package/plugins/specweave-ado/lib/ado-client-v2.d.ts.map +1 -1
  941. package/plugins/specweave-ado/lib/ado-client-v2.js +449 -406
  942. package/plugins/specweave-ado/lib/ado-client-v2.js.map +1 -1
  943. package/plugins/specweave-ado/lib/ado-client-v2.ts +43 -51
  944. package/plugins/specweave-ado/lib/ado-hierarchical-sync.js +335 -223
  945. package/plugins/specweave-ado/lib/ado-project-detector.js +469 -0
  946. package/plugins/specweave-ado/lib/ado-project-detector.ts +510 -0
  947. package/plugins/specweave-ado/lib/ado-spec-commit-sync.d.js +0 -0
  948. package/plugins/specweave-ado/lib/ado-spec-commit-sync.d.ts +38 -0
  949. package/plugins/specweave-ado/lib/ado-spec-commit-sync.d.ts.map +1 -0
  950. package/plugins/specweave-ado/lib/ado-spec-commit-sync.js +210 -0
  951. package/plugins/specweave-ado/lib/ado-spec-commit-sync.js.map +1 -0
  952. package/plugins/specweave-ado/lib/ado-spec-commit-sync.ts +288 -0
  953. package/plugins/specweave-ado/lib/ado-spec-content-sync.js +205 -0
  954. package/plugins/specweave-ado/lib/ado-spec-content-sync.ts +313 -0
  955. package/plugins/specweave-ado/lib/ado-spec-sync.js +414 -380
  956. package/plugins/specweave-ado/lib/conflict-resolver.js +297 -0
  957. package/plugins/specweave-ado/lib/conflict-resolver.ts +443 -0
  958. package/plugins/specweave-ado/lib/project-selector.js +196 -168
  959. package/plugins/specweave-ado/skills/ado-multi-project/SKILL.md +541 -0
  960. package/plugins/specweave-ado/skills/ado-resource-validator/SKILL.md +880 -0
  961. package/plugins/specweave-github/hooks/post-task-completion.sh +22 -0
  962. package/plugins/specweave-github/lib/cli-sync-increment-changes.js +20 -9
  963. package/plugins/specweave-github/lib/github-board-resolver.js +115 -69
  964. package/plugins/specweave-github/lib/github-client-v2.js +389 -400
  965. package/plugins/specweave-github/lib/github-client-v2.js.map +1 -1
  966. package/plugins/specweave-github/lib/github-client-v2.ts +13 -13
  967. package/plugins/specweave-github/lib/github-client.js +280 -246
  968. package/plugins/specweave-github/lib/github-hierarchical-sync.js +251 -168
  969. package/plugins/specweave-github/lib/github-issue-updater.js +4 -4
  970. package/plugins/specweave-github/lib/github-issue-updater.ts +4 -4
  971. package/plugins/specweave-github/lib/github-spec-commit-sync.d.js +0 -0
  972. package/plugins/specweave-github/lib/github-spec-commit-sync.d.ts +37 -0
  973. package/plugins/specweave-github/lib/github-spec-commit-sync.d.ts.map +1 -0
  974. package/plugins/specweave-github/lib/github-spec-commit-sync.js +209 -0
  975. package/plugins/specweave-github/lib/github-spec-commit-sync.js.map +1 -0
  976. package/plugins/specweave-github/lib/github-spec-commit-sync.ts +285 -0
  977. package/plugins/specweave-github/lib/github-spec-content-sync.js +169 -0
  978. package/plugins/specweave-github/lib/github-spec-content-sync.ts +255 -0
  979. package/plugins/specweave-github/lib/github-spec-sync.js +420 -379
  980. package/plugins/specweave-github/lib/github-sync-bidirectional.js +2 -2
  981. package/plugins/specweave-github/lib/github-sync-bidirectional.ts +2 -2
  982. package/plugins/specweave-github/lib/github-sync-increment-changes.js +4 -4
  983. package/plugins/specweave-github/lib/github-sync-increment-changes.ts +4 -4
  984. package/plugins/specweave-github/lib/index.js +10 -11
  985. package/plugins/specweave-github/lib/repo-selector.js +201 -174
  986. package/plugins/specweave-github/lib/subtask-sync.js +125 -132
  987. package/plugins/specweave-github/lib/task-parser.js +207 -191
  988. package/plugins/specweave-github/lib/task-sync.js +296 -344
  989. package/plugins/specweave-github/lib/types.js +5 -0
  990. package/plugins/specweave-jira/hooks/post-task-completion.sh +22 -0
  991. package/plugins/specweave-jira/lib/jira-board-resolver.js +79 -50
  992. package/plugins/specweave-jira/lib/jira-hierarchical-sync.js +191 -119
  993. package/plugins/specweave-jira/lib/jira-spec-commit-sync.d.js +0 -0
  994. package/plugins/specweave-jira/lib/jira-spec-commit-sync.d.ts +43 -0
  995. package/plugins/specweave-jira/lib/jira-spec-commit-sync.d.ts.map +1 -0
  996. package/plugins/specweave-jira/lib/jira-spec-commit-sync.js +282 -0
  997. package/plugins/specweave-jira/lib/jira-spec-commit-sync.js.map +1 -0
  998. package/plugins/specweave-jira/lib/jira-spec-commit-sync.ts +368 -0
  999. package/plugins/specweave-jira/lib/jira-spec-content-sync.js +260 -0
  1000. package/plugins/specweave-jira/lib/jira-spec-content-sync.ts +367 -0
  1001. package/plugins/specweave-jira/lib/jira-spec-sync.js +405 -366
  1002. package/plugins/specweave-jira/lib/project-selector.js +201 -172
  1003. package/plugins/specweave-jira/lib/reorganization-detector.js +237 -202
  1004. package/plugins/specweave-jira/lib/setup-wizard.js +204 -162
  1005. package/plugins/specweave-mobile/.claude-plugin/plugin.json +25 -0
  1006. package/plugins/specweave-mobile/README.md +337 -0
  1007. package/plugins/specweave-mobile/agents/mobile-architect/AGENT.md +642 -0
  1008. package/plugins/specweave-mobile/skills/device-testing/SKILL.md +609 -0
  1009. package/plugins/specweave-mobile/skills/expo-workflow/SKILL.md +440 -0
  1010. package/plugins/specweave-mobile/skills/metro-bundler/SKILL.md +614 -0
  1011. package/plugins/specweave-mobile/skills/mobile-debugging/SKILL.md +536 -0
  1012. package/plugins/specweave-mobile/skills/native-modules/SKILL.md +573 -0
  1013. package/plugins/specweave-mobile/skills/performance-optimization/SKILL.md +550 -0
  1014. package/plugins/specweave-mobile/skills/react-native-setup/SKILL.md +216 -0
  1015. package/plugins/specweave-release/.claude-plugin/plugin.json +41 -0
  1016. package/plugins/specweave-release/IMPLEMENTATION.md +449 -0
  1017. package/plugins/specweave-release/README.md +509 -0
  1018. package/plugins/specweave-release/agents/release-manager/AGENT.md +672 -0
  1019. package/plugins/specweave-release/commands/specweave-release-align.md +505 -0
  1020. package/plugins/specweave-release/commands/specweave-release-init.md +430 -0
  1021. package/plugins/specweave-release/commands/specweave-release-platform.md +439 -0
  1022. package/plugins/specweave-release/commands/specweave-release-rc.md +495 -0
  1023. package/plugins/specweave-release/hooks/hooks.json +15 -0
  1024. package/plugins/specweave-release/hooks/post-task-completion.sh +110 -0
  1025. package/plugins/specweave-release/lib/dashboard-generator.js +232 -0
  1026. package/plugins/specweave-release/lib/dashboard-generator.ts +294 -0
  1027. package/plugins/specweave-release/lib/dora-tracker.js +200 -0
  1028. package/plugins/specweave-release/lib/dora-tracker.ts +361 -0
  1029. package/plugins/specweave-release/skills/rc-manager/SKILL.md +660 -0
  1030. package/plugins/specweave-release/skills/release-coordinator/SKILL.md +535 -0
  1031. package/plugins/specweave-release/skills/release-strategy-advisor/SKILL.md +473 -0
  1032. package/plugins/specweave-release/skills/version-aligner/SKILL.md +579 -0
  1033. package/src/templates/CLAUDE.md.template +24 -0
@@ -0,0 +1,86 @@
1
+ /**
2
+ * Enhanced Multi-Repository GitHub Integration
3
+ *
4
+ * Provides improved UX for various GitHub repository configurations:
5
+ * - No repository yet (greenfield)
6
+ * - Single repository
7
+ * - Multiple repositories (microservices/polyrepo)
8
+ * - Monorepo (single repo, multiple projects)
9
+ * - Parent repository approach (for multi-repo)
10
+ * - Auto-detection from git remotes
11
+ * - GitHub repository creation via API
12
+ *
13
+ * @module cli/helpers/issue-tracker/github-multi-repo
14
+ */
15
+ /**
16
+ * GitHub setup type options
17
+ */
18
+ export type GitHubSetupType = 'none' | 'single' | 'multiple' | 'monorepo' | 'auto-detect';
19
+ /**
20
+ * GitHub repository profile
21
+ */
22
+ export interface GitHubProfile {
23
+ id: string;
24
+ displayName: string;
25
+ owner: string;
26
+ repo: string;
27
+ isDefault?: boolean;
28
+ }
29
+ /**
30
+ * GitHub configuration result
31
+ */
32
+ export interface GitHubConfiguration {
33
+ token: string;
34
+ instanceType: 'cloud' | 'enterprise';
35
+ apiEndpoint?: string;
36
+ setupType: GitHubSetupType;
37
+ profiles: GitHubProfile[];
38
+ monorepoProjects?: string[];
39
+ }
40
+ /**
41
+ * Prompt for GitHub setup type
42
+ * Enhanced to integrate with RepoStructureManager for repository creation
43
+ *
44
+ * @param projectPath - Path to project directory
45
+ * @param githubToken - Optional GitHub token for API calls
46
+ * @returns Selected setup type with configuration
47
+ */
48
+ export declare function promptGitHubSetupType(projectPath?: string, githubToken?: string): Promise<GitHubSetupType>;
49
+ /**
50
+ * Configure no repository (defer setup)
51
+ *
52
+ * @returns Empty profiles array
53
+ */
54
+ export declare function configureNoRepository(): Promise<GitHubProfile[]>;
55
+ /**
56
+ * Configure single repository
57
+ *
58
+ * @param projectPath - Path to project directory
59
+ * @returns Single profile array
60
+ */
61
+ export declare function configureSingleRepository(projectPath: string): Promise<GitHubProfile[]>;
62
+ /**
63
+ * Configure multiple repositories
64
+ *
65
+ * @param projectPath - Path to project directory
66
+ * @returns Multiple profiles array
67
+ */
68
+ export declare function configureMultipleRepositories(projectPath: string): Promise<GitHubProfile[]>;
69
+ /**
70
+ * Configure monorepo
71
+ *
72
+ * @param projectPath - Path to project directory
73
+ * @returns Single profile with projects
74
+ */
75
+ export declare function configureMonorepo(projectPath: string): Promise<{
76
+ profiles: GitHubProfile[];
77
+ projects: string[];
78
+ }>;
79
+ /**
80
+ * Auto-detect and configure repositories
81
+ *
82
+ * @param projectPath - Path to project directory
83
+ * @returns Detected profiles
84
+ */
85
+ export declare function autoDetectRepositories(projectPath: string): Promise<GitHubProfile[]>;
86
+ //# sourceMappingURL=github-multi-repo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"github-multi-repo.d.ts","sourceRoot":"","sources":["../../../../../src/cli/helpers/issue-tracker/github-multi-repo.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAmBH;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,QAAQ,GAAG,UAAU,GAAG,UAAU,GAAG,aAAa,CAAC;AAE1F;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,OAAO,GAAG,YAAY,CAAC;IACrC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,eAAe,CAAC;IAC3B,QAAQ,EAAE,aAAa,EAAE,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAC;CAC7B;AAED;;;;;;;GAOG;AACH,wBAAsB,qBAAqB,CAAC,WAAW,CAAC,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,CAAC,CAoEhH;AAED;;;;GAIG;AACH,wBAAsB,qBAAqB,IAAI,OAAO,CAAC,aAAa,EAAE,CAAC,CAMtE;AAED;;;;;GAKG;AACH,wBAAsB,yBAAyB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,EAAE,CAAC,CAyE7F;AAED;;;;;GAKG;AACH,wBAAsB,6BAA6B,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,EAAE,CAAC,CAgHjG;AAED;;;;;GAKG;AACH,wBAAsB,iBAAiB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC;IACpE,QAAQ,EAAE,aAAa,EAAE,CAAC;IAC1B,QAAQ,EAAE,MAAM,EAAE,CAAA;CACnB,CAAC,CA8BD;AAED;;;;;GAKG;AACH,wBAAsB,sBAAsB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,EAAE,CAAC,CA0G1F"}
@@ -0,0 +1,417 @@
1
+ /**
2
+ * Enhanced Multi-Repository GitHub Integration
3
+ *
4
+ * Provides improved UX for various GitHub repository configurations:
5
+ * - No repository yet (greenfield)
6
+ * - Single repository
7
+ * - Multiple repositories (microservices/polyrepo)
8
+ * - Monorepo (single repo, multiple projects)
9
+ * - Parent repository approach (for multi-repo)
10
+ * - Auto-detection from git remotes
11
+ * - GitHub repository creation via API
12
+ *
13
+ * @module cli/helpers/issue-tracker/github-multi-repo
14
+ */
15
+ import chalk from 'chalk';
16
+ import inquirer from 'inquirer';
17
+ import ora from 'ora';
18
+ import { detectGitHubRemotes, detectPrimaryGitHubRemote, getUniqueRepositories } from '../../../utils/git-detector.js';
19
+ import { RepoStructureManager } from '../../../core/repo-structure/repo-structure-manager.js';
20
+ /**
21
+ * Prompt for GitHub setup type
22
+ * Enhanced to integrate with RepoStructureManager for repository creation
23
+ *
24
+ * @param projectPath - Path to project directory
25
+ * @param githubToken - Optional GitHub token for API calls
26
+ * @returns Selected setup type with configuration
27
+ */
28
+ export async function promptGitHubSetupType(projectPath, githubToken) {
29
+ console.log(chalk.cyan('\n📂 Repository Configuration\n'));
30
+ console.log(chalk.gray('How should we configure your GitHub repositories?\n'));
31
+ // If we have projectPath and token, use RepoStructureManager for enhanced flow
32
+ if (projectPath && githubToken) {
33
+ const manager = new RepoStructureManager(projectPath, githubToken);
34
+ const config = await manager.promptStructure();
35
+ // Create repositories on GitHub if requested
36
+ if (config.repositories.some(r => r.createOnGitHub) || config.parentRepo?.createOnGitHub) {
37
+ console.log(chalk.cyan('\n🚀 Creating GitHub Repositories\n'));
38
+ await manager.createGitHubRepositories(config);
39
+ }
40
+ // Initialize local repos
41
+ console.log(chalk.cyan('\n📁 Setting Up Local Repositories\n'));
42
+ await manager.initializeLocalRepos(config);
43
+ // Create SpecWeave structure
44
+ await manager.createSpecWeaveStructure(config);
45
+ // Map to legacy format for backward compatibility
46
+ if (config.architecture === 'single') {
47
+ return 'single';
48
+ }
49
+ else if (config.architecture === 'monorepo') {
50
+ return 'monorepo';
51
+ }
52
+ else {
53
+ return 'multiple';
54
+ }
55
+ }
56
+ // Fallback to legacy prompt if no projectPath/token
57
+ const { setupType } = await inquirer.prompt([{
58
+ type: 'list',
59
+ name: 'setupType',
60
+ message: 'Select your repository setup:',
61
+ choices: [
62
+ {
63
+ name: '⏭️ No repository yet (configure later)',
64
+ value: 'none',
65
+ short: 'No repo'
66
+ },
67
+ {
68
+ name: '📦 Single repository',
69
+ value: 'single',
70
+ short: 'Single'
71
+ },
72
+ {
73
+ name: '🎯 Multiple repositories (microservices/polyrepo)',
74
+ value: 'multiple',
75
+ short: 'Multiple'
76
+ },
77
+ {
78
+ name: '📚 Monorepo (single repo, multiple projects)',
79
+ value: 'monorepo',
80
+ short: 'Monorepo'
81
+ },
82
+ {
83
+ name: '🔍 Auto-detect from git remotes',
84
+ value: 'auto-detect',
85
+ short: 'Auto-detect'
86
+ }
87
+ ],
88
+ default: 'single'
89
+ }]);
90
+ return setupType;
91
+ }
92
+ /**
93
+ * Configure no repository (defer setup)
94
+ *
95
+ * @returns Empty profiles array
96
+ */
97
+ export async function configureNoRepository() {
98
+ console.log(chalk.yellow('\n⏭️ Repository configuration deferred'));
99
+ console.log(chalk.gray('You can configure repositories later using:'));
100
+ console.log(chalk.white(' /specweave-github:setup\n'));
101
+ return [];
102
+ }
103
+ /**
104
+ * Configure single repository
105
+ *
106
+ * @param projectPath - Path to project directory
107
+ * @returns Single profile array
108
+ */
109
+ export async function configureSingleRepository(projectPath) {
110
+ console.log(chalk.cyan('\n📦 Single Repository Setup\n'));
111
+ // Try to detect from git remote
112
+ const primaryRemote = await detectPrimaryGitHubRemote(projectPath);
113
+ let defaultOwner = '';
114
+ let defaultRepo = '';
115
+ if (primaryRemote && primaryRemote.owner && primaryRemote.repo) {
116
+ console.log(chalk.green(`✓ Detected: ${primaryRemote.owner}/${primaryRemote.repo}`));
117
+ defaultOwner = primaryRemote.owner;
118
+ defaultRepo = primaryRemote.repo;
119
+ const { useDetected } = await inquirer.prompt([{
120
+ type: 'confirm',
121
+ name: 'useDetected',
122
+ message: 'Use detected repository?',
123
+ default: true
124
+ }]);
125
+ if (useDetected) {
126
+ return [{
127
+ id: 'main',
128
+ displayName: 'Main Repository',
129
+ owner: defaultOwner,
130
+ repo: defaultRepo,
131
+ isDefault: true
132
+ }];
133
+ }
134
+ }
135
+ // Manual entry
136
+ const answers = await inquirer.prompt([
137
+ {
138
+ type: 'input',
139
+ name: 'owner',
140
+ message: 'GitHub owner/organization:',
141
+ default: defaultOwner,
142
+ validate: (input) => {
143
+ if (!input.trim()) {
144
+ return 'Owner is required';
145
+ }
146
+ if (!/^[a-zA-Z0-9]([a-zA-Z0-9-])*$/.test(input)) {
147
+ return 'Invalid GitHub username/organization format';
148
+ }
149
+ return true;
150
+ }
151
+ },
152
+ {
153
+ type: 'input',
154
+ name: 'repo',
155
+ message: 'Repository name:',
156
+ default: defaultRepo,
157
+ validate: (input) => {
158
+ if (!input.trim()) {
159
+ return 'Repository name is required';
160
+ }
161
+ if (!/^[a-zA-Z0-9._-]+$/.test(input)) {
162
+ return 'Invalid repository name format';
163
+ }
164
+ return true;
165
+ }
166
+ }
167
+ ]);
168
+ return [{
169
+ id: 'main',
170
+ displayName: 'Main Repository',
171
+ owner: answers.owner,
172
+ repo: answers.repo,
173
+ isDefault: true
174
+ }];
175
+ }
176
+ /**
177
+ * Configure multiple repositories
178
+ *
179
+ * @param projectPath - Path to project directory
180
+ * @returns Multiple profiles array
181
+ */
182
+ export async function configureMultipleRepositories(projectPath) {
183
+ console.log(chalk.cyan('\n🎯 Multiple Repositories Setup\n'));
184
+ console.log(chalk.gray('Configure each repository for your microservices/polyrepo architecture.\n'));
185
+ const { repoCount } = await inquirer.prompt([{
186
+ type: 'number',
187
+ name: 'repoCount',
188
+ message: 'How many repositories?',
189
+ default: 2,
190
+ validate: (input) => {
191
+ if (input < 2) {
192
+ return 'Please enter at least 2 repositories';
193
+ }
194
+ if (input > 10) {
195
+ return 'Maximum 10 repositories supported';
196
+ }
197
+ return true;
198
+ }
199
+ }]);
200
+ const profiles = [];
201
+ // Check for existing remotes
202
+ const githubRemotes = await detectGitHubRemotes(projectPath);
203
+ const uniqueRepos = getUniqueRepositories(githubRemotes);
204
+ // If we have detected repos, offer them as suggestions
205
+ if (uniqueRepos.length > 0) {
206
+ console.log(chalk.green('\n✓ Detected GitHub repositories:'));
207
+ uniqueRepos.forEach((repo, index) => {
208
+ console.log(chalk.gray(` ${index + 1}. ${repo.owner}/${repo.repo}`));
209
+ });
210
+ console.log('');
211
+ }
212
+ for (let i = 0; i < repoCount; i++) {
213
+ console.log(chalk.white(`\n📦 Repository ${i + 1} of ${repoCount}:`));
214
+ // Check if we have a suggestion for this index
215
+ let defaultOwner = '';
216
+ let defaultRepo = '';
217
+ if (uniqueRepos[i]) {
218
+ defaultOwner = uniqueRepos[i].owner;
219
+ defaultRepo = uniqueRepos[i].repo;
220
+ }
221
+ const answers = await inquirer.prompt([
222
+ {
223
+ type: 'input',
224
+ name: 'id',
225
+ message: 'Repository ID (e.g., frontend, backend, api):',
226
+ validate: (input) => {
227
+ if (!input.trim()) {
228
+ return 'ID is required';
229
+ }
230
+ if (!/^[a-z][a-z0-9-]*$/.test(input)) {
231
+ return 'ID must be lowercase letters, numbers, and hyphens';
232
+ }
233
+ if (profiles.some(p => p.id === input)) {
234
+ return 'ID must be unique';
235
+ }
236
+ return true;
237
+ }
238
+ },
239
+ {
240
+ type: 'input',
241
+ name: 'displayName',
242
+ message: 'Display name (e.g., Frontend Application):',
243
+ validate: (input) => !!input.trim() || 'Display name is required'
244
+ },
245
+ {
246
+ type: 'input',
247
+ name: 'owner',
248
+ message: 'GitHub owner/organization:',
249
+ default: defaultOwner || (profiles[0]?.owner || ''), // Reuse previous owner
250
+ validate: (input) => {
251
+ if (!input.trim()) {
252
+ return 'Owner is required';
253
+ }
254
+ if (!/^[a-zA-Z0-9]([a-zA-Z0-9-])*$/.test(input)) {
255
+ return 'Invalid GitHub username/organization format';
256
+ }
257
+ return true;
258
+ }
259
+ },
260
+ {
261
+ type: 'input',
262
+ name: 'repo',
263
+ message: 'Repository name:',
264
+ default: defaultRepo,
265
+ validate: (input) => {
266
+ if (!input.trim()) {
267
+ return 'Repository name is required';
268
+ }
269
+ if (!/^[a-zA-Z0-9._-]+$/.test(input)) {
270
+ return 'Invalid repository name format';
271
+ }
272
+ return true;
273
+ }
274
+ }
275
+ ]);
276
+ profiles.push({
277
+ id: answers.id,
278
+ displayName: answers.displayName,
279
+ owner: answers.owner,
280
+ repo: answers.repo,
281
+ isDefault: i === 0 // First repo is default
282
+ });
283
+ }
284
+ return profiles;
285
+ }
286
+ /**
287
+ * Configure monorepo
288
+ *
289
+ * @param projectPath - Path to project directory
290
+ * @returns Single profile with projects
291
+ */
292
+ export async function configureMonorepo(projectPath) {
293
+ console.log(chalk.cyan('\n📚 Monorepo Setup\n'));
294
+ console.log(chalk.gray('Configure a single repository with multiple projects.\n'));
295
+ // First configure the repository (similar to single repo)
296
+ const profiles = await configureSingleRepository(projectPath);
297
+ // Then ask for projects within the monorepo
298
+ console.log(chalk.cyan('\n📂 Projects in Monorepo\n'));
299
+ console.log(chalk.gray('List the projects/packages in your monorepo.\n'));
300
+ const { projectsInput } = await inquirer.prompt([{
301
+ type: 'input',
302
+ name: 'projectsInput',
303
+ message: 'Project names (comma-separated, e.g., frontend,backend,shared):',
304
+ validate: (input) => {
305
+ if (!input.trim()) {
306
+ return 'At least one project is required';
307
+ }
308
+ const projects = input.split(',').map(p => p.trim());
309
+ if (projects.length < 2) {
310
+ return 'Monorepo should have at least 2 projects';
311
+ }
312
+ return true;
313
+ }
314
+ }]);
315
+ const projects = projectsInput.split(',').map((p) => p.trim());
316
+ return { profiles, projects };
317
+ }
318
+ /**
319
+ * Auto-detect and configure repositories
320
+ *
321
+ * @param projectPath - Path to project directory
322
+ * @returns Detected profiles
323
+ */
324
+ export async function autoDetectRepositories(projectPath) {
325
+ const spinner = ora('Detecting GitHub repositories...').start();
326
+ const githubRemotes = await detectGitHubRemotes(projectPath);
327
+ const uniqueRepos = getUniqueRepositories(githubRemotes);
328
+ if (uniqueRepos.length === 0) {
329
+ spinner.fail('No GitHub repositories detected');
330
+ console.log(chalk.yellow('\n⚠️ No GitHub remotes found'));
331
+ console.log(chalk.gray(' Falling back to manual configuration\n'));
332
+ // Fall back to single repo configuration
333
+ return configureSingleRepository(projectPath);
334
+ }
335
+ spinner.succeed(`Found ${uniqueRepos.length} GitHub repositor${uniqueRepos.length === 1 ? 'y' : 'ies'}`);
336
+ console.log(chalk.green('\n✓ Detected repositories:'));
337
+ uniqueRepos.forEach((repo, index) => {
338
+ console.log(chalk.white(` ${index + 1}. ${repo.owner}/${repo.repo}`));
339
+ });
340
+ const { confirmDetected } = await inquirer.prompt([{
341
+ type: 'confirm',
342
+ name: 'confirmDetected',
343
+ message: 'Use all detected repositories?',
344
+ default: true
345
+ }]);
346
+ if (!confirmDetected) {
347
+ // Ask which setup type they want instead
348
+ const setupType = await promptGitHubSetupType();
349
+ switch (setupType) {
350
+ case 'none':
351
+ return configureNoRepository();
352
+ case 'single':
353
+ return configureSingleRepository(projectPath);
354
+ case 'multiple':
355
+ return configureMultipleRepositories(projectPath);
356
+ case 'monorepo':
357
+ const result = await configureMonorepo(projectPath);
358
+ return result.profiles;
359
+ default:
360
+ return [];
361
+ }
362
+ }
363
+ // Create profiles from detected repos
364
+ const profiles = [];
365
+ for (let i = 0; i < uniqueRepos.length; i++) {
366
+ const repo = uniqueRepos[i];
367
+ if (uniqueRepos.length === 1) {
368
+ // Single repo - use simple ID
369
+ profiles.push({
370
+ id: 'main',
371
+ displayName: 'Main Repository',
372
+ owner: repo.owner,
373
+ repo: repo.repo,
374
+ isDefault: true
375
+ });
376
+ }
377
+ else {
378
+ // Multiple repos - need IDs
379
+ console.log(chalk.white(`\n📦 Repository: ${repo.owner}/${repo.repo}`));
380
+ const { id, displayName } = await inquirer.prompt([
381
+ {
382
+ type: 'input',
383
+ name: 'id',
384
+ message: 'Repository ID:',
385
+ default: repo.repo.replace(/-app$|-service$|-api$/, ''), // Smart default
386
+ validate: (input) => {
387
+ if (!input.trim()) {
388
+ return 'ID is required';
389
+ }
390
+ if (!/^[a-z][a-z0-9-]*$/.test(input)) {
391
+ return 'ID must be lowercase letters, numbers, and hyphens';
392
+ }
393
+ if (profiles.some(p => p.id === input)) {
394
+ return 'ID must be unique';
395
+ }
396
+ return true;
397
+ }
398
+ },
399
+ {
400
+ type: 'input',
401
+ name: 'displayName',
402
+ message: 'Display name:',
403
+ default: repo.repo.split('-').map((w) => w.charAt(0).toUpperCase() + w.slice(1)).join(' ') // Smart default: "frontend-app" -> "Frontend App"
404
+ }
405
+ ]);
406
+ profiles.push({
407
+ id,
408
+ displayName,
409
+ owner: repo.owner,
410
+ repo: repo.repo,
411
+ isDefault: i === 0
412
+ });
413
+ }
414
+ }
415
+ return profiles;
416
+ }
417
+ //# sourceMappingURL=github-multi-repo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"github-multi-repo.js","sourceRoot":"","sources":["../../../../../src/cli/helpers/issue-tracker/github-multi-repo.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,QAAQ,MAAM,UAAU,CAAC;AAChC,OAAO,GAAG,MAAM,KAAK,CAAC;AAEtB,OAAO,EACL,mBAAmB,EACnB,yBAAyB,EAGzB,qBA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C,KAAK,CAAC,EAAE,CAAC;4BACrC,OAAO,oDAAoD,CAAC;wBAC9D,CAAC;wBACD,IAAI,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,KAAK,CAAC,EAAE,CAAC;4BACvC,OAAO,mBAAmB,CAAC;wBAC7B,CAAC;wBACD,OAAO,IAAI,CAAC;oBACd,CAAC;iBACF;gBACD;oBACE,IAAI,EAAE,OAAO;oBACb,IAAI,EAAE,aAAa;oBACnB,OAAO,EAAE,eAAe;oBACxB,OAAO,EAAE,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAS,EAAE,EAAE,CAC9C,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CACvC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAE,kDAAkD;iBAChE;aACF,CAAC,CAAC;YAEH,QAAQ,CAAC,IAAI,CAAC;gBACZ,EAAE;gBACF,WAAW;gBACX,KAAK,EAAE,IAAI,CAAC,KAAK;gBACjB,IAAI,EAAE,IAAI,CAAC,IAAI;gBACf,SAAS,EAAE,CAAC,KAAK,CAAC;aACnB,CAAC,CAAC;QACL,CAAC;IACH,CAAC;IAED,OAAO,QAAQ,CAAC;AAClB,CAAC"}
@@ -0,0 +1,80 @@
1
+ /**
2
+ * GitHub Integration for Issue Tracker Setup
3
+ *
4
+ * Handles GitHub.com and GitHub Enterprise authentication
5
+ * Supports manual token entry and gh CLI auto-detection
6
+ *
7
+ * @module cli/helpers/issue-tracker/github
8
+ */
9
+ import type { GitHubCredentials, ExistingCredentials, ValidationResult } from './types.js';
10
+ import type { SupportedLanguage } from '../../../core/i18n/types.js';
11
+ /**
12
+ * Check for existing GitHub credentials
13
+ *
14
+ * Priority: .env > GH_TOKEN > GITHUB_TOKEN > gh CLI config
15
+ *
16
+ * @param projectPath - Path to project root
17
+ * @returns Existing credentials or null
18
+ */
19
+ export declare function checkExistingGitHubCredentials(projectPath: string): Promise<ExistingCredentials | null>;
20
+ /**
21
+ * Prompt user for GitHub credentials
22
+ *
23
+ * Supports:
24
+ * - Manual token entry
25
+ * - gh CLI auto-detection
26
+ * - GitHub.com vs GitHub Enterprise selection
27
+ *
28
+ * @param language - User's language
29
+ * @returns Credentials or null if skipped
30
+ */
31
+ export declare function promptGitHubCredentials(language: SupportedLanguage): Promise<GitHubCredentials | null>;
32
+ /**
33
+ * Validate GitHub connection
34
+ *
35
+ * Tests authentication and returns user information
36
+ * Handles rate limiting with retry logic
37
+ *
38
+ * @param credentials - GitHub credentials
39
+ * @param maxRetries - Maximum retry attempts (default: 3)
40
+ * @returns Validation result
41
+ */
42
+ export declare function validateGitHubConnection(credentials: GitHubCredentials, maxRetries?: number): Promise<ValidationResult>;
43
+ /**
44
+ * Get GitHub environment variables for .env file
45
+ *
46
+ * @param credentials - GitHub credentials
47
+ * @returns Array of key-value pairs for .env
48
+ */
49
+ export declare function getGitHubEnvVars(credentials: GitHubCredentials): Array<{
50
+ key: string;
51
+ value: string;
52
+ }>;
53
+ /**
54
+ * Show GitHub setup complete message
55
+ *
56
+ * @param language - User's language
57
+ */
58
+ export declare function showGitHubSetupComplete(language: SupportedLanguage): void;
59
+ /**
60
+ * Show GitHub setup skipped message
61
+ *
62
+ * @param language - User's language
63
+ */
64
+ export declare function showGitHubSetupSkipped(language: SupportedLanguage): void;
65
+ /**
66
+ * Configure GitHub repositories
67
+ *
68
+ * This is called after credentials are validated to set up repository profiles
69
+ * Enhanced to support repository creation via GitHub API
70
+ *
71
+ * @param projectPath - Path to project directory
72
+ * @param language - User's language
73
+ * @param githubToken - Optional GitHub token for repository creation
74
+ * @returns Repository profiles
75
+ */
76
+ export declare function configureGitHubRepositories(projectPath: string, language: SupportedLanguage, githubToken?: string): Promise<{
77
+ profiles: any[];
78
+ monorepoProjects?: string[];
79
+ }>;
80
+ //# sourceMappingURL=github.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"github.d.ts","sourceRoot":"","sources":["../../../../../src/cli/helpers/issue-tracker/github.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAUH,OAAO,KAAK,EACV,iBAAiB,EACjB,mBAAmB,EACnB,gBAAgB,EAEjB,MAAM,YAAY,CAAC;AAOpB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAIrE;;;;;;;GAOG;AACH,wBAAsB,8BAA8B,CAClD,WAAW,EAAE,MAAM,GAClB,OAAO,CAAC,mBAAmB,GAAG,IAAI,CAAC,CA6BrC;AAED;;;;;;;;;;GAUG;AACH,wBAAsB,uBAAuB,CAC3C,QAAQ,EAAE,iBAAiB,GAC1B,OAAO,CAAC,iBAAiB,GAAG,IAAI,CAAC,CAwInC;AAED;;;;;;;;;GASG;AACH,wBAAsB,wBAAwB,CAC5C,WAAW,EAAE,iBAAiB,EAC9B,UAAU,GAAE,MAAU,GACrB,OAAO,CAAC,gBAAgB,CAAC,CA2D3B;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,WAAW,EAAE,iBAAiB,GAAG,KAAK,CAAC;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC,CActG;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,QAAQ,EAAE,iBAAiB,GAAG,IAAI,CAWzE;AAED;;;;GAIG;AACH,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,iBAAiB,GAAG,IAAI,CAOxE;AAED;;;;;;;;;;GAUG;AACH,wBAAsB,2BAA2B,CAC/C,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,iBAAiB,EAC3B,WAAW,CAAC,EAAE,MAAM,GACnB,OAAO,CAAC;IAAE,QAAQ,EAAE,GAAG,EAAE,CAAC;IAAC,gBAAgB,CAAC,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC,C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