feat: enhance CodexLens with quick install feature and embed mode toggle

This commit is contained in:
catlog22
2026-03-18 17:09:18 +08:00
parent 301ae3439a
commit 6ff0467e02
8 changed files with 180 additions and 10 deletions

View File

@@ -27,7 +27,14 @@
"step3": "Add the copied JSON under the mcpServers key.",
"step4": "Save the configuration file and restart your client.",
"step5": "Verify the CodexLens server appears as an available MCP tool."
}
},
"quickInstallTitle": "Quick Install",
"quickInstallDesc": "Install CodexLens MCP server directly to your project or global config",
"installProject": "Install to Project",
"installGlobal": "Install to Global",
"installing": "Installing...",
"installSuccess": "CodexLens MCP installed successfully",
"installError": "Install failed"
},
"models": {
"embedMode": "Current embed mode",
@@ -58,6 +65,11 @@
"save": "Save",
"saving": "Saving...",
"clearForm": "Clear Form",
"mode": "Embed Mode",
"localMode": "Local fastembed",
"apiMode": "Remote API",
"localModeDesc": "Use local fastembed models, no external API required",
"apiModeDesc": "Use remote Embedding API (OpenAI-compatible)",
"sections": {
"embed": "Embed Config",
"reranker": "Reranker Config",

View File

@@ -27,7 +27,7 @@
"prompts": "Prompt History",
"settings": "Settings",
"mcp": "MCP Servers",
"codexlens": "Search Manager",
"codexlens": "CodexLens",
"apiSettings": "API Settings",
"endpoints": "CLI Endpoints",
"installations": "Installations",

View File

@@ -30,7 +30,14 @@
"step3": "将复制的 JSON 添加到 mcpServers 键下。",
"step4": "保存配置文件并重启客户端。",
"step5": "验证 CodexLens 服务器是否作为可用 MCP 工具出现。"
}
},
"quickInstallTitle": "快速安装",
"quickInstallDesc": "直接安装 CodexLens MCP 服务器到当前项目或全局配置",
"installProject": "安装到当前项目",
"installGlobal": "安装到全局",
"installing": "安装中...",
"installSuccess": "CodexLens MCP 安装成功",
"installError": "安装失败"
},
"models": {
"embedMode": "当前嵌入模式",
@@ -61,6 +68,11 @@
"save": "保存",
"saving": "保存中...",
"clearForm": "清空表单",
"mode": "嵌入模式",
"localMode": "本地 fastembed",
"apiMode": "远程 API",
"localModeDesc": "使用本地 fastembed 模型,无需外部 API",
"apiModeDesc": "使用远程 Embedding APIOpenAI 兼容)",
"sections": {
"embed": "嵌入配置",
"reranker": "重排序配置",

View File

@@ -27,7 +27,7 @@
"prompts": "提示历史",
"settings": "设置",
"mcp": "MCP 服务器",
"codexlens": "搜索管理",
"codexlens": "CodexLens",
"apiSettings": "API 设置",
"endpoints": "CLI 端点",
"installations": "安装",