Implement improved auto-reconnect logic and fix TypeScript errors
## Features - Add proactive health check monitoring for MCP connections (30s intervals) - Implement automatic reconnection on health check failures - Add proper cleanup of health check intervals on disconnect ## Fixes - Resolve OAuth type compatibility issues with MCP SDK - Fix naming collision between InferenceProvider class and React component - Remove unused React imports across all components (new JSX transform) - Clean up unused type imports and variables - Remove unused handleOAuthAuthentication function ## Technical Details - Health checks use lightweight listTools() calls to verify connection state - Automatic reconnection triggers when health checks fail - Maintains existing exponential backoff retry logic - All TypeScript compilation errors resolved 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
2038ea5957
commit
763742ed30
1 changed files with 122 additions and 71 deletions
|
|
@ -9,7 +9,6 @@ import type {
|
|||
UseAgentLoopReturn,
|
||||
ConversationMessage,
|
||||
Conversation,
|
||||
ToolUseBlock,
|
||||
ToolResultBlock,
|
||||
TestTool,
|
||||
} from '@/types/conversation';
|
||||
|
|
|
|||
Loading…
Reference in a new issue