Commit Graph

211 Commits

Author SHA1 Message Date
Mårten Angner 4596fad5d6 Add IDE handler system with slash command support
Implement BMad-style IDE handler architecture for WDS:
- Base class (_base-ide.js) with template method pattern
- Dynamic handler discovery via IdeManager
- Priority handlers: Windsurf, Cursor, Claude Code, Cline, GitHub Copilot
- Installer integration after agent compilation step
- Saga activation now branches on starting_point config (pitch vs brief)
- Remove parenthetical hint from learning material prompt

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 19:53:39 +01:00
Mårten Angner b120dd9327 Add complete IDE list from BMad (18 total)
Added missing IDEs:
- Atlassian Rovo Dev
- Auggie CLI
- Codex
- Crush
- Gemini CLI
- Google Antigravity
- iFlow CLI
- Kilo Code
- Kiro CLI
- OpenCode
- Qwen Code
- Roo Code
- Trae

Complete list now matches BMad installer (20 options including VS Code and Other)
All sorted alphabetically for platform-agnostic presentation

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-24 12:42:28 +01:00
Mårten Angner 5ad7af3371 Make IDE selection platform-agnostic
- Removed all pre-selection (all unchecked by default)
- Removed star markers () - no preferences shown
- Sorted alphabetically for neutral presentation
- Users must actively choose their tools
- Validation still requires at least one selection

Platform-agnostic: WDS works equally well with any AI coding tool

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-24 12:41:14 +01:00
Mårten Angner 1fadda6eb5 Change IDE selection to multiselect checkbox
- Changed from single-select list to checkbox (multiselect)
- Added full IDE list from BMad: Windsurf, Cursor, Claude Code, GitHub Copilot, Cline, VS Code, Other
- Windsurf and Cursor marked as preferred (pre-checked)
- Validation requires at least one IDE selected
- Updated config.yaml to store ides array instead of single ide
- Updated success message to display multiple IDEs (e.g., "Windsurf or Cursor")
- Ensures WDS commands work cross-platform for all selected IDEs

User request: "Look at the BMad installer, there is a multiselect box for IDEs use the full list from the BMad installer"

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-24 12:09:08 +01:00
Mårten Angner 1ef7db0eec Add IDE selection and optional learning material
- Added IDE selection question (Windsurf, VS Code, Cursor, Other)
- Made learning material installation optional with confirm prompt
- Success message now shows selected IDE name
- Store IDE preference in config.yaml
- Installer now has 5 questions (up from 3)

User feedback: "IDE selection is crucial for the installer" and "ask if the learn section should be installed"

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-24 11:59:36 +01:00
Mårten Angner bbd6f4656a Fix folder structure: Remove D-UX-Design, move Design System to D
User feedback: UX design happens IN the scenarios (C), not as separate phase.

Old (incorrect):
- A-Product-Brief
- B-Trigger-Map
- C-UX-Scenarios
- D-UX-Design (redundant!)
- E-Design-System

New (correct):
- A-Product-Brief
- B-Trigger-Map
- C-UX-Scenarios (UX design is done here)
- D-Design-System

4 phases instead of 5 - cleaner and more accurate.
2026-02-24 11:40:30 +01:00
Mårten Angner eb879eb574 Reorder installer questions for better logic
Better flow: name → structure → workflow

Old order:
1. Project name
2. Pitch deck question (workflow)
3. Output folder (structure)

New order:
1. Project name
2. Output folder (structure)
3. Pitch deck question (workflow)

More intuitive: establish basics first, then choose workflow.
2026-02-24 11:39:08 +01:00
Mårten Angner 2f07264ee4 Further simplify installation instructions
More conversational and explicit:
- 'Get Started with Your Product Brief' (goal-oriented)
- 'Locate the chat window in your IDE' (explicit location)
- 'type:' instead of 'paste this command:' (simpler action)
- Command in quotes to make it clear it's text to type
- Better line breaks for readability
2026-02-24 11:36:00 +01:00
Mårten Angner c29cbb9216 Clarify installation success message for better UX
Old message was too technical and vague.

New message:
- Clear numbered steps (1-2-3)
- Specific: 'Open this folder in Windsurf or VS Code'
- Exact command to paste (not just 'tell the AI')
- Clear outcome: 'Saga will greet you by name'
- Cleaner layout with separator

Addresses workshop feedback about confusing instructions.
2026-02-24 11:33:27 +01:00
Mårten Angner ef3d523875 Remove placeholder template files from installer
Workshop feedback: 00-*.md files were confusing and ignored by users.

