chore: remove ccw-litellm UI components (dead code)

The LiteLLM Python bridge was already removed (litellm-client.ts is a
stub). Remove the orphaned frontend components:
- CcwLitellmStatus component and LitellmInstallProgressOverlay
- API functions (checkCcwLitellmStatus, installCcwLitellm, uninstallCcwLitellm)
- React Query hooks (useCcwLitellmStatus, useInstallCcwLitellm, useUninstallCcwLitellm)
- Locale entries (zh/en api-settings.json ccwLitellm section)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
catlog22
2026-03-19 20:24:45 +08:00
parent 28e9701fe1
commit e1c7192509
8 changed files with 1 additions and 647 deletions

View File

@@ -319,51 +319,6 @@
"deleteError": "Failed to delete CLI settings",
"toggleError": "Failed to toggle CLI settings"
},
"ccwLitellm": {
"title": "CCW-LiteLLM Package",
"description": "Manage ccw-litellm Python package installation",
"systemPythonMismatch": "Detected ccw-litellm installed in system Python, but not in the CodexLens venv (~/.codexlens/venv). Click Install to install it into the venv.",
"status": {
"installed": "Installed",
"notInstalled": "Not Installed",
"version": "Version"
},
"actions": {
"install": "Install",
"uninstall": "Uninstall",
"refreshStatus": "Refresh Status"
},
"messages": {
"installSuccess": "ccw-litellm installed successfully",
"installFailed": "Failed to install ccw-litellm",
"uninstallSuccess": "ccw-litellm uninstalled successfully",
"uninstallFailed": "Failed to uninstall ccw-litellm"
},
"install": {
"title": "Install CCW-LiteLLM",
"description": "Install ccw-litellm into the CodexLens Python virtual environment for embedding support.",
"checklist": "What will be installed",
"codexlensVenv": "CodexLens Venv",
"codexlensVenvDesc": "Ensures CodexLens Python virtual environment is ready",
"litellmPackage": "ccw-litellm Package",
"litellmPackageDesc": "LiteLLM-based embedding client for multi-provider support",
"embeddingSupport": "Embedding Support",
"embeddingSupportDesc": "Enables LiteLLM embedding backend for semantic search",
"location": "Install Location",
"locationPath": "~/.codexlens/venv",
"timeEstimate": "Installation may take 1-3 minutes depending on network speed.",
"installNow": "Install Now",
"installing": "Installing...",
"stage": {
"checkingVenv": "Checking CodexLens virtual environment...",
"detectingPackage": "Detecting ccw-litellm package source...",
"installingDeps": "Installing dependencies...",
"installingPackage": "Installing ccw-litellm package...",
"verifying": "Verifying installation...",
"complete": "Installation complete!"
}
}
},
"common": {
"save": "Save",
"cancel": "Cancel",

View File

@@ -319,51 +319,6 @@
"deleteError": "删除 CLI 设置失败",
"toggleError": "切换 CLI 设置状态失败"
},
"ccwLitellm": {
"title": "CCW-LiteLLM 包",
"description": "管理 ccw-litellm Python 包安装",
"systemPythonMismatch": "检测到 ccw-litellm 已安装在系统 Python 中,但未安装到 CodexLens 虚拟环境(~/.codexlens/venv所以这里显示未安装。点击“安装”即可安装到虚拟环境中。",
"status": {
"installed": "已安装",
"notInstalled": "未安装",
"version": "版本"
},
"actions": {
"install": "安装",
"uninstall": "卸载",
"refreshStatus": "刷新状态"
},
"messages": {
"installSuccess": "ccw-litellm 安装成功",
"installFailed": "ccw-litellm 安装失败",
"uninstallSuccess": "ccw-litellm 卸载成功",
"uninstallFailed": "ccw-litellm 卸载失败"
},
"install": {
"title": "安装 CCW-LiteLLM",
"description": "将 ccw-litellm 安装到 CodexLens Python 虚拟环境中以支持嵌入功能。",
"checklist": "将要安装的内容",
"codexlensVenv": "CodexLens 虚拟环境",
"codexlensVenvDesc": "确保 CodexLens Python 虚拟环境就绪",
"litellmPackage": "ccw-litellm 包",
"litellmPackageDesc": "基于 LiteLLM 的嵌入客户端,支持多提供商",
"embeddingSupport": "嵌入支持",
"embeddingSupportDesc": "启用 LiteLLM 嵌入后端用于语义搜索",
"location": "安装位置",
"locationPath": "~/.codexlens/venv",
"timeEstimate": "安装可能需要 1-3 分钟,取决于网络速度。",
"installNow": "立即安装",
"installing": "安装中...",
"stage": {
"checkingVenv": "正在检查 CodexLens 虚拟环境...",
"detectingPackage": "正在检测 ccw-litellm 包来源...",
"installingDeps": "正在安装依赖项...",
"installingPackage": "正在安装 ccw-litellm 包...",
"verifying": "正在验证安装...",
"complete": "安装完成!"
}
}
},
"common": {
"save": "保存",
"cancel": "取消",