mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-26 03:31:24 +08:00
* feat: add configuration file management to MCPService - Introduced methods to ensure the existence of a configuration file, load configurations from it, and save server configurations. - Updated the MCPService class to handle server configurations more effectively, improving initialization and error handling. - Added dependency on chokidar for file system watching. * feat: enhance MCPService configuration handling - Improved configuration management by adding compatibility for both old and new server formats. - Updated methods to ensure configuration file existence, load configurations, and save server data more effectively. - Refined server initialization logic to handle updates and notifications to Redux more efficiently. - Removed unnecessary waiting for server data from Redux during initialization. * feat: enhance MCPService default configuration handling - Added logic to create a default configuration if none exists, improving the initialization process. - Implemented migration of server configurations from Redux to file, ensuring data consistency. - Updated methods to handle nested server structures and improved error handling during server updates. * refactor: clean up MCPService by removing redundant console logs and unused updateServerInRedux method - Eliminated unnecessary console log statements to improve code readability. - Removed the unused updateServerInRedux method, streamlining the MCPService class. - Maintained existing functionality while enhancing code clarity. |
||
|---|---|---|
| .. | ||
| AppUpdater.ts | ||
| BackupManager.ts | ||
| CacheService.ts | ||
| ClipboardMonitor.ts | ||
| ConfigManager.ts | ||
| CopilotService.ts | ||
| ExportService.ts | ||
| FileService.ts | ||
| FileStorage.ts | ||
| GeminiService.ts | ||
| KnowledgeService.ts | ||
| MCPService.ts | ||
| NutstoreService.ts | ||
| ObsidianVaultService.ts | ||
| ProtocolClient.ts | ||
| ProxyManager.ts | ||
| ReduxService.ts | ||
| ShortcutService.ts | ||
| TrayService.ts | ||
| WebDav.ts | ||
| WindowService.ts | ||