2025-12-13 16:34:17 +02:00
|
|
|
# OpenChamber VS Code Extension
|
|
|
|
|
|
2025-12-21 16:21:10 +02:00
|
|
|
OpenChamber inside VS Code: embeds the OpenChamber chat UI in the activity bar and connects it to the [OpenCode](https://opencode.ai) API.
|
2025-12-13 16:34:17 +02:00
|
|
|
|
2025-12-14 00:15:45 +02:00
|
|
|

|
2025-12-13 16:34:17 +02:00
|
|
|
|
2025-12-21 16:21:10 +02:00
|
|
|
- Project overview + screenshots: https://github.com/btriapitsyn/openchamber
|
|
|
|
|
|
2025-12-13 16:34:17 +02:00
|
|
|
## Features
|
|
|
|
|
|
2025-12-21 16:21:10 +02:00
|
|
|
### OpenChamber UI
|
|
|
|
|
|
|
|
|
|
- Smart tool visualization (inline diffs, file trees, results highlighting)
|
|
|
|
|
- Rich permission cards with syntax-highlighted operation previews
|
|
|
|
|
- Per-agent permission modes (ask/allow/full) per session
|
|
|
|
|
- Branchable conversations: start a new session from any assistant response
|
|
|
|
|
- Task tracker UI with live progress and tool summaries
|
|
|
|
|
- Model selection UX (favorites, recents, and configurable tool output density)
|
|
|
|
|
- UI scaling controls (font size and spacing)
|
|
|
|
|
|
|
|
|
|
### VS Code Integration
|
|
|
|
|
|
2025-12-14 00:15:45 +02:00
|
|
|
- Chat UI in activity bar
|
2025-12-13 16:34:17 +02:00
|
|
|
- Session management with history
|
|
|
|
|
- File attachments via native VS Code file picker (10MB limit)
|
2025-12-21 16:21:10 +02:00
|
|
|
- Click-to-open files from tool output
|
|
|
|
|
- Auto-start `opencode` instance if not running
|
|
|
|
|
- Workspace-isolated OpenCode instances (different workspaces get unique instances)
|
2025-12-13 16:34:17 +02:00
|
|
|
- Adapts to VS Code's light/dark/high-contrast themes
|
|
|
|
|
|
|
|
|
|
## Commands
|
|
|
|
|
|
|
|
|
|
| Command | Description |
|
|
|
|
|
|---------|-------------|
|
2025-12-14 00:15:45 +02:00
|
|
|
| `OpenChamber: Focus on Chat View` | Focus chat panel |
|
2025-12-13 16:34:17 +02:00
|
|
|
| `OpenChamber: Restart API Connection` | Restart OpenCode API process |
|
|
|
|
|
|
|
|
|
|
## Configuration
|
|
|
|
|
|
|
|
|
|
| Setting | Default | Description |
|
|
|
|
|
|---------|---------|-------------|
|
|
|
|
|
| `openchamber.apiUrl` | `http://localhost:47339` | OpenCode API server URL |
|
|
|
|
|
|
|
|
|
|
## Requirements
|
|
|
|
|
|
|
|
|
|
- OpenCode CLI installed and available in PATH (or set via `OPENCODE_BINARY` env var)
|
|
|
|
|
- VS Code 1.85.0+
|
|
|
|
|
|
|
|
|
|
## Development
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
pnpm install
|
|
|
|
|
pnpm -C packages/vscode run build # build extension + webview
|
|
|
|
|
pnpm -C packages/vscode exec 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
|