Files
openchamber/packages/vscode
Asuta b68a10571c feat(vscode): support drag-and-drop file attachments in chat (#535)
* feat(vscode): implement file drop API for handling dropped files in VS Code

* refactor(vscode): deduplicate attachment parsing for picked and dropped files
2026-02-27 20:21:12 +02:00
..
2025-12-13 16:34:17 +02:00
2026-02-25 19:55:27 +02:00
2025-12-13 16:34:17 +02:00
2026-02-25 19:55:27 +02:00
2026-02-17 19:36:19 +02:00
2025-12-25 17:57:31 +02:00

OpenChamber VS Code Extension

GitHub stars GitHub forks GitHub release Discord Support the project

OpenChamber inside VS Code: embeds the OpenChamber chat UI in the activity bar and connects it to the OpenCode API.

VS Code Extension

Features

OpenChamber UI

  • Branchable chat timeline with /undo, /redo, and one-click forks from earlier turns
  • Smart tool UIs for diffs, file operations, permissions, and long-running task progress
  • Live streaming updates with smoother auto-follow for long assistant responses
  • Mermaid diagrams rendered inline in chat with quick copy/download actions
  • Context visibility tools (token/cost breakdowns and raw message inspection)
  • Model selection UX (favorites, recents, and configurable tool output density)

VS Code Integration

  • Chat UI embedded in VS Code with responsive layouts for narrow/wide panels
  • Agent Manager for parallel multi-model runs from one prompt
  • Session editor panel to keep chats open beside your code
  • Right-click actions to add context, explain selections, and improve code in-place
  • Click-to-open files and native file attachments from within the extension
  • Managed runtime startup with hardened health checks and secure auth forwarding
  • Adapts to VS Code light/dark/high-contrast themes

Commands

Command Description
OpenChamber: Focus on Chat View Focus chat panel
OpenChamber: Restart API Connection Restart OpenCode API process
OpenChamber: Show OpenCode Status Provide debug info useful for development or bug report

Configuration

Setting Default Description
openchamber.apiUrl http://localhost:47339 OpenCode API server URL. Not required by default. Spawns its own process when not set.

Requirements

  • OpenCode CLI installed and available in PATH (or set via OPENCODE_BINARY env var)
  • VS Code 1.85.0+

Development

bun install
bun run --cwd packages/vscode build            # build extension + webview
cd packages/vscode && bunx vsce package --no-dependencies

Local Install

  • After packaging: code --install-extension packages/vscode/openchamber-*.vsix
  • Or in VS Code: Extensions panel → "Install from VSIX…" and select the file