mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-13 02:41:50 +08:00
- #70: Fix API Key Tester URL handling - normalize trailing slashes before version suffix detection to prevent double-slash URLs like //models - #69: Fix memory embedder ignoring CodexLens config - add error handling for CodexLensConfig.load() with fallback to defaults - #68: Fix ccw cli using wrong Python environment - add getCodexLensVenvPython() to resolve correct venv path on Windows/Unix - #67: Fix LiteLLM API Provider test endpoint - actually test API key connection instead of just checking ccw-litellm installation - #66: Fix help-routes.ts path configuration - use correct 'ccw-help' directory name and refactor getIndexDir to pure function - #63: Fix CodexLens install state refresh - add cache invalidation after config save in codexlens-manager.js Also includes targeted unit tests for the URL normalization logic. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1034,6 +1034,15 @@ async function startCodexLensInstall() {
|
||||
progressBar.style.width = '100%';
|
||||
statusText.textContent = 'Installation complete!';
|
||||
|
||||
// 清理缓存以确保刷新后获取最新状态
|
||||
if (window.cacheManager) {
|
||||
window.cacheManager.invalidate('all-status');
|
||||
window.cacheManager.invalidate('dashboard-init');
|
||||
}
|
||||
if (typeof window.invalidateCodexLensCache === 'function') {
|
||||
window.invalidateCodexLensCache();
|
||||
}
|
||||
|
||||
setTimeout(() => {
|
||||
closeCodexLensInstallWizard();
|
||||
showRefreshToast('CodexLens installed successfully!', 'success');
|
||||
@@ -1184,6 +1193,15 @@ async function startCodexLensUninstall() {
|
||||
progressBar.style.width = '100%';
|
||||
statusText.textContent = 'Uninstallation complete!';
|
||||
|
||||
// 清理缓存以确保刷新后获取最新状态
|
||||
if (window.cacheManager) {
|
||||
window.cacheManager.invalidate('all-status');
|
||||
window.cacheManager.invalidate('dashboard-init');
|
||||
}
|
||||
if (typeof window.invalidateCodexLensCache === 'function') {
|
||||
window.invalidateCodexLensCache();
|
||||
}
|
||||
|
||||
setTimeout(() => {
|
||||
closeCodexLensUninstallWizard();
|
||||
showRefreshToast('CodexLens uninstalled successfully!', 'success');
|
||||
|
||||
Reference in New Issue
Block a user