Add managed SSH Hosts and projects with signed side-by-side GoodBuddy Agent and OpenCode Runtime installation, Ask and Execute workspace access, a Main-owned model bridge, detached Agent lifecycle, durable ACP output recovery, and project activation UI. Use protocol v2 with bounded FIFO frames over SSH instead of custom credit, priority, batching, or model-message chunking. Mismatched Host Agents now upgrade automatically, an exactly verified Node runtime is reused on-host, and local Portable builds can embed strictly verified Agent artifacts. Release note: 新增托管 SSH 远程项目,可自动安装或升级签名 Agent/OpenCode Runtime,并在 SSH 断线后继续 Agent 工作和同步未确认输出。
37 lines
799 B
JavaScript
37 lines
799 B
JavaScript
const packageJson = require('../package.json')
|
|
const {
|
|
supportedArchitectures,
|
|
targetName
|
|
} = require('./agent-bundle.cjs')
|
|
|
|
const remoteRuntimeResources = supportedArchitectures.map(
|
|
(architecture) => {
|
|
const target = targetName(architecture)
|
|
return {
|
|
from: `.remote-runtime-resources/${target}`,
|
|
to: `remote-runtimes/${target}`,
|
|
filter: ['**/*']
|
|
}
|
|
}
|
|
)
|
|
|
|
const agentResources = [
|
|
...supportedArchitectures.map((architecture) => {
|
|
const target = targetName(architecture)
|
|
return {
|
|
from: `.agent-resources/${target}`,
|
|
to: `agents/${target}`,
|
|
filter: ['**/*']
|
|
}
|
|
})
|
|
]
|
|
|
|
module.exports = {
|
|
...packageJson.build,
|
|
extraResources: [
|
|
...packageJson.build.extraResources,
|
|
...agentResources,
|
|
...remoteRuntimeResources
|
|
]
|
|
}
|