inspector/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Felix Weinberger fe57d7e952
fix: proper stream cleanup and transport close on disconnect
1. createWebReadableStream: Add closed flag and cancel() callback to
   prevent double-close crashes when SSE streams end. This fixes the
   "Controller is already closed" error that occurs when the SDK calls
   response.body.cancel() on 202 responses.

2. DELETE handler: Call serverTransport.close() after terminateSession()
   to properly cleanup the transport and cancel pending reconnections.
   - terminateSession() notifies the server (sends DELETE request)
   - close() cleans up client-side resources (abort controller, timeouts)
   - Both are needed for a complete disconnect
2025-11-28 19:39:49 +00:00
..
src fix: proper stream cleanup and transport close on disconnect 2025-11-28 19:39:49 +00:00
package.json Bump version to 0.17.4 2025-11-14 06:38:44 -07:00
tsconfig.json init server 2024-10-07 16:27:49 -07:00