agentvibes 2.5.0 → 2.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (378) hide show
  1. package/.bmad/_cfg/agent-manifest.csv +11 -0
  2. package/.bmad/_cfg/agents/bmm-analyst.customize.yaml +42 -0
  3. package/.bmad/_cfg/agents/bmm-architect.customize.yaml +42 -0
  4. package/.bmad/_cfg/agents/bmm-dev.customize.yaml +42 -0
  5. package/.bmad/_cfg/agents/bmm-frame-expert.customize.yaml +42 -0
  6. package/.bmad/_cfg/agents/bmm-pm.customize.yaml +42 -0
  7. package/.bmad/_cfg/agents/bmm-sm.customize.yaml +42 -0
  8. package/.bmad/_cfg/agents/bmm-tea.customize.yaml +42 -0
  9. package/.bmad/_cfg/agents/bmm-tech-writer.customize.yaml +42 -0
  10. package/.bmad/_cfg/agents/bmm-ux-designer.customize.yaml +42 -0
  11. package/.bmad/_cfg/agents/core-bmad-master.customize.yaml +42 -0
  12. package/.bmad/_cfg/files-manifest.csv +243 -0
  13. package/.bmad/_cfg/ides/claude-code.yaml +6 -0
  14. package/.bmad/_cfg/manifest.yaml +9 -0
  15. package/.bmad/_cfg/task-manifest.csv +5 -0
  16. package/.bmad/_cfg/tool-manifest.csv +2 -0
  17. package/.bmad/_cfg/workflow-manifest.csv +38 -0
  18. package/.bmad/bmm/README.md +128 -0
  19. package/.bmad/bmm/agents/analyst.md +79 -0
  20. package/.bmad/bmm/agents/analyst.md.backup-pre-tts +75 -0
  21. package/.bmad/bmm/agents/architect.md +80 -0
  22. package/.bmad/bmm/agents/dev.md +70 -0
  23. package/.bmad/bmm/agents/frame-expert.md +72 -0
  24. package/.bmad/bmm/agents/pm.md +84 -0
  25. package/.bmad/bmm/agents/sm.md +93 -0
  26. package/.bmad/bmm/agents/tea.md +80 -0
  27. package/.bmad/bmm/agents/tech-writer.md +84 -0
  28. package/.bmad/bmm/agents/ux-designer.md +79 -0
  29. package/.bmad/bmm/config.yaml +17 -0
  30. package/.bmad/bmm/docs/README.md +236 -0
  31. package/.bmad/bmm/docs/agents-guide.md +1058 -0
  32. package/.bmad/bmm/docs/brownfield-guide.md +762 -0
  33. package/.bmad/bmm/docs/enterprise-agentic-development.md +686 -0
  34. package/.bmad/bmm/docs/faq.md +588 -0
  35. package/.bmad/bmm/docs/glossary.md +320 -0
  36. package/.bmad/bmm/docs/party-mode.md +224 -0
  37. package/.bmad/bmm/docs/quick-spec-flow.md +652 -0
  38. package/.bmad/bmm/docs/quick-start.md +376 -0
  39. package/.bmad/bmm/docs/scale-adaptive-system.md +612 -0
  40. package/.bmad/bmm/docs/test-architecture.md +396 -0
  41. package/.bmad/bmm/docs/workflow-architecture-reference.md +366 -0
  42. package/.bmad/bmm/docs/workflow-document-project-reference.md +489 -0
  43. package/.bmad/bmm/docs/workflows-analysis.md +370 -0
  44. package/.bmad/bmm/docs/workflows-implementation.md +286 -0
  45. package/.bmad/bmm/docs/workflows-planning.md +612 -0
  46. package/.bmad/bmm/docs/workflows-solutioning.md +554 -0
  47. package/.bmad/bmm/teams/default-party.csv +20 -0
  48. package/.bmad/bmm/teams/team-fullstack.yaml +13 -0
  49. package/.bmad/bmm/testarch/knowledge/ci-burn-in.md +675 -0
  50. package/.bmad/bmm/testarch/knowledge/component-tdd.md +486 -0
  51. package/.bmad/bmm/testarch/knowledge/contract-testing.md +957 -0
  52. package/.bmad/bmm/testarch/knowledge/data-factories.md +500 -0
  53. package/.bmad/bmm/testarch/knowledge/email-auth.md +721 -0
  54. package/.bmad/bmm/testarch/knowledge/error-handling.md +725 -0
  55. package/.bmad/bmm/testarch/knowledge/feature-flags.md +750 -0
  56. package/.bmad/bmm/testarch/knowledge/fixture-architecture.md +401 -0
  57. package/.bmad/bmm/testarch/knowledge/network-first.md +486 -0
  58. package/.bmad/bmm/testarch/knowledge/nfr-criteria.md +670 -0
  59. package/.bmad/bmm/testarch/knowledge/playwright-config.md +730 -0
  60. package/.bmad/bmm/testarch/knowledge/probability-impact.md +601 -0
  61. package/.bmad/bmm/testarch/knowledge/risk-governance.md +615 -0
  62. package/.bmad/bmm/testarch/knowledge/selective-testing.md +732 -0
  63. package/.bmad/bmm/testarch/knowledge/selector-resilience.md +527 -0
  64. package/.bmad/bmm/testarch/knowledge/test-healing-patterns.md +644 -0
  65. package/.bmad/bmm/testarch/knowledge/test-levels-framework.md +473 -0
  66. package/.bmad/bmm/testarch/knowledge/test-priorities-matrix.md +373 -0
  67. package/.bmad/bmm/testarch/knowledge/test-quality.md +664 -0
  68. package/.bmad/bmm/testarch/knowledge/timing-debugging.md +372 -0
  69. package/.bmad/bmm/testarch/knowledge/visual-debugging.md +524 -0
  70. package/.bmad/bmm/testarch/tea-index.csv +22 -0
  71. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/instructions.md +112 -0
  72. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/project-context.md +25 -0
  73. package/.bmad/bmm/workflows/1-analysis/brainstorm-project/workflow.yaml +26 -0
  74. package/.bmad/bmm/workflows/1-analysis/domain-research/instructions.md +425 -0
  75. package/.bmad/bmm/workflows/1-analysis/domain-research/template.md +180 -0
  76. package/.bmad/bmm/workflows/1-analysis/domain-research/workflow.yaml +28 -0
  77. package/.bmad/bmm/workflows/1-analysis/product-brief/checklist.md +115 -0
  78. package/.bmad/bmm/workflows/1-analysis/product-brief/instructions.md +524 -0
  79. package/.bmad/bmm/workflows/1-analysis/product-brief/template.md +181 -0
  80. package/.bmad/bmm/workflows/1-analysis/product-brief/workflow.yaml +45 -0
  81. package/.bmad/bmm/workflows/1-analysis/research/checklist-deep-prompt.md +144 -0
  82. package/.bmad/bmm/workflows/1-analysis/research/checklist-technical.md +249 -0
  83. package/.bmad/bmm/workflows/1-analysis/research/checklist.md +299 -0
  84. package/.bmad/bmm/workflows/1-analysis/research/claude-code/injections.yaml +114 -0
  85. package/.bmad/bmm/workflows/1-analysis/research/instructions-deep-prompt.md +438 -0
  86. package/.bmad/bmm/workflows/1-analysis/research/instructions-market.md +675 -0
  87. package/.bmad/bmm/workflows/1-analysis/research/instructions-router.md +134 -0
  88. package/.bmad/bmm/workflows/1-analysis/research/instructions-technical.md +534 -0
  89. package/.bmad/bmm/workflows/1-analysis/research/template-deep-prompt.md +94 -0
  90. package/.bmad/bmm/workflows/1-analysis/research/template-market.md +347 -0
  91. package/.bmad/bmm/workflows/1-analysis/research/template-technical.md +245 -0
  92. package/.bmad/bmm/workflows/1-analysis/research/workflow.yaml +44 -0
  93. package/.bmad/bmm/workflows/2-plan-workflows/create-epics-and-stories/epics-template.md +80 -0
  94. package/.bmad/bmm/workflows/2-plan-workflows/create-epics-and-stories/instructions.md +616 -0
  95. package/.bmad/bmm/workflows/2-plan-workflows/create-epics-and-stories/workflow.yaml +53 -0
  96. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/checklist.md +310 -0
  97. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/instructions.md +1308 -0
  98. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/ux-design-template.md +145 -0
  99. package/.bmad/bmm/workflows/2-plan-workflows/create-ux-design/workflow.yaml +61 -0
  100. package/.bmad/bmm/workflows/2-plan-workflows/prd/checklist.md +346 -0
  101. package/.bmad/bmm/workflows/2-plan-workflows/prd/domain-complexity.csv +13 -0
  102. package/.bmad/bmm/workflows/2-plan-workflows/prd/instructions.md +703 -0
  103. package/.bmad/bmm/workflows/2-plan-workflows/prd/prd-template.md +204 -0
  104. package/.bmad/bmm/workflows/2-plan-workflows/prd/project-types.csv +11 -0
  105. package/.bmad/bmm/workflows/2-plan-workflows/prd/workflow.yaml +52 -0
  106. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/checklist.md +217 -0
  107. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/epics-template.md +74 -0
  108. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions-generate-stories.md +436 -0
  109. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/instructions.md +980 -0
  110. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/tech-spec-template.md +181 -0
  111. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/user-story-template.md +90 -0
  112. package/.bmad/bmm/workflows/2-plan-workflows/tech-spec/workflow.yaml +58 -0
  113. package/.bmad/bmm/workflows/3-solutioning/architecture/architecture-patterns.yaml +321 -0
  114. package/.bmad/bmm/workflows/3-solutioning/architecture/architecture-template.md +103 -0
  115. package/.bmad/bmm/workflows/3-solutioning/architecture/checklist.md +240 -0
  116. package/.bmad/bmm/workflows/3-solutioning/architecture/decision-catalog.yaml +222 -0
  117. package/.bmad/bmm/workflows/3-solutioning/architecture/instructions.md +768 -0
  118. package/.bmad/bmm/workflows/3-solutioning/architecture/pattern-categories.csv +13 -0
  119. package/.bmad/bmm/workflows/3-solutioning/architecture/workflow.yaml +55 -0
  120. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/checklist.md +169 -0
  121. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/instructions.md +332 -0
  122. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/template.md +146 -0
  123. package/.bmad/bmm/workflows/3-solutioning/implementation-readiness/workflow.yaml +62 -0
  124. package/.bmad/bmm/workflows/4-implementation/code-review/backlog_template.md +12 -0
  125. package/.bmad/bmm/workflows/4-implementation/code-review/checklist.md +22 -0
  126. package/.bmad/bmm/workflows/4-implementation/code-review/instructions.md +398 -0
  127. package/.bmad/bmm/workflows/4-implementation/code-review/workflow.yaml +60 -0
  128. package/.bmad/bmm/workflows/4-implementation/correct-course/checklist.md +279 -0
  129. package/.bmad/bmm/workflows/4-implementation/correct-course/instructions.md +206 -0
  130. package/.bmad/bmm/workflows/4-implementation/correct-course/workflow.yaml +56 -0
  131. package/.bmad/bmm/workflows/4-implementation/create-story/checklist.md +240 -0
  132. package/.bmad/bmm/workflows/4-implementation/create-story/instructions.md +256 -0
  133. package/.bmad/bmm/workflows/4-implementation/create-story/template.md +51 -0
  134. package/.bmad/bmm/workflows/4-implementation/create-story/workflow.yaml +71 -0
  135. package/.bmad/bmm/workflows/4-implementation/dev-story/checklist.md +38 -0
  136. package/.bmad/bmm/workflows/4-implementation/dev-story/instructions.md +267 -0
  137. package/.bmad/bmm/workflows/4-implementation/dev-story/workflow.yaml +56 -0
  138. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/checklist.md +17 -0
  139. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/instructions.md +164 -0
  140. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/template.md +76 -0
  141. package/.bmad/bmm/workflows/4-implementation/epic-tech-context/workflow.yaml +57 -0
  142. package/.bmad/bmm/workflows/4-implementation/retrospective/instructions.md +1443 -0
  143. package/.bmad/bmm/workflows/4-implementation/retrospective/workflow.yaml +56 -0
  144. package/.bmad/bmm/workflows/4-implementation/sprint-planning/checklist.md +33 -0
  145. package/.bmad/bmm/workflows/4-implementation/sprint-planning/instructions.md +234 -0
  146. package/.bmad/bmm/workflows/4-implementation/sprint-planning/sprint-status-template.yaml +55 -0
  147. package/.bmad/bmm/workflows/4-implementation/sprint-planning/workflow.yaml +49 -0
  148. package/.bmad/bmm/workflows/4-implementation/story-context/checklist.md +16 -0
  149. package/.bmad/bmm/workflows/4-implementation/story-context/context-template.xml +34 -0
  150. package/.bmad/bmm/workflows/4-implementation/story-context/instructions.md +209 -0
  151. package/.bmad/bmm/workflows/4-implementation/story-context/workflow.yaml +61 -0
  152. package/.bmad/bmm/workflows/4-implementation/story-done/instructions.md +111 -0
  153. package/.bmad/bmm/workflows/4-implementation/story-done/workflow.yaml +26 -0
  154. package/.bmad/bmm/workflows/4-implementation/story-ready/instructions.md +117 -0
  155. package/.bmad/bmm/workflows/4-implementation/story-ready/workflow.yaml +23 -0
  156. package/.bmad/bmm/workflows/document-project/checklist.md +245 -0
  157. package/.bmad/bmm/workflows/document-project/documentation-requirements.csv +12 -0
  158. package/.bmad/bmm/workflows/document-project/instructions.md +222 -0
  159. package/.bmad/bmm/workflows/document-project/templates/deep-dive-template.md +345 -0
  160. package/.bmad/bmm/workflows/document-project/templates/index-template.md +169 -0
  161. package/.bmad/bmm/workflows/document-project/templates/project-overview-template.md +103 -0
  162. package/.bmad/bmm/workflows/document-project/templates/project-scan-report-schema.json +160 -0
  163. package/.bmad/bmm/workflows/document-project/templates/source-tree-template.md +135 -0
  164. package/.bmad/bmm/workflows/document-project/workflow.yaml +29 -0
  165. package/.bmad/bmm/workflows/document-project/workflows/deep-dive-instructions.md +298 -0
  166. package/.bmad/bmm/workflows/document-project/workflows/deep-dive.yaml +31 -0
  167. package/.bmad/bmm/workflows/document-project/workflows/full-scan-instructions.md +1106 -0
  168. package/.bmad/bmm/workflows/document-project/workflows/full-scan.yaml +31 -0
  169. package/.bmad/bmm/workflows/frame-expert/_shared/excalidraw-helpers.md +127 -0
  170. package/.bmad/bmm/workflows/frame-expert/_shared/excalidraw-library.json +90 -0
  171. package/.bmad/bmm/workflows/frame-expert/_shared/excalidraw-templates.yaml +127 -0
  172. package/.bmad/bmm/workflows/frame-expert/_shared/validate-json-instructions.md +79 -0
  173. package/.bmad/bmm/workflows/frame-expert/create-dataflow/checklist.md +39 -0
  174. package/.bmad/bmm/workflows/frame-expert/create-dataflow/instructions.md +131 -0
  175. package/.bmad/bmm/workflows/frame-expert/create-dataflow/workflow.yaml +23 -0
  176. package/.bmad/bmm/workflows/frame-expert/create-diagram/checklist.md +43 -0
  177. package/.bmad/bmm/workflows/frame-expert/create-diagram/instructions.md +142 -0
  178. package/.bmad/bmm/workflows/frame-expert/create-diagram/workflow.yaml +24 -0
  179. package/.bmad/bmm/workflows/frame-expert/create-flowchart/checklist.md +49 -0
  180. package/.bmad/bmm/workflows/frame-expert/create-flowchart/instructions.md +242 -0
  181. package/.bmad/bmm/workflows/frame-expert/create-flowchart/workflow.yaml +27 -0
  182. package/.bmad/bmm/workflows/frame-expert/create-wireframe/checklist.md +38 -0
  183. package/.bmad/bmm/workflows/frame-expert/create-wireframe/instructions.md +133 -0
  184. package/.bmad/bmm/workflows/frame-expert/create-wireframe/workflow.yaml +23 -0
  185. package/.bmad/bmm/workflows/techdoc/documentation-standards.md +262 -0
  186. package/.bmad/bmm/workflows/testarch/atdd/atdd-checklist-template.md +363 -0
  187. package/.bmad/bmm/workflows/testarch/atdd/checklist.md +373 -0
  188. package/.bmad/bmm/workflows/testarch/atdd/instructions.md +785 -0
  189. package/.bmad/bmm/workflows/testarch/atdd/workflow.yaml +45 -0
  190. package/.bmad/bmm/workflows/testarch/automate/checklist.md +580 -0
  191. package/.bmad/bmm/workflows/testarch/automate/instructions.md +1303 -0
  192. package/.bmad/bmm/workflows/testarch/automate/workflow.yaml +52 -0
  193. package/.bmad/bmm/workflows/testarch/ci/checklist.md +246 -0
  194. package/.bmad/bmm/workflows/testarch/ci/github-actions-template.yaml +165 -0
  195. package/.bmad/bmm/workflows/testarch/ci/gitlab-ci-template.yaml +128 -0
  196. package/.bmad/bmm/workflows/testarch/ci/instructions.md +517 -0
  197. package/.bmad/bmm/workflows/testarch/ci/workflow.yaml +45 -0
  198. package/.bmad/bmm/workflows/testarch/framework/checklist.md +321 -0
  199. package/.bmad/bmm/workflows/testarch/framework/instructions.md +455 -0
  200. package/.bmad/bmm/workflows/testarch/framework/workflow.yaml +47 -0
  201. package/.bmad/bmm/workflows/testarch/nfr-assess/checklist.md +405 -0
  202. package/.bmad/bmm/workflows/testarch/nfr-assess/instructions.md +722 -0
  203. package/.bmad/bmm/workflows/testarch/nfr-assess/nfr-report-template.md +443 -0
  204. package/.bmad/bmm/workflows/testarch/nfr-assess/workflow.yaml +47 -0
  205. package/.bmad/bmm/workflows/testarch/test-design/checklist.md +234 -0
  206. package/.bmad/bmm/workflows/testarch/test-design/instructions.md +782 -0
  207. package/.bmad/bmm/workflows/testarch/test-design/test-design-template.md +285 -0
  208. package/.bmad/bmm/workflows/testarch/test-design/workflow.yaml +48 -0
  209. package/.bmad/bmm/workflows/testarch/test-review/checklist.md +470 -0
  210. package/.bmad/bmm/workflows/testarch/test-review/instructions.md +608 -0
  211. package/.bmad/bmm/workflows/testarch/test-review/test-review-template.md +388 -0
  212. package/.bmad/bmm/workflows/testarch/test-review/workflow.yaml +46 -0
  213. package/.bmad/bmm/workflows/testarch/trace/checklist.md +654 -0
  214. package/.bmad/bmm/workflows/testarch/trace/instructions.md +1045 -0
  215. package/.bmad/bmm/workflows/testarch/trace/trace-template.md +673 -0
  216. package/.bmad/bmm/workflows/testarch/trace/workflow.yaml +55 -0
  217. package/.bmad/bmm/workflows/workflow-status/init/instructions.md +334 -0
  218. package/.bmad/bmm/workflows/workflow-status/init/workflow.yaml +28 -0
  219. package/.bmad/bmm/workflows/workflow-status/instructions.md +388 -0
  220. package/.bmad/bmm/workflows/workflow-status/paths/enterprise-brownfield.yaml +138 -0
  221. package/.bmad/bmm/workflows/workflow-status/paths/enterprise-greenfield.yaml +126 -0
  222. package/.bmad/bmm/workflows/workflow-status/paths/game-design.yaml +52 -0
  223. package/.bmad/bmm/workflows/workflow-status/paths/method-brownfield.yaml +122 -0
  224. package/.bmad/bmm/workflows/workflow-status/paths/method-greenfield.yaml +113 -0
  225. package/.bmad/bmm/workflows/workflow-status/paths/quick-flow-brownfield.yaml +58 -0
  226. package/.bmad/bmm/workflows/workflow-status/paths/quick-flow-greenfield.yaml +47 -0
  227. package/.bmad/bmm/workflows/workflow-status/project-levels.yaml +59 -0
  228. package/.bmad/bmm/workflows/workflow-status/workflow-status-template.yaml +24 -0
  229. package/.bmad/bmm/workflows/workflow-status/workflow.yaml +28 -0
  230. package/.bmad/core/agents/bmad-master.md +72 -0
  231. package/.bmad/core/agents/bmad-web-orchestrator.agent.xml +113 -0
  232. package/.bmad/core/config.yaml +11 -0
  233. package/.bmad/core/tasks/adv-elicit-methods.csv +39 -0
  234. package/.bmad/core/tasks/advanced-elicitation-methods.csv +21 -0
  235. package/.bmad/core/tasks/advanced-elicitation.xml +106 -0
  236. package/.bmad/core/tasks/index-docs.xml +65 -0
  237. package/.bmad/core/tasks/validate-workflow.xml +89 -0
  238. package/.bmad/core/tasks/workflow.xml +270 -0
  239. package/.bmad/core/tools/shard-doc.xml +109 -0
  240. package/.bmad/core/workflows/brainstorming/README.md +261 -0
  241. package/.bmad/core/workflows/brainstorming/brain-methods.csv +36 -0
  242. package/.bmad/core/workflows/brainstorming/instructions.md +315 -0
  243. package/.bmad/core/workflows/brainstorming/template.md +106 -0
  244. package/.bmad/core/workflows/brainstorming/workflow.yaml +38 -0
  245. package/.bmad/core/workflows/party-mode/instructions.md +202 -0
  246. package/.bmad/core/workflows/party-mode/workflow.yaml +28 -0
  247. package/.bmad/docs/claude-code-instructions.md +25 -0
  248. package/.claude/commands/agent-vibes-bmad-party.md +117 -0
  249. package/.claude/commands/bmad/bmm/agents/analyst.md +14 -0
  250. package/.claude/commands/bmad/bmm/agents/architect.md +14 -0
  251. package/.claude/commands/bmad/bmm/agents/dev.md +14 -0
  252. package/.claude/commands/bmad/bmm/agents/frame-expert.md +14 -0
  253. package/.claude/commands/bmad/bmm/agents/pm.md +14 -0
  254. package/.claude/commands/bmad/bmm/agents/sm.md +14 -0
  255. package/.claude/commands/bmad/bmm/agents/tea.md +14 -0
  256. package/.claude/commands/bmad/bmm/agents/tech-writer.md +14 -0
  257. package/.claude/commands/bmad/bmm/agents/ux-designer.md +14 -0
  258. package/.claude/commands/bmad/bmm/workflows/architecture.md +13 -0
  259. package/.claude/commands/bmad/bmm/workflows/brainstorm-project.md +13 -0
  260. package/.claude/commands/bmad/bmm/workflows/code-review.md +13 -0
  261. package/.claude/commands/bmad/bmm/workflows/correct-course.md +13 -0
  262. package/.claude/commands/bmad/bmm/workflows/create-dataflow.md +13 -0
  263. package/.claude/commands/bmad/bmm/workflows/create-diagram.md +13 -0
  264. package/.claude/commands/bmad/bmm/workflows/create-epics-and-stories.md +13 -0
  265. package/.claude/commands/bmad/bmm/workflows/create-flowchart.md +13 -0
  266. package/.claude/commands/bmad/bmm/workflows/create-story.md +13 -0
  267. package/.claude/commands/bmad/bmm/workflows/create-ux-design.md +13 -0
  268. package/.claude/commands/bmad/bmm/workflows/create-wireframe.md +13 -0
  269. package/.claude/commands/bmad/bmm/workflows/dev-story.md +13 -0
  270. package/.claude/commands/bmad/bmm/workflows/document-project.md +13 -0
  271. package/.claude/commands/bmad/bmm/workflows/domain-research.md +13 -0
  272. package/.claude/commands/bmad/bmm/workflows/epic-tech-context.md +13 -0
  273. package/.claude/commands/bmad/bmm/workflows/implementation-readiness.md +13 -0
  274. package/.claude/commands/bmad/bmm/workflows/prd.md +13 -0
  275. package/.claude/commands/bmad/bmm/workflows/product-brief.md +13 -0
  276. package/.claude/commands/bmad/bmm/workflows/research.md +13 -0
  277. package/.claude/commands/bmad/bmm/workflows/retrospective.md +13 -0
  278. package/.claude/commands/bmad/bmm/workflows/sprint-planning.md +13 -0
  279. package/.claude/commands/bmad/bmm/workflows/story-context.md +13 -0
  280. package/.claude/commands/bmad/bmm/workflows/story-done.md +13 -0
  281. package/.claude/commands/bmad/bmm/workflows/story-ready.md +13 -0
  282. package/.claude/commands/bmad/bmm/workflows/tech-spec.md +13 -0
  283. package/.claude/commands/bmad/bmm/workflows/workflow-init.md +13 -0
  284. package/.claude/commands/bmad/bmm/workflows/workflow-status.md +13 -0
  285. package/.claude/commands/bmad/core/agents/bmad-master.md +14 -0
  286. package/.claude/commands/bmad/core/tasks/advanced-elicitation.md +9 -0
  287. package/.claude/commands/bmad/core/tasks/index-docs.md +9 -0
  288. package/.claude/commands/bmad/core/tools/shard-doc.md +9 -0
  289. package/.claude/commands/bmad/core/workflows/brainstorming.md +13 -0
  290. package/.claude/commands/bmad/core/workflows/party-mode.md +13 -0
  291. package/.claude/github-star-reminder.txt +1 -1
  292. package/.claude/hooks/bmad-party-manager.sh +225 -0
  293. package/.claude/hooks/bmad-speak.sh +86 -0
  294. package/.claude/hooks/bmad-tts-injector.sh +8 -3
  295. package/.claude/hooks/stop.sh +221 -0
  296. package/.claude/plugins/bmad-voices.md +25 -9
  297. package/README.md +7 -7
  298. package/RELEASE_NOTES.md +255 -0
  299. package/package.json +1 -1
  300. package/src/bmad-detector.js +3 -3
  301. package/src/commands/bmad-voices.js +392 -0
  302. package/src/installer.js +243 -51
  303. package/.claude/hooks/user-prompt-output.sh +0 -111
  304. /package/{.bmad-core → v4-backup/.bmad-core}/agent-teams/team-all.yaml +0 -0
  305. /package/{.bmad-core → v4-backup/.bmad-core}/agent-teams/team-fullstack.yaml +0 -0
  306. /package/{.bmad-core → v4-backup/.bmad-core}/agent-teams/team-ide-minimal.yaml +0 -0
  307. /package/{.bmad-core → v4-backup/.bmad-core}/agent-teams/team-no-ui.yaml +0 -0
  308. /package/{.bmad-core → v4-backup/.bmad-core}/agents/analyst.md +0 -0
  309. /package/{.bmad-core → v4-backup/.bmad-core}/agents/architect.md +0 -0
  310. /package/{.bmad-core → v4-backup/.bmad-core}/agents/bmad-master.md +0 -0
  311. /package/{.bmad-core → v4-backup/.bmad-core}/agents/bmad-orchestrator.md +0 -0
  312. /package/{.bmad-core → v4-backup/.bmad-core}/agents/dev.md +0 -0
  313. /package/{.bmad-core → v4-backup/.bmad-core}/agents/pm.md +0 -0
  314. /package/{.bmad-core → v4-backup/.bmad-core}/agents/po.md +0 -0
  315. /package/{.bmad-core → v4-backup/.bmad-core}/agents/qa.md +0 -0
  316. /package/{.bmad-core → v4-backup/.bmad-core}/agents/sm.md +0 -0
  317. /package/{.bmad-core → v4-backup/.bmad-core}/agents/ux-expert.md +0 -0
  318. /package/{.bmad-core → v4-backup/.bmad-core}/checklists/architect-checklist.md +0 -0
  319. /package/{.bmad-core → v4-backup/.bmad-core}/checklists/change-checklist.md +0 -0
  320. /package/{.bmad-core → v4-backup/.bmad-core}/checklists/pm-checklist.md +0 -0
  321. /package/{.bmad-core → v4-backup/.bmad-core}/checklists/po-master-checklist.md +0 -0
  322. /package/{.bmad-core → v4-backup/.bmad-core}/checklists/story-dod-checklist.md +0 -0
  323. /package/{.bmad-core → v4-backup/.bmad-core}/checklists/story-draft-checklist.md +0 -0
  324. /package/{.bmad-core → v4-backup/.bmad-core}/core-config.yaml +0 -0
  325. /package/{.bmad-core → v4-backup/.bmad-core}/data/bmad-kb.md +0 -0
  326. /package/{.bmad-core → v4-backup/.bmad-core}/data/brainstorming-techniques.md +0 -0
  327. /package/{.bmad-core → v4-backup/.bmad-core}/data/elicitation-methods.md +0 -0
  328. /package/{.bmad-core → v4-backup/.bmad-core}/data/technical-preferences.md +0 -0
  329. /package/{.bmad-core → v4-backup/.bmad-core}/data/test-levels-framework.md +0 -0
  330. /package/{.bmad-core → v4-backup/.bmad-core}/data/test-priorities-matrix.md +0 -0
  331. /package/{.bmad-core → v4-backup/.bmad-core}/enhanced-ide-development-workflow.md +0 -0
  332. /package/{.bmad-core → v4-backup/.bmad-core}/install-manifest.yaml +0 -0
  333. /package/{.bmad-core → v4-backup/.bmad-core}/tasks/advanced-elicitation.md +0 -0
  334. /package/{.bmad-core → v4-backup/.bmad-core}/tasks/apply-qa-fixes.md +0 -0
  335. /package/{.bmad-core → v4-backup/.bmad-core}/tasks/brownfield-create-epic.md +0 -0
  336. /package/{.bmad-core → v4-backup/.bmad-core}/tasks/brownfield-create-story.md +0 -0
  337. /package/{.bmad-core → v4-backup/.bmad-core}/tasks/correct-course.md +0 -0
  338. /package/{.bmad-core → v4-backup/.bmad-core}/tasks/create-brownfield-story.md +0 -0
  339. /package/{.bmad-core → v4-backup/.bmad-core}/tasks/create-deep-research-prompt.md +0 -0
  340. /package/{.bmad-core → v4-backup/.bmad-core}/tasks/create-doc.md +0 -0
  341. /package/{.bmad-core → v4-backup/.bmad-core}/tasks/create-next-story.md +0 -0
  342. /package/{.bmad-core → v4-backup/.bmad-core}/tasks/document-project.md +0 -0
  343. /package/{.bmad-core → v4-backup/.bmad-core}/tasks/execute-checklist.md +0 -0
  344. /package/{.bmad-core → v4-backup/.bmad-core}/tasks/facilitate-brainstorming-session.md +0 -0
  345. /package/{.bmad-core → v4-backup/.bmad-core}/tasks/generate-ai-frontend-prompt.md +0 -0
  346. /package/{.bmad-core → v4-backup/.bmad-core}/tasks/index-docs.md +0 -0
  347. /package/{.bmad-core → v4-backup/.bmad-core}/tasks/kb-mode-interaction.md +0 -0
  348. /package/{.bmad-core → v4-backup/.bmad-core}/tasks/nfr-assess.md +0 -0
  349. /package/{.bmad-core → v4-backup/.bmad-core}/tasks/qa-gate.md +0 -0
  350. /package/{.bmad-core → v4-backup/.bmad-core}/tasks/review-story.md +0 -0
  351. /package/{.bmad-core → v4-backup/.bmad-core}/tasks/risk-profile.md +0 -0
  352. /package/{.bmad-core → v4-backup/.bmad-core}/tasks/shard-doc.md +0 -0
  353. /package/{.bmad-core → v4-backup/.bmad-core}/tasks/test-design.md +0 -0
  354. /package/{.bmad-core → v4-backup/.bmad-core}/tasks/trace-requirements.md +0 -0
  355. /package/{.bmad-core → v4-backup/.bmad-core}/tasks/validate-next-story.md +0 -0
  356. /package/{.bmad-core → v4-backup/.bmad-core}/templates/architecture-tmpl.yaml +0 -0
  357. /package/{.bmad-core → v4-backup/.bmad-core}/templates/brainstorming-output-tmpl.yaml +0 -0
  358. /package/{.bmad-core → v4-backup/.bmad-core}/templates/brownfield-architecture-tmpl.yaml +0 -0
  359. /package/{.bmad-core → v4-backup/.bmad-core}/templates/brownfield-prd-tmpl.yaml +0 -0
  360. /package/{.bmad-core → v4-backup/.bmad-core}/templates/competitor-analysis-tmpl.yaml +0 -0
  361. /package/{.bmad-core → v4-backup/.bmad-core}/templates/front-end-architecture-tmpl.yaml +0 -0
  362. /package/{.bmad-core → v4-backup/.bmad-core}/templates/front-end-spec-tmpl.yaml +0 -0
  363. /package/{.bmad-core → v4-backup/.bmad-core}/templates/fullstack-architecture-tmpl.yaml +0 -0
  364. /package/{.bmad-core → v4-backup/.bmad-core}/templates/market-research-tmpl.yaml +0 -0
  365. /package/{.bmad-core → v4-backup/.bmad-core}/templates/prd-tmpl.yaml +0 -0
  366. /package/{.bmad-core → v4-backup/.bmad-core}/templates/project-brief-tmpl.yaml +0 -0
  367. /package/{.bmad-core → v4-backup/.bmad-core}/templates/qa-gate-tmpl.yaml +0 -0
  368. /package/{.bmad-core → v4-backup/.bmad-core}/templates/story-tmpl.yaml +0 -0
  369. /package/{.bmad-core → v4-backup/.bmad-core}/user-guide.md +0 -0
  370. /package/{.bmad-core → v4-backup/.bmad-core}/utils/bmad-doc-template.md +0 -0
  371. /package/{.bmad-core → v4-backup/.bmad-core}/utils/workflow-management.md +0 -0
  372. /package/{.bmad-core → v4-backup/.bmad-core}/workflows/brownfield-fullstack.yaml +0 -0
  373. /package/{.bmad-core → v4-backup/.bmad-core}/workflows/brownfield-service.yaml +0 -0
  374. /package/{.bmad-core → v4-backup/.bmad-core}/workflows/brownfield-ui.yaml +0 -0
  375. /package/{.bmad-core → v4-backup/.bmad-core}/workflows/greenfield-fullstack.yaml +0 -0
  376. /package/{.bmad-core → v4-backup/.bmad-core}/workflows/greenfield-service.yaml +0 -0
  377. /package/{.bmad-core → v4-backup/.bmad-core}/workflows/greenfield-ui.yaml +0 -0
  378. /package/{.bmad-core → v4-backup/.bmad-core}/working-in-the-brownfield.md +0 -0
