feat: Show initialize request/response in History panel (#269)

- Add logging for initialize request and response in useConnection.connect
- Include server capabilities, version, and instructions in history
This commit is contained in:
leoshimo
2025-04-04 18:21:49 -07:00
parent 0b37722ad1
commit 22eb81350a
2 changed files with 13 additions and 2 deletions

View File

@@ -17,6 +17,8 @@ const mockClient = {
connect: jest.fn().mockResolvedValue(undefined),
close: jest.fn(),
getServerCapabilities: jest.fn(),
getServerVersion: jest.fn(),
getInstructions: jest.fn(),
setNotificationHandler: jest.fn(),
setRequestHandler: jest.fn(),
};