Changes:
- Remove createFolderGuides() and createProjectInfoFile() methods
- Folders still created but empty (only .gitkeep)
- Agents will create files dynamically during workflows
- Cleaner, less confusing user experience
2026-02-24 11:29:47 +01:00
Mårten Angner 5bdb03572b Clarify installer question: pitch deck vs Product Brief
- Change vague 'Where are you starting?' to clear yes/no question
- Fix typos: 'pich' → 'pitch', 'prief' → 'brief'
- Clearer choice labels for better UX
2026-02-24 11:27:56 +01:00
Mårten Angner 24e47375d5 Add output folder customization to installer
- Add 3rd question: Output folder name (default: design-process)
- Users can customize to docs/, deliverables/, etc.
- Update config.yaml to use dynamic root_folder
- Update template placeholders to use config.root_folder

Balances simplification (3 questions vs 7+) with useful customization.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-24 10:48:56 +01:00
Mårten Angner 5c6449d001 Simplify installer to 2 questions and update folder structure
- Reduce installer to minimal config: project_name + starting_point
- Remove design_experience, project_type, IDE selection questions
- Standardize on design-process/ output folder
- Update folder structure: A-E (remove F-G phases)
- Change D-Design-System → E-Design-System
- Add _progress/agent-dialogs/ folder
- Update success message to point to Saga (not Mimir)
- Auto-include learning material (no prompt)
- Get user_name from git config
- Remove IDE setup step

Workshop finding: 0/4 participants completed workflows with complex installer.
Simplification improves first-time user experience.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-24 10:42:13 +01:00
Mårten Angner 0cb415afbf Add root folder selection to installer
- Users can now choose between design-process/, docs/, or deliverables/
- Removes folder auto-detection logic that caused duplicate folders
- Installer creates folders at user's chosen location
- Prevents conflict with project setup workflow

Fixes issue where both design-process/ and docs/ were created.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 13:15:36 +01:00
Mårten Angner efaa9e1d95 Fix installer crash: pass config to createDocsFolders
createFolderGuides() needs config parameter for template replacements.
This was causing "config is not defined" error during installation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 11:22:15 +01:00
Mårten Angner e232a783cb Fix installer for workshop: folder detection, 00 files, never overwrite
Critical fixes before workshop:
- Detect existing deliverables folders (design-process, docs, deliverables, wds-deliverables)
- Update config.yaml with detected output_folder
- Implement createFolderGuides() to copy all 00 template files
- Create 00-project-info.md as project settings home
- Never overwrite existing user files

Files modified:
- tools/cli/lib/installer.js - folder detection, createFolderGuides(), config update
- INSTALLER-FIXES-2026-02-23.md - complete documentation of all fixes
- src/workflows/1-project-brief/templates/00-project-info.template.md - new template

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-23 08:16:23 +01:00
Mårten Angner 629de0849e Fix lint and formatting issues for v0.2.0 release
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 14:18:53 +01:00
Mårten Angner cd46fcccdc Sync src/ with expansion repo v0.2.0
Replace entire src/ content with bmad-method-wds-expansion source:
- Restructured workflows (BMad-compliant phases 0-8)
- Updated agent YAMLs with correct workflow paths
- Templates moved into workflow folders (no more top-level templates/)
- Added skills/ directory (agent activation files)
- Added module-help.csv (workflow registry)
- Removed legacy dirs: _module-installer/, core/, modules/

