fix: Resolve MCP installation issues and enhance path resolution

- Fixed API endpoint mismatches in mcp-manager.js to ensure global install/update buttons function correctly.
- Corrected undefined function references in mcp-manager.js for project installation.
- Refactored event handling to eliminate global scope pollution in mcp-manager.js.
- Added comprehensive debugging guide for MCP installation issues.
- Implemented a session path resolver to infer content types from filenames and paths, improving usability.
- Introduced tests for embeddings improvements in init and status commands to verify functionality.
This commit is contained in:
catlog22
2025-12-17 22:05:16 +08:00
parent 8b927f302c
commit b22839c99f
24 changed files with 2043 additions and 192 deletions

View File

@@ -59,11 +59,10 @@ The MCP server exposes the following CCW tools:
- **write_file** - Create or overwrite files
### Code Analysis
- **codex_lens** - Analyze code execution flow
- **smart_search** - Intelligent code search with hybrid/exact/ripgrep modes
- **get_modules_by_depth** - Get module hierarchy by depth
- **classify_folders** - Classify project folders
- **detect_changed_modules** - Detect modules with git changes
- **smart_search** - Intelligent code search
### Session Management
- **session_manager** - Manage workflow sessions
@@ -88,7 +87,7 @@ Once configured, you can use CCW tools directly in Claude Desktop conversations:
```
Can you use edit_file to update the header in README.md?
Use codex_lens to analyze the authentication flow in src/auth/login.js
Use smart_search to find authentication logic: smart_search(query="authentication")
Get the module structure with get_modules_by_depth
```