Skip to content

Commit 2c04fa3

Browse files
authored
Merge branch 'main' into ani/fix-npx
2 parents 853a3b4 + e700bc7 commit 2c04fa3

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

client/src/components/Sidebar.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { useState } from "react";
2-
32
import { Play, ChevronDown, ChevronRight } from "lucide-react";
43
import { Button } from "@/components/ui/button";
54
import { Input } from "@/components/ui/input";
@@ -13,6 +12,7 @@ import {
1312
import { StdErrNotification } from "@/lib/notificationTypes";
1413

1514
import useTheme from "../lib/useTheme";
15+
import { version } from "../../../package.json";
1616

1717
interface SidebarProps {
1818
connectionStatus: "disconnected" | "connected" | "error";
@@ -52,7 +52,9 @@ const Sidebar = ({
5252
<div className="w-80 bg-card border-r border-border flex flex-col h-full">
5353
<div className="flex items-center justify-between p-4 border-b border-gray-200">
5454
<div className="flex items-center">
55-
<h1 className="ml-2 text-lg font-semibold">MCP Inspector</h1>
55+
<h1 className="ml-2 text-lg font-semibold">
56+
MCP Inspector v{version}
57+
</h1>
5658
</div>
5759
</div>
5860

client/src/components/ToolsTab.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ const ToolsTab = ({
8383
/>
8484
)}
8585
{item.type === "resource" && (
86-
<pre className="bg-gray-50 p-4 rounded text-sm overflow-auto max-h-64">
86+
<pre className="bg-gray-50 dark:bg-gray-800 dark:text-gray-100 whitespace-pre-wrap break-words p-4 rounded text-sm overflow-auto max-h-64">
8787
{JSON.stringify(item.resource, null, 2)}
8888
</pre>
8989
)}

client/tsconfig.app.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
"strict": true,
2424
"noUnusedLocals": true,
2525
"noUnusedParameters": true,
26-
"noFallthroughCasesInSwitch": true
26+
"noFallthroughCasesInSwitch": true,
27+
"resolveJsonModule": true
2728
},
2829
"include": ["src"]
2930
}

0 commit comments

Comments
 (0)