Add 'new' tool to GitHub Copilot chatmodes for file creation

Fixes #505 - GitHub Copilot analyst chat mode is unable to create files

- Added 'new' tool to tools array in setupGitHubCopilot() method
- Enables file creation capability for all BMAD chatmode agents
- Follows pattern from PR #324 (commit 47b014e)
- Based on research showing 'editFiles' alone insufficient for new files

Research evidence:
- Issue #12568 in microsoft/vscode-copilot-release shows 'new' as distinct tool
- Issue #10253 documents editFiles limitation with creating non-existent files
- Microsoft fixed file creation bug in extension v0.28.2025052204+

Testing required:
- Run BMAD installer to regenerate chatmode files
- Test analyst agent commands: *create-project-brief, *create-competitor-analysis
- Verify existing agent functionality unchanged
This commit is contained in:
jhaindev 2025-10-20 10:19:05 -04:00
parent 60475ac6f8
commit fb2c518728
1 changed files with 1 additions and 0 deletions

View File

@ -220,6 +220,7 @@ class GitHubCopilotSetup extends BaseIdeSetup {
'problems', 'problems',
'usages', 'usages',
'editFiles', 'editFiles',
'new',
'runCommands', 'runCommands',
'runTasks', 'runTasks',
'runTests', 'runTests',