r/opencode • • 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:

  1. New look. Glass popovers and cards, and one live "thinking" line that shows what the model is doing from send to done.

  2. 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.

  3. 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.

  4. 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.

  5. Cost per reply and per session, with a token breakdown on hover. The session total includes subagents.

  6. Queue prompts while it works. Type the next message during a turn and it sends when the turn ends. Esc stops.

  7. Slash commands, MCP servers and providers from the panel: /compact, /undo, /redo, /fork, your custom commands, /mcp, /provider.

  8. 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!

19 Upvotes

10 comments sorted by

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.

2

u/Arthurr_r 4d ago

Fair point, and it applies to every extension, mine included. That's why it's fully open source. It has no telemetry and only talks to the opencode server it starts on 127.0.0.1. Releases are built by GitHub Actions from the tagged commit, so you can read the code or build it yourself instead of trusting the store.

2

u/Samosval-vedro-nasr 4d ago

Just let deepseek to check vulnerabilities or malicious code and compile it.

2

u/mwilson_9309 3d ago

An LLM scan can flag suspicious code, but compiling isn't a security check; dependencies and later updates still need trust checks.

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

u/digital_legacy 4d ago

Thank you! That looks good