Repository navigation
v0.0.1
OpenCode Chat UI 0.0.1
The first release of OpenCode Chat UI, a VS Code sidebar chat for OpenCode. Pick a model from your OpenCode server and chat with it without leaving the editor.
Highlights
- Chat in the sidebar. Type a message and press Enter. Replies are rendered as Markdown, and the page shows the model's answer as it arrives.
- Search for a model. The model picker lists the models from your OpenCode server. Type part of a name or provider to filter.
- Permission requests. When the model wants to run a command or change a file, a banner shows what it wants. Choose Allow once, Always allow, or Deny.
- Questions from the model. When the model asks something, a form appears. It supports text, numbers, true/false, multiple choice and links, and checks required fields before sending.
- Chat history. Open earlier chats from the history drawer and continue them.
- Session totals. A line under the header shows tokens, cost and how full the context window is for the last reply.
- Stop. Stop a reply while it runs.
- Reconnect. The reload button reconnects to OpenCode and refreshes the model list without restarting the server.
Setup
- Run
opencode serveand keep it running while you chat. - In VS Code, run OpenCode: Set Server Password to save the server password in your OS keychain.
- Settings:
opencode-chat-ui.serverUrl: where OpenCode is running (defaulthttp://127.0.0.1:4096).opencode-chat-ui.ollamaUrl: Ollama models that aren't installed there are hidden.opencode-chat-ui.sendTimeoutSeconds: how long to wait before a timeout error (default 60).opencode-chat-ui.askBeforeActions: actions OpenCode must ask about in new chats (defaultwebsearch).
Known limitations
- The extension doesn't start OpenCode for you.
- Reloading VS Code starts a new chat.
- Restored chats show messages only, without the model's thinking or tool calls.
- The server password is stored in plain text if you still use the deprecated
serverPasswordsetting. Move to the keychain command.
Install
Download opencode-chat-ui-0.0.1.vsix from this release, then in VS Code choose Extensions → … → Install from VSIX.
Report problems or ideas in the issue tracker.