Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds support for the Trae IDE as a new AI agent in the Spec Kit toolkit. Trae is configured as an IDE-based agent (similar to Windsurf, Cursor, and IBM Bob) that doesn't require CLI tool installation.
Changes:
- Added Trae to the supported agents list with proper IDE-based configuration
- Updated all agent-related scripts and documentation for Trae support
- Configured release automation to include Trae template artifacts
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/specify_cli/init.py | Added trae to AGENT_CONFIG as IDE-based agent using .trae/ folder; updated init command help text |
| scripts/bash/update-agent-context.sh | Added trae support for updating context files in .trae/rules/specify-rules.md |
| scripts/powershell/update-agent-context.ps1 | Added trae support matching bash script behavior |
| .github/workflows/scripts/create-release-packages.sh | Added trae case to generate command files in .trae/commands/ directory |
| .github/workflows/scripts/create-release-packages.ps1 | Added trae case matching bash script behavior |
| .github/workflows/scripts/create-github-release.sh | Added trae artifacts to GitHub release uploads |
| AGENTS.md | Documented Trae in supported agents table and directory conventions |
| README.md | Added Trae to supported agents list and init command documentation |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@WilliamMunch Can you resolve the conflicts? |
It’s done. |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 8 out of 8 changed files in this pull request and generated 3 comments.
Comments suppressed due to low confidence (1)
scripts/bash/update-agent-context.sh:787
print_summaryusage output lists supported agents but omitsgeneric, even thoughgenericis handled byupdate_specific_agent. Includegenerichere to avoid misleading CLI help output.
log_info "Usage: $0 [claude|gemini|copilot|cursor-agent|qwen|opencode|codex|windsurf|kilocode|auggie|roo|codebuddy|amp|shai|trae|kiro-cli|agy|bob|qodercli]"
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "trae": { | ||
| "name": "Trae", | ||
| "folder": ".trae/", | ||
| "commands_subdir": "commands", | ||
| "install_url": None, # IDE-based | ||
| "requires_cli": False, |
There was a problem hiding this comment.
trae is added to AGENT_CONFIG, but extension command registration is driven by CommandRegistrar.AGENT_CONFIGS (src/specify_cli/extensions.py) and currently has no Trae entry. As a result, installing extensions won’t register their commands for Trae projects (the .trae/ directory will be ignored). Add a corresponding trae config there (likely pointing at .trae/commands, markdown, $ARGUMENTS, .md) or refactor to derive registrar config from AGENT_CONFIG so new agents don’t get partially integrated.
There was a problem hiding this comment.
@copilot open a new pull request to apply changes based on this feedback
|
|
||
| # Determine agent list | ||
| ALL_AGENTS=(claude gemini copilot cursor-agent qwen opencode windsurf codex kilocode auggie roo codebuddy amp shai kiro-cli agy bob qodercli generic) | ||
| ALL_AGENTS=(claude gemini copilot cursor-agent qwen opencode windsurf codex kilocode auggie roo codebuddy amp shai kiro-cli agy bob qodercli generic trae) |
There was a problem hiding this comment.
This agent allowlist now includes trae, but the script header comment that documents the valid AGENTS subset (near the top of the file) still omits it. Please update the usage comment so it stays in sync with ALL_AGENTS.
There was a problem hiding this comment.
@copilot open a new pull request to apply changes based on this feedback
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Description
Integrate the Trae AI agent into the Spec Kit. It provides full support for CLI, context update scripts (Bash/PowerShell), release automation, and documentation.
Changes