-
Notifications
You must be signed in to change notification settings - Fork 4.2k
[Conflict Resolving + minor updates] feat: Add support for Trae AI #1057
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Added support for Trae AI across multiple files, including: - Updated CI scripts to include Trae AI release packages - Added Trae AI installation instructions in documentation - Added Trae AI integration guide in AGENTS.md - Updated Python and Shell scripts to support Trae AI'
2. update some description to align with what we describe IDE-based agents 3. add "--template-file" option so that we can load templates locally instead of github remote to boost local testing when adding new agents
|
Hey @localden Could you take a look at this PR when you free? Thanks! |
|
@TCoherence this looks reasonable. Please resolve the conflicts, and we should be good to go. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dear Sir,
Thank you so much for all your hard work on the spec-kit project. I have a question regarding its usage: I created a release based on your branch and copied it to the project directory. However, when I ran /speckit.constitution, instead of generating the constitution.md as expected, it performed many unrelated tasks.
Could you kindly guide me on how to properly use spec-kit in the trae environment? Also, is the "/" command correctly recognized in trae?
I'm relatively new to this and would truly appreciate your help. Thank you in advance for your guidance.

|
@chiaoyuan1991 I was not able to see the screenshot you pasted. Just a quick note for awareness, currently Trae doens't officially support this, normally you need some tricks to enable slash commands in Trae. I have internally discussed with their PMs and they told me it wouldn't be added this Q4 (Previously planned for Q4 but pushed back because of some other high priority stuff...)
|
|
@localden Just merged from the remote main branch and solved the conflicts locally. Also retest it out locally. Please take a look at it when you have a chance. Testing with screenshots
|
您的意思是当我执行斜杠命令时,引用.trae/workflow中对应的文件吗? |
@chiaoyuan1991 对的,现在这是一个trade off的方法,因为slash command本身解决的也是这个技术问题。但是如果只是使用的话,这是可以这么使用的。 |
|
这个需要你自己debug一下,我大概推测是你本地specify没有更新,这个template file option是我这个分支才有的,你需要切换到我这个分支,覆盖安装本地的specify。或者你可以尝试在本地setup venv之后,用过pip安装,这样只会安装到你的虚拟环境,这样不会污染你的全局环境了。 |
|
不是的,你可以看到你的截图,安装是从github main分支安装的,你可以了解一下uv tool或者pip如何从特定分支进行安装。 |










Summary
This PR mainly fixes merging conflicts based on #764, additionally, adding the following:
specifycommand issue in init.py file becaseu of some outdated changes.specify initcommand to avoid downloading release packages from github when testing adding new agents.Testing with screenshots
specify initrun with Trae/speckit.constitutionprompt in Trae IDEAcknowledge
The PR is based on the work done by @wolone in #764
AI Usage Disclosure
"--template-file" option is implemented with the help with Github Copilot with minor human code updates