Contenox

OpenCode

OpenCode V2 keeps your old web approvals

OpenCode is a coding agent with a desktop workspace and a terminal client. We inspected the Windows app’s project overrides, compared V1 and V2, and traced the change to saved web approvals in the 2.4.2 release notes.

OpenCode’s model picker on Windows showing Big Pickle selected, other free models and connections to providers.
In this Windows session, Big Pickle was already selected. The same picker offered free alternatives, OpenCode Go and connections to other providers.

Updated

Where it runs Access What we checked
Desktop app or terminal client connected to an OpenCode server. Local models, connected model providers and OpenCode’s hosted offerings have different usage terms. We inspected the Windows model picker, permissions preference and server screen.

OpenCode puts a repository, model picker and permission rules in the same session. In our Windows capture, Big Pickle was already selected, the free model list was a click away, and the Server panel identified a process running on this computer. The browser client could pair with a running server. If you use several clients to work on the same project, the server and the grants you saved there deserve as much attention as the model. OpenCode clients and servers

OpenCode 2.4.2 and what happens to old approvals#

OpenCode 2.4.2, released on 26 November 2026, changed the meaning of Always allow for a web fetch. A new approval covers the site being requested. Earlier releases granted every URL, and an upgrade preserves grants already saved. If your team approved a documentation fetch last month, review that saved grant before relying on site-by-site restrictions. Two installations on the same build can have different effective access. 2.4.2 upgrade notes

Still on an npm installation of V1? In a September advisory, the maintainers identified a server upgrade flaw affecting the opencode-ai package starting at 1.14.30 and listed 1.18.22 as the patched version. Check the version on the machine running the server as well as the client you use to reach it. This advisory names the V1 npm package. V2 has its own release line, covered below. Maintainer advisory GHSA-632h-h47v-g4x4

Choose where to work#

Client When it earns its place
Desktop for Windows, macOS and Linux Keep sessions in tabs, review file diffs and open the application you are changing in the built-in browser. In V2.4, the browser can keep a signed-in profile and the agent can interact with those pages. Choose which accounts belong in that profile.
Terminal Work in an existing shell or remote development environment. opencode opens the interactive interface. opencode run "Explain how this project starts" prints a reply for a one-off task.
Web and mobile Connect a browser to an OpenCode server or use the mobile client to start, steer or approve a session. The project and its tools live on the connected host. OpenCode lists iPhone via TestFlight and Android via Google Play.
SDK Start sessions and consume the results from a script, a CI job or an application you maintain. Integrations calling the server API need the matching major-version contract.

Client downloads · Built-in desktop browser · CLI reference · Server API migration

In the Windows app, Settings → Server answers a practical question before you send a task: which computer will handle it? Our desktop capture shows This computer at a loopback address. Add server offers another connection. The Terminal shell preference on the same screen controls the shell used by the terminal and agent tools.

OpenCode Desktop Server settings showing This computer at a loopback address, Add server and the terminal shell preference.
The active server in this Windows session is local. The port shown belongs to this installation.

We also launched the OpenCode 2.4.2 server on Windows and opened the browser client. The connection screen offered a pairing link or QR code and showed the command opencode pair to run on the server’s machine. If you’re looking at an empty browser client, check that connection before troubleshooting a missing repository or model. OpenCode web client

OpenCode web client with a pairing-link field, a QR scanner option and the opencode pair command.
The browser client before pairing, captured with the Windows V2.4.2 server running. The address hint is an example.

Free models, an Ollama harness, or OpenCode Go#

The desktop model picker shows what you can use immediately and what you can connect. In our November capture, Big Pickle was selected and DeepSeek V4.1 Flash was among the models marked free. The lower half offered OpenCode Go, OpenCode Console and providers including OpenAI, Anthropic, Google and GitHub Copilot. That’s a snapshot of one installation. Check the picker for today’s catalog and the provider for the credentials or plan it accepts. OpenCode providers

OpenCode Go vs Go Plus. On 28 November the individual plans were $10/month and $40/month respectively. OpenCode listed a shared model catalog with higher allowances on Plus. Compare the limits for the model you actually use. Someone who wants to try the desktop client with an included free model can do so before deciding on either plan. Go plan comparison and per-model limits

Using OpenCode as an Ollama harness. When you choose a local model, OpenCode still manages the session and tool calls while Ollama serves the model. Run Ollama on a machine the OpenCode server can reach and select the model in OpenCode. A first task that asks the agent to read the README and name the test command checks more of the setup than a greeting. OpenCode with Ollama and other local models

OpenCode V1 vs V2#

We checked the Windows terminal clients 1.19.6 and 2.4.2 on 28 November 2026. V1 already had desktop sessions and desktop auto-accept settings. V1.19.6 offers an upgrade that keeps projects, sessions and settings and lets you choose when to install it. The practical question for an existing user is whether their plugins and integrations will come along. V1 desktop release history · V1.19.6 upgrade announcement

If you use this in V1 What changes in V2
Custom plugins V2 has a new plugin API. Check for a V2 release of each plugin you rely on or port your own.
Scripts and external clients that call the server The API contract and authentication changed. Check that your client can connect and complete a session against a V2 server.
Project or user tui.json settings The terminal client consolidates layered tui.json(c) files into one global cli.json during migration. Keep a copy of your V1 settings before switching.
Tool permission rules V2 reads supported V1 configuration. When writing native V2 rules, use permissions, shell and subagent in place of permission, bash and task.

Both versions use the name opencode and share configuration locations. On Windows, Get-Command opencode -All and opencode --version show which executable you are about to use. The V2 installation guide offers standalone Windows CLI downloads. Keep your V1 configuration backup separate before converting files to the native V2 format. Official migration guide · V2 installation options

OpenCode vs other coding harnesses#

Compare OpenCode with Claude Code, Codex and Contenox Harness on the same criteria. The table covers which products support local models, where a subscription works and what each harness can restrict on Windows. AI coding harness comparison

Where OpenCode asks for approval#

On Windows you can set Auto-accept permissions in Desktop preferences, override it per project, or leave prompting on and allow individual operations. The terminal offers --auto. For a worked example that allows Git status while blocking Git push, see the OpenCode skip-permissions guide.