Commit Graph

16 Commits

Author SHA1 Message Date
cliffhall
79a09f8316 Consolidate hooks
* Hooks are in multiple places in the codebase and some camelCase, some snake-case. This PR relocates them all to the lib/hooks folder and normalizes camelCase naming. Settled on src/client/lib/hooks for the location since most of them were already there.

  - Refactor/move useTheme.ts from client/src/lib to client/src/lib/hooks
  - Refactor/move useToast.ts from client/src/hooks/ to client/src/lib/hooks/useToast.ts
  - Removed client/src/hooks
2025-04-30 17:09:22 -04:00
KavyapriyaJG
eab6b42ac6 Fix - Lint warnings and errors in client
Lint issues fixed:
1. Removed unused error variable in catch block
2. Changed 'ActionTypes' type to enum
3. Removed unnecessary interface extensions
4. Removed unused export component
5. Added the missing dependencies to useMemo
6. Fixed the inline function issue by changing it to useMemo
2025-04-12 02:10:37 +05:30
Pulkit Sharma
2a544294ba merge main 2025-04-03 00:47:21 +05:30
NicolasMontone
c9ee22b781 fix(Select): add missing style. 2025-04-01 19:23:57 -03:00
NicolasMontone
8586d63e6d Add shadcn alert to match project design 2025-04-01 17:38:25 -03:00
Pulkit Sharma
51c7eda6a6 Add MCP proxy address config support, better error messages 2025-04-01 19:21:19 +05:30
Ola Hungerford
50638806cb Merge branch 'main' into feature/completions 2025-02-21 06:19:41 -07:00
Ola Hungerford
44d07b964c Fix styling 2025-02-15 05:05:29 -07:00
Ola Hungerford
f7312ab331 Add checkbox for Boolean input params 2025-02-15 04:33:08 -07:00
Gavin Aboulhosn
9b624e8c87 feat(completions): integrate MCP Completion support into Prompts and Resources tabs
- create useCompletion hook to fetch completions with debouncing and abort control
- Updated `PromptsTab.tsx` and `ResourcesTab.tsx` to utilize the `Combobox` component and `useCompletions` hook, enabling argument autocompletion for prompts and resource URIs as per the MCP specification.
- Added a combobox to show completions
2025-02-12 11:21:27 -05:00
Ashwin Bhat
47a87e1884 more dark mode fixes 2024-11-24 14:26:39 -08:00
Ashwin Bhat
78182eab10 dark mode fixes 2024-11-20 11:25:06 -08:00
David Soria Parra
216c8a15d5 run prettier 2024-11-04 21:29:59 +00:00
Ashwin Bhat
d32e7b6725 add SSE connection ability 2024-10-11 08:40:20 -07:00
Ashwin Bhat
bfc9e6e882 get tools working 2024-10-08 16:49:12 -07:00
Ashwin Bhat
3cdd6faed7 init client 2024-10-07 16:28:05 -07:00