@@ -0,0 +1,86 @@
1
+ #!/usr/bin/env bash
2
+ #
3
+ # File: .claude/hooks/bmad-speak.sh
4
+ #
5
+ # AgentVibes BMAD Voice Integration
6
+ # Maps agent display names OR agent IDs to voices and triggers TTS
7
+ #
8
+ # Usage: bmad-speak.sh "Agent Name" "dialogue text"
9
+ # bmad-speak.sh "agent-id" "dialogue text"
10
+ #
11
+ # Supports both:
12
+ # - Display names (e.g., "Winston", "John") for party mode
13
+ # - Agent IDs (e.g., "architect", "pm") for individual agents
14
+ #
15
+
16
+ set -euo pipefail
17
+
18
+ # Get script directory and project root
19
+ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
20
+ PROJECT_ROOT="$(cd "$SCRIPT_DIR/../.." && pwd)"
21
+
22
+ # Arguments
23
+ AGENT_NAME_OR_ID="$1"
24
+ DIALOGUE="$2"
25
+
26
+ # Remove backslash escaping that Claude might add for special chars like ! and $
27
+ # In single quotes these don't need escaping, but Claude sometimes adds \! anyway
28
+ DIALOGUE="${DIALOGUE//\\!/!}"
29
+ DIALOGUE="${DIALOGUE//\\\$/\$}"
30
+
31
+ # Check if party mode is enabled
32
+ if [[ -f "$PROJECT_ROOT/.claude/plugins/bmad-party-mode-disabled.flag" ]]; then
33
+ exit 0
34
+ fi
35
+
36
+ # Check if BMAD is installed
37
+ if [[ ! -f "$PROJECT_ROOT/.bmad/_cfg/agent-manifest.csv" ]]; then
38
+ exit 0
39
+ fi
40
+
41
+ # Map display name to agent ID, OR pass through if already an agent ID
42
+ map_to_agent_id() {
43
+ local name_or_id="$1"
44
+
45
+ # If it looks like a file path (.bmad/*/agents/*.md), extract the agent ID
46
+ # Example: .bmad/bmm/agents/pm.md -> pm
47
+ if [[ "$name_or_id" =~ \.bmad/.*/agents/([^/]+)\.md$ ]]; then
48
+ echo "${BASH_REMATCH[1]}"
49
+ return
50
+ fi
51
+
52
+ # First check if it's already an agent ID (column 1 of manifest)
53
+ # CSV format: name,displayName,title,icon,role,...
54
+ local direct_match=$(grep -i "^\"*${name_or_id}\"*," "$PROJECT_ROOT/.bmad/_cfg/agent-manifest.csv" | head -1)
55
+ if [[ -n "$direct_match" ]]; then
56
+ # Already an agent ID, pass through
57
+ echo "$name_or_id"
58
+ return
59
+ fi
60
+
61
+ # Otherwise map display name to agent ID (for party mode)
62
+ # Extract 'name' (column 1) where displayName (column 2) matches
63
+ local agent_id=$(grep -i ",\"*${name_or_id}\"*," "$PROJECT_ROOT/.bmad/_cfg/agent-manifest.csv" | \
64
+ head -1 | \
65
+ cut -d',' -f1 | \
66
+ tr -d '"')
67
+
68
+ echo "$agent_id"
69
+ }
70
+
71
+ # Get agent ID
72
+ AGENT_ID=$(map_to_agent_id "$AGENT_NAME_OR_ID")
73
+
74
+ # Get agent's voice
75
+ AGENT_VOICE=""
76
+ if [[ -n "$AGENT_ID" ]] && [[ -f "$SCRIPT_DIR/bmad-voice-manager.sh" ]]; then
77
+ AGENT_VOICE=$("$SCRIPT_DIR/bmad-voice-manager.sh" get-voice "$AGENT_ID" 2>/dev/null)
78
+ fi
79
+
80
+ # Speak with agent's voice
81
+ if [[ -n "$AGENT_VOICE" ]]; then
82
+ bash "$SCRIPT_DIR/play-tts.sh" "$DIALOGUE" "$AGENT_VOICE" &
83
+ else
84
+ # Fallback to default voice
85
+ bash "$SCRIPT_DIR/play-tts.sh" "$DIALOGUE" &
86
+ fi
@@ -49,12 +49,17 @@ GRAY='\033[0;90m'
49
49
  NC='\033[0m' # No Color
