specweave 0.12.7 → 0.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (918) hide show
  1. package/CLAUDE.md +199 -46
  2. package/bin/specweave.js +12 -0
  3. package/dist/cli/commands/check-discipline.d.ts +16 -0
  4. package/dist/cli/commands/check-discipline.d.ts.map +1 -0
  5. package/dist/cli/commands/check-discipline.js +79 -0
  6. package/dist/cli/commands/check-discipline.js.map +1 -0
  7. package/dist/cli/commands/init.d.ts.map +1 -1
  8. package/dist/cli/commands/init.js +25 -313
  9. package/dist/cli/commands/init.js.map +1 -1
  10. package/dist/cli/helpers/issue-tracker/index.d.ts.map +1 -1
  11. package/dist/cli/helpers/issue-tracker/index.js +142 -0
  12. package/dist/cli/helpers/issue-tracker/index.js.map +1 -1
  13. package/dist/core/increment/discipline-checker.d.ts +60 -0
  14. package/dist/core/increment/discipline-checker.d.ts.map +1 -0
  15. package/dist/core/increment/discipline-checker.js +274 -0
  16. package/dist/core/increment/discipline-checker.js.map +1 -0
  17. package/dist/core/increment/metadata-validator.d.ts +33 -0
  18. package/dist/core/increment/metadata-validator.d.ts.map +1 -0
  19. package/dist/core/increment/metadata-validator.js +147 -0
  20. package/dist/core/increment/metadata-validator.js.map +1 -0
  21. package/dist/core/increment/types.d.ts +88 -0
  22. package/dist/core/increment/types.d.ts.map +1 -0
  23. package/dist/core/increment/types.js +8 -0
  24. package/dist/core/increment/types.js.map +1 -0
  25. package/dist/core/qa/qa-runner.d.ts.map +1 -1
  26. package/dist/core/qa/qa-runner.js +22 -4
  27. package/dist/core/qa/qa-runner.js.map +1 -1
  28. package/dist/plugins/specweave/lib/hooks/git-diff-analyzer.d.ts +89 -0
  29. package/dist/plugins/specweave/lib/hooks/git-diff-analyzer.d.ts.map +1 -0
  30. package/dist/plugins/specweave/lib/hooks/git-diff-analyzer.js +226 -0
  31. package/dist/plugins/specweave/lib/hooks/git-diff-analyzer.js.map +1 -0
  32. package/dist/plugins/specweave/lib/hooks/invoke-translator-skill.d.ts +60 -0
  33. package/dist/plugins/specweave/lib/hooks/invoke-translator-skill.d.ts.map +1 -0
  34. package/dist/plugins/specweave/lib/hooks/invoke-translator-skill.js +201 -0
  35. package/dist/plugins/specweave/lib/hooks/invoke-translator-skill.js.map +1 -0
  36. package/dist/plugins/specweave/lib/hooks/prepare-reflection-context.d.ts +42 -0
  37. package/dist/plugins/specweave/lib/hooks/prepare-reflection-context.d.ts.map +1 -0
  38. package/dist/plugins/specweave/lib/hooks/prepare-reflection-context.js +123 -0
  39. package/dist/plugins/specweave/lib/hooks/prepare-reflection-context.js.map +1 -0
  40. package/dist/plugins/specweave/lib/hooks/reflection-config-loader.d.ts +45 -0
  41. package/dist/plugins/specweave/lib/hooks/reflection-config-loader.d.ts.map +1 -0
  42. package/dist/plugins/specweave/lib/hooks/reflection-config-loader.js +132 -0
  43. package/dist/plugins/specweave/lib/hooks/reflection-config-loader.js.map +1 -0
  44. package/dist/plugins/specweave/lib/hooks/reflection-parser.d.ts +33 -0
  45. package/dist/plugins/specweave/lib/hooks/reflection-parser.d.ts.map +1 -0
  46. package/dist/plugins/specweave/lib/hooks/reflection-parser.js +419 -0
  47. package/dist/plugins/specweave/lib/hooks/reflection-parser.js.map +1 -0
  48. package/dist/plugins/specweave/lib/hooks/reflection-prompt-builder.d.ts +56 -0
  49. package/dist/plugins/specweave/lib/hooks/reflection-prompt-builder.d.ts.map +1 -0
  50. package/dist/plugins/specweave/lib/hooks/reflection-prompt-builder.js +239 -0
  51. package/dist/plugins/specweave/lib/hooks/reflection-prompt-builder.js.map +1 -0
  52. package/dist/plugins/specweave/lib/hooks/reflection-storage.d.ts +64 -0
  53. package/dist/plugins/specweave/lib/hooks/reflection-storage.d.ts.map +1 -0
  54. package/dist/plugins/specweave/lib/hooks/reflection-storage.js +305 -0
  55. package/dist/plugins/specweave/lib/hooks/reflection-storage.js.map +1 -0
  56. package/dist/plugins/specweave/lib/hooks/run-self-reflection.d.ts +43 -0
  57. package/dist/plugins/specweave/lib/hooks/run-self-reflection.d.ts.map +1 -0
  58. package/dist/plugins/specweave/lib/hooks/run-self-reflection.js +203 -0
  59. package/dist/plugins/specweave/lib/hooks/run-self-reflection.js.map +1 -0
  60. package/dist/plugins/specweave/lib/hooks/sync-living-docs.d.ts +27 -0
  61. package/dist/plugins/specweave/lib/hooks/sync-living-docs.d.ts.map +1 -0
  62. package/dist/plugins/specweave/lib/hooks/sync-living-docs.js +144 -0
  63. package/dist/plugins/specweave/lib/hooks/sync-living-docs.js.map +1 -0
  64. package/dist/plugins/specweave/lib/hooks/translate-file.d.ts +59 -0
  65. package/dist/plugins/specweave/lib/hooks/translate-file.d.ts.map +1 -0
  66. package/dist/plugins/specweave/lib/hooks/translate-file.js +350 -0
  67. package/dist/plugins/specweave/lib/hooks/translate-file.js.map +1 -0
  68. package/dist/plugins/specweave/lib/hooks/translate-living-docs.d.ts +13 -0
  69. package/dist/plugins/specweave/lib/hooks/translate-living-docs.d.ts.map +1 -0
  70. package/dist/plugins/specweave/lib/hooks/translate-living-docs.js +175 -0
  71. package/dist/plugins/specweave/lib/hooks/translate-living-docs.js.map +1 -0
  72. package/dist/plugins/specweave/lib/hooks/types/reflection-types.d.ts +164 -0
  73. package/dist/plugins/specweave/lib/hooks/types/reflection-types.d.ts.map +1 -0
  74. package/dist/plugins/specweave/lib/hooks/types/reflection-types.js +73 -0
  75. package/dist/plugins/specweave/lib/hooks/types/reflection-types.js.map +1 -0
  76. package/dist/plugins/specweave/lib/hooks/update-tasks-md.d.ts +29 -0
  77. package/dist/plugins/specweave/lib/hooks/update-tasks-md.d.ts.map +1 -0
  78. package/dist/plugins/specweave/lib/hooks/update-tasks-md.js +203 -0
  79. package/dist/plugins/specweave/lib/hooks/update-tasks-md.js.map +1 -0
  80. package/dist/plugins/specweave-ado/lib/ado-board-resolver.d.ts +94 -0
  81. package/dist/plugins/specweave-ado/lib/ado-board-resolver.d.ts.map +1 -0
  82. package/dist/plugins/specweave-ado/lib/ado-board-resolver.js +219 -0
  83. package/dist/plugins/specweave-ado/lib/ado-board-resolver.js.map +1 -0
  84. package/dist/plugins/specweave-ado/lib/ado-client-v2.d.ts +124 -0
  85. package/dist/plugins/specweave-ado/lib/ado-client-v2.d.ts.map +1 -0
  86. package/dist/plugins/specweave-ado/lib/ado-client-v2.js +382 -0
  87. package/dist/plugins/specweave-ado/lib/ado-client-v2.js.map +1 -0
  88. package/dist/plugins/specweave-ado/lib/ado-client.d.ts +112 -0
  89. package/dist/plugins/specweave-ado/lib/ado-client.d.ts.map +1 -0
  90. package/dist/plugins/specweave-ado/lib/ado-client.js +257 -0
  91. package/dist/plugins/specweave-ado/lib/ado-client.js.map +1 -0
  92. package/dist/plugins/specweave-ado/lib/ado-hierarchical-sync.d.ts +40 -0
  93. package/dist/plugins/specweave-ado/lib/ado-hierarchical-sync.d.ts.map +1 -0
  94. package/dist/plugins/specweave-ado/lib/ado-hierarchical-sync.js +370 -0
  95. package/dist/plugins/specweave-ado/lib/ado-hierarchical-sync.js.map +1 -0
  96. package/dist/plugins/specweave-ado/lib/ado-spec-sync.d.ts +100 -0
  97. package/dist/plugins/specweave-ado/lib/ado-spec-sync.d.ts.map +1 -0
  98. package/dist/plugins/specweave-ado/lib/ado-spec-sync.js +471 -0
  99. package/dist/plugins/specweave-ado/lib/ado-spec-sync.js.map +1 -0
  100. package/dist/plugins/specweave-ado/lib/project-selector.d.ts +42 -0
  101. package/dist/plugins/specweave-ado/lib/project-selector.d.ts.map +1 -0
  102. package/dist/plugins/specweave-ado/lib/project-selector.js +211 -0
  103. package/dist/plugins/specweave-ado/lib/project-selector.js.map +1 -0
  104. package/dist/plugins/specweave-github/lib/cli-sync-increment-changes.d.ts +12 -0
  105. package/dist/plugins/specweave-github/lib/cli-sync-increment-changes.d.ts.map +1 -0
  106. package/dist/plugins/specweave-github/lib/cli-sync-increment-changes.js +28 -0
  107. package/dist/plugins/specweave-github/lib/cli-sync-increment-changes.js.map +1 -0
  108. package/dist/plugins/specweave-github/lib/github-board-resolver.d.ts +54 -0
  109. package/dist/plugins/specweave-github/lib/github-board-resolver.d.ts.map +1 -0
  110. package/dist/plugins/specweave-github/lib/github-board-resolver.js +122 -0
  111. package/dist/plugins/specweave-github/lib/github-board-resolver.js.map +1 -0
  112. package/dist/plugins/specweave-github/lib/github-client-v2.d.ts +104 -0
  113. package/dist/plugins/specweave-github/lib/github-client-v2.d.ts.map +1 -0
  114. package/dist/plugins/specweave-github/lib/github-client-v2.js +408 -0
  115. package/dist/plugins/specweave-github/lib/github-client-v2.js.map +1 -0
  116. package/dist/plugins/specweave-github/lib/github-client.d.ts +96 -0
  117. package/dist/plugins/specweave-github/lib/github-client.d.ts.map +1 -0
  118. package/dist/plugins/specweave-github/lib/github-client.js +299 -0
  119. package/dist/plugins/specweave-github/lib/github-client.js.map +1 -0
  120. package/dist/plugins/specweave-github/lib/github-hierarchical-sync.d.ts +29 -0
  121. package/dist/plugins/specweave-github/lib/github-hierarchical-sync.d.ts.map +1 -0
  122. package/dist/plugins/specweave-github/lib/github-hierarchical-sync.js +268 -0
  123. package/dist/plugins/specweave-github/lib/github-hierarchical-sync.js.map +1 -0
  124. package/dist/plugins/specweave-github/lib/github-issue-updater.d.ts +61 -0
  125. package/dist/plugins/specweave-github/lib/github-issue-updater.d.ts.map +1 -0
  126. package/dist/plugins/specweave-github/lib/github-issue-updater.js +327 -0
  127. package/dist/plugins/specweave-github/lib/github-issue-updater.js.map +1 -0
  128. package/dist/plugins/specweave-github/lib/github-spec-sync.d.ts +108 -0
  129. package/dist/plugins/specweave-github/lib/github-spec-sync.d.ts.map +1 -0
  130. package/dist/plugins/specweave-github/lib/github-spec-sync.js +505 -0
  131. package/dist/plugins/specweave-github/lib/github-spec-sync.js.map +1 -0
  132. package/dist/plugins/specweave-github/lib/github-sync-bidirectional.d.ts +36 -0
  133. package/dist/plugins/specweave-github/lib/github-sync-bidirectional.d.ts.map +1 -0
  134. package/dist/plugins/specweave-github/lib/github-sync-bidirectional.js +228 -0
  135. package/dist/plugins/specweave-github/lib/github-sync-bidirectional.js.map +1 -0
  136. package/dist/plugins/specweave-github/lib/github-sync-increment-changes.d.ts +18 -0
  137. package/dist/plugins/specweave-github/lib/github-sync-increment-changes.d.ts.map +1 -0
  138. package/dist/plugins/specweave-github/lib/github-sync-increment-changes.js +287 -0
  139. package/dist/plugins/specweave-github/lib/github-sync-increment-changes.js.map +1 -0
  140. package/dist/plugins/specweave-github/lib/index.d.ts +10 -0
  141. package/dist/plugins/specweave-github/lib/index.d.ts.map +1 -0
  142. package/dist/plugins/specweave-github/lib/index.js +10 -0
  143. package/dist/plugins/specweave-github/lib/index.js.map +1 -0
  144. package/dist/plugins/specweave-github/lib/repo-selector.d.ts +49 -0
  145. package/dist/plugins/specweave-github/lib/repo-selector.d.ts.map +1 -0
  146. package/dist/plugins/specweave-github/lib/repo-selector.js +216 -0
  147. package/dist/plugins/specweave-github/lib/repo-selector.js.map +1 -0
  148. package/dist/plugins/specweave-github/lib/subtask-sync.d.ts +51 -0
  149. package/dist/plugins/specweave-github/lib/subtask-sync.d.ts.map +1 -0
  150. package/dist/plugins/specweave-github/lib/subtask-sync.js +147 -0
  151. package/dist/plugins/specweave-github/lib/subtask-sync.js.map +1 -0
  152. package/dist/plugins/specweave-github/lib/task-parser.d.ts +37 -0
  153. package/dist/plugins/specweave-github/lib/task-parser.d.ts.map +1 -0
  154. package/dist/plugins/specweave-github/lib/task-parser.js +211 -0
  155. package/dist/plugins/specweave-github/lib/task-parser.js.map +1 -0
  156. package/dist/plugins/specweave-github/lib/task-sync.d.ts +51 -0
  157. package/dist/plugins/specweave-github/lib/task-sync.d.ts.map +1 -0
  158. package/dist/plugins/specweave-github/lib/task-sync.js +332 -0
  159. package/dist/plugins/specweave-github/lib/task-sync.js.map +1 -0
  160. package/dist/plugins/specweave-github/lib/types.d.ts +80 -0
  161. package/dist/plugins/specweave-github/lib/types.d.ts.map +1 -0
  162. package/dist/plugins/specweave-github/lib/types.js +5 -0
  163. package/dist/plugins/specweave-github/lib/types.js.map +1 -0
  164. package/dist/plugins/specweave-jira/lib/jira-board-resolver.d.ts +50 -0
  165. package/dist/plugins/specweave-jira/lib/jira-board-resolver.d.ts.map +1 -0
  166. package/dist/plugins/specweave-jira/lib/jira-board-resolver.js +84 -0
  167. package/dist/plugins/specweave-jira/lib/jira-board-resolver.js.map +1 -0
  168. package/dist/plugins/specweave-jira/lib/jira-hierarchical-sync.d.ts +33 -0
  169. package/dist/plugins/specweave-jira/lib/jira-hierarchical-sync.d.ts.map +1 -0
  170. package/dist/plugins/specweave-jira/lib/jira-hierarchical-sync.js +206 -0
  171. package/dist/plugins/specweave-jira/lib/jira-hierarchical-sync.js.map +1 -0
  172. package/dist/plugins/specweave-jira/lib/jira-spec-sync.d.ts +105 -0
  173. package/dist/plugins/specweave-jira/lib/jira-spec-sync.d.ts.map +1 -0
  174. package/dist/plugins/specweave-jira/lib/jira-spec-sync.js +456 -0
  175. package/dist/plugins/specweave-jira/lib/jira-spec-sync.js.map +1 -0
  176. package/dist/plugins/specweave-jira/lib/project-selector.d.ts +42 -0
  177. package/dist/plugins/specweave-jira/lib/project-selector.d.ts.map +1 -0
  178. package/dist/plugins/specweave-jira/lib/project-selector.js +216 -0
  179. package/dist/plugins/specweave-jira/lib/project-selector.js.map +1 -0
  180. package/dist/plugins/specweave-jira/lib/reorganization-detector.d.ts +67 -0
  181. package/dist/plugins/specweave-jira/lib/reorganization-detector.d.ts.map +1 -0
  182. package/dist/plugins/specweave-jira/lib/reorganization-detector.js +252 -0
  183. package/dist/plugins/specweave-jira/lib/reorganization-detector.js.map +1 -0
  184. package/dist/plugins/specweave-jira/lib/setup-wizard.d.ts +29 -0
  185. package/dist/plugins/specweave-jira/lib/setup-wizard.d.ts.map +1 -0
  186. package/dist/plugins/specweave-jira/lib/setup-wizard.js +219 -0
  187. package/dist/plugins/specweave-jira/lib/setup-wizard.js.map +1 -0
  188. package/dist/src/adapters/adapter-base.d.ts +71 -0
  189. package/dist/src/adapters/adapter-base.d.ts.map +1 -0
  190. package/dist/src/adapters/adapter-base.js +139 -0
  191. package/dist/src/adapters/adapter-base.js.map +1 -0
  192. package/dist/src/adapters/adapter-interface.d.ts +149 -0
  193. package/dist/src/adapters/adapter-interface.d.ts.map +1 -0
  194. package/dist/src/adapters/adapter-interface.js +8 -0
  195. package/dist/src/adapters/adapter-interface.js.map +1 -0
  196. package/dist/src/adapters/adapter-loader.d.ts +91 -0
  197. package/dist/src/adapters/adapter-loader.d.ts.map +1 -0
  198. package/dist/src/adapters/adapter-loader.js +238 -0
  199. package/dist/src/adapters/adapter-loader.js.map +1 -0
  200. package/dist/src/adapters/agents-md-generator.d.ts +48 -0
  201. package/dist/src/adapters/agents-md-generator.d.ts.map +1 -0
  202. package/dist/src/adapters/agents-md-generator.js +193 -0
  203. package/dist/src/adapters/agents-md-generator.js.map +1 -0
  204. package/dist/src/adapters/claude/adapter.d.ts +128 -0
  205. package/dist/src/adapters/claude/adapter.d.ts.map +1 -0
  206. package/dist/src/adapters/claude/adapter.js +415 -0
  207. package/dist/src/adapters/claude/adapter.js.map +1 -0
  208. package/dist/src/adapters/claude-md-generator.d.ts +78 -0
  209. package/dist/src/adapters/claude-md-generator.d.ts.map +1 -0
  210. package/dist/src/adapters/claude-md-generator.js +307 -0
  211. package/dist/src/adapters/claude-md-generator.js.map +1 -0
  212. package/dist/src/adapters/codex/adapter.d.ts +50 -0
  213. package/dist/src/adapters/codex/adapter.d.ts.map +1 -0
  214. package/dist/src/adapters/codex/adapter.js +316 -0
  215. package/dist/src/adapters/codex/adapter.js.map +1 -0
  216. package/dist/src/adapters/cursor/adapter.d.ts +98 -0
  217. package/dist/src/adapters/cursor/adapter.d.ts.map +1 -0
  218. package/dist/src/adapters/cursor/adapter.js +406 -0
  219. package/dist/src/adapters/cursor/adapter.js.map +1 -0
  220. package/dist/src/adapters/doc-generator.d.ts +69 -0
  221. package/dist/src/adapters/doc-generator.d.ts.map +1 -0
  222. package/dist/src/adapters/doc-generator.js +247 -0
  223. package/dist/src/adapters/doc-generator.js.map +1 -0
  224. package/dist/src/adapters/gemini/adapter.d.ts +50 -0
  225. package/dist/src/adapters/gemini/adapter.d.ts.map +1 -0
  226. package/dist/src/adapters/gemini/adapter.js +281 -0
  227. package/dist/src/adapters/gemini/adapter.js.map +1 -0
  228. package/dist/src/adapters/generic/adapter.d.ts +86 -0
  229. package/dist/src/adapters/generic/adapter.d.ts.map +1 -0
  230. package/dist/src/adapters/generic/adapter.js +338 -0
  231. package/dist/src/adapters/generic/adapter.js.map +1 -0
  232. package/dist/src/cli/commands/abandon.d.ts +13 -0
  233. package/dist/src/cli/commands/abandon.d.ts.map +1 -0
  234. package/dist/src/cli/commands/abandon.js +15 -0
  235. package/dist/src/cli/commands/abandon.js.map +1 -0
  236. package/dist/src/cli/commands/import-docs.d.ts +21 -0
  237. package/dist/src/cli/commands/import-docs.d.ts.map +1 -0
  238. package/dist/src/cli/commands/import-docs.js +146 -0
  239. package/dist/src/cli/commands/import-docs.js.map +1 -0
  240. package/dist/src/cli/commands/init-multiproject.d.ts +11 -0
  241. package/dist/src/cli/commands/init-multiproject.d.ts.map +1 -0
  242. package/dist/src/cli/commands/init-multiproject.js +202 -0
  243. package/dist/src/cli/commands/init-multiproject.js.map +1 -0
  244. package/dist/src/cli/commands/init.d.ts +9 -0
  245. package/dist/src/cli/commands/init.d.ts.map +1 -0
  246. package/dist/src/cli/commands/init.js +1444 -0
  247. package/dist/src/cli/commands/init.js.map +1 -0
  248. package/dist/src/cli/commands/install.d.ts +9 -0
  249. package/dist/src/cli/commands/install.d.ts.map +1 -0
  250. package/dist/src/cli/commands/install.js +127 -0
  251. package/dist/src/cli/commands/install.js.map +1 -0
  252. package/dist/src/cli/commands/list.d.ts +8 -0
  253. package/dist/src/cli/commands/list.d.ts.map +1 -0
  254. package/dist/src/cli/commands/list.js +119 -0
  255. package/dist/src/cli/commands/list.js.map +1 -0
  256. package/dist/src/cli/commands/migrate-to-multiproject.d.ts +37 -0
  257. package/dist/src/cli/commands/migrate-to-multiproject.d.ts.map +1 -0
  258. package/dist/src/cli/commands/migrate-to-multiproject.js +189 -0
  259. package/dist/src/cli/commands/migrate-to-multiproject.js.map +1 -0
  260. package/dist/src/cli/commands/migrate-to-profiles.d.ts +25 -0
  261. package/dist/src/cli/commands/migrate-to-profiles.d.ts.map +1 -0
  262. package/dist/src/cli/commands/migrate-to-profiles.js +350 -0
  263. package/dist/src/cli/commands/migrate-to-profiles.js.map +1 -0
  264. package/dist/src/cli/commands/pause.d.ts +13 -0
  265. package/dist/src/cli/commands/pause.d.ts.map +1 -0
  266. package/dist/src/cli/commands/pause.js +15 -0
  267. package/dist/src/cli/commands/pause.js.map +1 -0
  268. package/dist/src/cli/commands/qa.d.ts +54 -0
  269. package/dist/src/cli/commands/qa.d.ts.map +1 -0
  270. package/dist/src/cli/commands/qa.js +98 -0
  271. package/dist/src/cli/commands/qa.js.map +1 -0
  272. package/dist/src/cli/commands/resume.d.ts +12 -0
  273. package/dist/src/cli/commands/resume.d.ts.map +1 -0
  274. package/dist/src/cli/commands/resume.js +14 -0
  275. package/dist/src/cli/commands/resume.js.map +1 -0
  276. package/dist/src/cli/commands/status.d.ts +12 -0
  277. package/dist/src/cli/commands/status.d.ts.map +1 -0
  278. package/dist/src/cli/commands/status.js +23 -0
  279. package/dist/src/cli/commands/status.js.map +1 -0
  280. package/dist/src/cli/commands/switch-project.d.ts +13 -0
  281. package/dist/src/cli/commands/switch-project.d.ts.map +1 -0
  282. package/dist/src/cli/commands/switch-project.js +91 -0
  283. package/dist/src/cli/commands/switch-project.js.map +1 -0
  284. package/dist/src/cli/commands/validate-jira.d.ts +35 -0
  285. package/dist/src/cli/commands/validate-jira.d.ts.map +1 -0
  286. package/dist/src/cli/commands/validate-jira.js +112 -0
  287. package/dist/src/cli/commands/validate-jira.js.map +1 -0
  288. package/dist/src/cli/commands/validate-plugins.d.ts +41 -0
  289. package/dist/src/cli/commands/validate-plugins.d.ts.map +1 -0
  290. package/dist/src/cli/commands/validate-plugins.js +171 -0
  291. package/dist/src/cli/commands/validate-plugins.js.map +1 -0
  292. package/dist/src/cli/helpers/issue-tracker/ado.d.ts +57 -0
  293. package/dist/src/cli/helpers/issue-tracker/ado.d.ts.map +1 -0
  294. package/dist/src/cli/helpers/issue-tracker/ado.js +243 -0
  295. package/dist/src/cli/helpers/issue-tracker/ado.js.map +1 -0
  296. package/dist/src/cli/helpers/issue-tracker/github.d.ts +65 -0
  297. package/dist/src/cli/helpers/issue-tracker/github.d.ts.map +1 -0
  298. package/dist/src/cli/helpers/issue-tracker/github.js +426 -0
  299. package/dist/src/cli/helpers/issue-tracker/github.js.map +1 -0
  300. package/dist/src/cli/helpers/issue-tracker/index.d.ts +22 -0
  301. package/dist/src/cli/helpers/issue-tracker/index.d.ts.map +1 -0
  302. package/dist/src/cli/helpers/issue-tracker/index.js +314 -0
  303. package/dist/src/cli/helpers/issue-tracker/index.js.map +1 -0
  304. package/dist/src/cli/helpers/issue-tracker/jira.d.ts +61 -0
  305. package/dist/src/cli/helpers/issue-tracker/jira.d.ts.map +1 -0
  306. package/dist/src/cli/helpers/issue-tracker/jira.js +404 -0
  307. package/dist/src/cli/helpers/issue-tracker/jira.js.map +1 -0
  308. package/dist/src/cli/helpers/issue-tracker/types.d.ts +108 -0
  309. package/dist/src/cli/helpers/issue-tracker/types.d.ts.map +1 -0
  310. package/dist/src/cli/helpers/issue-tracker/types.js +16 -0
  311. package/dist/src/cli/helpers/issue-tracker/types.js.map +1 -0
  312. package/dist/src/cli/helpers/issue-tracker/utils.d.ts +112 -0
  313. package/dist/src/cli/helpers/issue-tracker/utils.d.ts.map +1 -0
  314. package/dist/src/cli/helpers/issue-tracker/utils.js +247 -0
  315. package/dist/src/cli/helpers/issue-tracker/utils.js.map +1 -0
  316. package/dist/src/core/agent-model-manager.d.ts +52 -0
  317. package/dist/src/core/agent-model-manager.d.ts.map +1 -0
  318. package/dist/src/core/agent-model-manager.js +120 -0
  319. package/dist/src/core/agent-model-manager.js.map +1 -0
  320. package/dist/src/core/brownfield/analyzer.d.ts +86 -0
  321. package/dist/src/core/brownfield/analyzer.d.ts.map +1 -0
  322. package/dist/src/core/brownfield/analyzer.js +365 -0
  323. package/dist/src/core/brownfield/analyzer.js.map +1 -0
  324. package/dist/src/core/brownfield/importer.d.ts +76 -0
  325. package/dist/src/core/brownfield/importer.d.ts.map +1 -0
  326. package/dist/src/core/brownfield/importer.js +287 -0
  327. package/dist/src/core/brownfield/importer.js.map +1 -0
  328. package/dist/src/core/config-manager.d.ts +47 -0
  329. package/dist/src/core/config-manager.d.ts.map +1 -0
  330. package/dist/src/core/config-manager.js +136 -0
  331. package/dist/src/core/config-manager.js.map +1 -0
  332. package/dist/src/core/cost-tracker.d.ts +108 -0
  333. package/dist/src/core/cost-tracker.d.ts.map +1 -0
  334. package/dist/src/core/cost-tracker.js +281 -0
  335. package/dist/src/core/cost-tracker.js.map +1 -0
  336. package/dist/src/core/credentials-manager.d.ts +107 -0
  337. package/dist/src/core/credentials-manager.d.ts.map +1 -0
  338. package/dist/src/core/credentials-manager.js +457 -0
  339. package/dist/src/core/credentials-manager.js.map +1 -0
  340. package/dist/src/core/i18n/language-detector.d.ts +29 -0
  341. package/dist/src/core/i18n/language-detector.d.ts.map +1 -0
  342. package/dist/src/core/i18n/language-detector.js +143 -0
  343. package/dist/src/core/i18n/language-detector.js.map +1 -0
  344. package/dist/src/core/i18n/language-manager.d.ts +101 -0
  345. package/dist/src/core/i18n/language-manager.d.ts.map +1 -0
  346. package/dist/src/core/i18n/language-manager.js +232 -0
  347. package/dist/src/core/i18n/language-manager.js.map +1 -0
  348. package/dist/src/core/i18n/language-registry.d.ts +44 -0
  349. package/dist/src/core/i18n/language-registry.d.ts.map +1 -0
  350. package/dist/src/core/i18n/language-registry.js +234 -0
  351. package/dist/src/core/i18n/language-registry.js.map +1 -0
  352. package/dist/src/core/i18n/locale-manager.d.ts +62 -0
  353. package/dist/src/core/i18n/locale-manager.d.ts.map +1 -0
  354. package/dist/src/core/i18n/locale-manager.js +137 -0
  355. package/dist/src/core/i18n/locale-manager.js.map +1 -0
  356. package/dist/src/core/i18n/system-prompt-injector.d.ts +33 -0
  357. package/dist/src/core/i18n/system-prompt-injector.d.ts.map +1 -0
  358. package/dist/src/core/i18n/system-prompt-injector.js +131 -0
  359. package/dist/src/core/i18n/system-prompt-injector.js.map +1 -0
  360. package/dist/src/core/i18n/types.d.ts +151 -0
  361. package/dist/src/core/i18n/types.d.ts.map +1 -0
  362. package/dist/src/core/i18n/types.js +11 -0
  363. package/dist/src/core/i18n/types.js.map +1 -0
  364. package/dist/src/core/increment/limits.d.ts +68 -0
  365. package/dist/src/core/increment/limits.d.ts.map +1 -0
  366. package/dist/src/core/increment/limits.js +224 -0
  367. package/dist/src/core/increment/limits.js.map +1 -0
  368. package/dist/src/core/increment/metadata-manager.d.ts +114 -0
  369. package/dist/src/core/increment/metadata-manager.d.ts.map +1 -0
  370. package/dist/src/core/increment/metadata-manager.js +320 -0
  371. package/dist/src/core/increment/metadata-manager.js.map +1 -0
  372. package/dist/src/core/increment/status-commands.d.ts +43 -0
  373. package/dist/src/core/increment/status-commands.d.ts.map +1 -0
  374. package/dist/src/core/increment/status-commands.js +277 -0
  375. package/dist/src/core/increment/status-commands.js.map +1 -0
  376. package/dist/src/core/increment-status.d.ts +72 -0
  377. package/dist/src/core/increment-status.d.ts.map +1 -0
  378. package/dist/src/core/increment-status.js +227 -0
  379. package/dist/src/core/increment-status.js.map +1 -0
  380. package/dist/src/core/model-selector.d.ts +57 -0
  381. package/dist/src/core/model-selector.d.ts.map +1 -0
  382. package/dist/src/core/model-selector.js +115 -0
  383. package/dist/src/core/model-selector.js.map +1 -0
  384. package/dist/src/core/phase-detector.d.ts +62 -0
  385. package/dist/src/core/phase-detector.d.ts.map +1 -0
  386. package/dist/src/core/phase-detector.js +229 -0
  387. package/dist/src/core/phase-detector.js.map +1 -0
  388. package/dist/src/core/plugin-loader.d.ts +131 -0
  389. package/dist/src/core/plugin-loader.d.ts.map +1 -0
  390. package/dist/src/core/plugin-loader.js +421 -0
  391. package/dist/src/core/plugin-loader.js.map +1 -0
  392. package/dist/src/core/project-manager.d.ts +127 -0
  393. package/dist/src/core/project-manager.d.ts.map +1 -0
  394. package/dist/src/core/project-manager.js +524 -0
  395. package/dist/src/core/project-manager.js.map +1 -0
  396. package/dist/src/core/project-structure-detector.d.ts +92 -0
  397. package/dist/src/core/project-structure-detector.d.ts.map +1 -0
  398. package/dist/src/core/project-structure-detector.js +289 -0
  399. package/dist/src/core/project-structure-detector.js.map +1 -0
  400. package/dist/src/core/qa/qa-runner.d.ts +16 -0
  401. package/dist/src/core/qa/qa-runner.d.ts.map +1 -0
  402. package/dist/src/core/qa/qa-runner.js +404 -0
  403. package/dist/src/core/qa/qa-runner.js.map +1 -0
  404. package/dist/src/core/qa/quality-gate-decider.d.ts +53 -0
  405. package/dist/src/core/qa/quality-gate-decider.d.ts.map +1 -0
  406. package/dist/src/core/qa/quality-gate-decider.js +268 -0
  407. package/dist/src/core/qa/quality-gate-decider.js.map +1 -0
  408. package/dist/src/core/qa/risk-calculator.d.ts +126 -0
  409. package/dist/src/core/qa/risk-calculator.d.ts.map +1 -0
  410. package/dist/src/core/qa/risk-calculator.js +247 -0
  411. package/dist/src/core/qa/risk-calculator.js.map +1 -0
  412. package/dist/src/core/qa/types.d.ts +315 -0
  413. package/dist/src/core/qa/types.d.ts.map +1 -0
  414. package/dist/src/core/qa/types.js +8 -0
  415. package/dist/src/core/qa/types.js.map +1 -0
  416. package/dist/src/core/rfc-generator-v2.d.ts +149 -0
  417. package/dist/src/core/rfc-generator-v2.d.ts.map +1 -0
  418. package/dist/src/core/rfc-generator-v2.js +399 -0
  419. package/dist/src/core/rfc-generator-v2.js.map +1 -0
  420. package/dist/src/core/specs/spec-metadata-manager.d.ts +70 -0
  421. package/dist/src/core/specs/spec-metadata-manager.d.ts.map +1 -0
  422. package/dist/src/core/specs/spec-metadata-manager.js +371 -0
  423. package/dist/src/core/specs/spec-metadata-manager.js.map +1 -0
  424. package/dist/src/core/specs/spec-parser.d.ts +66 -0
  425. package/dist/src/core/specs/spec-parser.d.ts.map +1 -0
  426. package/dist/src/core/specs/spec-parser.js +276 -0
  427. package/dist/src/core/specs/spec-parser.js.map +1 -0
  428. package/dist/src/core/sync/bidirectional-engine.d.ts +110 -0
  429. package/dist/src/core/sync/bidirectional-engine.d.ts.map +1 -0
  430. package/dist/src/core/sync/bidirectional-engine.js +356 -0
  431. package/dist/src/core/sync/bidirectional-engine.js.map +1 -0
  432. package/dist/src/core/sync/folder-mapper.d.ts +71 -0
  433. package/dist/src/core/sync/folder-mapper.d.ts.map +1 -0
  434. package/dist/src/core/sync/folder-mapper.js +168 -0
  435. package/dist/src/core/sync/folder-mapper.js.map +1 -0
  436. package/dist/src/core/sync/profile-manager.d.ts +72 -0
  437. package/dist/src/core/sync/profile-manager.d.ts.map +1 -0
  438. package/dist/src/core/sync/profile-manager.js +338 -0
  439. package/dist/src/core/sync/profile-manager.js.map +1 -0
  440. package/dist/src/core/sync/profile-selector.d.ts +52 -0
  441. package/dist/src/core/sync/profile-selector.d.ts.map +1 -0
  442. package/dist/src/core/sync/profile-selector.js +179 -0
  443. package/dist/src/core/sync/profile-selector.js.map +1 -0
  444. package/dist/src/core/sync/profile-validator.d.ts +52 -0
  445. package/dist/src/core/sync/profile-validator.d.ts.map +1 -0
  446. package/dist/src/core/sync/profile-validator.js +225 -0
  447. package/dist/src/core/sync/profile-validator.js.map +1 -0
  448. package/dist/src/core/sync/project-context.d.ts +81 -0
  449. package/dist/src/core/sync/project-context.d.ts.map +1 -0
  450. package/dist/src/core/sync/project-context.js +354 -0
  451. package/dist/src/core/sync/project-context.js.map +1 -0
  452. package/dist/src/core/sync/rate-limiter.d.ts +116 -0
  453. package/dist/src/core/sync/rate-limiter.d.ts.map +1 -0
  454. package/dist/src/core/sync/rate-limiter.js +308 -0
  455. package/dist/src/core/sync/rate-limiter.js.map +1 -0
  456. package/dist/src/core/sync/time-range-selector.d.ts +48 -0
  457. package/dist/src/core/sync/time-range-selector.d.ts.map +1 -0
  458. package/dist/src/core/sync/time-range-selector.js +224 -0
  459. package/dist/src/core/sync/time-range-selector.js.map +1 -0
  460. package/dist/src/core/types/config.d.ts +90 -0
  461. package/dist/src/core/types/config.d.ts.map +1 -0
  462. package/dist/src/core/types/config.js +44 -0
  463. package/dist/src/core/types/config.js.map +1 -0
  464. package/dist/src/core/types/increment-metadata.d.ts +120 -0
  465. package/dist/src/core/types/increment-metadata.d.ts.map +1 -0
  466. package/dist/src/core/types/increment-metadata.js +138 -0
  467. package/dist/src/core/types/increment-metadata.js.map +1 -0
  468. package/dist/src/core/types/plugin.d.ts +283 -0
  469. package/dist/src/core/types/plugin.d.ts.map +1 -0
  470. package/dist/src/core/types/plugin.js +49 -0
  471. package/dist/src/core/types/plugin.js.map +1 -0
  472. package/dist/src/core/types/spec-metadata.d.ts +229 -0
  473. package/dist/src/core/types/spec-metadata.d.ts.map +1 -0
  474. package/dist/src/core/types/spec-metadata.js +14 -0
  475. package/dist/src/core/types/spec-metadata.js.map +1 -0
  476. package/dist/src/core/types/sync-profile.d.ts +403 -0
  477. package/dist/src/core/types/sync-profile.d.ts.map +1 -0
  478. package/dist/src/core/types/sync-profile.js +55 -0
  479. package/dist/src/core/types/sync-profile.js.map +1 -0
  480. package/dist/src/hooks/lib/git-diff-analyzer.d.ts +89 -0
  481. package/dist/src/hooks/lib/git-diff-analyzer.d.ts.map +1 -0
  482. package/dist/src/hooks/lib/git-diff-analyzer.js +226 -0
  483. package/dist/src/hooks/lib/git-diff-analyzer.js.map +1 -0
  484. package/dist/src/hooks/lib/invoke-translator-skill.d.ts +60 -0
  485. package/dist/src/hooks/lib/invoke-translator-skill.d.ts.map +1 -0
  486. package/dist/src/hooks/lib/invoke-translator-skill.js +201 -0
  487. package/dist/src/hooks/lib/invoke-translator-skill.js.map +1 -0
  488. package/dist/src/hooks/lib/prepare-reflection-context.d.ts +42 -0
  489. package/dist/src/hooks/lib/prepare-reflection-context.d.ts.map +1 -0
  490. package/dist/src/hooks/lib/prepare-reflection-context.js +123 -0
  491. package/dist/src/hooks/lib/prepare-reflection-context.js.map +1 -0
  492. package/dist/src/hooks/lib/reflection-config-loader.d.ts +45 -0
  493. package/dist/src/hooks/lib/reflection-config-loader.d.ts.map +1 -0
  494. package/dist/src/hooks/lib/reflection-config-loader.js +132 -0
  495. package/dist/src/hooks/lib/reflection-config-loader.js.map +1 -0
  496. package/dist/src/hooks/lib/reflection-parser.d.ts +33 -0
  497. package/dist/src/hooks/lib/reflection-parser.d.ts.map +1 -0
  498. package/dist/src/hooks/lib/reflection-parser.js +419 -0
  499. package/dist/src/hooks/lib/reflection-parser.js.map +1 -0
  500. package/dist/src/hooks/lib/reflection-prompt-builder.d.ts +56 -0
  501. package/dist/src/hooks/lib/reflection-prompt-builder.d.ts.map +1 -0
  502. package/dist/src/hooks/lib/reflection-prompt-builder.js +239 -0
  503. package/dist/src/hooks/lib/reflection-prompt-builder.js.map +1 -0
  504. package/dist/src/hooks/lib/reflection-storage.d.ts +64 -0
  505. package/dist/src/hooks/lib/reflection-storage.d.ts.map +1 -0
  506. package/dist/src/hooks/lib/reflection-storage.js +305 -0
  507. package/dist/src/hooks/lib/reflection-storage.js.map +1 -0
  508. package/dist/src/hooks/lib/run-self-reflection.d.ts +43 -0
  509. package/dist/src/hooks/lib/run-self-reflection.d.ts.map +1 -0
  510. package/dist/src/hooks/lib/run-self-reflection.js +203 -0
  511. package/dist/src/hooks/lib/run-self-reflection.js.map +1 -0
  512. package/dist/src/hooks/lib/sync-living-docs.d.ts +27 -0
  513. package/dist/src/hooks/lib/sync-living-docs.d.ts.map +1 -0
  514. package/dist/src/hooks/lib/sync-living-docs.js +116 -0
  515. package/dist/src/hooks/lib/sync-living-docs.js.map +1 -0
  516. package/dist/src/hooks/lib/translate-file.d.ts +59 -0
  517. package/dist/src/hooks/lib/translate-file.d.ts.map +1 -0
  518. package/dist/src/hooks/lib/translate-file.js +350 -0
  519. package/dist/src/hooks/lib/translate-file.js.map +1 -0
  520. package/dist/src/hooks/lib/translate-living-docs.d.ts +13 -0
  521. package/dist/src/hooks/lib/translate-living-docs.d.ts.map +1 -0
  522. package/dist/src/hooks/lib/translate-living-docs.js +175 -0
  523. package/dist/src/hooks/lib/translate-living-docs.js.map +1 -0
  524. package/dist/src/hooks/lib/types/reflection-types.d.ts +164 -0
  525. package/dist/src/hooks/lib/types/reflection-types.d.ts.map +1 -0
  526. package/dist/src/hooks/lib/types/reflection-types.js +73 -0
  527. package/dist/src/hooks/lib/types/reflection-types.js.map +1 -0
  528. package/dist/src/hooks/lib/update-tasks-md.d.ts +29 -0
  529. package/dist/src/hooks/lib/update-tasks-md.d.ts.map +1 -0
  530. package/dist/src/hooks/lib/update-tasks-md.js +203 -0
  531. package/dist/src/hooks/lib/update-tasks-md.js.map +1 -0
  532. package/dist/src/integrations/ado/ado-client.d.ts +127 -0
  533. package/dist/src/integrations/ado/ado-client.d.ts.map +1 -0
  534. package/dist/src/integrations/ado/ado-client.js +416 -0
  535. package/dist/src/integrations/ado/ado-client.js.map +1 -0
  536. package/dist/src/integrations/jira/jira-client.d.ts +139 -0
  537. package/dist/src/integrations/jira/jira-client.d.ts.map +1 -0
  538. package/dist/src/integrations/jira/jira-client.js +386 -0
  539. package/dist/src/integrations/jira/jira-client.js.map +1 -0
  540. package/dist/src/integrations/jira/jira-incremental-mapper.d.ts +75 -0
  541. package/dist/src/integrations/jira/jira-incremental-mapper.d.ts.map +1 -0
  542. package/dist/src/integrations/jira/jira-incremental-mapper.js +474 -0
  543. package/dist/src/integrations/jira/jira-incremental-mapper.js.map +1 -0
  544. package/dist/src/integrations/jira/jira-mapper.d.ts +105 -0
  545. package/dist/src/integrations/jira/jira-mapper.d.ts.map +1 -0
  546. package/dist/src/integrations/jira/jira-mapper.js +494 -0
  547. package/dist/src/integrations/jira/jira-mapper.js.map +1 -0
  548. package/dist/src/metrics/calculators/change-failure-rate.d.ts +22 -0
  549. package/dist/src/metrics/calculators/change-failure-rate.d.ts.map +1 -0
  550. package/dist/src/metrics/calculators/change-failure-rate.js +70 -0
  551. package/dist/src/metrics/calculators/change-failure-rate.js.map +1 -0
  552. package/dist/src/metrics/calculators/deployment-frequency.d.ts +20 -0
  553. package/dist/src/metrics/calculators/deployment-frequency.d.ts.map +1 -0
  554. package/dist/src/metrics/calculators/deployment-frequency.js +61 -0
  555. package/dist/src/metrics/calculators/deployment-frequency.js.map +1 -0
  556. package/dist/src/metrics/calculators/lead-time.d.ts +22 -0
  557. package/dist/src/metrics/calculators/lead-time.d.ts.map +1 -0
  558. package/dist/src/metrics/calculators/lead-time.js +82 -0
  559. package/dist/src/metrics/calculators/lead-time.js.map +1 -0
  560. package/dist/src/metrics/calculators/mttr.d.ts +21 -0
  561. package/dist/src/metrics/calculators/mttr.d.ts.map +1 -0
  562. package/dist/src/metrics/calculators/mttr.js +60 -0
  563. package/dist/src/metrics/calculators/mttr.js.map +1 -0
  564. package/dist/src/metrics/dora-calculator.d.ts +28 -0
  565. package/dist/src/metrics/dora-calculator.d.ts.map +1 -0
  566. package/dist/src/metrics/dora-calculator.js +117 -0
  567. package/dist/src/metrics/dora-calculator.js.map +1 -0
  568. package/dist/src/metrics/github-client.d.ts +51 -0
  569. package/dist/src/metrics/github-client.d.ts.map +1 -0
  570. package/dist/src/metrics/github-client.js +133 -0
  571. package/dist/src/metrics/github-client.js.map +1 -0
  572. package/dist/src/metrics/report-generator.d.ts +17 -0
  573. package/dist/src/metrics/report-generator.d.ts.map +1 -0
  574. package/dist/src/metrics/report-generator.js +403 -0
  575. package/dist/src/metrics/report-generator.js.map +1 -0
  576. package/dist/src/metrics/types.d.ts +112 -0
  577. package/dist/src/metrics/types.d.ts.map +1 -0
  578. package/dist/src/metrics/types.js +10 -0
  579. package/dist/src/metrics/types.js.map +1 -0
  580. package/dist/src/metrics/utils/percentile.d.ts +25 -0
  581. package/dist/src/metrics/utils/percentile.d.ts.map +1 -0
  582. package/dist/src/metrics/utils/percentile.js +46 -0
  583. package/dist/src/metrics/utils/percentile.js.map +1 -0
  584. package/dist/src/metrics/utils/tier-classifier.d.ts +61 -0
  585. package/dist/src/metrics/utils/tier-classifier.d.ts.map +1 -0
  586. package/dist/src/metrics/utils/tier-classifier.js +100 -0
  587. package/dist/src/metrics/utils/tier-classifier.js.map +1 -0
  588. package/dist/src/testing/test-generator.d.ts +117 -0
  589. package/dist/src/testing/test-generator.d.ts.map +1 -0
  590. package/dist/src/testing/test-generator.js +370 -0
  591. package/dist/src/testing/test-generator.js.map +1 -0
  592. package/dist/src/types/cost-tracking.d.ts +43 -0
  593. package/dist/src/types/cost-tracking.d.ts.map +1 -0
  594. package/dist/src/types/cost-tracking.js +8 -0
  595. package/dist/src/types/cost-tracking.js.map +1 -0
  596. package/dist/src/types/model-selection.d.ts +53 -0
  597. package/dist/src/types/model-selection.d.ts.map +1 -0
  598. package/dist/src/types/model-selection.js +12 -0
  599. package/dist/src/types/model-selection.js.map +1 -0
  600. package/dist/src/utils/agents-md-compiler.d.ts +68 -0
  601. package/dist/src/utils/agents-md-compiler.d.ts.map +1 -0
  602. package/dist/src/utils/agents-md-compiler.js +420 -0
  603. package/dist/src/utils/agents-md-compiler.js.map +1 -0
  604. package/dist/src/utils/auth-helpers.d.ts +58 -0
  605. package/dist/src/utils/auth-helpers.d.ts.map +1 -0
  606. package/dist/src/utils/auth-helpers.js +108 -0
  607. package/dist/src/utils/auth-helpers.js.map +1 -0
  608. package/dist/src/utils/auto-install.d.ts +47 -0
  609. package/dist/src/utils/auto-install.d.ts.map +1 -0
  610. package/dist/src/utils/auto-install.js +211 -0
  611. package/dist/src/utils/auto-install.js.map +1 -0
  612. package/dist/src/utils/claude-cli-detector.d.ts +75 -0
  613. package/dist/src/utils/claude-cli-detector.d.ts.map +1 -0
  614. package/dist/src/utils/claude-cli-detector.js +285 -0
  615. package/dist/src/utils/claude-cli-detector.js.map +1 -0
  616. package/dist/src/utils/cost-reporter.d.ts +58 -0
  617. package/dist/src/utils/cost-reporter.d.ts.map +1 -0
  618. package/dist/src/utils/cost-reporter.js +224 -0
  619. package/dist/src/utils/cost-reporter.js.map +1 -0
  620. package/dist/src/utils/docs-preview/config-generator.d.ts +46 -0
  621. package/dist/src/utils/docs-preview/config-generator.d.ts.map +1 -0
  622. package/dist/src/utils/docs-preview/config-generator.js +377 -0
  623. package/dist/src/utils/docs-preview/config-generator.js.map +1 -0
  624. package/dist/src/utils/docs-preview/docusaurus-setup.d.ts +38 -0
  625. package/dist/src/utils/docs-preview/docusaurus-setup.d.ts.map +1 -0
  626. package/dist/src/utils/docs-preview/docusaurus-setup.js +177 -0
  627. package/dist/src/utils/docs-preview/docusaurus-setup.js.map +1 -0
  628. package/dist/src/utils/docs-preview/index.d.ts +7 -0
  629. package/dist/src/utils/docs-preview/index.d.ts.map +1 -0
  630. package/dist/src/utils/docs-preview/index.js +7 -0
  631. package/dist/src/utils/docs-preview/index.js.map +1 -0
  632. package/dist/src/utils/docs-preview/package-installer.d.ts +42 -0
  633. package/dist/src/utils/docs-preview/package-installer.d.ts.map +1 -0
  634. package/dist/src/utils/docs-preview/package-installer.js +182 -0
  635. package/dist/src/utils/docs-preview/package-installer.js.map +1 -0
  636. package/dist/src/utils/docs-preview/server-manager.d.ts +30 -0
  637. package/dist/src/utils/docs-preview/server-manager.d.ts.map +1 -0
  638. package/dist/src/utils/docs-preview/server-manager.js +212 -0
  639. package/dist/src/utils/docs-preview/server-manager.js.map +1 -0
  640. package/dist/src/utils/docs-preview/sidebar-builder.d.ts +32 -0
  641. package/dist/src/utils/docs-preview/sidebar-builder.d.ts.map +1 -0
  642. package/dist/src/utils/docs-preview/sidebar-builder.js +202 -0
  643. package/dist/src/utils/docs-preview/sidebar-builder.js.map +1 -0
  644. package/dist/src/utils/docs-preview/types.d.ts +57 -0
  645. package/dist/src/utils/docs-preview/types.d.ts.map +1 -0
  646. package/dist/src/utils/docs-preview/types.js +2 -0
  647. package/dist/src/utils/docs-preview/types.js.map +1 -0
  648. package/dist/src/utils/env-file.d.ts +88 -0
  649. package/dist/src/utils/env-file.d.ts.map +1 -0
  650. package/dist/src/utils/env-file.js +180 -0
  651. package/dist/src/utils/env-file.js.map +1 -0
  652. package/dist/src/utils/env-multi-project-parser.d.ts +220 -0
  653. package/dist/src/utils/env-multi-project-parser.d.ts.map +1 -0
  654. package/dist/src/utils/env-multi-project-parser.js +403 -0
  655. package/dist/src/utils/env-multi-project-parser.js.map +1 -0
  656. package/dist/src/utils/esm-helpers.d.ts +50 -0
  657. package/dist/src/utils/esm-helpers.d.ts.map +1 -0
  658. package/dist/src/utils/esm-helpers.js +57 -0
  659. package/dist/src/utils/esm-helpers.js.map +1 -0
  660. package/dist/src/utils/execFileNoThrow.d.ts +99 -0
  661. package/dist/src/utils/execFileNoThrow.d.ts.map +1 -0
  662. package/dist/src/utils/execFileNoThrow.js +137 -0
  663. package/dist/src/utils/execFileNoThrow.js.map +1 -0
  664. package/dist/src/utils/external-resource-validator.d.ts +102 -0
  665. package/dist/src/utils/external-resource-validator.d.ts.map +1 -0
  666. package/dist/src/utils/external-resource-validator.js +442 -0
  667. package/dist/src/utils/external-resource-validator.js.map +1 -0
  668. package/dist/src/utils/generate-skills-index.d.ts +24 -0
  669. package/dist/src/utils/generate-skills-index.d.ts.map +1 -0
  670. package/dist/src/utils/generate-skills-index.js +410 -0
  671. package/dist/src/utils/generate-skills-index.js.map +1 -0
  672. package/dist/src/utils/model-selection.d.ts +75 -0
  673. package/dist/src/utils/model-selection.d.ts.map +1 -0
  674. package/dist/src/utils/model-selection.js +204 -0
  675. package/dist/src/utils/model-selection.js.map +1 -0
  676. package/dist/src/utils/plugin-validator.d.ts +161 -0
  677. package/dist/src/utils/plugin-validator.d.ts.map +1 -0
  678. package/dist/src/utils/plugin-validator.js +558 -0
  679. package/dist/src/utils/plugin-validator.js.map +1 -0
  680. package/dist/src/utils/pricing-constants.d.ts +70 -0
  681. package/dist/src/utils/pricing-constants.d.ts.map +1 -0
  682. package/dist/src/utils/pricing-constants.js +71 -0
  683. package/dist/src/utils/pricing-constants.js.map +1 -0
  684. package/dist/src/utils/project-detection.d.ts +141 -0
  685. package/dist/src/utils/project-detection.d.ts.map +1 -0
  686. package/dist/src/utils/project-detection.js +321 -0
  687. package/dist/src/utils/project-detection.js.map +1 -0
  688. package/dist/src/utils/string-utils.d.ts +40 -0
  689. package/dist/src/utils/string-utils.d.ts.map +1 -0
  690. package/dist/src/utils/string-utils.js +58 -0
  691. package/dist/src/utils/string-utils.js.map +1 -0
  692. package/dist/src/utils/translation.d.ts +187 -0
  693. package/dist/src/utils/translation.d.ts.map +1 -0
  694. package/dist/src/utils/translation.js +414 -0
  695. package/dist/src/utils/translation.js.map +1 -0
  696. package/dist/utils/external-resource-validator.js +1 -1
  697. package/dist/utils/external-resource-validator.js.map +1 -1
  698. package/package.json +4 -3
  699. package/plugins/specweave/.claude-plugin/plugin.json +2 -1
  700. package/plugins/specweave/agents/pm/AGENT.md +8 -38
  701. package/plugins/specweave/commands/specweave-increment.md +28 -48
  702. package/plugins/specweave/hooks/README.md +289 -92
  703. package/plugins/specweave/hooks/hooks.json +10 -0
  704. package/plugins/specweave/hooks/post-increment-completion.sh +83 -0
  705. package/plugins/specweave/hooks/post-increment-planning.sh +2 -2
  706. package/plugins/specweave/hooks/post-task-completion.sh +20 -141
  707. package/plugins/specweave/hooks/user-prompt-submit.sh +142 -0
  708. package/plugins/specweave/lib/hooks/git-diff-analyzer.d.js +0 -0
  709. package/plugins/specweave/lib/hooks/git-diff-analyzer.d.ts +89 -0
  710. package/plugins/specweave/lib/hooks/git-diff-analyzer.d.ts.map +1 -0
  711. package/plugins/specweave/lib/hooks/git-diff-analyzer.js +226 -0
  712. package/plugins/specweave/lib/hooks/git-diff-analyzer.js.map +1 -0
  713. package/plugins/specweave/lib/hooks/invoke-translator-skill.d.js +0 -0
  714. package/plugins/specweave/lib/hooks/invoke-translator-skill.d.ts +60 -0
  715. package/plugins/specweave/lib/hooks/invoke-translator-skill.d.ts.map +1 -0
  716. package/plugins/specweave/lib/hooks/invoke-translator-skill.js +201 -0
  717. package/plugins/specweave/lib/hooks/invoke-translator-skill.js.map +1 -0
  718. package/plugins/specweave/lib/hooks/prepare-reflection-context.d.js +0 -0
  719. package/plugins/specweave/lib/hooks/prepare-reflection-context.d.ts +42 -0
  720. package/plugins/specweave/lib/hooks/prepare-reflection-context.d.ts.map +1 -0
  721. package/plugins/specweave/lib/hooks/prepare-reflection-context.js +123 -0
  722. package/plugins/specweave/lib/hooks/prepare-reflection-context.js.map +1 -0
  723. package/plugins/specweave/lib/hooks/reflection-config-loader.d.js +0 -0
  724. package/plugins/specweave/lib/hooks/reflection-config-loader.d.ts +45 -0
  725. package/plugins/specweave/lib/hooks/reflection-config-loader.d.ts.map +1 -0
  726. package/plugins/specweave/lib/hooks/reflection-config-loader.js +132 -0
  727. package/plugins/specweave/lib/hooks/reflection-config-loader.js.map +1 -0
  728. package/plugins/specweave/lib/hooks/reflection-parser.d.js +0 -0
  729. package/plugins/specweave/lib/hooks/reflection-parser.d.ts +33 -0
  730. package/plugins/specweave/lib/hooks/reflection-parser.d.ts.map +1 -0
  731. package/plugins/specweave/lib/hooks/reflection-parser.js +419 -0
  732. package/plugins/specweave/lib/hooks/reflection-parser.js.map +1 -0
  733. package/plugins/specweave/lib/hooks/reflection-prompt-builder.d.js +0 -0
  734. package/plugins/specweave/lib/hooks/reflection-prompt-builder.d.ts +56 -0
  735. package/plugins/specweave/lib/hooks/reflection-prompt-builder.d.ts.map +1 -0
  736. package/plugins/specweave/lib/hooks/reflection-prompt-builder.js +239 -0
  737. package/plugins/specweave/lib/hooks/reflection-prompt-builder.js.map +1 -0
  738. package/plugins/specweave/lib/hooks/reflection-storage.d.js +0 -0
  739. package/plugins/specweave/lib/hooks/reflection-storage.d.ts +64 -0
  740. package/plugins/specweave/lib/hooks/reflection-storage.d.ts.map +1 -0
  741. package/plugins/specweave/lib/hooks/reflection-storage.js +305 -0
  742. package/plugins/specweave/lib/hooks/reflection-storage.js.map +1 -0
  743. package/plugins/specweave/lib/hooks/run-self-reflection.d.js +0 -0
  744. package/plugins/specweave/lib/hooks/run-self-reflection.d.ts +43 -0
  745. package/plugins/specweave/lib/hooks/run-self-reflection.d.ts.map +1 -0
  746. package/plugins/specweave/lib/hooks/run-self-reflection.js +203 -0
  747. package/plugins/specweave/lib/hooks/run-self-reflection.js.map +1 -0
  748. package/plugins/specweave/lib/hooks/sync-living-docs.d.js +1 -0
  749. package/plugins/specweave/lib/hooks/sync-living-docs.d.ts +27 -0
  750. package/plugins/specweave/lib/hooks/sync-living-docs.d.ts.map +1 -0
  751. package/plugins/specweave/lib/hooks/sync-living-docs.js +144 -0
  752. package/plugins/specweave/lib/hooks/sync-living-docs.js.map +1 -0
  753. package/plugins/specweave/lib/hooks/translate-file.d.js +0 -0
  754. package/plugins/specweave/lib/hooks/translate-file.d.ts +59 -0
  755. package/plugins/specweave/lib/hooks/translate-file.d.ts.map +1 -0
  756. package/plugins/specweave/lib/hooks/translate-file.js +350 -0
  757. package/plugins/specweave/lib/hooks/translate-file.js.map +1 -0
  758. package/plugins/specweave/lib/hooks/translate-living-docs.d.js +0 -0
  759. package/plugins/specweave/lib/hooks/translate-living-docs.d.ts +13 -0
  760. package/plugins/specweave/lib/hooks/translate-living-docs.d.ts.map +1 -0
  761. package/plugins/specweave/lib/hooks/translate-living-docs.js +175 -0
  762. package/plugins/specweave/lib/hooks/translate-living-docs.js.map +1 -0
  763. package/plugins/specweave/lib/hooks/types/reflection-types.d.js +0 -0
  764. package/plugins/specweave/lib/hooks/types/reflection-types.d.ts +164 -0
  765. package/plugins/specweave/lib/hooks/types/reflection-types.d.ts.map +1 -0
  766. package/plugins/specweave/lib/hooks/types/reflection-types.js +73 -0
  767. package/plugins/specweave/lib/hooks/types/reflection-types.js.map +1 -0
  768. package/plugins/specweave/lib/hooks/update-tasks-md.d.js +1 -0
  769. package/plugins/specweave/lib/hooks/update-tasks-md.d.ts +29 -0
  770. package/plugins/specweave/lib/hooks/update-tasks-md.d.ts.map +1 -0
  771. package/plugins/specweave/lib/hooks/update-tasks-md.js +203 -0
  772. package/plugins/specweave/lib/hooks/update-tasks-md.js.map +1 -0
  773. package/plugins/specweave-ado/.claude-plugin/plugin.json +2 -1
  774. package/plugins/specweave-ado/hooks/README.md +201 -0
  775. package/plugins/specweave-ado/hooks/hooks.json +15 -0
  776. package/plugins/specweave-ado/hooks/post-task-completion.sh +150 -0
  777. package/plugins/specweave-ado/lib/ado-board-resolver.d.js +0 -0
  778. package/plugins/specweave-ado/lib/ado-board-resolver.d.ts +94 -0
  779. package/plugins/specweave-ado/lib/ado-board-resolver.d.ts.map +1 -0
  780. package/plugins/specweave-ado/lib/ado-board-resolver.js +219 -0
  781. package/plugins/specweave-ado/lib/ado-board-resolver.js.map +1 -0
  782. package/plugins/specweave-ado/lib/ado-client-v2.d.js +0 -0
  783. package/plugins/specweave-ado/lib/ado-client-v2.d.ts +124 -0
  784. package/plugins/specweave-ado/lib/ado-client-v2.d.ts.map +1 -0
  785. package/plugins/specweave-ado/lib/ado-client-v2.js +435 -0
  786. package/plugins/specweave-ado/lib/ado-client-v2.js.map +1 -0
  787. package/plugins/specweave-ado/lib/ado-client-v2.ts +134 -10
  788. package/plugins/specweave-ado/lib/ado-client.d.js +4 -0
  789. package/plugins/specweave-ado/lib/ado-client.d.ts +112 -0
  790. package/plugins/specweave-ado/lib/ado-client.d.ts.map +1 -0
  791. package/plugins/specweave-ado/lib/ado-client.js +248 -0
  792. package/plugins/specweave-ado/lib/ado-client.js.map +1 -0
  793. package/plugins/specweave-ado/lib/ado-client.ts +19 -3
  794. package/plugins/specweave-ado/lib/ado-hierarchical-sync.d.js +0 -0
  795. package/plugins/specweave-ado/lib/ado-hierarchical-sync.d.ts +40 -0
  796. package/plugins/specweave-ado/lib/ado-hierarchical-sync.d.ts.map +1 -0
  797. package/plugins/specweave-ado/lib/ado-hierarchical-sync.js +370 -0
  798. package/plugins/specweave-ado/lib/ado-hierarchical-sync.js.map +1 -0
  799. package/plugins/specweave-ado/lib/ado-spec-sync.d.js +0 -0
  800. package/plugins/specweave-ado/lib/ado-spec-sync.d.ts +100 -0
  801. package/plugins/specweave-ado/lib/ado-spec-sync.d.ts.map +1 -0
  802. package/plugins/specweave-ado/lib/ado-spec-sync.js +471 -0
  803. package/plugins/specweave-ado/lib/ado-spec-sync.js.map +1 -0
  804. package/plugins/specweave-ado/lib/project-selector.d.js +0 -0
  805. package/plugins/specweave-github/.claude-plugin/plugin.json +2 -1
  806. package/plugins/specweave-github/hooks/README.md +280 -0
  807. package/plugins/specweave-github/hooks/hooks.json +15 -0
  808. package/plugins/specweave-github/hooks/post-task-completion.sh +241 -0
  809. package/plugins/specweave-github/lib/cli-sync-increment-changes.d.js +1 -0
  810. package/plugins/specweave-github/lib/cli-sync-increment-changes.d.ts +12 -0
  811. package/plugins/specweave-github/lib/cli-sync-increment-changes.d.ts.map +1 -0
  812. package/plugins/specweave-github/lib/cli-sync-increment-changes.js +28 -0
  813. package/plugins/specweave-github/lib/cli-sync-increment-changes.js.map +1 -0
  814. package/plugins/specweave-github/lib/github-board-resolver.d.js +0 -0
  815. package/plugins/specweave-github/lib/github-board-resolver.d.ts +54 -0
  816. package/plugins/specweave-github/lib/github-board-resolver.d.ts.map +1 -0
  817. package/plugins/specweave-github/lib/github-board-resolver.js +122 -0
  818. package/plugins/specweave-github/lib/github-board-resolver.js.map +1 -0
  819. package/plugins/specweave-github/lib/github-client-v2.d.js +0 -0
  820. package/plugins/specweave-github/lib/github-client-v2.d.ts +104 -0
  821. package/plugins/specweave-github/lib/github-client-v2.d.ts.map +1 -0
  822. package/plugins/specweave-github/lib/github-client-v2.js +408 -0
  823. package/plugins/specweave-github/lib/github-client-v2.js.map +1 -0
  824. package/plugins/specweave-github/lib/github-client.d.js +0 -0
  825. package/plugins/specweave-github/lib/github-client.d.ts +96 -0
  826. package/plugins/specweave-github/lib/github-client.d.ts.map +1 -0
  827. package/plugins/specweave-github/lib/github-client.js +299 -0
  828. package/plugins/specweave-github/lib/github-client.js.map +1 -0
  829. package/plugins/specweave-github/lib/github-hierarchical-sync.d.js +0 -0
  830. package/plugins/specweave-github/lib/github-hierarchical-sync.d.ts +29 -0
  831. package/plugins/specweave-github/lib/github-hierarchical-sync.d.ts.map +1 -0
  832. package/plugins/specweave-github/lib/github-hierarchical-sync.js +268 -0
  833. package/plugins/specweave-github/lib/github-hierarchical-sync.js.map +1 -0
  834. package/plugins/specweave-github/lib/github-issue-updater.d.js +0 -0
  835. package/plugins/specweave-github/lib/github-issue-updater.d.ts +61 -0
  836. package/plugins/specweave-github/lib/github-issue-updater.d.ts.map +1 -0
  837. package/plugins/specweave-github/lib/github-issue-updater.js +327 -0
  838. package/plugins/specweave-github/lib/github-issue-updater.js.map +1 -0
  839. package/plugins/specweave-github/lib/github-spec-sync.d.js +0 -0
  840. package/plugins/specweave-github/lib/github-spec-sync.d.ts +108 -0
  841. package/plugins/specweave-github/lib/github-spec-sync.d.ts.map +1 -0
  842. package/plugins/specweave-github/lib/github-spec-sync.js +505 -0
  843. package/plugins/specweave-github/lib/github-spec-sync.js.map +1 -0
  844. package/plugins/specweave-github/lib/github-sync-bidirectional.d.js +0 -0
  845. package/plugins/specweave-github/lib/github-sync-bidirectional.d.ts +36 -0
  846. package/plugins/specweave-github/lib/github-sync-bidirectional.d.ts.map +1 -0
  847. package/plugins/specweave-github/lib/github-sync-bidirectional.js +228 -0
  848. package/plugins/specweave-github/lib/github-sync-bidirectional.js.map +1 -0
  849. package/plugins/specweave-github/lib/github-sync-increment-changes.d.js +0 -0
  850. package/plugins/specweave-github/lib/github-sync-increment-changes.d.ts +18 -0
  851. package/plugins/specweave-github/lib/github-sync-increment-changes.d.ts.map +1 -0
  852. package/plugins/specweave-github/lib/github-sync-increment-changes.js +287 -0
  853. package/plugins/specweave-github/lib/github-sync-increment-changes.js.map +1 -0
  854. package/plugins/specweave-github/lib/index.d.js +11 -0
  855. package/plugins/specweave-github/lib/index.d.ts +10 -0
  856. package/plugins/specweave-github/lib/index.d.ts.map +1 -0
  857. package/plugins/specweave-github/lib/index.js +10 -0
  858. package/plugins/specweave-github/lib/index.js.map +1 -0
  859. package/plugins/specweave-github/lib/repo-selector.d.js +0 -0
  860. package/plugins/specweave-github/lib/repo-selector.d.ts +49 -0
  861. package/plugins/specweave-github/lib/repo-selector.d.ts.map +1 -0
  862. package/plugins/specweave-github/lib/repo-selector.js +216 -0
  863. package/plugins/specweave-github/lib/repo-selector.js.map +1 -0
  864. package/plugins/specweave-github/lib/subtask-sync.d.js +0 -0
  865. package/plugins/specweave-github/lib/subtask-sync.d.ts +51 -0
  866. package/plugins/specweave-github/lib/subtask-sync.d.ts.map +1 -0
  867. package/plugins/specweave-github/lib/subtask-sync.js +147 -0
  868. package/plugins/specweave-github/lib/subtask-sync.js.map +1 -0
  869. package/plugins/specweave-github/lib/task-parser.d.js +0 -0
  870. package/plugins/specweave-github/lib/task-parser.d.ts +37 -0
  871. package/plugins/specweave-github/lib/task-parser.d.ts.map +1 -0
  872. package/plugins/specweave-github/lib/task-parser.js +211 -0
  873. package/plugins/specweave-github/lib/task-parser.js.map +1 -0
  874. package/plugins/specweave-github/lib/task-sync.d.js +0 -0
  875. package/plugins/specweave-github/lib/task-sync.d.ts +51 -0
  876. package/plugins/specweave-github/lib/task-sync.d.ts.map +1 -0
  877. package/plugins/specweave-github/lib/task-sync.js +332 -0
  878. package/plugins/specweave-github/lib/task-sync.js.map +1 -0
  879. package/plugins/specweave-github/lib/types.d.js +0 -0
  880. package/plugins/specweave-github/lib/types.d.ts +80 -0
  881. package/plugins/specweave-github/lib/types.d.ts.map +1 -0
  882. package/plugins/specweave-github/lib/types.js +5 -0
  883. package/plugins/specweave-github/lib/types.js.map +1 -0
  884. package/plugins/specweave-jira/.claude-plugin/plugin.json +2 -1
  885. package/plugins/specweave-jira/hooks/README.md +201 -0
  886. package/plugins/specweave-jira/hooks/hooks.json +15 -0
  887. package/plugins/specweave-jira/hooks/post-task-completion.sh +150 -0
  888. package/plugins/specweave-jira/lib/jira-board-resolver.d.js +0 -0
  889. package/plugins/specweave-jira/lib/jira-board-resolver.d.ts +50 -0
  890. package/plugins/specweave-jira/lib/jira-board-resolver.d.ts.map +1 -0
  891. package/plugins/specweave-jira/lib/jira-board-resolver.js +84 -0
  892. package/plugins/specweave-jira/lib/jira-board-resolver.js.map +1 -0
  893. package/plugins/specweave-jira/lib/jira-hierarchical-sync.d.js +0 -0
  894. package/plugins/specweave-jira/lib/jira-hierarchical-sync.d.ts +33 -0
  895. package/plugins/specweave-jira/lib/jira-hierarchical-sync.d.ts.map +1 -0
  896. package/plugins/specweave-jira/lib/jira-hierarchical-sync.js +206 -0
  897. package/plugins/specweave-jira/lib/jira-hierarchical-sync.js.map +1 -0
  898. package/plugins/specweave-jira/lib/jira-spec-sync.d.js +0 -0
  899. package/plugins/specweave-jira/lib/jira-spec-sync.d.ts +105 -0
  900. package/plugins/specweave-jira/lib/jira-spec-sync.d.ts.map +1 -0
  901. package/plugins/specweave-jira/lib/jira-spec-sync.js +456 -0
  902. package/plugins/specweave-jira/lib/jira-spec-sync.js.map +1 -0
  903. package/plugins/specweave-jira/lib/project-selector.d.js +0 -0
  904. package/plugins/specweave-jira/lib/project-selector.d.ts +42 -0
  905. package/plugins/specweave-jira/lib/project-selector.d.ts.map +1 -0
  906. package/plugins/specweave-jira/lib/project-selector.js +216 -0
  907. package/plugins/specweave-jira/lib/project-selector.js.map +1 -0
  908. package/plugins/specweave-jira/lib/reorganization-detector.d.js +0 -0
  909. package/plugins/specweave-jira/lib/reorganization-detector.d.ts +67 -0
  910. package/plugins/specweave-jira/lib/reorganization-detector.d.ts.map +1 -0
  911. package/plugins/specweave-jira/lib/reorganization-detector.js +252 -0
  912. package/plugins/specweave-jira/lib/reorganization-detector.js.map +1 -0
  913. package/plugins/specweave-jira/lib/setup-wizard.d.js +4 -0
  914. package/plugins/specweave-jira/lib/setup-wizard.d.ts +29 -0
  915. package/plugins/specweave-jira/lib/setup-wizard.d.ts.map +1 -0
  916. package/plugins/specweave-jira/lib/setup-wizard.js +219 -0
  917. package/plugins/specweave-jira/lib/setup-wizard.js.map +1 -0
  918. package/src/templates/CLAUDE.md.template +41 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"invoke-translator-skill.js","sourceRoot":"","sources":["../../../../../plugins/specweave/lib/hooks/invoke-translator-skill.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,MAAM,UAAU,CAAC;AAE1B,OAAO,EACL,cAAc,EACd,kBAAkB,EAClB,sBAAsB,EACtB,eAAe,GAEhB,MAAM,sCAAsC,CAAC;AAc9C;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,CAAC,KAAK,UAAU,qBAAqB,CACzC,OAAe,EACf,UAA6B,EAC7B,aAAgC,IAAI;IAEpC,IAAI,CAAC;QACH,sBAAsB;QACtB,MAAM,QAAQ,GAAG,kBAAkB,CAAC,OAAO,EAAE,UAAU,EAAE,UAAU,CAAC,CAAC;QAErE,wCAAwC;QACxC,gEAAgE;QAEhE,MAAM,MAAM,GAAsB;YAChC,OAAO,EAAE,IAAI;YACb,cAAc,EAAE,UAAU;YAC1B,cAAc,EAAE,UAAU;YAC1B,eAAe,EAAE,OAAO;YACxB,iBAAiB,EAAE,MAAM,kBAAkB,CAAC,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,SAAS,CAAC;SACjF,CAAC;QAEF,OAAO,MAAM,CAAC;IAChB,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACf,MAAM,YAAY,GAAG,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAC5E,OAAO;YACL,OAAO,EAAE,KAAK;YACd,cAAc,EAAE,UAAU;YAC1B,cAAc,EAAE,UAAU;YAC1B,eAAe,EAAE,OAAO;YACxB,KAAK,EAAE,YAAY;SAC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AAC,MAAM,CAAC;IACzD,OAAO,CAAC,GAAG,CAAC,oCAAoC,UAAU,IAAI,SAAS,CAAC,MAAM,qBAAqB,CAAC,CAAC;IAErG,OAAO,OAAO,CAAC;AACjB,CAAC"}
