Repository navigation
feat(runtime): add TRAE CLI (traecli) provider and personal credential support - #1166
Open
neuromancerzeng wants to merge 2 commits into
Open
neuromancerzeng wants to merge 2 commits into
neuromancerzeng wants to merge 2 commits into
Conversation
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.
What changed
Add built-in TRAE CLI (
traecli) support across the LoopForge platform (domain, runtime, runner discovery, HTTP API model catalog, and web/chatbot UI):traecliinAgentCLIExecutorKinds,ExecutorEffortLevels,AgentCLIProtocolOptions(responses,chat), andSupportsRunnerLoginso users can either reuse their machine's local TRAE CLI login (~/.trae/cli/auth.jsonviaTRAE_HOME) on a personal Runner or configure a personal API Key + Base URL in#/settings.traecli exec --jsonheadless commands with mutually exclusive permission flags (--permission-mode bypass_permissionsfor unattended SOP/workspace runs,--sandbox read-onlyfor read-only platform chat) and-c approval_policy="never"..trae/traecli.tomlMCP entries (includingurl/http_headers,command/cwd/args/envforagentflow-gate, anddefault_tools_approval_mode = "approve").traecli exec --jsonJSONL events intoClaudeStreamviatraeCLIStream, wirePreToolUseconversation approval hooks, and clean hostTRAE_HOME/TRAECLI_PERSONAL_ACCESS_TOKENenv vars in isolated runs.traeclibinary ininternal/runner/detect.go, exposeTRAE CLIin built-in executors and model catalogs, and wire it into#/settings,#/runners, role editor, and AI chat engine picker (with bundledtrae.svglogo).Scope
Compatibility
traecli); no database schema migration or breaking changes to existing executors (codex,claude-code,codebuddy, or other agent CLIs).agentflow-runnerbinary to detect and report localtraecliinstallations.Validation
Safety