mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-24 10:40:07 +08:00
* feat(MCPService, MCPSettings, MessageTools): enhance long-running server support and UI integration - Added support for long-running server configurations in MCPService, allowing for timeout adjustments based on server settings. - Introduced a new `longRunning` property in MCPSettings to manage server behavior and UI elements accordingly. - Integrated a ProgressBar component in MessageTools to visually represent progress for long-running operations, improving user experience. * refactor(IpcChannel, MCPService, MessageTools): remove progress IPC channel and integrate progress handling - Removed the `Mcp_SetProgress` channel from `IpcChannel` and its associated handlers in `ipc.ts` and `preload/index.ts`. - Integrated progress handling directly in `McpService` to send progress updates to the main window. - Updated `MessageTools` to display progress using Ant Design's `Progress` component, enhancing the user interface for long-running operations. - Deleted the `ProgressBar` component as its functionality has been replaced by the new progress handling approach. * feat(MCPService): add maxTotalTimeout configuration for long-running operations - Introduced a new `maxTotalTimeout` property in MCPService to define a maximum timeout duration for long-running server operations, enhancing control over server behavior based on the `longRunning` setting. * refactor(MCPService): remove unused notification handler for cancelled operations * Removed the CancelledNotificationHandler from MCPService to streamline notification handling and improve code clarity. * Updated MessageTools component to simplify rendering logic for status indicators, enhancing readability and maintainability. |
||
|---|---|---|
| .. | ||
| mcp-trace | ||
| shared | ||