@@ -0,0 +1,42 @@
1
+ /**
2
+ * Prepare Reflection Context
3
+ *
4
+ * Prepares context for reflection and saves to temp file
5
+ * Used by post-task-completion hook to prepare for reflection invocation
6
+ *
7
+ * @module prepare-reflection-context
8
+ */
9
+ /**
10
+ * Prepare reflection context and save to temp file
11
+ * This allows the hook to prepare data without actually invoking the agent
12
+ *
13
+ * @param incrementId Increment identifier
14
+ * @param taskId Task identifier
15
+ * @param projectRoot Project root directory (optional)
16
+ * @returns Path to saved context file or null if reflection should be skipped
17
+ */
18
+ export declare function prepareReflectionContext(incrementId: string, taskId: string, projectRoot?: string): string | null;
19
+ /**
20
+ * Check if reflection context exists for an increment
21
+ *
22
+ * @param incrementId Increment identifier
23
+ * @param projectRoot Project root directory (optional)
24
+ * @returns True if context file exists
25
+ */
26
+ export declare function hasReflectionContext(incrementId: string, projectRoot?: string): boolean;
27
+ /**
28
+ * Read reflection context from file
29
+ *
30
+ * @param incrementId Increment identifier
31
+ * @param projectRoot Project root directory (optional)
32
+ * @returns Context data or null if not found
33
+ */
34
+ export declare function readReflectionContext(incrementId: string, projectRoot?: string): any | null;
35
+ /**
36
+ * Clear reflection context after reflection completes
37
+ *
38
+ * @param incrementId Increment identifier
39
+ * @param projectRoot Project root directory (optional)
40
+ */
41
+ export declare function clearReflectionContext(incrementId: string, projectRoot?: string): void;
42
+ //# sourceMappingURL=prepare-reflection-context.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prepare-reflection-context.d.ts","sourceRoot":"","sources":["../../../../../plugins/specweave/lib/hooks/prepare-reflection-context.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAOH;;;;;;;;GAQG;AACH,wBAAgB,wBAAwB,CACtC,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,MAAM,EACd,WAAW,CAAC,EAAE,MAAM,GACnB,MAAM,GAAG,IAAI,CA4Cf;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAClC,WAAW,EAAE,MAAM,EACnB,WAAW,CAAC,EAAE,MAAM,GACnB,OAAO,CAcT;AAED;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CACnC,WAAW,EAAE,MAAM,EACnB,WAAW,CAAC,EAAE,MAAM,GACnB,GAAG,GAAG,IAAI,CAsBZ;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CACpC,WAAW,EAAE,MAAM,EACnB,WAAW,CAAC,EAAE,MAAM,GACnB,IAAI,CAeN"}
@@ -0,0 +1,123 @@
1
+ /**
2
+ * Prepare Reflection Context
3
+ *
4
+ * Prepares context for reflection and saves to temp file
5
+ * Used by post-task-completion hook to prepare for reflection invocation
6
+ *
7
+ * @module prepare-reflection-context
8
+ */
9
+ import fs from 'fs-extra';
10
+ import path from 'path';
11
+ import { createReflectionContext } from './run-self-reflection';
12
+ import { getModifiedFilesSummary } from './git-diff-analyzer';
13
+ /**
14
+ * Prepare reflection context and save to temp file
15
+ * This allows the hook to prepare data without actually invoking the agent
16
+ *
17
+ * @param incrementId Increment identifier
18
+ * @param taskId Task identifier
19
+ * @param projectRoot Project root directory (optional)
20
+ * @returns Path to saved context file or null if reflection should be skipped
21
+ */
22
+ export function prepareReflectionContext(incrementId, taskId, projectRoot) {
23
+ try {
24
+ const context = createReflectionContext(incrementId, taskId, projectRoot);
25
+ // Check if reflection should run
26
+ if (!context.config.enabled || context.modifiedFiles.length === 0) {
27
+ return null;
28
+ }
29
+ // Create temp directory for reflection context
30
+ const rootDir = projectRoot || process.cwd();
31
+ const tempDir = path.join(rootDir, '.specweave', 'increments', incrementId, 'logs', 'reflections', '.temp');
32
+ fs.mkdirpSync(tempDir);
33
+ // Save context to temp file
34
+ const contextFile = path.join(tempDir, 'reflection-context.json');
35
+ const fileStats = getModifiedFilesSummary(context.modifiedFiles);
36
+ const contextData = {
37
+ incrementId: context.incrementId,
38
+ taskId: context.taskId,
39
+ modifiedFiles: context.modifiedFiles.map(f => ({
40
+ file: f.file,
41
+ linesAdded: f.linesAdded,
42
+ linesRemoved: f.linesRemoved
43
+ // Exclude diff content to save space
44
+ })),
45
+ fileSummary: {
46
+ count: fileStats.count,
47
+ linesAdded: fileStats.linesAdded,
48
+ linesRemoved: fileStats.linesRemoved
49
+ },
50
+ config: context.config,
51
+ timestamp: new Date().toISOString()
52
+ };
53
+ fs.writeJsonSync(contextFile, contextData, { spaces: 2 });
54
+ return contextFile;
55
+ }
56
+ catch (error) {
57
+ console.error(`Failed to prepare reflection context: ${error.message}`);
58
+ return null;
59
+ }
60
+ }
61
+ /**
62
+ * Check if reflection context exists for an increment
63
+ *
64
+ * @param incrementId Increment identifier
65
+ * @param projectRoot Project root directory (optional)
66
+ * @returns True if context file exists
67
+ */
68
+ export function hasReflectionContext(incrementId, projectRoot) {
69
+ const rootDir = projectRoot || process.cwd();
70
+ const contextFile = path.join(rootDir, '.specweave', 'increments', incrementId, 'logs', 'reflections', '.temp', 'reflection-context.json');
71
+ return fs.existsSync(contextFile);
72
+ }
73
+ /**
74
+ * Read reflection context from file
75
+ *
76
+ * @param incrementId Increment identifier
77
+ * @param projectRoot Project root directory (optional)
78
+ * @returns Context data or null if not found
79
+ */
80
+ export function readReflectionContext(incrementId, projectRoot) {
81
+ const rootDir = projectRoot || process.cwd();
82
+ const contextFile = path.join(rootDir, '.specweave', 'increments', incrementId, 'logs', 'reflections', '.temp', 'reflection-context.json');
83
+ if (!fs.existsSync(contextFile)) {
84
+ return null;
85
+ }
86
+ try {
87
+ return fs.readJsonSync(contextFile);
88
+ }
89
+ catch {
90
+ return null;
91
+ }
92
+ }
93
+ /**
94
+ * Clear reflection context after reflection completes
95
+ *
96
+ * @param incrementId Increment identifier
97
+ * @param projectRoot Project root directory (optional)
98
+ */
99
+ export function clearReflectionContext(incrementId, projectRoot) {
100
+ const rootDir = projectRoot || process.cwd();
101
+ const tempDir = path.join(rootDir, '.specweave', 'increments', incrementId, 'logs', 'reflections', '.temp');
102
+ if (fs.existsSync(tempDir)) {
103
+ fs.removeSync(tempDir);
104
+ }
105
+ }
106
+ // CLI entry point for hook integration
107
+ if (require.main === module) {
108
+ const incrementId = process.argv[2];
109
+ const taskId = process.argv[3];
110
+ if (!incrementId || !taskId) {
111
+ console.error('Usage: node prepare-reflection-context.js <increment-id> <task-id>');
112
+ process.exit(1);
113
+ }
114
+ const contextFile = prepareReflectionContext(incrementId, taskId);
115
+ if (contextFile) {
116
+ console.log(`Reflection context prepared: ${contextFile}`);
117
+ console.log('✨ Reflection ready. Run /specweave:reflect to analyze your work.');
118
+ }
119
+ else {
120
+ console.log('Reflection skipped (disabled or no changes).');
121
+ }
122
+ }
123
+ //# sourceMappingURL=prepare-reflection-context.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prepare-reflection-context.js","sourceRoot":"","sources":["../../../../../plugins/specweave/lib/hooks/prepare-reflection-context.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,MAAM,UAAU,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAE9D;;;;;;;;GAQG;AACH,MAAM,UAAU,wBAAwB,CACtC,WAAmB,EACnB,MAAc,EACd,WAAoB;IAEpB,IAAI,CAAC;QACH,MAAM,OAAO,GAAG,uBAAuB,CAAC,WAAW,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;QAE1E,iCAAiC;QACjC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,OAAO,IAAI,OAAO,CAAC,aAAa,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAClE,OAAO,IAAI,CAAC;QACd,CAAC;QAED,+CAA+C;QAC/C,MAAM,OAAO,GAAG,WAAW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E,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;IACzB,CAAC;AACH,CAAC;AAED,uCAAuC;AACvC,IAAI,OAAO,CAAC,IAAI,KAAK,MAAM,EAAE,CAAC;IAC5B,MAAM,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACpC,MAAM,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAE/B,IAAI,CAAC,WAAW,IAAI,CAAC,MAAM,EAAE,CAAC;QAC5B,OAAO,CAAC,KAAK,CAAC,oEAAoE,CAAC,CAAC;QACpF,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;IAED,MAAM,WAAW,GAAG,wBAAwB,CAAC,WAAW,EAAE,MAAM,CAAC,CAAC;IAElE,IAAI,WAAW,EAAE,CAAC;QAChB,OAAO,CAAC,GAAG,CAAC,gCAAgC,WAAW,EAAE,CAAC,CAAC;QAC3D,OAAO,CAAC,GAAG,CAAC,kEAAkE,CAAC,CAAC;IAClF,CAAC;SAAM,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,8CAA8C,CAAC,CAAC;IAC9D,CAAC;AACH,CAAC"}
@@ -0,0 +1,45 @@
1
+ /**
2
+ * Reflection Configuration Loader
3
+ *
4
+ * Loads and validates reflection configuration from .specweave/config.json
5
+ * Merges user config with defaults, validates against schema
6
+ *
7
+ * @module reflection-config-loader
8
+ */
9
+ import { ReflectionConfig } from './types/reflection-types';
10
+ /**
11
+ * Find .specweave directory by traversing up from current directory
12
+ * @param startDir Starting directory (defaults to cwd)
13
+ * @returns Path to .specweave directory or null if not found
14
+ */
15
+ export declare function findSpecweaveRoot(startDir?: string): string | null;
16
+ /**
17
+ * Load reflection configuration from .specweave/config.json
18
+ * Falls back to defaults if config file doesn't exist or reflection section is missing
19
+ *
20
+ * @param projectRoot Path to project root (optional, auto-detected if not provided)
21
+ * @returns Merged reflection configuration
22
+ * @throws Error if config file exists but has invalid JSON
23
+ */
24
+ export declare function loadReflectionConfig(projectRoot?: string): ReflectionConfig;
25
+ /**
26
+ * Validate reflection configuration against constraints
27
+ * Checks for logical inconsistencies (e.g., all categories disabled)
28
+ *
29
+ * @param config Reflection configuration to validate
30
+ * @returns Validation result with errors array
31
+ */
32
+ export declare function validateReflectionConfig(config: ReflectionConfig): {
33
+ valid: boolean;
34
+ errors: string[];
35
+ };
36
+ /**
37
+ * Load and validate reflection configuration
38
+ * Throws error if configuration is invalid
39
+ *
40
+ * @param projectRoot Path to project root (optional, auto-detected if not provided)
41
+ * @returns Valid reflection configuration
42
+ * @throws Error if configuration is invalid
43
+ */
44
+ export declare function loadAndValidateReflectionConfig(projectRoot?: string): ReflectionConfig;
45
+ //# sourceMappingURL=reflection-config-loader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reflection-config-loader.d.ts","sourceRoot":"","sources":["../../../../../plugins/specweave/lib/hooks/reflection-config-loader.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,OAAO,EAA6B,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAEvF;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,QAAQ,GAAE,MAAsB,GAAG,MAAM,GAAG,IAAI,CAajF;AAED;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,gBAAgB,CAmD3E;AAED;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,gBAAgB,GAAG;IAClE,KAAK,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB,CA8BA;AAED;;;;;;;GAOG;AACH,wBAAgB,+BAA+B,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,gBAAgB,CAWtF"}
@@ -0,0 +1,132 @@
1
+ /**
2
+ * Reflection Configuration Loader
3
+ *
4
+ * Loads and validates reflection configuration from .specweave/config.json
5
+ * Merges user config with defaults, validates against schema
6
+ *
7
+ * @module reflection-config-loader
8
+ */
9
+ import fs from 'fs-extra';
10
+ import path from 'path';
11
+ import { DEFAULT_REFLECTION_CONFIG } from './types/reflection-types';
12
+ /**
13
+ * Find .specweave directory by traversing up from current directory
14
+ * @param startDir Starting directory (defaults to cwd)
15
+ * @returns Path to .specweave directory or null if not found
16
+ */
17
+ export function findSpecweaveRoot(startDir = process.cwd()) {
18
+ let currentDir = startDir;
19
+ const root = path.parse(currentDir).root;
20
+ while (currentDir !== root) {
21
+ const specweavePath = path.join(currentDir, '.specweave');
22
+ if (fs.existsSync(specweavePath)) {
23
+ return currentDir;
24
+ }
25
+ currentDir = path.dirname(currentDir);
26
+ }
27
+ return null;
28
+ }
29
+ /**
30
+ * Load reflection configuration from .specweave/config.json
31
+ * Falls back to defaults if config file doesn't exist or reflection section is missing
32
+ *
33
+ * @param projectRoot Path to project root (optional, auto-detected if not provided)
34
+ * @returns Merged reflection configuration
35
+ * @throws Error if config file exists but has invalid JSON
36
+ */
37
+ export function loadReflectionConfig(projectRoot) {
38
+ // Auto-detect project root if not provided
39
+ const rootDir = projectRoot || findSpecweaveRoot();
40
+ if (!rootDir) {
41
+ // No .specweave directory found, return defaults
42
+ return { ...DEFAULT_REFLECTION_CONFIG };
43
+ }
44
+ const configPath = path.join(rootDir, '.specweave', 'config.json');
45
+ // Config file doesn't exist, return defaults
46
+ if (!fs.existsSync(configPath)) {
47
+ return { ...DEFAULT_REFLECTION_CONFIG };
48
+ }
49
+ try {
50
+ // Read and parse config file
51
+ const configContent = fs.readFileSync(configPath, 'utf-8');
52
+ const config = JSON.parse(configContent);
53
+ // Extract reflection section (may be undefined)
54
+ const userReflectionConfig = config.reflection || {};
55
+ // Deep merge with defaults (user config overrides defaults)
56
+ const mergedConfig = {
57
+ enabled: userReflectionConfig.enabled ?? DEFAULT_REFLECTION_CONFIG.enabled,
58
+ mode: userReflectionConfig.mode ?? DEFAULT_REFLECTION_CONFIG.mode,
59
+ depth: userReflectionConfig.depth ?? DEFAULT_REFLECTION_CONFIG.depth,
60
+ model: userReflectionConfig.model ?? DEFAULT_REFLECTION_CONFIG.model,
61
+ categories: {
62
+ security: userReflectionConfig.categories?.security ?? DEFAULT_REFLECTION_CONFIG.categories.security,
63
+ quality: userReflectionConfig.categories?.quality ?? DEFAULT_REFLECTION_CONFIG.categories.quality,
64
+ testing: userReflectionConfig.categories?.testing ?? DEFAULT_REFLECTION_CONFIG.categories.testing,
65
+ performance: userReflectionConfig.categories?.performance ?? DEFAULT_REFLECTION_CONFIG.categories.performance,
66
+ technicalDebt: userReflectionConfig.categories?.technicalDebt ?? DEFAULT_REFLECTION_CONFIG.categories.technicalDebt,
67
+ },
68
+ criticalThreshold: userReflectionConfig.criticalThreshold ?? DEFAULT_REFLECTION_CONFIG.criticalThreshold,
69
+ storeReflections: userReflectionConfig.storeReflections ?? DEFAULT_REFLECTION_CONFIG.storeReflections,
70
+ autoCreateFollowUpTasks: userReflectionConfig.autoCreateFollowUpTasks ?? DEFAULT_REFLECTION_CONFIG.autoCreateFollowUpTasks,
71
+ soundNotifications: userReflectionConfig.soundNotifications ?? DEFAULT_REFLECTION_CONFIG.soundNotifications,
72
+ };
73
+ return mergedConfig;
74
+ }
75
+ catch (error) {
76
+ // Invalid JSON or other error
77
+ if (error instanceof SyntaxError) {
78
+ throw new Error(`Invalid JSON in config file: ${configPath}. ${error.message}`);
79
+ }
80
+ throw error;
81
+ }
82
+ }
83
+ /**
84
+ * Validate reflection configuration against constraints
85
+ * Checks for logical inconsistencies (e.g., all categories disabled)
86
+ *
87
+ * @param config Reflection configuration to validate
88
+ * @returns Validation result with errors array
89
+ */
90
+ export function validateReflectionConfig(config) {
91
+ const errors = [];
92
+ // Check: If reflection enabled, at least one category must be enabled
93
+ if (config.enabled && config.mode !== 'disabled') {
94
+ const hasEnabledCategory = Object.values(config.categories).some(enabled => enabled);
95
+ if (!hasEnabledCategory) {
96
+ errors.push('At least one analysis category must be enabled when reflection is active');
97
+ }
98
+ }
99
+ // Check: Mode cannot be 'auto' if reflection is disabled
100
+ if (!config.enabled && config.mode === 'auto') {
101
+ errors.push('Reflection mode cannot be "auto" when reflection is disabled');
102
+ }
103
+ // Check: Sound notifications require reflection to be enabled
104
+ if (config.soundNotifications && !config.enabled) {
105
+ errors.push('Sound notifications require reflection to be enabled');
106
+ }
107
+ // Check: Auto-create follow-up tasks requires storeReflections
108
+ if (config.autoCreateFollowUpTasks && !config.storeReflections) {
109
+ errors.push('Auto-create follow-up tasks requires storeReflections to be enabled');
110
+ }
111
+ return {
112
+ valid: errors.length === 0,
113
+ errors
114
+ };
115
+ }
116
+ /**
117
+ * Load and validate reflection configuration
118
+ * Throws error if configuration is invalid
119
+ *
120
+ * @param projectRoot Path to project root (optional, auto-detected if not provided)
121
+ * @returns Valid reflection configuration
122
+ * @throws Error if configuration is invalid
123
+ */
124
+ export function loadAndValidateReflectionConfig(projectRoot) {
125
+ const config = loadReflectionConfig(projectRoot);
126
+ const validation = validateReflectionConfig(config);
127
+ if (!validation.valid) {
128
+ throw new Error(`Invalid reflection configuration:\n${validation.errors.map(e => ` - ${e}`).join('\n')}`);
129
+ }
130
+ return config;
131
+ }
132
+ //# sourceMappingURL=reflection-config-loader.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reflection-config-loader.js","sourceRoot":"","sources":["../../../../../plugins/specweave/lib/hooks/reflection-config-loader.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,MAAM,UAAU,CAAC;AAC1B,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,yBAAyB,EAAoB,MAAM,0BAA0B,CAAC;AAEvF;;;;GAIG;AACH,MAAM,UAAU,iBAAiB,CAAC,WAAmB,OAAO,CAAC,GAAG,EAAE;IAChE,IAAI,UAAU,GAAG,QAAQ,CAAC;IAC1B,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,IAAI,CAAC;IAEzC,OAAO,UAAU,KAAK,IAAI,EAAE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C,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAC1F,CAAC;IACJ,CAAC;IAED,OAAO,MAAM,CAAC;AAChB,CAAC"}
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Reflection Parser
3
+ *
4
+ * Parses markdown output from reflective-reviewer agent
5
+ * Extracts structured data (issues, metrics, lessons learned, etc.)
6
+ *
7
+ * @module reflection-parser
8
+ */
9
+ import { ReflectionResult, ReflectionModel } from './types/reflection-types';
10
+ /**
11
+ * Parse complete reflection result from markdown
12
+ * Main parsing function
13
+ *
14
+ * @param markdown Reflection markdown from reflective-reviewer agent
15
+ * @param taskName Task name for result
16
+ * @param model Model used for reflection
17
+ * @param reflectionTime Time taken in seconds
18
+ * @param estimatedCost Estimated cost in USD
19
+ * @returns Complete ReflectionResult object
20
+ */
21
+ export declare function parseReflectionMarkdown(markdown: string, taskName: string, model?: ReflectionModel, reflectionTime?: number, estimatedCost?: number): ReflectionResult;
22
+ /**
23
+ * Validate parsed reflection result
24
+ * Checks for required fields and data quality
25
+ *
26
+ * @param result Parsed reflection result
27
+ * @returns Validation result with errors
28
+ */
29
+ export declare function validateReflectionResult(result: ReflectionResult): {
30
+ valid: boolean;
31
+ errors: string[];
32
+ };
33
+ //# sourceMappingURL=reflection-parser.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reflection-parser.d.ts","sourceRoot":"","sources":["../../../../../plugins/specweave/lib/hooks/reflection-parser.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EACL,gBAAgB,EAMhB,eAAe,EAChB,MAAM,0BAA0B,CAAC;AAoWlC;;;;;;;;;;GAUG;AACH,wBAAgB,uBAAuB,CACrC,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,MAAM,EAChB,KAAK,GAAE,eAAuC,EAC9C,cAAc,GAAE,MAAU,EAC1B,aAAa,GAAE,MAAU,GACxB,gBAAgB,CAkClB;AAED;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,gBAAgB,GAAG;IAClE,KAAK,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,MAAM,EAAE,CAAC;CAClB,CA+CA"}