The open source coding agent.
OpenCode v0.6.0 adds per-provider timeout overrides, --command flag for run, LSP workspace config support, and a new project model replacing app.
$ git clone --branch v0.6.0 https://github.com/sst/opencode.git # already have the repo? check out this version: $ git checkout v0.6.0
$ opencode run --command "/review" "Check this file for security issues"
- ›Adds
--commandflag toopencode runfor specifying a command directly at invocation. - ›Supports per-provider timeout overrides via a new provider timeout configuration.
- ›Adds LSP
workspace/didChangeConfigurationsupport, enabling dynamic LSP config updates. - ›Uses a single Rust LSP server instance across an entire Cargo workspace, improving multi-crate project performance.
- ›Introduces a
projectconcept (replacingapp) with new endpoints to list projects and get the current project.
+2 moreshow less
- ›Every API endpoint now accepts an optional
directoryparameter to operate as if OpenCode is running in that directory. - ›Plugins now receive
directory(cwd) andworktree(git repo root) context.
- !Storage events have been removed.
- !The
appconcept is gone; it is replaced byproject, with new endpoints for listing projects and getting the current project. - !The
session.chatfunction in the SDK has been renamed tosession.promptand no longer requiresmodelto be passed in (model is now an object). - !Plugins no longer receive the previous app-scoped context; they now receive
directory(cwd) andworktree(git repo root).