fix: reuse bundled agent runtime resources

This commit is contained in:
mesalogo
2026-09-07 16:57:59 +08:00
parent d3947c79dd
commit 19086d656e
52 changed files with 1657 additions and 867 deletions
+2 -2
View File
@@ -85,7 +85,7 @@ function readRemoteRuntimeLock(projectRoot = root) {
const runtime = lock?.runtimes?.opencode
if (
lock?.formatVersion !== 1 ||
runtime?.version !== '1.18.9' ||
runtime?.version !== '1.18.29' ||
runtime.provider !== 'opencode' ||
runtime.entrypoint !== 'bin/opencode' ||
runtime.entrypointIdentity !== 'opencode-acp' ||
@@ -393,7 +393,7 @@ function validateManifestShape(manifest) {
manifest?.formatVersion !== 2 ||
manifest.product !== 'GoodBuddy' ||
manifest.runtimeId !== 'opencode' ||
manifest.runtimeVersion !== '1.18.9' ||
manifest.runtimeVersion !== '1.18.29' ||
manifest.provider !== 'opencode' ||
!(
manifest.platform === 'linux' ||