feat: add built-in trae agent backed by trae-cli#171
Merged
osolmaz merged 3 commits intoopenclaw:mainfrom Mar 28, 2026
Merged
Conversation
Contributor
Triage result
Quick read
IntentMake Trae available out of the box as a built-in Why
Codex review
CI/CD
RecommendationThis is ready for a human landing decision. If you want |
e5f0930 to
9680ced
Compare
Contributor
|
Landed via temp rebase onto main.\n\n- Gate: validation completed for this repo's change scope\n- Land commit: 9680ced\n- Merge commit: 1acda08\n\nThanks @hqwuzhaoyi! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
traewith commandtrae-cli acp serveREADME.md,agents/README.md)agents/Trae.mdtraeWhy
Today users must manually configure Trae CLI in
~/.acpx/config.json.Making it built-in reduces setup friction and aligns with existing built-in agent UX.
Changes
src/agent-registry.tstrae: "trae-cli acp serve"README.mdagents/README.mdagents/Trae.mdtest/agent-registry.test.tstraeValidation
pnpm -s run build:test && node --test dist-test/test/agent-registry.test.jsacpx --cwd /tmp --approve-all trae exec "Reply exactly: TRAE_ACPX_EXEC_TMP_OK"sessions new/ prompt /sessions history)TRAE_FILE_OK)agents.traefrom~/.acpx/config.jsonnpx --yes ./acpx-0.3.1.tgz --cwd /tmp --approve-all trae exec "Reply exactly: LOCAL_PUBLISH_TRAE_OK"~/.acpx/config.json migration note
For users on this PR (or after release),
agents.traebecomes optional.Before:
{ "agents": { "trae": { "command": "trae-cli acp serve" } } }After (optional cleanup):
{ "agents": { "claude": { "command": "..." } } }If users want custom behavior, keeping an override is still supported:
{ "agents": { "trae": { "command": "trae-cli acp serve" } } }Notes
traefor compatibilitytrae-cli