Skip to content

Commit ebff11e

Browse files
committed
chore: merge upstream/dev
Merge upstream/dev into the fork. Conflict resolution: - packages/core/src/session/info.ts: upstream replaced `Location.Ref.make({...})` with a plain `location` object and now reads `workspaceID` as `row.workspace_id ?? undefined` (no `Workspace.ID.make` branding, `Workspace` and `Location` imports removed). Took upstream's shape and kept the fork's `roots: row.roots?.length ? row.roots : undefined` from the session roots feature. Post-merge fixes (no conflict markers, but broken by upstream changes): - packages/core/src/session/projector.ts: `projectFork` still called `Workspace.ID.make(...)` for the fork `destination` workspace, but upstream dropped the `Workspace` import. Use `destination.location.workspaceID ?? null` instead, matching how the other projections in the file write `workspace_id`. - mise.toml: upstream bumped `packageManager` to bun@1.4.4 and the build script (packages/script) now requires `^1.4.4`, so `make build-single` failed under the pinned bun 1.4.2. Bump the mise pin to 1.4.4. - bun.lock: refreshed with `bun install` after upstream's dependency changes (e.g. the new `@pierre/highlights` dependency, which was missing and broke the app/ui/session-ui typechecks until installed). Verification: - `bun run check` passes for all 34 packages. - `make build-single` gets past typecheck and the app build and starts building cli-darwin-arm64. - Fork tests (`make tests`) were not run as part of this merge.
2 parents 51ca627 + d93568f commit ebff11e

255 files changed

Lines changed: 4778 additions & 2437 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/docs-update.yml‎

Lines changed: 0 additions & 72 deletions
This file was deleted.

‎.github/workflows/publish.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585

8686
- uses: ./.github/actions/setup-bun
8787
with:
88-
bun-version: 1.4.2
88+
bun-version: 1.4.4
8989

9090
- name: Setup git committer
9191
id: committer
@@ -107,7 +107,7 @@ jobs:
107107
id: build
108108
run: ./packages/cli/script/build.ts ${{ (github.ref_name == 'beta' && '--sourcemaps') || '' }}
109109
env:
110-
BUN_COMPILE_RELEASE: bun-v1.4.2
110+
BUN_COMPILE_RELEASE: bun-v1.4.4
111111
OPENCODE_VERSION: ${{ needs.version.outputs.version }}
112112
OPENCODE_RELEASE: ${{ needs.version.outputs.release }}
113113
OPENCODE_RELEASE_NOTES: ${{ (github.ref_name == 'dev' && inputs.release_notes) || '' }}

‎CHANGELOG.md‎

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,62 @@
22

33
Release notes for OpenCode V2, newest first.
44

5+
## v2.1.3 — 2026-10-22
6+
7+
### Highlights
8+
9+
- **Bun 1.4.4 Security Fixes**: OpenCode now runs on Bun 1.4.4, which includes security fixes for Brotli, TLS, HTTP/3, WebSocket, and more, along with updated root certificates. ([#58087](https://github.com/anomalyco/opencode/pull/58087))
10+
- **Faster Code Display**: Code blocks, file views, and review diffs in Desktop now use Pierre Highlights, reducing highlighting time and memory use for large files and diffs. ([#57937](https://github.com/anomalyco/opencode/pull/57937))
11+
- **Discover and Start Voice Models**: SDK clients can call `client.voice.models()` to find available experimental voice models and supported transports. Connected OpenCode Console workspaces can also host GPT-Live sessions through `client.voice.session()`. ([#57194](https://github.com/anomalyco/opencode/pull/57194), [#57735](https://github.com/anomalyco/opencode/pull/57735))
12+
13+
### Core
14+
15+
#### Improvements
16+
17+
- Upgraded the bundled Bun runtime to 1.4.4, which includes [security fixes](https://bun.com/blog/bun-v1.4.4#security) for Brotli, TLS, HTTP/1.1, HTTP/2, HTTP/3, WebSocket, and `fetch`, and updates root certificates to NSS 3.131.1. ([#58087](https://github.com/anomalyco/opencode/pull/58087))
18+
- Generated session titles now use the lowest suitable model variant and more focused naming instructions. ([#51939](https://github.com/anomalyco/opencode/pull/51939), [#57648](https://github.com/anomalyco/opencode/pull/57648))
19+
- Windows managed services now use port `28894`, avoiding ranges reserved by Windows and WSL mirrored networking. ([#57428](https://github.com/anomalyco/opencode/pull/57428))
20+
21+
#### Bug fixes
22+
23+
- Custom provider `baseURL` settings now override catalog model endpoints as expected. Thanks [@Tarquinen](https://github.com/Tarquinen) and [@bercedev](https://github.com/bercedev). ([#57810](https://github.com/anomalyco/opencode/pull/57810))
24+
- Compaction summaries can use the same model output limit as normal responses, preventing incomplete summaries. ([#57564](https://github.com/anomalyco/opencode/pull/57564))
25+
- Legacy `apply_patch` permissions now migrate to the `edit` permission. ([#57900](https://github.com/anomalyco/opencode/pull/57900))
26+
- V1 sessions with relative working directories now migrate using their project worktree. Thanks [@MohammadAlMasalmeh](https://github.com/MohammadAlMasalmeh). ([#57618](https://github.com/anomalyco/opencode/pull/57618))
27+
- Unsupported legacy agent colors no longer prevent agents from loading. Thanks [@4sDriven](https://github.com/4sDriven). ([#57910](https://github.com/anomalyco/opencode/pull/57910))
28+
29+
### TUI
30+
31+
#### Bug fixes
32+
33+
- The TUI no longer crashes when file watchers are unavailable or system watch limits are exhausted. Thanks [@ANSHSINGH050404](https://github.com/ANSHSINGH050404). ([#51536](https://github.com/anomalyco/opencode/pull/51536))
34+
35+
### Desktop
36+
37+
#### Improvements
38+
39+
- Code blocks, streaming output, file views, and review diffs now use Pierre Highlights for faster highlighting and lower memory use on large inputs. ([#57937](https://github.com/anomalyco/opencode/pull/57937))
40+
41+
#### Bug fixes
42+
43+
- Renaming a session tab now pastes plain text instead of formatted content. ([#58036](https://github.com/anomalyco/opencode/pull/58036))
44+
- Dragging the session scrollbar no longer forces the timeline back to its end. ([#57831](https://github.com/anomalyco/opencode/pull/57831))
45+
- RPM packages no longer conflict with build-ID links installed by other Electron applications. ([#58093](https://github.com/anomalyco/opencode/pull/58093))
46+
47+
### SDK
48+
49+
#### Improvements
50+
51+
- Added `client.voice.models()` to list experimental voice models, availability, and supported WebRTC or WebSocket transports. ([#57194](https://github.com/anomalyco/opencode/pull/57194))
52+
- Voice sessions can now use GPT-Live hosted by a connected OpenCode Console workspace. Hosted sessions expose an ID and support instruction updates through `client.voice.instructions()`. ([#57735](https://github.com/anomalyco/opencode/pull/57735))
53+
54+
### Extensions
55+
56+
#### Bug fixes
57+
58+
- MCP results now keep supported media inline, decode textual resources, and save unsupported binary resources to files instead of creating invalid model attachments. ([#57640](https://github.com/anomalyco/opencode/pull/57640))
59+
- Updates to MCP instructions, skills, and project references now send only changed entries instead of repeating the full list. ([#57626](https://github.com/anomalyco/opencode/pull/57626))
60+
561
## v2.1.2 — 2026-10-21
662

763
### Highlights

0 commit comments

Comments
 (0)