修复 Codex MCP type 配置并更新发布包
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
const { toCodexMcpServerConfig } = require('./codex-mcp-config');
|
||||
|
||||
/**
|
||||
* Gitea Webhook 工作流与 Codex App 之间的薄适配层。
|
||||
*
|
||||
@@ -118,7 +120,7 @@ function buildGiteaThreadConfig(options = {}) {
|
||||
return {
|
||||
cwd,
|
||||
config: {
|
||||
'mcp_servers.gitea': gitea,
|
||||
'mcp_servers.gitea': toCodexMcpServerConfig(gitea),
|
||||
},
|
||||
// 便于调用方在需要时直接合并到 thread/start 参数;server.js 使用 config。
|
||||
mcpServer: gitea,
|
||||
|
||||
Reference in New Issue
Block a user