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.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
hello @WilliamMunch please solve the conflicts, thx |
It’s done. |
mnriem
left a comment
There was a problem hiding this comment.
Unfortunately it looks like another earlier contributions caused merge conflicts again. So can you resolve them .... again .... so sorry for this. The nature of the speed of contributions to Spec Kit ;)
|
thanks @WilliamMunch please update and then cc @mnriem for review. |
It’s done. @mnriem |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.
Comments suppressed due to low confidence (1)
src/specify_cli/init.py:305
- Trae is added to
AGENT_CONFIGhere withcommands_subdir: "commands", and the release packaging/docs in this PR also place Trae command files under.trae/commands/. However, extension/preset command registration is driven byCommandRegistrar.AGENT_CONFIGS(insrc/specify_cli/agents.py/ re-exported viaextensions.py), which currently still points Trae at.trae/rules. This means extension installs/uninstalls and backups/restores will write/read command files from a different directory thanspecify init/ release packages, breaking Trae extension command registration. Update the registrar config to use.trae/commands(and keep it consistent withAGENT_CONFIG) so Trae projects behave correctly across init + extensions + presets.
"trae": {
"name": "Trae",
"folder": ".trae/",
"commands_subdir": "commands",
"install_url": None, # IDE-based
"requires_cli": False,
},
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
mnriem
left a comment
There was a problem hiding this comment.
Please address Copilot feedback and resolve conflicts
|
Closing — Trae IDE support was delivered in #1817 (merged as |
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