Skip to content

Feat/vscode extension#2

Open
haidong-cad wants to merge 2 commits into
mainfrom
feat/vscode-extension
Open

Feat/vscode extension#2
haidong-cad wants to merge 2 commits into
mainfrom
feat/vscode-extension

Conversation

@haidong-cad

Copy link
Copy Markdown
Collaborator

add vscode extension

haidong-cad and others added 2 commits June 10, 2026 19:49
- Add extensions/vscode/ with Preact webview chat interface
- Vendor 46 engine files from parent project (pure logic, no JSX)
- Bridge layer for Agent Loop -> webview event translation
- Multi-provider support: Anthropic, OpenAI, DeepSeek
- Session management, tool execution, approval UI
- Markdown + KaTeX math rendering, code copy, theme sync
- File drag-drop, clickable file paths, interrupt/stop
- Zero changes to parent project source code

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
The VS Code extension spawns `coder --gateway` as a child process and
communicates via JSON-RPC over stdio. Zero engine code duplication.

- Add src/gateway/server.ts — JSON-RPC gateway server
- Add --gateway flag to CLI (no impact on TUI/print modes)
- Add extensions/vscode/ — Preact webview chat UI
- Features: streaming Markdown, KaTeX math, code copy, theme sync,
  file drag-drop, clickable paths, interrupt, session management
- Remove vendor engine files — all engine logic in CLI process
- CLI dynamic imports keep TUI deps out of gateway mode

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.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