Commit graph inspector/client/src/lib/hooks/useConnection.ts
Author SHA1 Message Date
Justin Spahr-Summers
eb6af47b21
Refactor to use auth from SDK 2025-02-11 16:39:07 +00: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