| OpenCode 2.0(anoma.ly) | |
| 880 points by gmays 46 days ago | 385 comments | |
tl;dr: OpenCode 2.0 overhauls the AI coding agent with a persistent background server that unifies TUI, web, and desktop clients, plus a rewritten API and new `@opencode/sdk` package for embedding OpenCode as a library. Notable additions include "Code Mode," a minimal JS interpreter that converts MCP servers and OpenAPI endpoints into callable functions for single-roundtrip tool composition, background subagents and shell commands for parallel work, and a matured plugin system (80+ internal plugins) with hot-reloading. Upgrading from 1.x requires `opencode upgrade --major` and includes breaking changes to the API and plugins. | |
HN Discussion:
| |