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
+7 -1
View File
@@ -2,12 +2,13 @@ import { join } from 'node:path'
export type BundledRuntimePaths = {
opencode: string
opencodeConfig?: string
continue: string
deepseekHarness: string
}
export const bundledContinueVersion = '1.5.47'
export const bundledDeepSeekHarnessVersion = '0.1.0-rc.8'
export const bundledDeepSeekHarnessVersion = '0.1.2-rc.1'
export function resolveBundledRuntimePaths(input: {
appPath: string
@@ -27,6 +28,11 @@ export function resolveBundledRuntimePaths(input: {
'opencode',
packagedExecutable
),
opencodeConfig: join(
input.resourcesPath,
'runtimes',
'opencode-config'
),
continue: join(
input.resourcesPath,
'runtimes',