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

@@ -135,7 +135,7 @@ export function run(argv: string[]): void {
program
.command('session [subcommand] [args...]')
.description('Workflow session lifecycle management')
.option('--location <loc>', 'Location filter: active|archived|both')
.option('--location <loc>', 'Session location: active|lite-plan|lite-fix (init); Filter: active|archived|both (list)')
.option('--type <type>', 'Content type or session type')
.option('--content <json>', 'Content for write/update')
.option('--task-id <id>', 'Task ID for task content')