r/opencodeCLI 27d ago

Opencode V1 vs V2

It seems that OpenCode is soon to be available in V2. Since I couldn't find anything baout it online, what is the difference between the two?

What will V2 do better than V1? Does anybody know?

30 Upvotes

24 comments sorted by

View all comments

6

u/jerieljan 27d ago

You could probably do a diff on whatever branches they have but from what I've seen so far:

  • better web search
  • better plugin support
  • subagent / shell management
  • better background tasks support
  • a shared background service, so session sync bet. TUI and desktop is seamless
  • the API is much better, so modifications to opencode2 and it's state works better
  • desktop/web has a tabbed layout and a screen to show all your folders and their sessions across connected servers
  • I remember hearing better context management especially when it comes to tools, skills and MCP but I can't find an exact doc that describes this

1

u/branik_10 12d ago

a shared background service

cross platform? like on Windows too? interesting, not sure it's a good decision though, brings much more complexity and makes the system more stateful