@@ -34,7 +34,6 @@ import {
34
34
useDraggablePane ,
35
35
useDraggableSidebar ,
36
36
} from "./lib/hooks/useDraggablePane" ;
37
- import { StdErrNotification } from "./lib/notificationTypes" ;
38
37
39
38
import { Tabs , TabsContent , TabsList , TabsTrigger } from "@/components/ui/tabs" ;
40
39
import { Button } from "@/components/ui/button" ;
@@ -106,9 +105,6 @@ const App = () => {
106
105
> ( getInitialTransportType ) ;
107
106
const [ logLevel , setLogLevel ] = useState < LoggingLevel > ( "debug" ) ;
108
107
const [ notifications , setNotifications ] = useState < ServerNotification [ ] > ( [ ] ) ;
109
- const [ stdErrNotifications , setStdErrNotifications ] = useState <
110
- StdErrNotification [ ]
111
- > ( [ ] ) ;
112
108
const [ roots , setRoots ] = useState < Root [ ] > ( [ ] ) ;
113
109
const [ env , setEnv ] = useState < Record < string , string > > ( { } ) ;
114
110
@@ -224,12 +220,6 @@ const App = () => {
224
220
onNotification : ( notification ) => {
225
221
setNotifications ( ( prev ) => [ ...prev , notification as ServerNotification ] ) ;
226
222
} ,
227
- onStdErrNotification : ( notification ) => {
228
- setStdErrNotifications ( ( prev ) => [
229
- ...prev ,
230
- notification as StdErrNotification ,
231
- ] ) ;
232
- } ,
233
223
onPendingRequest : ( request , resolve , reject ) => {
234
224
setPendingSampleRequests ( ( prev ) => [
235
225
...prev ,
@@ -757,10 +747,6 @@ const App = () => {
757
747
setLogLevel ( level ) ;
758
748
} ;
759
749
760
- const clearStdErrNotifications = ( ) => {
761
- setStdErrNotifications ( [ ] ) ;
762
- } ;
763
-
764
750
const AuthDebuggerWrapper = ( ) => (
765
751
< TabsContent value = "auth" >
766
752
< AuthDebugger
@@ -829,11 +815,9 @@ const App = () => {
829
815
setOauthScope = { setOauthScope }
830
816
onConnect = { connectMcpServer }
831
817
onDisconnect = { disconnectMcpServer }
832
- stdErrNotifications = { stdErrNotifications }
833
818
logLevel = { logLevel }
834
819
sendLogLevelRequest = { sendLogLevelRequest }
835
820
loggingSupported = { ! ! serverCapabilities ?. logging || false }
836
- clearStdErrNotifications = { clearStdErrNotifications }
837
821
/>
838
822
< div
839
823
onMouseDown = { handleSidebarDragStart }
0 commit comments