chore(opencode): move the OpenCode pin to 2.2.5 from a workspace catalog

Manager builds against and requires OpenCode 2.2.5. Every @opencode
package, plus effect and the OpenTUI/solid dependencies they share,
resolves from one pnpm workspace catalog instead of separate pins.

The built-against version and the supported floor are now separate
settings, so a future OpenCode release can move the pin before raising
the floor. Docker and the dev setup script read the floor from its own
argument.

ocm-cli moves to 0.6.0 on the same 2.2.5 and OpenTUI 0.8 baseline. A
linked server on a different version is still connectable and now shows
a neutral version notice instead of an unsupported badge.
This commit is contained in:
Chris Scott committed 2026-11-06 09:26:56 -05:00
1 parent dc0220843e
commit 807c7cb896
20 files changed
+583 -562

No files matched your search

+2 -2
View File
@@ -60,7 +60,7 @@ ensure_auth_secret() {
export AUTH_SECRET
}
OPENCODE_SUPPORTED_FLOOR="${OPENCODE_BUNDLED_VERSION:-}"
OPENCODE_SUPPORTED_FLOOR="${OPENCODE_MIN_VERSION:-}"
read_opencode_version() {
local binary output
@@ -93,7 +93,7 @@ reconcile_persisted_opencode() {
return 0
fi
if ! is_supported_opencode_version "$persisted_version"; then
echo "Persisted OpenCode $persisted_version is outside the supported range $(supported_opencode_range); removing it so the bundled OpenCode $OPENCODE_SUPPORTED_FLOOR binary is used"
echo "Persisted OpenCode $persisted_version is outside the supported range $(supported_opencode_range); removing it so the bundled OpenCode ${OPENCODE_BUNDLED_VERSION:-} binary is used"
rm -f "$persisted_path"
return 0
fi
+1 -1
View File
@@ -38,7 +38,7 @@ fi
REPO_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
source "$REPO_ROOT/scripts/lib/opencode-release.sh"
OPENCODE_SUPPORTED_FLOOR="$(sed -n 's/^ARG OPENCODE_VERSION=//p' "$REPO_ROOT/Dockerfile" | head -1)"
OPENCODE_SUPPORTED_FLOOR="$(sed -n 's/^ARG OPENCODE_MIN_VERSION=//p' "$REPO_ROOT/Dockerfile" | head -1)"
OPENCODE_VERSION_OUTPUT="$(opencode --version 2>&1)" || OPENCODE_VERSION_OUTPUT=""
OPENCODE_VERSION="$(parse_opencode_version_output "$OPENCODE_VERSION_OUTPUT")"