@specific.dev/spectest 0.56.0 → 0.56.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mcp-transport.js +7 -0
- package/package.json +1 -1
- package/src/mcp-transport.ts +7 -0
package/dist/mcp-transport.js
CHANGED
|
@@ -26,6 +26,13 @@
|
|
|
26
26
|
// at a time and its VM is snapshotted, not disconnected. Add them when a
|
|
27
27
|
// project needs them, not before.
|
|
28
28
|
//
|
|
29
|
+
// It also does not implement the DEPRECATED HTTP+SSE transport
|
|
30
|
+
// (2024-11-05): a long-lived `GET` stream plus a separate POST endpoint
|
|
31
|
+
// named by its first `endpoint` event. A server that speaks only that one
|
|
32
|
+
// answers our `initialize` POST with a `4xx` and this client gives up
|
|
33
|
+
// there. Adding it is a self-contained change — the fallback trigger is
|
|
34
|
+
// that same `4xx` — but nothing needs it yet.
|
|
35
|
+
//
|
|
29
36
|
// Recording lives one layer up. This file is transport only, so `mcp.ts`
|
|
30
37
|
// can record one step per logical operation instead of one per HTTP call.
|
|
31
38
|
import { rawFetch } from "./harness/raw-fetch.js";
|
package/package.json
CHANGED
package/src/mcp-transport.ts
CHANGED
|
@@ -26,6 +26,13 @@
|
|
|
26
26
|
// at a time and its VM is snapshotted, not disconnected. Add them when a
|
|
27
27
|
// project needs them, not before.
|
|
28
28
|
//
|
|
29
|
+
// It also does not implement the DEPRECATED HTTP+SSE transport
|
|
30
|
+
// (2024-11-05): a long-lived `GET` stream plus a separate POST endpoint
|
|
31
|
+
// named by its first `endpoint` event. A server that speaks only that one
|
|
32
|
+
// answers our `initialize` POST with a `4xx` and this client gives up
|
|
33
|
+
// there. Adding it is a self-contained change — the fallback trigger is
|
|
34
|
+
// that same `4xx` — but nothing needs it yet.
|
|
35
|
+
//
|
|
29
36
|
// Recording lives one layer up. This file is transport only, so `mcp.ts`
|
|
30
37
|
// can record one step per logical operation instead of one per HTTP call.
|
|
31
38
|
|