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
@@ -198,7 +198,7 @@ function harness(
runtimeInstallationManager: {
activateInstalled: vi.fn(async () => ({
runtimeId: 'opencode',
runtimeVersion: '1.18.9',
runtimeVersion: '1.18.29',
bundleDigest: digest('b'),
manifestDigest: digest('d'),
runtimeAdapterDigest: digest('c'),
@@ -519,7 +519,7 @@ function capabilities() {
runtimes: [
{
runtimeId: 'opencode',
version: '1.18.9',
version: '1.18.29',
bundleDigest: digest('b'),
acpCapabilitiesDigest: digest('f'),
sessionLoad: true,
@@ -17,7 +17,7 @@ const manifest: RemoteRuntimeBundleManifest = {
formatVersion: 2,
product: 'GoodBuddy',
runtimeId: 'opencode',
runtimeVersion: '1.18.9',
runtimeVersion: '1.18.29',
provider: 'opencode',
platform: 'linux',
architecture: 'x64',
@@ -52,7 +52,7 @@ const manifest: RemoteRuntimeBundleManifest = {
licenses: [
{
package: 'opencode',
version: '1.18.9',
version: '1.18.29',
spdx: 'MIT',
path: 'licenses/opencode.txt'
}
@@ -17,7 +17,7 @@ const runtimeLock: RemoteRuntimeLock = {
formatVersion: 1,
runtimes: {
opencode: {
version: '1.18.9',
version: '1.18.29',
provider: 'opencode',
entrypoint: 'bin/opencode',
entrypointIdentity: 'opencode-acp',