diff --git a/README.md b/README.md index 397fc03..3fec0e0 100644 --- a/README.md +++ b/README.md @@ -295,6 +295,7 @@ Built-ins: | `kiro` | native (`kiro-cli acp`) | [Kiro CLI](https://kiro.dev) | | `opencode` | `npx -y opencode-ai acp` | [OpenCode](https://opencode.ai) | | `qwen` | native (`qwen --acp`) | [Qwen Code](https://github.com/QwenLM/qwen-code) | +| `trae` | native (`trae-cli acp serve`) | [Trae CLI](https://docs.trae.cn/cli) | `factory-droid` and `factorydroid` also resolve to the built-in `droid` adapter. diff --git a/agents/README.md b/agents/README.md index 2235c2f..8159781 100644 --- a/agents/README.md +++ b/agents/README.md @@ -16,6 +16,7 @@ Built-in agents: - `kiro -> kiro-cli acp` - `opencode -> npx -y opencode-ai acp` - `qwen -> qwen --acp` +- `trae -> trae-cli acp serve` Harness-specific docs in this directory: @@ -30,3 +31,4 @@ Harness-specific docs in this directory: - [Kiro](Kiro.md): built-in `kiro -> kiro-cli acp` - [OpenCode](OpenCode.md): built-in `opencode -> npx -y opencode-ai acp` - [Qwen](Qwen.md): built-in `qwen -> qwen --acp` +- [Trae](Trae.md): built-in `trae -> trae-cli acp serve` diff --git a/agents/Trae.md b/agents/Trae.md new file mode 100644 index 0000000..f68501b --- /dev/null +++ b/agents/Trae.md @@ -0,0 +1,5 @@ +# Trae + +- Built-in name: `trae` +- Default command: `trae-cli acp serve` +- Upstream: https://docs.trae.cn/cli diff --git a/src/agent-registry.ts b/src/agent-registry.ts index 0ec23a0..797e7bd 100644 --- a/src/agent-registry.ts +++ b/src/agent-registry.ts @@ -19,6 +19,7 @@ export const AGENT_REGISTRY: Record = { kiro: "kiro-cli acp", opencode: "npx -y opencode-ai acp", qwen: "qwen --acp", + trae: "trae-cli acp serve", }; const AGENT_ALIASES: Record = { diff --git a/test/agent-registry.test.ts b/test/agent-registry.test.ts index ad021b5..ff8547f 100644 --- a/test/agent-registry.test.ts +++ b/test/agent-registry.test.ts @@ -52,6 +52,7 @@ test("listBuiltInAgents preserves the required example prefix and alphabetical t "kiro", "opencode", "qwen", + "trae", ]); });