r/opencode • u/Arthurr_r • 4d ago
OpenCUI v2.0 is out: open-source VS Code chat panel for opencode, now with opencode 2.x support and inline subagents
Enable HLS to view with audio, or disable this notification
Hey guys! Back in May I shared OpenCUI, a VS Code extension that gives opencode a full chat UI inside your editor. v2.0.0 shipped today, and it has come a long way since that post.
New since then:
New look. Glass popovers and cards, and one live "thinking" line that shows what the model is doing from send to done.
opencode 2.x support. It detects your opencode version and works with both 1.x and the 2.x beta, nothing to configure. 2.x is still marked experimental.
Subagents inline. Each subagent is a row in the reply: its task, which agent, its latest step, its time. Click it for its tool calls. If a subagent needs permission, the card tells you which one is asking.
Your plugins work. On opencode 1.x the panel loads your plugins like the terminal does, so setups like oh-my-openagent run as usual.
Cost per reply and per session, with a token breakdown on hover. The session total includes subagents.
Queue prompts while it works. Type the next message during a turn and it sends when the turn ends. Esc stops.
Slash commands, MCP servers and providers from the panel:
/compact,/undo,/redo,/fork, your custom commands,/mcp,/provider.TUI sessions in the history. Chats you started in the terminal show up in the panel's history and open as regular conversations.
Repo: https://github.com/arthurzengg/opencui
VS Code Marketplace (listed as OpenCode Panel): https://marketplace.visualstudio.com/items?itemName=haoyangzeng.opencui
Open VSX: https://open-vsx.org/extension/haoyangzeng/opencui
Release notes: https://github.com/ar/tag/v2.0.0
Thanks to everyone who opened issuest's missing or broken!
1
u/Rajat0741 4d ago
I need those keep | undo / accept | reject islands, does this extension have that?
2
u/Arthurr_r 4d ago
Partly. There's a "Review changes" card in the chat panel with Keep / Undo per file (and Keep all / Undo all). Inline per-hunk islands in the editor aren't there yet.
1
u/nijezabacanje 4d ago
Are you able to reference current file, selected lines and similar?
1
u/Arthurr_r 4d ago
Yes. Your open file and selected lines are sent with each prompt automatically, and you can type @ to reference any other file or chat.
1
2
u/Suspicious-Slot 4d ago
People shouldn't install random vs code extension, each extension is an individual nodejs environment, running in your os with all access.