@@ -34,7 +34,6 @@ import {
3434 useDraggablePane ,
3535 useDraggableSidebar ,
3636} from "./lib/hooks/useDraggablePane" ;
37- import { StdErrNotification } from "./lib/notificationTypes" ;
3837
3938import { Tabs , TabsContent , TabsList , TabsTrigger } from "@/components/ui/tabs" ;
4039import { Button } from "@/components/ui/button" ;
@@ -106,9 +105,6 @@ const App = () => {
106105 > ( getInitialTransportType ) ;
107106 const [ logLevel , setLogLevel ] = useState < LoggingLevel > ( "debug" ) ;
108107 const [ notifications , setNotifications ] = useState < ServerNotification [ ] > ( [ ] ) ;
109- const [ stdErrNotifications , setStdErrNotifications ] = useState <
110- StdErrNotification [ ]
111- > ( [ ] ) ;
112108 const [ roots , setRoots ] = useState < Root [ ] > ( [ ] ) ;
113109 const [ env , setEnv ] = useState < Record < string , string > > ( { } ) ;
114110
@@ -224,12 +220,6 @@ const App = () => {
224220 onNotification : ( notification ) => {
225221 setNotifications ( ( prev ) => [ ...prev , notification as ServerNotification ] ) ;
226222 } ,
227- onStdErrNotification : ( notification ) => {
228- setStdErrNotifications ( ( prev ) => [
229- ...prev ,
230- notification as StdErrNotification ,
231- ] ) ;
232- } ,
233223 onPendingRequest : ( request , resolve , reject ) => {
234224 setPendingSampleRequests ( ( prev ) => [
235225 ...prev ,
@@ -757,10 +747,6 @@ const App = () => {
757747 setLogLevel ( level ) ;
758748 } ;
759749
760- const clearStdErrNotifications = ( ) => {
761- setStdErrNotifications ( [ ] ) ;
762- } ;
763-
764750 const AuthDebuggerWrapper = ( ) => (
765751 < TabsContent value = "auth" >
766752 < AuthDebugger
@@ -829,11 +815,9 @@ const App = () => {
829815 setOauthScope = { setOauthScope }
830816 onConnect = { connectMcpServer }
831817 onDisconnect = { disconnectMcpServer }
832- stdErrNotifications = { stdErrNotifications }
833818 logLevel = { logLevel }
834819 sendLogLevelRequest = { sendLogLevelRequest }
835820 loggingSupported = { ! ! serverCapabilities ?. logging || false }
836- clearStdErrNotifications = { clearStdErrNotifications }
837821 />
838822 < div
839823 onMouseDown = { handleSidebarDragStart }
0 commit comments