Feat/vscode extension#2
Open
haidong-cad wants to merge 2 commits into
Open
Conversation
- 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>
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.
add vscode extension