Gavin Aboulhosn
d9df5ff860
refactor(completions): restore debouncing and improve MCP error handling
2025-02-12 20:19:36 -05:00
Gavin Aboulhosn
7f713fe40e
refactor(completions): improve completion handling and error states
...
- Move completion logic from App.tsx to useConnection hook
- Replace useCompletion with simpler useCompletionState hook
- Add graceful fallback for servers without completion support
- Improve error handling and state management
- Update PromptsTab and ResourcesTab to use new completion API
- Add type safety improvements across completion interfaces
2025-02-12 19:05:51 -05:00
Allen Zhou
8592cf2d07
Run prettier-fix
2025-02-05 11:22:11 -08:00
Allen Zhou
dd47b574b3
Update useConnection.ts
2025-02-04 15:02:12 -08:00
Allen Zhou
b4ae1327b5
Update useConnection.ts
2025-02-04 15:00:14 -08:00
Allen Zhou
b5762d53fd
Handle infinite loop if server keeps returning 401
2025-02-04 14:53:41 -08:00
Allen Zhou
7957d9f577
Make OAuth start call modular
2025-02-03 20:06:21 -08:00
Allen Zhou
4c89aed4d9
Add check for expired refresh or session token that exists
2025-02-03 20:04:17 -08:00
Allen Zhou
79547143a8
Add refresh token handling if returned from server
2025-02-03 19:53:53 -08:00
Justin Spahr-Summers
0882a3e0e5
Formatting
2025-01-24 15:23:24 +00:00
Justin Spahr-Summers
99d7592ac9
Fix error state being briefly shown before OAuth
2025-01-24 15:02:34 +00:00
Justin Spahr-Summers
af8877064e
Set Authorization header from client
2025-01-24 13:55:32 +00:00
Justin Spahr-Summers
02cfb47c83
Extract session storage keys into constants
2025-01-24 13:09:58 +00:00
Justin Spahr-Summers
23f89e49b8
Implement OAuth callback
2025-01-24 13:08:39 +00:00
Justin Spahr-Summers
1c4ad60354
Redirect into OAuth flow upon receiving 401
2025-01-24 11:34:07 +00:00
Ashwin Bhat
715936d747
run prettier
2025-01-09 11:01:35 -08:00
Ashwin Bhat
dc49d46baa
refactor: extract draggable pane and connection logic into hooks
...
- Create useDraggablePane hook for history pane drag behavior
- Create useConnection hook for MCP client connection and requests
- Update App.tsx to use both hooks
2024-12-18 12:54:24 -08:00