mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 20:34:18 +01:00
chore(opencode): move the OpenCode pin to 2.2.3 and ocm-cli to OpenTUI 0.8 (OM-169)
OpenCode 2.2.3 requires TUI plugins built for OpenTUI 0.8. Move the single OpenCode pin, the typed client and schema, the Docker default and the CI download to 2.2.3, so the supported range becomes >=2.2.3 <3.0.0, and regenerate the theme palettes from the v2.2.3 tag. Move ocm-cli to @opencode/plugin and @opencode/theme 2.2.3 and OpenTUI 0.8.0, raise the solid-js dev pin and peer floor to 1.9.16, and teach the package-compat test to read the floor of a range peer, keeping a patch-level 0.x floor and normalizing prefixed versions. Guard the CI workflow's download against the pin in the contract test, take the binary test fixture from the pin, and document the ocm 0.5.x requirement of a local OpenCode >= 2.2.3.
This commit is contained in:
1 parent
65066ab0dc
commit
a9220e8604
17 files changed
+491
-478
No files matched your search
@@ -3,7 +3,7 @@ import { EventEmitter } from 'events'
|
||||
import { mkdtemp, rm } from 'fs/promises'
|
||||
import os from 'os'
|
||||
import path from 'path'
|
||||
import { OPENCODE_SERVER_USERNAME } from '@opencode-manager/shared/opencode'
|
||||
import { OPENCODE_PINNED_VERSION, OPENCODE_SERVER_USERNAME } from '@opencode-manager/shared/opencode'
|
||||
import { resolveOpenCode2Binary, startOpenCodeServe } from './opencode-binary'
|
||||
|
||||
const childProcessMock = vi.hoisted(() => ({
|
||||
@@ -16,7 +16,7 @@ vi.mock('child_process', () => ({
|
||||
spawn: childProcessMock.spawn,
|
||||
}))
|
||||
|
||||
const SUPPORTED_VERSION = '2.2.1'
|
||||
const SUPPORTED_VERSION = OPENCODE_PINNED_VERSION
|
||||
const OPENCODE_BIN_FIXTURE = '/fixture/opencode-2'
|
||||
const PATH_CANDIDATE = 'opencode'
|
||||
const ABSOLUTE_CANDIDATES = ['/usr/local/bin/opencode', '/opt/opencode/bin/opencode']
|
||||
|
||||
Reference in new issue
Block a user