File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed
Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 11import { useState } from "react" ;
2-
32import { Play , ChevronDown , ChevronRight } from "lucide-react" ;
43import { Button } from "@/components/ui/button" ;
54import { Input } from "@/components/ui/input" ;
@@ -13,6 +12,7 @@ import {
1312import { StdErrNotification } from "@/lib/notificationTypes" ;
1413
1514import useTheme from "../lib/useTheme" ;
15+ import { version } from "../../../package.json" ;
1616
1717interface 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
Original file line number Diff line number Diff 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 ) }
Original file line number Diff line number Diff line change 2323 "strict" : true ,
2424 "noUnusedLocals" : true ,
2525 "noUnusedParameters" : true ,
26- "noFallthroughCasesInSwitch" : true
26+ "noFallthroughCasesInSwitch" : true ,
27+ "resolveJsonModule" : true
2728 },
2829 "include" : [" src" ]
2930}
You can’t perform that action at this time.
0 commit comments