feat: webUI MCP 可视化配置面板 + README 更新

This commit is contained in:
luckyyzh
2026-08-02 22:27:50 +08:00
parent a70798e874
commit 5378d48095
6 changed files with 843 additions and 0 deletions
+22
View File
@@ -8,6 +8,7 @@ export const enLocale: LocalePlugin = {
"common.ok": "OK",
"common.language": "Language",
"common.models": "Models",
"common.mcp": "MCP",
"common.skills": "Skills",
"common.plugins": "Plugins",
"sidebar.hide": "Hide sidebar",
@@ -236,6 +237,27 @@ export const enLocale: LocalePlugin = {
"chat.commandCopy": "Copy the last assistant message",
"chat.compacted": "Compacted",
"chat.tokensSaved": "{saved} saved",
"mcp.addServer": "Add server",
"mcp.addEnv": "Add env",
"mcp.serverName": "Server name",
"mcp.enabled": "Enabled",
"mcp.transport": "Transport",
"mcp.command": "Command",
"mcp.args": "Arguments (one per line)",
"mcp.url": "URL",
"mcp.headers": "Headers (JSON)",
"mcp.auth": "Auth",
"mcp.bearerToken": "Bearer token",
"mcp.cwd": "Working directory",
"mcp.lifecycle": "Lifecycle",
"mcp.idleTimeout": "Idle timeout (minutes)",
"mcp.requestTimeout": "Request timeout (ms)",
"mcp.advanced": "Advanced (raw JSON)",
"mcp.applyJson": "Apply JSON",
"mcp.invalidJson": "Invalid JSON",
"mcp.noServers": "No MCP servers configured",
"mcp.selectServer": "Select a server to edit",
"mcp.restartHint": "Saved changes apply after restarting pi (or /reload).",
"i18n.close": "Close",
"i18n.copy": "Copy",
"i18n.copied": "Copied",