chore: rebuild CentOS7 release package

This commit is contained in:
shiyue
2026-06-29 14:05:55 +08:00
parent ac03e9a6e4
commit ff313807e6
8 changed files with 297 additions and 8 deletions

View File

@@ -82,7 +82,7 @@ function createAgentRuntime(deps) {
const config = mcpServer?.config && typeof mcpServer.config === 'object' ? mcpServer.config : null;
if (!server || !config) return;
const prefix = `mcp_servers.${tomlKeySegment(server)}`;
for (const key of ['type', 'command', 'args', 'env', 'env_vars', 'url', 'startup_timeout_sec', 'tool_timeout_sec']) {
for (const key of ['type', 'command', 'args', 'env', 'env_vars', 'url', 'bearer_token_env_var', 'startup_timeout_sec', 'tool_timeout_sec']) {
if (!Object.prototype.hasOwnProperty.call(config, key)) continue;
args.push('-c', `${prefix}.${key}=${tomlValue(config[key])}`);
}