Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions apps/chat-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
"@assistant-ui/react-ai-sdk": "^1.1.9",
"@assistant-ui/react-markdown": "^0.11.4",
"@hookform/resolvers": "^5.2.2",
"@mcp-b/react-webmcp": "3.0.0",
"@mcp-b/transports": "3.0.0",
"@mcp-b/webmcp-ts-sdk": "3.0.0",
"@mcp-b/react-webmcp": "4.0.0",
"@mcp-b/transports": "4.0.0",
"@mcp-b/webmcp-ts-sdk": "4.0.0",
"@mcp-ui/client": "^5.14.1",
"@modelcontextprotocol/sdk": "^1.21.1",
"@radix-ui/react-avatar": "^1.1.10",
Expand Down
3 changes: 2 additions & 1 deletion apps/chat-ui/src/components/assistant-ui/tool-fallback.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import type { ToolCallMessagePartComponent } from '@assistant-ui/react';
import type { ClientResult } from '@modelcontextprotocol/sdk/types.js';
import { ChevronDown, ChevronDownIcon, ChevronUpIcon } from 'lucide-react';
import { useEffect, useMemo, useState } from 'react';
import { Button } from '@/components/ui/button';
Expand Down Expand Up @@ -84,7 +85,7 @@
console.log('[ToolFallback] Unregistering tool call on unmount:', { toolCallId, toolName });
unregisterToolCall(toolCallId);
};
}, [toolCallId, toolName, registerToolCall, unregisterToolCall]);

Check warning on line 88 in apps/chat-ui/src/components/assistant-ui/tool-fallback.tsx

View workflow job for this annotation

GitHub Actions / Lint & Typecheck

React Hook useEffect has a missing dependency: 'status.type'. Either include it or remove the dependency array

const formattedResult = result !== undefined ? formatMcpResult(result) : null;
const resultIsError = formattedResult?.isError || isError;
Expand Down Expand Up @@ -201,7 +202,7 @@
onSubmit={(res: { action: 'accept' | 'decline' | 'cancel'; data?: unknown }) => {
submitElicitation(toolElicitation.requestId, {
action: res.action,
data: res.data as any,
data: res.data as ClientResult,
});
}}
onCancel={() => {
Expand Down
4 changes: 2 additions & 2 deletions apps/mcp-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
"test:coverage": "vitest run --coverage"
},
"dependencies": {
"@mcp-b/global": "3.0.0",
"@mcp-b/react-webmcp": "3.0.0",
"@mcp-b/global": "4.0.0",
"@mcp-b/react-webmcp": "4.0.0",
"@mcp-ui/server": "^5.13.1",
"@modelcontextprotocol/sdk": "^1.22.0",
"@tailwindcss/vite": "^4.1.17",
Expand Down
Loading
Loading