OpenCode 2.3.1 keeps timed-out shell commands running and compacts in the background
Updated OpenCode
Summary
OpenCode 2.3.1 (Nov 18, 2026) moves shell commands that hit their timeout to the background, writes compaction summaries in the background by default, reads CLAUDE.md again and turns schedules into automations; 2.3.2 fixes GPT-6.2 prompt caching.
- Tool
- OpenCode
- Category
- Coding agents
- Date
- Open source
- Yes
- License
- MIT
- Pricing
- Not stated in the sources we cited.
OpenCode 2.3.1 was published on November 18, 2026 (UTC), five days after 2.3.0, and 2.3.2 followed 77 minutes later with a caching fix. Two defaults change, so long builds and sessions near their context limit behave differently after you update.
Release facts
| Fact | Detail |
|---|---|
| Product | OpenCode, the MIT-licensed open-source coding agent |
| Versions | v2.3.1 and v2.3.2 |
| Release date | November 18, 2026 (GitHub, UTC) |
| Previous release | v2.3.0, November 13, 2026 |
| Changed defaults | Shell timeout moves commands to the background; background compaction on |
| Removed settings | shell_timeout_background flag, experimental.background_compaction, /api/experimental/schedule |
Shell commands that time out keep running
A shell command still running when its timeout expires now moves to the background instead of being killed, and reports back when it finishes. Long builds and test runs no longer die at the limit. This is now true in every build, so the shell_timeout_background flag is gone (configs that set it still load). One small catch: a foreground timeout: 0 now means the default 120 seconds, not "wait until it exits".
The process daemon also cleans up each finished command, which fixes zombie processes under opencode-pty.
Compaction no longer makes you wait
When a session nears automatic compaction, OpenCode now writes the summary in the background, so your next prompt does not pause for it. It is on by default. A background summary that ends up unused still costs tokens; set compaction.background: false if that matters more than the wait.
Schedules become automations
The experimental schedules feature is now automations, behind the automations flag. An automation runs on a time, an interval, a cron or a pushed MCP event, then sends a prompt or runs a Code Mode program that decides whether to send one. Use /automation or the automation_* tools. Active plain prompt schedules carry over; schedules with a condition or run limit are dropped. SDK users move from client.experimental.schedule.* to client.experimental.automation.*.
Also in 2.3.1 and 2.3.2
CLAUDE.mdagain: OpenCode readsCLAUDE.mdin any directory without anAGENTS.md, and falls back to~/.claude/CLAUDE.md. SetOPENCODE_DISABLE_CLAUDE_CODEto skip them.- GPT 6.2: Sol, Astra and their fast variants appear when you sign in with ChatGPT.
- Caching fix (2.3.2): GPT-6.2 models re-billed the system prompt as uncached input on every step. On GitHub Copilot
gpt-6.2-sol, uncached input per step fell from about 14,000 tokens to 3. - Plugins: Settings › Extensions can check for and install plugin updates.
Questions
Should I update straight to 2.3.2? Yes, if you use GPT-6.2 models through OpenAI, ChatGPT sign-in, GitHub Copilot, Zen, Azure or OpenRouter. 2.3.2 contains everything in 2.3.1 plus the caching fix.
Why did my token use go up after updating?
Background compaction is on by default and can write a summary that is never used. Turn it off with compaction.background: false.
See the earlier 2.2.6 launch, OpenCode alternatives, OpenCode vs Cline vs Aider, the OpenCode hub and the coding agents category.
Alternatives
| Tool | License | Pricing note |
|---|---|---|
OpenCodeThis launchOpen-source coding agent from the anomalyco/opencode repository, MIT-licensed, with a terminal client and a site at opencode.ai. | MIT | The client is MIT-licensed. Model access is separate; this page does not quote a hosted plan. |
Claude CodeClaude Code is an agentic coding tool that runs in your terminal and works on your codebase. | — | Not stated |
Codex CLICodex CLI is OpenAI's Apache-2.0 coding agent that runs locally in your terminal, signed in with a ChatGPT plan or an OpenAI API key. | Apache-2.0 | The CLI is Apache-2.0. Usage comes from a ChatGPT plan or is billed at API rates when you sign in with an API key. |
ClineApache-2.0 coding agent published as an SDK, IDE extension, or CLI assistant in the cline/cline repository. | Apache-2.0 | The repository license is Apache-2.0. Model access is separate. |
More from OpenCode
Category: Coding agents
Category: Coding agents
Category: Coding agents
Category: Coding agents
Category: Coding agents
Category: Coding agents
Category: Coding agents
Category: Coding agents
Questions
What is OpenCode?
OpenCode is an open-source coding agent. The GitHub repository anomalyco/opencode is MIT-licensed and describes the project as the open source coding agent. The website is opencode.ai.
What are OpenCode alternatives?
Cline, Aider, Goose, and Enter Code are the alternatives filed on this site. Cline and Aider are Apache-2.0. Goose is Apache-2.0. Enter Code's launch post describes an open-source Go SDK.
What is the latest OpenCode release covered here?
v2.2.6, published November 6, 2026. It adds MCP connection pooling with pool: true, opencode run --worktree and --archived, GUI plugin themes, and makes opencode run wait for background jobs with no time limit.
Is OpenCode free?
The software license is MIT, so the client itself has no license fee. You still need a model provider. This page does not quote a subscription price.
Filed on Agent Radar. Claims in this note are limited to the sources above.