feat(tools): add Zed Agent support - #1659
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
🚧 Files skipped from review as they are similar to previous changes (3)
📝 WalkthroughWalkthroughAdded Zed Agent as a skills-only tool using the shared ChangesZed Agent support
CLI tool documentation
Estimated code review effort: 3 (Moderate) | ~20 minutes Merge Risk: ⚪ Minimal · up to This PR adds built-in Zed Agent skills support while preserving existing Codex behavior and documents the shared-root setup. Targeted tests, build, and lint pass, so no actionable merge-blocking risk remains beyond normal checks. Sequence Diagram(s)sequenceDiagram
participant User
participant InitCLI as openspec init
participant ValidateTools as validateTools
participant SharedSkills as .agents/skills
User->>InitCLI: select zed, Codex, or agents
InitCLI->>ValidateTools: reconcile shared target
ValidateTools->>SharedSkills: write skills and target marker
SharedSkills-->>User: provide Zed-compatible skills
Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Deploying openspec-docs with
|
| Latest commit: |
384a6f0
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://0ec58ab6.openspec-docs.pages.dev |
| Branch Preview URL: | https://codex-add-zed-support.openspec-docs.pages.dev |
|
Scope-check clarification: the Windsurf alias text is unchanged from |
Status
LGTM.
What was missing
OpenSpec rejected
openspec init --tools zed, even though Zed's built-in Agent discovers project skills from.agents/skills.What it does
zedas a skills-only target for the built-in Zed Agent..agents/skillsgeneration and ownership marker; no workflow, schema, or architecture changes..zedproject configuration directory.Proof it works
openspec init --tools zedexited withInvalid tool(s): zed.openspec updaterediscovery and live-reload output..zeddetection, marker rediscovery,--tools all, and incremental Codex then Zed setup.origin/mainand are unrelated deprecated-command/profile tests.Notes
This supports the built-in Zed Agent on Zed v1.4.2 or newer. Zed External Agents and Terminal Threads retain their own integrations. No changeset is included because the repository requests changesets only when maintainers ask for one.
Closes #202
Summary by CodeRabbit
New Features
zedas an available initialization option..agents, with compatibility across Zed, Codex, and generic agents.windsurfas an accepted alias for Devin.Documentation