GeezerVison is showing github.com — sync release versions for v2.1.4 [skip ci] · yusha/opencode@2a3e7c0
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: CHANGELOG.md +63Lines changed: 63 additions & 0 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
| 2 | 2 |
| 3 | 3 | Release notes for OpenCode V2, newest first. | 4 | 4 |
| | 5 | +## v2.1.4 — 2026-10-23 | | 6 | + | | 7 | +### Highlights | | 8 | + | | 9 | +- **MCP Input Forms Now Appear**: When an MCP server asks for input during a tool call, the form now shows up instead of the call waiting until it times out. Desktop and web can now show these forms too, including text, number, choice, multiselect, boolean, and URL requests. ([#58184](https://github.com/anomalyco/opencode/pull/58184), [#58305](https://github.com/anomalyco/opencode/pull/58305)) | | 10 | +- **Background Compaction**: Set `experimental.background_compaction` to `true` to prepare a summary in the background as a session nears its compaction threshold, so automatic compaction does not wait for it. Summaries that are never used still cost tokens. ([#57444](https://github.com/anomalyco/opencode/pull/57444), [#58294](https://github.com/anomalyco/opencode/pull/58294)) | | 11 | + | | 12 | +### Core | | 13 | + | | 14 | +#### Improvements | | 15 | + | | 16 | +- Added experimental background compaction through `experimental.background_compaction`. ([#57444](https://github.com/anomalyco/opencode/pull/57444), [#58294](https://github.com/anomalyco/opencode/pull/58294)) | | 17 | +- When a compaction request exceeds the provider limit, older tool output and exchanges are now shortened first, so more useful history survives. ([#58015](https://github.com/anomalyco/opencode/pull/58015)) | | 18 | +- ChatGPT sign-in context caps are now a documented built-in plugin. Add `"-opencode.provider.openai-context-caps"` to `plugins` to turn them off. ([#58194](https://github.com/anomalyco/opencode/pull/58194)) | | 19 | +- Added `opencode debug heap-dump [--server <url>]` to capture a running server's heap without restarting it. ([#58252](https://github.com/anomalyco/opencode/pull/58252)) | | 20 | + | | 21 | +#### Bug fixes | | 22 | + | | 23 | +- Sessions without their own model now use the selected agent's model. ([#58355](https://github.com/anomalyco/opencode/pull/58355)) | | 24 | +- Compaction buffers that leave the model no room are now ignored, and more provider context-overflow errors are recognized. ([#58313](https://github.com/anomalyco/opencode/pull/58313), [#57982](https://github.com/anomalyco/opencode/pull/57982)) | | 25 | +- Agent files that use V2-only fields are now read as V2 agents. ([#58218](https://github.com/anomalyco/opencode/pull/58218)) | | 26 | +- Codex models that ChatGPT accounts reject are now hidden. ([#58180](https://github.com/anomalyco/opencode/pull/58180)) | | 27 | +- Imported V1 global sessions are now attributed to the correct project. ([#56322](https://github.com/anomalyco/opencode/pull/56322)) | | 28 | + | | 29 | +### TUI | | 30 | + | | 31 | +#### Improvements | | 32 | + | | 33 | +- Added an experimental **TUI tools** option in the experiments dialog, which lets agents open and type into the session terminal through `tui_open_terminal` and `tui_write_terminal` without taking keyboard focus. ([#57506](https://github.com/anomalyco/opencode/pull/57506)) | | 34 | +- After an update restart, the TUI now tells you to start OpenCode again. ([#58139](https://github.com/anomalyco/opencode/pull/58139)) | | 35 | + | | 36 | +#### Bug fixes | | 37 | + | | 38 | +- Rows that contain Unicode direction marks, common in Hebrew and Arabic text, no longer shift one column when part of the row redraws. ([#58380](https://github.com/anomalyco/opencode/pull/58380)) | | 39 | + | | 40 | +### Desktop | | 41 | + | | 42 | +#### Improvements | | 43 | + | | 44 | +- MCP elicitation forms now appear in desktop and web sessions, with controls for structured and URL requests. ([#58305](https://github.com/anomalyco/opencode/pull/58305)) | | 45 | +- Added **Capture heap snapshots** to the command palette. It saves app-window, main-process, and server snapshots together in Downloads, with native-memory, GPU, and page diagnostics. ([#58259](https://github.com/anomalyco/opencode/pull/58259), [#58311](https://github.com/anomalyco/opencode/pull/58311)) | | 46 | + | | 47 | +#### Bug fixes | | 48 | + | | 49 | +- File change counts now appear before their labels in review and file summaries. ([#58353](https://github.com/anomalyco/opencode/pull/58353)) | | 50 | +- Linux AppImage executable names no longer end in `.desktop`. Thanks [@ImBIOS](https://github.com/ImBIOS). ([#58263](https://github.com/anomalyco/opencode/pull/58263)) | | 51 | + | | 52 | +### SDK | | 53 | + | | 54 | +#### Improvements | | 55 | + | | 56 | +- Added `connectClientMcp()` for hosting MCP tools in a client over the experimental client MCP WebSocket transport. ([#57504](https://github.com/anomalyco/opencode/pull/57504), [#57505](https://github.com/anomalyco/opencode/pull/57505)) | | 57 | + | | 58 | +### Extensions | | 59 | + | | 60 | +#### Bug fixes | | 61 | + | | 62 | +- MCP elicitation forms now appear during tool calls instead of the call waiting until it times out. Thanks [@dimitriskourg](https://github.com/dimitriskourg) and [@chrischall](https://github.com/chrischall). ([#58184](https://github.com/anomalyco/opencode/pull/58184)) | | 63 | +- MCP OAuth login now keeps waiting after unrelated requests reach its callback. Thanks [@reynold-hu](https://github.com/reynold-hu). ([#58342](https://github.com/anomalyco/opencode/pull/58342)) | | 64 | +- Remote MCP requests now stay open past Bun's fetch idle timeout. ([#58341](https://github.com/anomalyco/opencode/pull/58341)) | | 65 | +- MCP servers started during initial reconciliation are no longer duplicated, and MCP servers now stop in parallel on shutdown. ([#58349](https://github.com/anomalyco/opencode/pull/58349), [#58351](https://github.com/anomalyco/opencode/pull/58351)) | | 66 | +- MCP tools whose output schema is not a root object are now accepted. ([#58224](https://github.com/anomalyco/opencode/pull/58224)) | | 67 | + | 5 | 68 | ## v2.1.3 — 2026-10-22 | 6 | 69 |
| 7 | 70 | ### Highlights | |
Collapse file Copy file name to clipboardExpand all lines: bun.lock +32-32Lines changed: 32 additions & 32 deletions Collapse file Copy file name to clipboardExpand all lines: package.json +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 2 | 2 | "$schema": "https://json.schemastore.org/package.json", | 3 | 3 | "name": "opencode", | 4 | 4 | "description": "AI-powered development tool", | 5 | | - "version": "2.1.3", | | 5 | + "version": "2.1.4", | 6 | 6 | "private": true, | 7 | 7 | "type": "module", | 8 | 8 | | |
Collapse file Copy file name to clipboardExpand all lines: packages/ai/package.json +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | { | 2 | 2 | "$schema": "https://json.schemastore.org/package.json", | 3 | | - "version": "2.1.3", | | 3 | + "version": "2.1.4", | 4 | 4 | "name": "@opencode/ai", | 5 | 5 | "type": "module", | 6 | 6 | "license": "MIT", | |
Collapse file Copy file name to clipboardExpand all lines: packages/app/package.json +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | { | 2 | 2 | "name": "@opencode/app", | 3 | | - "version": "2.1.3", | | 3 | + "version": "2.1.4", | 4 | 4 | "description": "", | 5 | 5 | "type": "module", | 6 | 6 | "exports": { | |
Collapse file Copy file name to clipboardExpand all lines: packages/cli/package.json +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 1 | 1 | { | 2 | 2 | "$schema": "https://json.schemastore.org/package.json", | 3 | 3 | "name": "@opencode/cli", | 4 | | - "version": "2.1.3", | | 4 | + "version": "2.1.4", | 5 | 5 | "type": "module", | 6 | 6 | "license": "MIT", | 7 | 7 | "bin": { | |
|