Files
openchamber/packages/vscode/README.md
T
2026-02-17 19:36:19 +02:00

6.4 KiB

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