Commit Graph

2 Commits

Author SHA1 Message Date
sidharth arora e2c0f865aa feat: add configurable interaction_style with platform-specific structured question directives
Add a new `interaction_style` config setting (open/structured) to module.yaml
that controls how agents ask questions. When set to "structured", agents use
numbered option lists; when "open" (default), they use natural conversation.

Platform-specific templates for Claude Code use `AskUserQuestion` tool,
Gemini uses `ask_user`, OpenCode uses `question` tool, and default/kiro/
other platforms use generic structured options.

Changes:
- Add interaction_style to src/core/module.yaml (between output_folder and
  tool_supports_subagents)
- Add RULE directive to all 27+ IDE templates across 7 platforms
- Add interaction_style to activation-rules, activation-steps, handlers,
  workflow.xml, and agent-command-header
- Create dedicated Claude Code templates (claude-agent, claude-task,
  claude-tool, claude-workflow, claude-workflow-yaml) replacing symlinks
- Add claude template_type to platform-codes.yaml
- Update codex.js installer for claude support
- Document interaction_style in install-bmad.md

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 00:38:15 +01:00
Davor Racic 5b80649d3a
fix(installer): Multiple installer fixes (#1492)
* fix: support CRLF line endings and add task/tool templates for all IDEs

* fix: preserve file extensions in IDE task/tool paths and update BMAD branding

* fix: double extension issue in wrapper filename generation

* fix: correct path handling and variable reference in task/tool command generator

* fix: change default BMAD folder name from 'bmad' to '_bmad' across all IDE components

* refactor: centralize BMAD_FOLDER_NAME constant in path-utils

* fix: Replace the rest of BMAD_FOLDER magic values

* fix: add safety checks for setBmadFolderName method calls in IdeManager

* fix: convert absolute paths to relative in task-tool-command-generator

* fix: support .xml task files in bmad-artifacts task discovery

* fix: skip internal tasks in manifest generation and IDE command discovery

* fix: skip empty artifact_types targets and remove unused vscode_settings target

* fix: skip internal tools in manifest generation and improve Windows path handling in command generator

* fix: use csv-parse library for proper CSV handling in manifest generation

* refactor: extract CSV text cleaning to reusable method in manifest generator

* fix: normalize path separators to forward slashes in agent file copying for cross-platform compatibility

---------

Co-authored-by: Alex Verkhovsky <alexey.verkhovsky@gmail.com>
Co-authored-by: Brian <bmadcode@gmail.com>
2026-02-03 17:36:54 -06:00