Summary
Add support for two China-developed agentic coding CLIs as agent providers:
Motivation
emdash already supports several non-Western providers (qwen, kimi). Adding CodeBuddy and Trae Agent would extend coverage to two widely-used agents in the Chinese developer ecosystem, both of which expose a terminal/CLI interface that fits emdash's PTY-based provider model.
Proposed change
Register both in src/shared/agent-provider-registry.ts following the existing AgentProviderDefinition shape (cli, commands, versionArgs, initialPromptFlag, autoApproveFlag, resumeFlag, etc.), add detection in dependency-manager.ts, provider icons, and PTY env passthrough where required.
I'm happy to open a PR if maintainers are open to it. Before doing so, a couple of open questions:
- CodeBuddy: confirm the install command, CLI binary name, and the flags for non-interactive prompt delivery + auto-approve.
- Trae: confirm whether the intended entry point is the open-source
trae-agent CLI (vs. the Trae IDE), and its prompt/session flags.
Would the maintainers welcome these additions?
Summary
Add support for two China-developed agentic coding CLIs as agent providers:
Motivation
emdash already supports several non-Western providers (
qwen,kimi). Adding CodeBuddy and Trae Agent would extend coverage to two widely-used agents in the Chinese developer ecosystem, both of which expose a terminal/CLI interface that fits emdash's PTY-based provider model.Proposed change
Register both in
src/shared/agent-provider-registry.tsfollowing the existingAgentProviderDefinitionshape (cli,commands,versionArgs,initialPromptFlag,autoApproveFlag,resumeFlag, etc.), add detection independency-manager.ts, provider icons, and PTY env passthrough where required.I'm happy to open a PR if maintainers are open to it. Before doing so, a couple of open questions:
trae-agentCLI (vs. the Trae IDE), and its prompt/session flags.Would the maintainers welcome these additions?