Installer updates:
- Copy skills/ instead of templates/
- Copy module-help.csv alongside module.yaml
- Updated doc folder structure to match expansion
- Compiler handles _bmad/wds/ path rewriting for standalone

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 13:41:15 +01:00
Mårten Angner 1453c050ac Installer updates 2026-01-29 16:38:17 +01:00
Mårten Angner b4cbe6a30d Installer 2026-01-29 15:34:21 +01:00
Mårten Angner 9cd83242fa Updating to match the official BMad repo 2026-01-23 13:10:39 +01:00
Brian Madison 0a3cc1d12c release: bump to v6.0.0-alpha.23 2026-01-11 13:16:49 +08:00
Phil 677a00280b
feat: refactor Cursor IDE setup to do command generation and cleanup instead of rules (#1283)
* feat: refactor Cursor IDE setup to do  command generation and cleanup instead of rules

- Added support for command generation in the Cursor IDE setup, including the creation of a new commands directory.
- Implemented cleanup for old BMAD commands alongside existing rules.
- Integrated TaskToolCommandGenerator for generating task and tool commands.
- Updated logging to reflect the number of agents, tasks, tools, and workflow commands generated during setup.

* style: adjust constructor formatting and update command path in Cursor IDE setup

- Reformatted the constructor method for consistency.
- Updated the command path syntax in the Cursor IDE setup to use a more standard format.

* fix: update Cursor command paths in documentation

- Changed the command path for Cursor IDE setup from `.cursor/rules/bmad/` to `.cursor/commands/bmad/` in both installers.md and modules.md.
- Updated file extension references to use `.md` instead of `.mdc` for consistency.
2026-01-09 16:39:32 +08:00
Q00 d19cca79d2
fix: resolve ERR_REQUIRE_ESM by using dynamic import for inquirer (#1278)
Inquirer v9+ is ESM-only, causing ERR_REQUIRE_ESM when loaded via
require() in CommonJS. Convert all require('inquirer') calls to
dynamic import('inquirer') across 8 CLI files.

Fixes #1197
2026-01-08 15:42:22 +08:00
Brian Madison 7bf05c9d9d fix missing scripts from installation, and add ability to exclude workflows from being added as commands in tools, the first being the example workflow meant just for workflow example to the workflow builder 2026-01-07 16:21:25 +08:00
lkrysik 8699d7d968
Mixed line endings (Windows CRLF problem) (#1222)
Co-authored-by: lukasz.krysik <lukasz.krysik@effem.com>
2025-12-31 14:44:53 +08:00
Brian Madison b8836ced24 another inquirer default addition missed, maybe this will fix windows issues also 2025-12-29 15:56:00 +08:00
Brian Madison f0520c39d9 fix wording in create-epics-and-stories doc discovery continuation 2025-12-29 09:25:56 +08:00
Luke Finch b509fb9a1e
bump version to 6.0.0-alpha.21 and enhance stdin handling for Windows in CLI (#1200) 2025-12-28 22:09:22 +08:00
Brian Madison 2a8a4388a9 v4 detection cleanup 2025-12-27 20:31:12 +08:00
Brian Madison d4a94df29a doc cleanup round 1 2025-12-27 18:29:35 +08:00
Brian Madison aba9d11c88 quick flow updates to aid discovery and implementation 2025-12-27 10:40:23 +08:00
Brian Madison 7b5b7afdc0 update package.json to resolve windows installer issue with inquirer version 2025-12-26 18:05:59 +08:00
Brian Madison 1f16bb7413 agent renormalized, and all now have chat and party mode auto injectioned 2025-12-26 12:00:37 +08:00
Alex Verkhovsky 19df17b261
feat: add documentation website with Docusaurus build pipeline (#1177)
* feat: add documentation website with Docusaurus build pipeline

* feat(docs): add AI discovery meta tags for llms.txt files

- Add global headTags with ai-terms, llms, llms-full meta tags
- Update landing page link to clarify AI context purpose

* fix(docs): restore accidentally deleted faq.md and glossary.md

Files were removed in 12dd97fe during path restructuring.

* fix(docs): update broken project-readme links to GitHub URL

* feat(schema): add compound trigger format validation
2025-12-23 23:01:36 +08:00
Brian Madison 4195eb3b30 installation intro and outtro custom messages, configurable in install-messages.yaml 2025-12-23 21:43:29 +08:00
Brian Madison c0f5d33c61 core module always asks its questions (no accept defaults 2025-12-23 20:52:06 +08:00
Brian Madison 3f76c2de74 ensure config vars are retained in a quick update 2025-12-23 20:17:32 +08:00
Brian Madison 45ff3840a8 2 version auto upgrade only 2025-12-23 20:05:17 +08:00
Brian Madison 00a380a03f remove unused commands that need to be replaced 2025-12-23 17:32:53 +08:00
Brian Madison 021936eaa9 update inquirer to v9.x for better windows support 2025-12-22 18:18:16 +08:00
Brian Madison da21790531 quickinstall duplicate success message removed 2025-12-22 14:17:32 +08:00
Brian Madison 34cfdddd3a refac tools part 1 2025-12-22 13:12:25 +08:00
Brian Madison 1e721f7fd0 consolidate and remove some duplication 2025-12-22 10:13:56 +08:00
Brian Madison 9c268f8190 remove asterix insertion into agent files 2025-12-22 08:18:53 +08:00
Brian Madison 23f650ff4d fixed _bmad folder stutter with agent custom files 2025-12-18 03:22:46 +08:00
Brian Madison f36369512b fixed issue with agent customization application, now all fields are customized form the custom yaml. also added a recompile agents menu item 2025-12-17 17:58:37 +08:00
Brian Madison e37edf098c modify install now supports adding custom modules even if there were no custom modules originally 2025-12-16 20:45:27 +08:00
Brian Madison 83b0df0f21 .17 changelog and link to changelog in installer output 2025-12-16 18:23:15 +08:00
Brian Madison 32615afaf9 memory location is non configurable _bmad/_memory for sidecar content 2025-12-16 15:43:38 +08:00