* feat: add initial VS Code extension plan and implementation tasks * feat(vscode): added initial version of an Openchamber VSCode extension * feat(vscode): enhance VS Code extension with theme integration and session management * feat(vscode): implement connection status handling and overlay in VSCode layout * feat: move extension to secondary sidebar * chore: upgrade @opencode-ai/sdk to 1.0.150 * vscode: editor bridge, file picker, click-to-open in tool parts * vscode: layout session lifecycle, theme sync, typography overrides * ui: compact mode for vscode, model search, autocomplete width fixes * perf: scroll force flag, raf placeholder, git polling backoff * ui: tool output styling, markdown code block fix, gitignore * refactor: update typography handling for VSCode runtime, remove unused styles * docs: update README with VS Code extension details and add extension image * docs: update changelog with new features and performance improvements
48 lines
1.5 KiB
Markdown
48 lines
1.5 KiB
Markdown
# OpenChamber VS Code Extension
|
|
|
|
AI coding assistant for VS Code powered by the OpenCode API. Embeds the OpenChamber chat interface in VS Code's secondary sidebar.
|
|
|
|

|
|
|
|
## Features
|
|
|
|
- Chat UI in secondary sidebar
|
|
- Session management with history
|
|
- File attachments via native VS Code file picker (10MB limit)
|
|
- Auto-start `opencode serve` if not running
|
|
- Workspace-isolated opencode instances (different workspaces get unique opencode instances)
|
|
- Adapts to VS Code's light/dark/high-contrast themes
|
|
|
|
## Commands
|
|
|
|
| Command | Description |
|
|
|---------|-------------|
|
|
| `OpenChamber: New Chat Session` | Create new chat session |
|
|
| `OpenChamber: Focus Chat` | Focus chat panel in secondary sidebar |
|
|
| `OpenChamber: Restart API Connection` | Restart OpenCode API process |
|
|
| `OpenChamber: Show in Secondary Side Bar` | Toggle chat panel visibility |
|
|
|
|
## 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
|