| 1 | "@effect/ai/McpSchema#ContentBlock": |
| 2 | replacement: "McpSchema.ContentBlock" |
| 3 | note: "Moved to effect/ai/McpSchema. It remains the MCP content-block union, but v4 exports it as a const schema rather than a Schema.Union subclass. Binary image, audio, and blob data still use Uint8Array values with base64 wire encoding." |
| 4 | "@effect/ai/McpSchema#ElicitResult": |
| 5 | replacement: "McpSchema.ElicitResult" |
| 6 | note: "Moved to effect/ai/McpSchema. It remains discriminated by action, but accepted content is now optional and, when present, is a record of strings, finite numbers, booleans, or string arrays; declined and canceled responses still omit content." |
| 7 | "@effect/ai/McpSchema#FailureEncoded": |
| 8 | replacement: "McpSchema.FailureEncoded" |
| 9 | note: "Moved to effect/ai/McpSchema and still derives an encoded JSON-RPC failure union from an RpcGroup." |
| 10 | "@effect/ai/McpSchema#FromClientEncoded": |
| 11 | replacement: "McpSchema.FromClientEncoded" |
| 12 | note: "Moved to effect/ai/McpSchema and remains the union of client requests and client notifications." |
| 13 | "@effect/ai/McpSchema#FromServerEncoded": |
| 14 | replacement: "McpSchema.FromServerEncoded" |
| 15 | note: "Moved to effect/ai/McpSchema and remains the union of server results and server notifications." |
| 16 | "@effect/ai/McpSchema#McpError": |
| 17 | replacement: "McpSchema.McpError" |
| 18 | note: "Moved, but changed from a constructable base class to a union schema of standard tagged protocol errors plus McpErrorBase. Use McpErrorBase to construct a generic MCP error." |
| 19 | "@effect/ai/McpSchema#McpServerClient": |
| 20 | replacement: "McpSchema.McpRequestContext / McpSchema.McpServerClient" |
| 21 | note: "Use McpRequestContext for client identity, capabilities, and request metadata in protocol-neutral handlers. McpServerClient remains available for initialized stateful protocols and reverse client requests; it is not provided by the stateless 2026-07-28 adapter. Registration helpers exclude McpRequestContext from handler requirements, not McpServerClient." |
| 22 | "@effect/ai/McpSchema#param": |
| 23 | replacement: "McpSchema.param" |
| 24 | note: "Moved to effect/ai/McpSchema. V4 wraps the schema and exposes Param.name and Param.schema instead of attaching a public symbol annotation." |
| 25 | "@effect/ai/McpSchema#ParamAnnotation": |
| 26 | replacement: "McpSchema.isParam / Param.name" |
| 27 | note: "The public symbol annotation was removed. Detect parameter wrappers with McpSchema.isParam and read the narrowed Param.name instead of inspecting AST annotations." |
| 28 | "@effect/ai/McpSchema#SuccessEncoded": |
| 29 | replacement: "McpSchema.SuccessEncoded" |
| 30 | note: "Moved to effect/ai/McpSchema and still derives an encoded JSON-RPC success union from an RpcGroup." |