refactor to not use custom websocket protocol

This commit is contained in:
Ashwin Bhat 2024-10-09 17:12:10 -07:00
commit 6575697f25
No known key found for this signature in database
2 changed files with 312 additions and 169 deletions

View file

@ -38,7 +38,7 @@ const History = ({
>
<span className="font-mono">
{requestHistory.length - index}.{" "}
{JSON.parse(request.request).type}
{JSON.parse(request.request).method}
</span>
<span>
{expandedRequests[requestHistory.length - 1 - index]

View file

@ -9,10 +9,10 @@ import ListPane from "./ListPane";
export type Tool = {
name: string;
description: string;
description?: string | undefined;
inputSchema: {
type: string;
properties: Record<string, { type: string; description: string }>;
properties?: Record<string, { type: string; description: string }>;
};
};