A VS Code extension for chatting with local coding agents from the Sidebar. It supports OpenCode and Claude Code, renders Markdown responses, streams output, shows tool activity and file diffs, supports model selection and conversation history, and provides an English interface.
Current version: 0.0.31
Features
Chat with OpenCode Server or Claude Code from the VS Code Sidebar
Streaming responses with loading and completion states
Tool activity for file reads, searches, commands, and edits
Before/after file diffs for supported edit tools and apply_patch
OpenCode session history and session restore
Automatic new session after 12 hours of inactivity
Searchable model picker for connected OpenCode providers
Build mode with optional Auto Accept and permission approval for protected actions
Automatic OpenCode CLI installation after user confirmation
Provider and API key setup dialogs
Ask about selected code from the editor context menu
Ask about the currently open file from the editor title bar
Reference specific file lines with @File#L37-42
OpenCode button in the editor title bar
Windows, macOS, and Linux support
Requirements
Visual Studio Code 1.90 or later
Node.js and npm
OpenCode CLI for the OpenCode backend
Claude Code CLI and an active login for the Claude Code backend
Usage
Open a project folder in VS Code.
Open the OpenCode icon from the Activity Bar or the editor title bar.
Select OpenCode or Claude Code from the backend picker.
Turn Auto Accept on to let the agent continue automatically, or turn it off to review each protected action.
Configure the required CLI and authentication when prompted.
Type a question and press Enter.
Use Shift+Enter for a new line.
Model Selection
Click the model button below the chat composer.
Search by provider name or model ID.
Type /model provider/model to select a model directly.
Ask About Selected Code
Select code in the editor.
Right-click and choose OpenCode Console: Ask About Selected Code.
Review or edit the generated prompt before sending it.
You can also use OpenCode Console: Ask About Current File from the editor title bar to include the active file.
Backend Selection
Use the backend picker near the composer to switch between OpenCode and Claude Code. The selected backend is remembered for the workspace.
OpenCode uses the local OpenCode Server and connected providers.
Claude Code uses the local claude CLI and its existing authentication.
Slash Commands
/model - open the model picker
/connect - connect a Provider or configure an API key
/model provider/model - select a model directly
/new - start a new chat
/clear - clear messages from the current view
/help - show available commands
OpenCode Console ภาษาไทย
Extension สำหรับคุยกับ AI Coding Agent ในเครื่องผ่าน Sidebar ของ VS Code รองรับ OpenCode และ Claude Code แสดงคำตอบแบบ Markdown พร้อม Streaming, Activity, Diff การแก้ไฟล์, การเลือก Model และประวัติการสนทนา
เวอร์ชันปัจจุบัน: 0.0.31
ฟีเจอร์หลัก
คุยกับ OpenCode Server หรือ Claude Code จาก Sidebar