feat(trae): add ZERO-294 Trae adapter#51
Closed
spencercharest wants to merge 1 commit into
Closed
Conversation
Collaborator
Author
|
Folded into #63 as a matrix entry ( |
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
Subtask: ZERO-310
Adds a Trae adapter for Zero without touching
guides/agent-install.md:.trae/skills/zero/SKILL.md.agents/skills/zero/SKILL.md.trae/mcp.jsonhttps://mcp.zero.xyz.trae/rules/zero.md/zeroproject command at.trae/commands/zero.mdscripts/build-trae.shpackaging intodist/zero-trae/guides/trae.mdand README install link1.4.0viamake minorOfficial Sources Used
.trae/mcp.json: https://docs.trae.ai/ide/add-mcp-serversHuman Install / Update Flow
Inside Trae:
curl -fsSL https://zero.xyz/install.sh | bashzeroproject skill is enabled..trae/mcp.json./zeroor ask Trae to help set up and test Zero.Alternative MCP UI path: open the link in
dist/zero-trae/trae/mcp-install-link.txtand confirm the imported Zero MCP server in Trae.Updates are manual because Trae has no documented lifecycle hooks for this adapter:
curl -fsSL https://zero.xyz/install.sh | bash scripts/build-trae.sh cp -R dist/zero-trae/. /path/to/your/project/Proposed
guides/agent-install.mdNotesDo not merge these into
guides/agent-install.mdfrom this PR. Capture them during the later runbook rework:.trae/skills/{skill_name}/SKILL.md..agents/skills/, but only when Settings > Skills & Commands enables the.agentsdirectory toggle..trae/skills/zeroand.agents/skills/zeroexist, Trae prioritizes.trae/skills/zero..trae/mcp.jsononce Settings > MCP enables project-level MCP.{ "mcpServers": { "zero": { "url": "https://mcp.zero.xyz" } } }trae://trae.ai-ide/mcp-import?type=http&name=zero&config=...install links; this adapter ships the generated link intrae/mcp-install-link.txt..trae/rules/; usealwaysApply: truefor the Zero context reminder..trae/commands/; this adapter ships/zeroas.trae/commands/zero.md.curl -fsSL https://zero.xyz/install.sh | bash.Verification
Local validation:
make minor scripts/build-trae.sh --tar dist/zero-trae.tgz jq . plugins/zero-trae/manifest.json plugins/zero-trae/trae/mcp.json make version cmp -s plugins/zero/skills/zero/SKILL.md dist/zero-trae/.trae/skills/zero/SKILL.md cmp -s plugins/zero/skills/zero/SKILL.md dist/zero-trae/.agents/skills/zero/SKILL.md git diff --check git diff -- guides/agent-install.mdDocker validation used copied host auth from
~/.zero:Zero E2E result:
~/.zerocopied into Docker: yesrun__1po4i54yMSfY_kPJg-wCZERO-310 Trae Docker copied-auth CDN upload check 20260615T003857Z0 USDC via mpp on tempozero review: intentionally not runClaude-style plugin compatibility and simpler install option
Full Claude Code plugin package support: No. Trae has Trae-specific skills, rules, commands, and MCP config. It can optionally read
.agents/skills, but it does not install Claude Code.claude-pluginpackages.What this means for users:
Build scripts should be maintainer/release packaging only.
Consumer-friendly flow should use Trae's native skill import and MCP import/UI surfaces:
If the Trae-specific adapter is too much maintenance, ship skill + MCP import instructions only. There is no Claude plugin shortcut.
GitHub Releases / no-build install check
Result: No confirmed Gemini-style GitHub Release install path. Trae has native skills, commands, rules, MCP import/settings, and a plugin area, but I did not verify an official Trae flow that installs this kind of adapter directly from GitHub Release assets.
Best no-build consumer path should use Trae-native import/UI surfaces:
A GitHub Release asset can avoid local builds by publishing ready-to-copy
zero-traefiles, but unless Trae documents release-asset installation it should be framed as manual download/extract, not a Gemini-style installer.PR State
Draft. The package, file layout, Trae config JSON, MCP install link, copied-auth Zero loop, and CDN upload were verified in Docker. Full in-product verification still needs a human Trae Desktop / Trae IDE session because Trae has no documented local headless Agent CLI or plugin loader command for this adapter surface.