v4.1.0
v4.1.0 - Caido 0.57.0 compatibility
Caido 0.57.0 reshaped the replay and filter GraphQL contracts, which broke caido_send_request, caido_edit_request, batch send, and caido_create_filter. This release adapts to the new API. If you're on Caido 0.57, you want this build.
Fixed
- Replay is now a draft-then-start flow.
startReplayTaskdropped itsinputarg. Sending updates the active entry's draft on an existing session, or seeds a fresh session viarequestSource.rawthen starts the task. A 0.57 session created with no request source has no entry, so an empty cached session transparently falls back to a seeded one. ReplaySession/ReplayEntryare now GraphQL interfaces (HTTP/WS variants). The SDK unwraps them into stable domain structs, so tool/resource code reads plain fields.@oneOfinputs are strictly enforced ("exactly one field"). This also brokecaido_create_filtersinceQueryInputis@oneOf; fixed via hand-writtenMarshalJSONon the@oneOfinputs in sdk-go.streamsswapped itsprotocolarg for a StreamQLfilter, socaido_list_ws_streamsnow filters to WS client-side.
SDK alignment
- Bumped
caido-community/sdk-goto the 0.57-aware build: regenerated against the 0.57 schema, replay SDK unwraps the interface types into stable domain structs, added the draft/start methods, and the@oneOfmarshaling fix.
Verification
- Verified end-to-end against a live
caido/caido:0.57.0instance:caido_send_request(over the full MCP transport) and the sdk-go replay flow both return real responses. Live integration test added, gated onCAIDO_IT_URL.
Full Changelog: v4.0.0...v4.1.0