chore(opencode): move the pinned OpenCode version to 2.1.2

The supported floor is derived from the pin, so this raises the accepted
range to >=2.1.2 <3.0.0 for the bundled image, managed installs, and the
version check that gates startup.

- Dockerfile ARG OPENCODE_VERSION and the shared pin move together
- CI e2e installs 2.1.2 instead of 2.0.24
- contract, installer, manager, registry and settings fixtures follow the new
  floor, keeping their below-floor and wrong-major rejection cases
This commit is contained in:
Chris Scott committed 2026-10-23 14:41:48 -04:00
1 parent 36a5693b5c
commit 19b52ecd58
9 files changed
+191 -189

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
import { compareParsedSemver, compareSemver, normalizeSemver, parseSemver, type Semver } from '../utils/semver'
export const OPENCODE_PINNED_VERSION = '2.0.15'
export const OPENCODE_PINNED_VERSION = '2.1.2'
const OPENCODE_RELEASE_BASE_URL = 'https://opencode.ai/files/bin'