inspector/client/src/lib/hooks
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dennis Geurts de474e5411 feat: Add context argument to completion handlers
This commit adds a `context` argument to the completion handlers in `PromptsTab`, `ResourcesTab`, `useCompletionState`, and `useConnection`.

The context argument allows passing additional information to the completion engine, which can be used to improve the quality of the completions.  The context is passed as a dictionary of key-value pairs.

The `ResourcesTab` component was also updated to pass `templateValues` as the `context` to the completion handler.

The `useConnection` hook was updated to include the context in the completion request sent to the server.
2025-07-12 12:42:21 +02:00
..
__tests__ Lint 2025-06-14 18:45:14 +01:00
useCompletionState.ts feat: Add context argument to completion handlers 2025-07-12 12:42:21 +02:00
useConnection.ts feat: Add context argument to completion handlers 2025-07-12 12:42:21 +02:00
useDraggablePane.ts npm run prettier-fix 2025-05-27 17:33:51 -07:00
useTheme.ts Consolidate hooks 2025-04-30 17:09:22 -04:00
useToast.ts Consolidate hooks 2025-04-30 17:09:22 -04:00