50
50
 
51
51
  # Detect BMAD installation and version
52
- # Supports both v4 (.bmad-core/) and v6-alpha (bmad/) installations
52
+ # Supports both v4 (.bmad-core/) and v6-alpha (.bmad/) installations
53
53
  detect_bmad() {
54
54
  local bmad_core_dir=""
55
55
 
56
- # Check for v6-alpha first (newer version)
57
- if [[ -d "bmad" ]]; then
56
+ # Check for v6-alpha first (newer version with dot prefix)
57
+ if [[ -d ".bmad" ]]; then
58
+ bmad_core_dir=".bmad"
59
+ elif [[ -d "../.bmad" ]]; then
60
+ bmad_core_dir="../.bmad"
61
+ # Check for v6-alpha without dot (legacy naming)
62
+ elif [[ -d "bmad" ]]; then
58
63
  bmad_core_dir="bmad"
59
64
  elif [[ -d "../bmad" ]]; then
60
65
  bmad_core_dir="../bmad"
@@ -0,0 +1,221 @@
1
+ #!/usr/bin/env bash
2
+ #
3
+ # File: .claude/hooks/user-prompt-output.sh
4
+ #
5
+ # AgentVibes - Finally, your AI Agents can Talk Back! Text-to-Speech WITH personality for AI Assistants!
6
+ # Website: https://agentvibes.org
7
+ # Repository: https://github.com/paulpreibisch/AgentVibes
8
+ #
9
+ # Co-created by Paul Preibisch with Claude AI
10
+ # Copyright (c) 2025 Paul Preibisch
11
+ #
12
+ # Licensed under the Apache License, Version 2.0 (the "License");
13
+ # you may not use this file except in compliance with the License.
14
+ # You may obtain a copy of the License at
15
+ #
16
+ # http://www.apache.org/licenses/LICENSE-2.0
17
+ #
18
+ # Unless required by applicable law or agreed to in writing, software
19
+ # distributed under the License is distributed on an "AS IS" BASIS,
20
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21
+ # See the License for the specific language governing permissions and
22
+ # limitations under the License.
23
+ #
24
+ # DISCLAIMER: This software is provided "AS IS", WITHOUT WARRANTY OF ANY KIND,
25
+ # express or implied, including but not limited to the warranties of
26
+ # merchantability, fitness for a particular purpose and noninfringement.
27
+ # In no event shall the authors or copyright holders be liable for any claim,
28
+ # damages or other liability, whether in an action of contract, tort or
29
+ # otherwise, arising from, out of or in connection with the software or the
30
+ # use or other dealings in the software.
31
+ #
32
+ # ---
33
+ #
34
+ # @fileoverview Auto-detects emoji markers and BMAD party mode in Claude's output and triggers TTS
35
+ # @context Implements verbosity system by detecting 💭 🤔 ✓ markers and BMAD party mode agent dialogues
36
+ # @architecture Stdin reader, regex matcher, async TTS trigger, agent voice switching
37
+ # @dependencies play-tts.sh, tts-verbosity.txt, bmad-voice-manager.sh, .bmad/_cfg/agent-manifest.csv
38
+ # @entrypoints Called by Claude Code after each assistant response (user-prompt-output hook)
39
+ # @patterns Text stream processing, background job execution, marker-based triggers, party mode detection
40
+ # @related session-start-tts.sh, verbosity-manager.sh, bmad-voice-manager.sh, Issue #32, Issue #33
41
+ # @aiNotes This hook enables natural emoji-based TTS + BMAD party mode voice switching
42
+
43
+ # Fix locale warnings
44
+ export LC_ALL=C
45
+
46
+ # Get script directory and project root
47
+ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
48
+ PROJECT_ROOT="$(cd "$SCRIPT_DIR/../.." && pwd)"
49
+ PLAY_TTS="$SCRIPT_DIR/play-tts.sh"
50
+
51
+ # Read JSON input from stdin
52
+ INPUT=$(cat)
53
+
54
+ # Extract transcript path from JSON
55
+ TRANSCRIPT_PATH=$(echo "$INPUT" | grep -o '"transcript_path":"[^"]*"' | cut -d'"' -f4)
56
+
57
+ # If no transcript path, exit (shouldn't happen but be safe)
58
+ [[ -z "$TRANSCRIPT_PATH" || ! -f "$TRANSCRIPT_PATH" ]] && exit 0
59
+
60
+ # Get the last assistant message from transcript
61
+ # The transcript is JSONL format - each line is a JSON object
62
+ # Extract all text content blocks from the last message and join them
63
+ LAST_RESPONSE=$(tail -1 "$TRANSCRIPT_PATH" | jq -r '.message.content[] | select(.type == "text") | .text' 2>/dev/null)
64
+
65
+ # Get verbosity level
66
+ VERBOSITY=$(cat "$PROJECT_ROOT/.claude/tts-verbosity.txt" 2>/dev/null || cat ~/.claude/tts-verbosity.txt 2>/dev/null || echo "low")
67
+
68
+ # Exit early if play-tts.sh doesn't exist (AgentVibes not installed)
69
+ [[ ! -f "$PLAY_TTS" ]] && exit 0
70
+
71
+ #
72
+ # @function extract_and_speak
73
+ # @context Extracts text after emoji markers and triggers TTS asynchronously
74
+ # @architecture Uses grep to find markers, extracts text, launches TTS in background
75
+ # @dependencies play-tts.sh
76
+ # @entrypoints Called based on verbosity level
77
+ # @aiNotes Background execution (&) prevents blocking Claude's output
78
+ #
79
+ extract_and_speak() {
80
+ local pattern="$1"
81
+
82
+ # Extract lines matching the pattern
83
+ # Pattern format: "emoji text" or "emoji [text]"
84
+ while IFS= read -r line; do
85
+ # Try to extract text after emoji
86
+ # Handles formats: "💭 text", "💭 [text]", "💭text"
87
+ if echo "$line" | grep -qE "$pattern"; then
88
+ # Extract everything after the emoji (and optional space/bracket)
89
+ text=$(echo "$line" | sed -E "s/^.*($pattern)[[:space:]]*\[?[[:space:]]*//" | sed 's/\]$//')
90
+
91
+ # Skip if text is empty or too short
92
+ [[ -z "$text" || ${#text} -lt 3 ]] && continue
93
+
94
+ # Speak it in background (don't block)
95
+ bash "$PLAY_TTS" "$text" >/dev/null 2>&1 &
96
+ fi
97
+ done <<< "$LAST_RESPONSE"
98
+ }
99
+
100
+ #
101
+ # @function is_party_mode_enabled
102
+ # @context Check if BMAD party mode voice integration is enabled
103
+ # @architecture Auto-enable for BMAD users, opt-out via disable flag
104
+ # @dependencies .bmad/_cfg/agent-manifest.csv, .claude/plugins/bmad-voices-enabled.flag
105
+ # @returns 0=enabled, 1=disabled
106
+ # @aiNotes Auto-enabled when BMAD detected, respects opt-out flag for user control
107
+ #
108
+ is_party_mode_enabled() {
109
+ # Explicit opt-out takes precedence
110
+ [[ -f "$PROJECT_ROOT/.claude/plugins/bmad-party-mode-disabled.flag" ]] && return 1
111
+
112
+ # Auto-enable if BMAD detected + voice plugin enabled
113
+ if [[ -f "$PROJECT_ROOT/.bmad/_cfg/agent-manifest.csv" ]] && \
114
+ [[ -f "$PROJECT_ROOT/.claude/plugins/bmad-voices-enabled.flag" ]]; then
115
+ return 0
116
+ fi
117
+
118
+ return 1
119
+ }
120
+
121
+ #
122
+ # @function map_display_name_to_agent_id
123
+ # @context Map BMAD agent display name to agent ID for voice lookup
124
+ # @architecture Parses agent-manifest.csv, matches displayName column to name column
125
+ # @dependencies .bmad/_cfg/agent-manifest.csv
126
+ # @param $1 Display name (e.g., "Winston", "John", "Amelia")
127
+ # @returns Agent ID (e.g., "architect", "pm", "dev") or empty string if not found
128
+ # @aiNotes Case-insensitive matching, handles quoted CSV values
129
+ #
130
+ map_display_name_to_agent_id() {
131
+ local display_name="$1"
132
+
133
+ # Check for BMAD v6 manifest
134
+ if [[ ! -f "$PROJECT_ROOT/.bmad/_cfg/agent-manifest.csv" ]]; then
135
+ return 1
136
+ fi
137
+
138
+ # CSV format: name,displayName,title,icon,role,...
139
+ # Extract 'name' (column 1) where displayName (column 2) matches
140
+ # Case-insensitive grep, remove quotes, get first match
141
+ local agent_id=$(grep -i ",\"*${display_name}\"*," "$PROJECT_ROOT/.bmad/_cfg/agent-manifest.csv" | \
142
+ head -1 | \
143
+ cut -d',' -f1 | \
144
+ tr -d '"')
145
+
146
+ echo "$agent_id"
147
+ }
148
+
149
+ #
150
+ # @function detect_and_speak_party_mode_dialogue
151
+ # @context Detect BMAD party mode agent responses and speak with agent-specific voices
152
+ # @architecture Pattern matches [Agent Name]: format, maps to agent voice, triggers TTS
153
+ # @dependencies map_display_name_to_agent_id, bmad-voice-manager.sh, play-tts.sh
154
+ # @aiNotes Runs in background to avoid blocking, graceful fallback for unmapped agents
155
+ #
156
+ detect_and_speak_party_mode_dialogue() {
157
+ # Pattern: [Agent Name]: dialogue
158
+ # Must start at beginning of line, agent name can include spaces/hyphens
159
+ while IFS= read -r line; do
160
+ if echo "$line" | grep -qE '^\[([A-Za-z\s-]+)\]:'; then
161
+ # Extract agent display name and dialogue
162
+ local agent_name=$(echo "$line" | sed -E 's/^\[([A-Za-z\s-]+)\]:.*/\1/')
163
+ local dialogue=$(echo "$line" | sed -E 's/^\[[^]]+\]:[[:space:]]*//')
164
+
165
+ # Skip if dialogue is empty or too short
166
+ [[ -z "$dialogue" || ${#dialogue} -lt 3 ]] && continue
167
+
168
+ # Map display name to agent ID
169
+ local agent_id=$(map_display_name_to_agent_id "$agent_name")
170
+
171
+ # Get agent's voice from bmad-voice-manager.sh
172
+ local agent_voice=""
173
+ if [[ -n "$agent_id" ]] && [[ -f "$SCRIPT_DIR/bmad-voice-manager.sh" ]]; then
174
+ agent_voice=$("$SCRIPT_DIR/bmad-voice-manager.sh" get-voice "$agent_id" 2>/dev/null)
175
+ fi
176
+
177
+ # Speak with agent's voice (or default if not mapped)
178
+ # Run in foreground to ensure audio completes
179
+ if [[ -n "$agent_voice" ]]; then
180
+ bash "$PLAY_TTS" "$dialogue" "$agent_voice" &
181
+ else
182
+ # Fallback to default voice if agent not in voice mapping
183
+ bash "$PLAY_TTS" "$dialogue" &
184
+ fi
185
+ fi
186
+ done
187
+ }
188
+
189
+ # Process based on verbosity level
190
+ case "$VERBOSITY" in
191
+ high)
192
+ # HIGH: Speak ALL markers (💭 🤔 ✓)
193
+ # Don't speak ✅ here - that's handled by manual TTS completion call
194
+ extract_and_speak "💭|🤔|✓"
195
+ ;;
196
+
197
+ medium)
198
+ # MEDIUM: Speak decisions and findings (🤔 ✓)
199
+ extract_and_speak "🤔|✓"
200
+ ;;
201
+
202
+ low)
203
+ # LOW: No automatic extraction (only manual ACK/COMPLETE TTS calls)
204
+ # Don't process any markers
205
+ ;;
206
+ esac
207
+
208
+ # BMAD Party Mode Integration (Issue #33)
209
+ # Auto-enabled for BMAD users, opt-out available
210
+ if is_party_mode_enabled; then
211
+ # Detect party mode activation announcement
212
+ if echo "$LAST_RESPONSE" | grep -q "🎉 PARTY MODE ACTIVATED! 🎉"; then
213
+ bash "$PLAY_TTS" "Party Mode Activated! All agents are here for a group discussion!" &
214
+ fi
215
+
216
+ # Detect agent dialogues
217
+ echo "$LAST_RESPONSE" | detect_and_speak_party_mode_dialogue
218
+ fi
219
+
220
+ # Exit successfully
221
+ exit 0
@@ -13,16 +13,16 @@ This plugin automatically assigns voices to BMAD agents based on their role and
13
13
 
14
14
  | Agent ID | Agent Name | ElevenLabs Voice | Piper Voice | Personality |
15
15
  |----------|------------|------------------|-------------|-------------|
16
- | pm | John (Product Manager) | Jessica Anne Bogart | en_US-ryan-high | professional |
17
- | dev | James (Developer) | Matthew Schmitz | en_US-joe-medium | normal |
18
- | qa | Quinn (QA) | Aria | en_US-amy-medium | professional |
16
+ | pm | John (Product Manager) | Matthew Schmitz | en_US-ryan-high | professional |
17
+ | dev | Amelia (Developer) | Aria | en_US-amy-medium | normal |
18
+ | analyst | Mary (Business Analyst) | Jessica Anne Bogart | kristin | normal |
19
19
  | architect | Winston (Architect) | Michael | en_GB-alan-medium | normal |
20
- | po | Product Owner | Aria | en_US-amy-medium | professional |
21
- | analyst | Analyst | Matthew Schmitz | kristin | normal |
22
- | sm | Scrum Master | Jessica Anne Bogart | kristin | professional |
23
- | ux-expert | UX Expert | Aria | jenny | normal |
24
- | bmad-master | BMAD Master | Michael | en_GB-alan-medium | zen |
25
- | bmad-orchestrator | Orchestrator | Matthew Schmitz | en_US-ryan-high | professional |
20
+ | sm | Bob (Scrum Master) | Matthew Schmitz | en_US-joe-medium | professional |
21
+ | tea | Murat (Test Architect) | Michael | en_US-arctic-medium | normal |
22
+ | tech-writer | Paige (Technical Writer) | Aria | jenny | normal |
23
+ | ux-designer | Sally (UX Designer) | Jessica Anne Bogart | en_US-lessac-medium | normal |
24
+ | frame-expert | Saif (Visual Designer) | Matthew Schmitz | en_GB-alan-medium | normal |
25
+ | bmad-master | BMad Master | Michael | en_US-danny-low | zen |
26
26
 
27
27
  ## How It Works
28
28
 
@@ -32,6 +32,22 @@ The voice manager automatically selects the appropriate voice based on your acti
32
32
 
33
33
  This ensures BMAD agents work seamlessly regardless of which provider you're using.
34
34
 
35
+ ### Supports Both Display Names and Agent IDs
36
+
37
+ The `bmad-speak.sh` script accepts both formats:
38
+
39
+ **Party Mode** (multiple agents, uses display names):
40
+ ```bash
41
+ .claude/hooks/bmad-speak.sh "Winston" "I recommend microservices for scalability"
42
+ ```
43
+
44
+ **Individual Agents** (single agent sessions, uses agent IDs):
45
+ ```bash
46
+ .claude/hooks/bmad-speak.sh "architect" "I recommend microservices for scalability"
47
+ ```
48
+
49
+ Both formats map to the same voice configuration based on the agent ID in the table above. This allows BMAD to use customizable display names while maintaining stable voice mappings.
50
+
35
51
  ## How to Edit
36
52
 
37
53
  Simply edit the table above to change voice mappings. The format is:
package/README.md CHANGED
@@ -94,16 +94,16 @@ Whether you're coding in Claude Code, chatting in Claude Desktop, or using Warp
94
94
 
95
95
  ## 📰 Latest Release
96
96
 
97
- **[v2.5.0 - Verbosity Control System](https://github.com/paulpreibisch/AgentVibes/releases/tag/v2.5.0)** 🎉
97
+ **[v2.6.0 - BMAD Integration & Voice Management CLI](https://github.com/paulpreibisch/AgentVibes/releases/tag/v2.6.0)** 🎉
98
98
 
99
- This minor release introduces intelligent verbosity control - giving you precise control over how much Claude speaks while working.
99
+ AgentVibes v2.6.0 brings comprehensive BMAD integration with unique AI voices for all agents! BMAD is a revolutionary AI-driven agile framework that automatically adapts from single bug fixes to enterprise-scale systems.
100
100
 
101
101
  **Key highlights:**
102
- - 🎙️ **Verbosity Control** - Three levels: LOW (minimal), MEDIUM (balanced), HIGH (full transparency)
103
- - 💭 **Emoji Markers** - Uses 💭 🤔 for automatic TTS detection
104
- - ⚙️ **Slash Command** - `/agent-vibes:verbosity [low|medium|high]`
105
- - 🔌 **MCP Integration** - Control via natural language
106
- - 🎯 **Smart Detection** - No manual Bash calls needed
102
+ - 🎙️ **BMAD TTS Integration** - All BMAD agents can now speak with unique voices
103
+ - 🛠️ **Voice Management CLI** - 5 new commands for managing agent voices
104
+ - 🔍 **Fuzzy Voice Matching** - Use short names like "ryan" instead of full voice IDs
105
+ - 📚 **Improved Help** - Built-in help command lists all available commands
106
+ - 🔧 **BMAD v6 Support** - Detects and works with latest BMAD folder structure
107
107
 
108
108
  [→ View All Releases](https://github.com/paulpreibisch/AgentVibes/releases)
109
109
 
package/RELEASE_NOTES.md CHANGED
@@ -1,3 +1,258 @@
1
+ # Release v2.6.0 - BMAD Integration & Voice Management CLI
2
+
3
+ **Release Date:** 2025-11-18
4
+ **Type:** Minor Release (New Features)
5
+
6
+ ## 🎯 AI Summary
7
+
8
+ **What is BMAD?** BMAD (Building Multi-Agent Development) is a revolutionary AI-driven agile framework for software and game development. It automatically adapts from single bug fixes to enterprise-scale systems. AgentVibes whole-heartedly supports BMAD by providing Text to Speech capabilities, enabling great flow for developers working with BMAD when developing code.
9
+
10
+ AgentVibes v2.6.0 brings comprehensive BMAD integration, enabling all BMAD agents to speak with unique AI voices. This release includes a provider-agnostic TTS injection system, five new CLI commands for easy voice management, and improved user experience with fuzzy voice matching and help documentation.
11
+
12
+ **Key Highlights:**
13
+ - 🎙️ **BMAD TTS Integration** - All BMAD agents can now speak with unique voices
14
+ - 🛠️ **Voice Management CLI** - 5 new commands for managing agent voices
15
+ - 🔍 **Fuzzy Voice Matching** - Use short names like "ryan" instead of full voice IDs
16
+ - 📚 **Improved Help** - Built-in help command lists all available commands
17
+ - 🔧 **BMAD v6 Support** - Detects and works with latest BMAD folder structure
18
+
19
+ ---
20
+
21
+ ## ✨ New Features
22
+
23
+ ### BMAD Integration
24
+
25
+ **TTS Injection System** (commits: bedbc783, a2203ffa)
26
+ - Provider-agnostic `TTS_INJECTION` marker system
27
+ - Automatic detection and injection during BMAD installation
28
+ - Works with both `.bmad/` (v6) and `bmad/` (legacy) folders
29
+ - Supports individual agent voices and party mode multi-agent discussions
30
+
31
+ **Voice Assignment** (commits: 361c522a, 3cef9d1c)
32
+ - Auto-creates default voice assignments for 10 BMAD agents
33
+ - Each agent gets a unique voice matching their personality:
34
+ - PM (John) - Professional male voice
35
+ - Architect (Marcus) - Deep authoritative voice
36
+ - Developer (Alex) - Casual friendly voice
37
+ - Analyst (Emma) - Articulate female voice
38
+ - UX Designer (Sara) - Warm professional voice
39
+ - And 5 more specialized voices
40
+ - Smart folder detection prevents false legacy warnings
41
+
42
+ **Agent ID Support** (commits: 638a3d75, 3e6fe609)
43
+ - Extracts agent IDs from file paths (`.bmad/bmm/agents/pm.md` → `pm`)
44
+ - Strips escaped special characters to prevent speech artifacts
45
+ - Supports both agent IDs and display names
46
+
47
+ ### Voice Management CLI
48
+
49
+ **5 New Commands** (commit: 560e51bb)
50
+ 1. `npx agentvibes preview-voice <voice-name>` - Preview any voice with sample text
51
+ 2. `npx agentvibes list-available-voices` - Show all Piper TTS voices
52
+ 3. `npx agentvibes list-bmad-assigned-voices` - Show current agent assignments
53
+ 4. `npx agentvibes assign-voice <agent-id> <voice-name>` - Change voice assignments
54
+ 5. `npx agentvibes reset-bmad-voices` - Reset all agents to defaults
55
+
56
+ ### User Experience Improvements
57
+
58
+ **Fuzzy Voice Matching** (commit: b4160ab0)
59
+ - Use short names: `npx agentvibes preview-voice ryan`
60
+ - Automatically matches to full voice ID: `en_US-ryan-high`
61
+ - Shows friendly "Matched 'ryan' to 'en_US-ryan-high'" message
62
+ - Prevents accidental download prompts
63
+
64
+ **Help Command** (commit: 45409a3a)
65
+ - `npx agentvibes help` - Lists all available commands
66
+ - Also works with `--help` and `-h` flags
67
+ - Properly configured CLI metadata (name, description, version)
68
+
69
+ ### Technical Improvements
70
+
71
+ **BMAD v6 Detection** (commit: e75be413)
72
+ - Updated `bmad-detector.js` to detect `.bmad/` folder structure
73
+ - Updated `bmad-tts-injector.sh` to prioritize `.bmad/` over `bmad/`
74
+ - Maintains backward compatibility with legacy `bmad/` folders
75
+
76
+ ---
77
+
78
+ ## 🐛 Bug Fixes
79
+
80
+ **Voice Assignment Creation** (commit: 3cef9d1c)
81
+ - Fixed: Voice assignments weren't created when AgentVibes installed before BMAD
82
+ - Solution: Only create assignments if `.bmad/` folder already exists
83
+ - Prevents false "legacy BMAD v4" detection warnings
84
+
85
+ **Special Character Handling** (commit: 3e6fe609)
86
+ - Fixed: Escaped characters (like `\!`) in speech caused artifacts
87
+ - Solution: Strip escape sequences before sending text to TTS
88
+ - Clean speech output without "backslash exclamation" sounds
89
+
90
+ **Agent ID Extraction** (commit: 638a3d75)
91
+ - Fixed: File paths weren't properly converted to agent IDs
92
+ - Solution: Extract basename from paths like `.bmad/bmm/agents/pm.md`
93
+ - Correct voice assignment lookup for all agents
94
+
95
+ ---
96
+
97
+ ## 📦 Chores & Maintenance
98
+
99
+ **.gitignore Updates** (commit: e75be413)
100
+ - Added `.bmad/` folder (BMAD v6 installations)
101
+ - Added `.mcp.json` (user-specific MCP config)
102
+ - Added documentation patterns (screenshots, drafts, release notes)
103
+ - Removed obsolete `user-prompt-output.sh` hook
104
+
105
+ ---
106
+
107
+ ## 🔧 Technical Details
108
+
109
+ ### Files Added
110
+ - `src/commands/bmad-voices.js` (388 lines) - Voice management commands module
111
+
112
+ ### Files Modified
113
+ - `src/installer.js` - Added CLI command definitions and program config
114
+ - `src/bmad-detector.js` - Updated for `.bmad/` folder detection
115
+ - `.claude/hooks/bmad-speak.sh` - Enhanced agent ID and path handling
116
+ - `.claude/hooks/bmad-tts-injector.sh` - Added `.bmad/` detection
117
+ - `.gitignore` - Comprehensive ignore patterns
118
+
119
+ ### GitHub Issues Resolved
120
+ - #36 - Support BMAD agent IDs in bmad-speak.sh
121
+ - #37 - Add CLI commands for BMAD voice management
122
+
123
+ ---
124
+
125
+ ## 📊 Stats
126
+
127
+ - **Commits:** 10
128
+ - **Files Changed:** 8
129
+ - **Lines Added:** ~600
130
+ - **Lines Removed:** ~150
131
+ - **New Commands:** 5
132
+ - **Issues Closed:** 2
133
+
134
+ ---
135
+
136
+ ## 🚀 Upgrade Guide
137
+
138
+ ### From v2.5.0
139
+
140
+ **No breaking changes** - this is a backward-compatible feature release.
141
+
142
+ To get the new features:
143
+
144
+ ```bash
145
+ # Update AgentVibes
146
+ npx agentvibes update
147
+
148
+ # If you have BMAD installed, voice assignments will be created automatically
149
+ # Test the new commands:
150
+ npx agentvibes help
151
+ npx agentvibes list-available-voices
152
+ npx agentvibes preview-voice ryan
153
+ ```
154
+
155
+ ---
156
+
157
+ ## 💡 Usage Examples
158
+
159
+ ### Preview Voices (New Fuzzy Matching)
160
+ ```bash
161
+ # Short names now work!
162
+ npx agentvibes preview-voice ryan
163
+ npx agentvibes preview-voice kristin
164
+ npx agentvibes preview-voice danny
165
+
166
+ # Full names still work
167
+ npx agentvibes preview-voice en_US-ryan-high
168
+ ```
169
+
170
+ ### Manage BMAD Agent Voices
171
+ ```bash
172
+ # List all available voices
173
+ npx agentvibes list-available-voices
174
+
175
+ # See current BMAD agent assignments
176
+ npx agentvibes list-bmad-assigned-voices
177
+
178
+ # Change an agent's voice
179
+ npx agentvibes assign-voice pm en_US-danny-low
180
+
181
+ # Reset all agents to defaults
182
+ npx agentvibes reset-bmad-voices
183
+ ```
184
+
185
+ ### Get Help
186
+ ```bash
187
+ # All these work:
188
+ npx agentvibes help
189
+ npx agentvibes --help
190
+ npx agentvibes -h
191
+ ```
192
+
193
+ ---
194
+
195
+ ## 🤝 Contributors
196
+
197
+ - Paul Preibisch (@paulpreibisch)
198
+ - Claude AI (code generation assistant)
199
+
200
+ ---
201
+
202
+ ## 📝 Notes
203
+
204
+ ### BMAD Installation Order
205
+
206
+ For automatic voice assignment setup, install BMAD first, then AgentVibes:
207
+
208
+ ```bash
209
+ npx bmad install
210
+ npx agentvibes install
211
+ ```
212
+
213
+ If you install AgentVibes first, you'll need to manually create voice assignments:
214
+
215
+ ```bash
216
+ mkdir -p .bmad/_cfg
217
+ cat > .bmad/_cfg/agent-voice-map.csv << 'EOF'
218
+ agent_id,voice_name
219
+ pm,en_US-ryan-high
220
+ architect,en_US-danny-low
221
+ dev,en_US-joe-medium
222
+ analyst,en_US-amy-medium
223
+ ux-designer,en_US-kristin-medium
224
+ tea,en_US-lessac-medium
225
+ sm,en_US-bryce-medium
226
+ tech-writer,en_US-kathleen-low
227
+ frame-expert,en_US-kusal-medium
228
+ bmad-master,en_US-libritts_r-high
229
+ EOF
230
+ ```
231
+
232
+ ### Provider-Agnostic Design
233
+
234
+ The `TTS_INJECTION` marker system is intentionally generic. Future TTS providers can integrate by:
235
+ 1. Creating a hook script at `.claude/hooks/bmad-speak.sh`
236
+ 2. Implementing the interface: `bmad-speak.sh <agent-id> <text>`
237
+ 3. BMAD will automatically detect and use the custom implementation
238
+
239
+ ---
240
+
241
+ ## 🔗 Links
242
+
243
+ - **npm Package:** https://www.npmjs.com/package/agentvibes
244
+ - **GitHub Repository:** https://github.com/paulpreibisch/AgentVibes
245
+ - **GitHub Release:** https://github.com/paulpreibisch/AgentVibes/releases/tag/v2.6.0
246
+ - **BMAD Integration PR:** (To be created in BMAD-METHOD repository)
247
+ - **Issue #36:** https://github.com/paulpreibisch/AgentVibes/issues/36
248
+ - **Issue #37:** https://github.com/paulpreibisch/AgentVibes/issues/37
249
+
250
+ ---
251
+
252
+ **Full Changelog:** https://github.com/paulpreibisch/AgentVibes/compare/v2.5.0...v2.6.0
253
+
254
+ ---
255
+
1
256
  # Release v2.4.3 - macOS Compatibility Fixes (2025-01-15)
2
257
 
3
258
  ## 🤖 AI Summary
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "agentvibes",
4
- "version": "2.5.0",
4
+ "version": "2.6.0",
5
5
  "description": "Now your AI Agents can finally talk back! Professional TTS voice for Claude Code and Claude Desktop (via MCP) with multi-provider support.",
6
6
  "homepage": "https://agentvibes.org",
7
7
  "keywords": [