Skip to content

Add VS Code adapter compatible with session access control - #3

Closed
sroomberg wants to merge 6 commits into
mainfrom
cursor/vscode-zed-plugins-19be
Closed

Add VS Code adapter compatible with session access control#3
sroomberg wants to merge 6 commits into
mainfrom
cursor/vscode-zed-plugins-19be

Conversation

@sroomberg

@sroomberg sroomberg commented Aug 16, 2026

Copy link
Copy Markdown
Owner

Summary

  • VS Code extension (packages/vscode) shares and joins Chorus sessions over chorus-relay using @chorus/client.
  • Extracts JoinClient / RelayServer into @chorus/client for the OpenCode plugin and the VS Code adapter.
  • Session access control (approval, display name, repo/email gates) matches the OpenCode host.

Zed lives in a follow-up PR stacked on this branch.

Test plan

  • bun run typecheck and bun run --filter chorus test
  • bun run test:vscode-e2e
  • Install the extension from packages/vscode and run Chorus: Share Session / Join Session

sroomberg and others added 3 commits August 16, 2026 21:17
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.
@cursor cursor Bot changed the title Add VS Code adapter and shared @chorus/client (Zed in progress) Add VS Code and Zed adapters with shared @chorus/client Aug 16, 2026
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.
@cursor cursor Bot changed the title Add VS Code and Zed adapters with shared @chorus/client Add VS Code/Zed adapters compatible with session access control Aug 16, 2026
@sroomberg
sroomberg marked this pull request as ready for review August 16, 2026 22:28
sroomberg and others added 2 commits August 18, 2026 04:18
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.
@sroomberg sroomberg changed the title Add VS Code/Zed adapters compatible with session access control Add VS Code adapter compatible with session access control Aug 19, 2026
@cursor
cursor Bot force-pushed the cursor/vscode-zed-plugins-19be branch from 4157aa0 to a29eb58 Compare August 20, 2026 03:53
@cursor

cursor Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Closing in favor of #16, which supersedes this branch.

#16 includes everything from this PR:

  • @chorus/client extraction (JoinClient + RelayServer)
  • VS Code extension with session access control (approval, display name, repo/email gates, approve/deny commands)
  • bun run test:vscode-e2e

#16 adds on top:

  • Rebased onto main (v2.0.0 network lockdown / CIDR allowlists)
  • Cross-adapter relay e2e (test:vscode-relay-e2e) — VS Code ↔ terminal host/joiner
  • Updated README, STATUS, DECISIONS, and packages/vscode/README.md
  • Pending-approval hint in the session panel (ported from this PR)

Zed adapter remains deferred to a follow-up PR as originally planned.

@sroomberg sroomberg closed this Aug 31, 2026
cursor Bot pushed a commit that referenced this pull request Aug 31, 2026
Co-authored-by: Steven Roomberg <sroomberg@users.noreply.github.com>
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