feat(zed): add ZERO-294 Zed adapter#52
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-311
Adds a Zed adapter for Zero without touching
guides/agent-install.md:.agents/skills/zero/SKILL.md.zed/settings.jsoncontext_servers.zero.urlagent.tool_permissionsfor thezeroskill and read-only Zero terminal commandsscripts/build-zed.shpackaging intodist/zero-zed/guides/zed.mdand README install link1.4.0viamake minorOfficial Sources Used
Human Install / Update Flow
Best full-plugin path inside Zed:
/zero.Native Zed Agent path:
curl -fsSL https://zero.xyz/install.sh | bash scripts/build-zed.sh cp -R dist/zero-zed/. /path/to/your/project/Then open the project in Zed, trust the worktree if prompted, and ask the native Agent: "Help me set up and test Zero."
If the project already has
.zed/settings.json, merge thecontext_serversandagent.tool_permissionsentries fromdist/zero-zed/.zed/settings.jsoninstead of overwriting it.Updates are manual because Zed has no lifecycle hooks for this adapter:
curl -fsSL https://zero.xyz/install.sh | bash scripts/build-zed.sh cp -R dist/zero-zed/. /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:~/.agents/skills/and project-local skills from<worktree>/.agents/skills/only..claude/skills/for native Agent skills..zed/settings.json.{ "context_servers": { "zero": { "url": "https://mcp.zero.xyz" } } }Authorizationheader.zeroskill and read-only terminal commands (zero search,zero get,zero runs,zero auth whoami). Keepzero fetch,zero review, wallet commands, and auth-changing commands confirmation-gated.context_servers.zero.urlrather than a local proxy extension.Verification
Local validation:
Docker validation used copied host auth from
~/.zero:Zero E2E result:
~/.zerocopied into Docker: yesrun_xd0oW61oK1ERk1-_3MwfbZERO-311 Zed Docker copied-auth CDN upload check 20260615T004350Z0 USDC via mpp on tempozero review: intentionally not runClaude-style plugin compatibility and simpler install option
Full Claude Code plugin package support: No for native Zed Agent, yes through ACP/Claude Agent. Zed's native Agent does not install Claude Code
.claude-pluginpackages and does not read.claude/skills/. However, Zed can run Claude Code through its ACP/external-agent path; in that scenario the existing Zero Claude Code plugin works inside the Claude Agent.What this means for users:
Recommended full-plugin path in Zed:
Native Zed should be framed as a reduced skill + MCP path, not equivalent to the Claude plugin:
scripts/build-zed.shshould be maintainer packaging only. For many users, ACP + existing Claude Code plugin is simpler and more capable than maintaining a native Zed template.GitHub Releases / no-build install check
Result: No native Zed Agent GitHub Release install path for this adapter. Zed supports native skills/settings/context servers and ACP external agents, but this PR did not verify a native Zed installer that consumes GitHub Release assets for an Agent template.
Best no-build full-plugin path remains ACP + Claude Agent:
For native Zed, a GitHub Release tarball can package
.agents/skills/zeroand.zed/settings.jsonso users do not runscripts/build-zed.sh, but it is a manual extract flow. For many users, ACP + the existing Claude Code plugin is the cleaner maintenance path.PR State
Draft. The package, Zed settings JSON, copied-auth Zero loop, and CDN upload were verified in Docker. Full in-product verification still needs a human Zed Agent Panel session because this environment has no
zedbinary and Zed does not provide a documented headless Agent Panel/plugin loader path.