Skip to content

feat: support Zed editor in agent install command - #60

Closed
markdudov wants to merge 1 commit into
prooflinedev:mainfrom
markdudov:feat/agent-install-zed
Closed

markdudov wants to merge 1 commit into
prooflinedev:mainfrom
markdudov:feat/agent-install-zed

Conversation

@markdudov

Copy link
Copy Markdown

Why

Zed (https://zed.dev) is one of the fastest growing high-performance code editors in the developer community, especially among Rust engineers. Proofline already provides one-command MCP setup for Claude Code, Codex, Cursor, Gemini CLI, and Kiro via proofline agent install. Adding Zed allows developers to integrate Proofline's review tools into their Zed workflows without manual configuration.

What changed

Added Client::Zed to proofline agent install:

  • Installs the credential-free stdio MCP server entry into ~/.config/zed/settings.json.
  • Uses Zed's native context_servers configuration block.
  • Follows the CLI's existing structural JSON preservation rules: preserves other configuration members, comments, formatting, and high-precision numbers.
  • Supports --print to preview the generated entry without writing to disk.
  • Supports --yes for non-interactive installation.
  • Handles duplicate detection (A proofline entry already exists in ...; it stays unchanged.), file safety, and atomic lock management.
  • Extended unit and integration tests across duplicate handling, configuration shape errors, and settings preservation.
  • Updated documentation in README.md.

Example:

proofline agent install zed
# preview without writing
proofline agent install zed --print

Verification

  • cargo fmt --check: Passed (code conforms to formatting standards).
  • cargo clippy --locked --all-targets -- -D warnings: Passed with 0 warnings.
  • cargo test --locked: All unit and integration test suites passing.
  • Tested manually via proofline agent install zed --print and verified generated JSON.

Add Zed editor (Client::Zed) support to proofline agent install:

- Maps configuration to ~/.config/zed/settings.json.
- Configures the credential-free MCP entry under context_servers according to Zed's settings schema.
- Preserves existing settings, formatting, comments, and high-precision numbers.
- Supports --print and non-interactive --yes flags.
- Adds comprehensive unit and integration test coverage across duplicate checks, shape validation, and precision preservation.
- Updates README documentation.
@markdudov markdudov closed this by deleting the head repository Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant