Review RelayReview Relay is a shared, live review-comment channel between a human in VS Code and local AI tooling. VS Code remains the diff/editor UI and language-aware navigation surface; the extension owns one comment store and exposes it both through VS Code's native Comments UI and a loopback-only HTTP API. The Review Relay Activity Bar contains both the overall review controls and a dedicated comment tree grouped by file and source location. Selecting a location or comment navigates to it without relying on VS Code's built-in Comments view. Copy as Markdown combines the overall text, inline source snippets, and review comments for agents that cannot reach the local API. Include AI-generated comments controls whether agent-authored comments are included in that export. The same view can copy the live Agent Instructions for agents that can use the bundled CLI. Try it
Open this directory in VS Code and run the To connect an AI agent, run Review Relay: Copy Agent Instructions from the Command Palette and paste the copied Markdown into the agent chat. It contains the live endpoint, open workspace URIs, interface contract, safety rules, and ready-to-run CLI examples. The extension bundles a dependency-free Go CLI for the current OS and architecture. Agent instructions include its absolute path and workspace-specific commands, so agents do not need Node.js, curl, or jq. Run Each VS Code window binds an available random loopback port and registers its endpoint against its workspace folders. The CLI discovers the right window from
Comments persist in VS Code workspace storage and updates from either side immediately redraw both the Review Relay comment tree and native comment threads. Comment-list responses include the overall review, and deletion responses report how many inline comments remain. The server binds only to API
This MVP deliberately uses a small HTTP resource API rather than coupling agents to VS Code commands. A future CLI or MCP server can be a thin client over the same API without moving comment ownership out of the extension. |