Add VS Code adapter compatible with session access control - #3
Closed
sroomberg wants to merge 6 commits into
Closed
Conversation
Share JoinClient/RelayServer in packages/client for reuse across hosts. Add packages/vscode with share/join/chat commands and a Session sidebar that speaks the same chorus-relay wire protocol as the OpenCode plugin.
Ship a practical Zed v1 adapter: WASM extension launches a native helper as an MCP context server. Helper speaks Chorus /ws (join, chat, collab.input, status) with CLI + daemon control and integration tests.
Integrate host approval, required display names, and repo-remote gating from cursor/session-access-control-37c1. Port JoinClient/RelayServer updates into @chorus/client and teach VS Code + chorus-zed-helper to speak auth.pending/denied, session.policy, and host.approve/deny.
sroomberg
marked this pull request as ready for review
August 16, 2026 22:28
Bring email/domain gates, chorus.json, and security e2e from main. Keep JoinClient/RelayServer in @chorus/client, teach VS Code/Zed the email field, and add vscode-e2e / zed-e2e scripts for live relay tests.
Keep the VS Code extension and shared client on this branch; Zed moves to a follow-up PR.
cursor
Bot
force-pushed
the
cursor/vscode-zed-plugins-19be
branch
from
August 20, 2026 03:53
4157aa0 to
a29eb58
Compare
Contributor
|
Closing in favor of #16, which supersedes this branch. #16 includes everything from this PR:
#16 adds on top:
Zed adapter remains deferred to a follow-up PR as originally planned. |
cursor Bot
pushed a commit
that referenced
this pull request
Aug 31, 2026
Co-authored-by: Steven Roomberg <sroomberg@users.noreply.github.com>
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
packages/vscode) shares and joins Chorus sessions overchorus-relayusing@chorus/client.JoinClient/RelayServerinto@chorus/clientfor the OpenCode plugin and the VS Code adapter.Zed lives in a follow-up PR stacked on this branch.
Test plan
bun run typecheckandbun run --filter chorus testbun run test:vscode-e2epackages/vscodeand run Chorus: Share Session / Join Session