fix(dashboard): 修正 OpenCode MCP 配置,移除 enabled 字段、添加 oauth: false
All checks were successful
Secrets MCP — Build & Release / 检查 / 构建 / 发版 (push) Successful in 5m50s
Secrets MCP — Build & Release / 部署 secrets-mcp (push) Successful in 1m36s

This commit is contained in:
agent
2026-04-07 11:16:44 +08:00
parent dfe282095c
commit a2a80a1744

View File

@@ -581,12 +581,12 @@ function buildSecretsConfigText(apiKey, encKey) {
function buildOpencodeEntry(apiKey, encKey) { function buildOpencodeEntry(apiKey, encKey) {
return { return {
type: 'remote', type: 'remote',
enabled: true,
url: BASE_URL + '/mcp', url: BASE_URL + '/mcp',
headers: { headers: {
'Authorization': 'Bearer ' + apiKey, 'Authorization': 'Bearer ' + apiKey,
'X-Encryption-Key': encKey 'X-Encryption-Key': encKey
} },
oauth: false
}; };
} }