| 1 | "@effect/ai/Response#documentSourcePart": |
| 2 | replacement: "Response.makePart(\"source\", { ...params, sourceType: \"document\" })" |
| 3 | note: "The lowercase convenience constructor was removed. The DocumentSourcePart model remains, and the generic constructor now requires the document source discriminator." |
| 4 | "@effect/ai/Response#errorPart": |
| 5 | replacement: "Response.makePart(\"error\", params)" |
| 6 | note: "The lowercase convenience constructor was removed; construct the retained error part through Response.makePart." |
| 7 | "@effect/ai/Response#FilePartEncoded": |
| 8 | replacement: "Response.FilePartEncoded" |
| 9 | note: "Moved to effect/ai/Response; file data remains a base64 string in the encoded representation." |
| 10 | "@effect/ai/Response#finishPart": |
| 11 | replacement: "Response.makePart(\"finish\", params)" |
| 12 | note: "The lowercase convenience constructor was removed. V4 Usage has nested inputTokens and outputTokens objects, and FinishPart adds optional HTTP response details." |
| 13 | "@effect/ai/Response#Part": |
| 14 | replacement: "Response.Part" |
| 15 | note: "Moved to effect/ai/Response. The non-streaming union now also includes ToolApprovalRequestPart." |
| 16 | "@effect/ai/Response#PartTypeId": |
| 17 | replacement: "Response.isPart" |
| 18 | note: "The public PartTypeId was removed and the marker is internal in v4. Use Response.isPart for runtime refinement." |
| 19 | "@effect/ai/Response#reasoningDeltaPart": |
| 20 | replacement: "Response.makePart(\"reasoning-delta\", params)" |
| 21 | note: "The lowercase convenience constructor was removed; construct the retained ReasoningDeltaPart through Response.makePart." |
| 22 | "@effect/ai/Response#reasoningEndPart": |
| 23 | replacement: "Response.makePart(\"reasoning-end\", params)" |
| 24 | note: "The lowercase convenience constructor was removed; construct the retained ReasoningEndPart through Response.makePart." |
| 25 | "@effect/ai/Response#ReasoningPartEncoded": |
| 26 | replacement: "Response.ReasoningPartEncoded" |
| 27 | note: "Moved to effect/ai/Response; the encoded reasoning payload remains text: string." |
| 28 | "@effect/ai/Response#reasoningStartPart": |
| 29 | replacement: "Response.makePart(\"reasoning-start\", params)" |
| 30 | note: "The lowercase convenience constructor was removed; construct the retained ReasoningStartPart through Response.makePart." |
| 31 | "@effect/ai/Response#responseMetadataPart": |
| 32 | replacement: "Response.makePart(\"response-metadata\", params)" |
| 33 | note: "The lowercase convenience constructor was removed. V4 id, modelId, and timestamp are optional raw values rather than Option values, and optional HTTP request details were added." |
| 34 | "@effect/ai/Response#textDeltaPart": |
| 35 | replacement: "Response.makePart(\"text-delta\", params)" |
| 36 | note: "The lowercase convenience constructor was removed; construct the retained TextDeltaPart through Response.makePart." |
| 37 | "@effect/ai/Response#textEndPart": |
| 38 | replacement: "Response.makePart(\"text-end\", params)" |
| 39 | note: "The lowercase convenience constructor was removed; construct the retained TextEndPart through Response.makePart." |
| 40 | "@effect/ai/Response#TextPartEncoded": |
| 41 | replacement: "Response.TextPartEncoded" |
| 42 | note: "Moved to effect/ai/Response; the encoded text payload remains text: string." |
| 43 | "@effect/ai/Response#textStartPart": |
| 44 | replacement: "Response.makePart(\"text-start\", params)" |
| 45 | note: "The lowercase convenience constructor was removed; construct the retained TextStartPart through Response.makePart." |
| 46 | "@effect/ai/Response#toolCallPart": |
| 47 | replacement: "Response.toolCallPart" |
| 48 | note: "Moved to effect/ai/Response. The constructor remains, but providerName was removed from tool-call parts." |
| 49 | "@effect/ai/Response#ToolCallPartEncoded": |
| 50 | replacement: "Response.ToolCallPartEncoded" |
| 51 | note: "Moved to effect/ai/Response; providerName was removed while providerExecuted remains optional when encoded." |
| 52 | "@effect/ai/Response#toolParamsDeltaPart": |
| 53 | replacement: "Response.makePart(\"tool-params-delta\", params)" |
| 54 | note: "The lowercase convenience constructor was removed; construct the retained ToolParamsDeltaPart through Response.makePart." |
| 55 | "@effect/ai/Response#toolParamsEndPart": |
| 56 | replacement: "Response.makePart(\"tool-params-end\", params)" |
| 57 | note: "The lowercase convenience constructor was removed; construct the retained ToolParamsEndPart through Response.makePart." |
| 58 | "@effect/ai/Response#toolParamsStartPart": |
| 59 | replacement: "Response.makePart(\"tool-params-start\", params)" |
| 60 | note: "The lowercase convenience constructor was removed; providerName was also removed from ToolParamsStartPart in v4." |
| 61 | "@effect/ai/Response#toolResultPart": |
| 62 | replacement: "Response.toolResultPart" |
| 63 | note: "Moved to effect/ai/Response; providerName was removed and decoded tool results now require preliminary, normally false." |
| 64 | "@effect/ai/Response#ToolResultPartEncoded": |
| 65 | replacement: "Response.ToolResultPartEncoded" |
| 66 | note: "Moved to effect/ai/Response; providerName was removed and optional preliminary was added to the encoded shape." |
| 67 | "@effect/ai/Response#urlSourcePart": |
| 68 | replacement: "Response.makePart(\"source\", { ...params, sourceType: \"url\" })" |
| 69 | note: "The lowercase convenience constructor was removed. The UrlSourcePart model remains, and the generic constructor now requires the URL source discriminator." |
| 70 | "@effect/ai/Response#ToolResultPart": |
| 71 | replacement: "Response.ToolResultPart" |
| 72 | note: "The schema selects success or failure using isFailure rather than trying both result schemas. It returns Schema.Codec; supply decoding services when decoding and encoding services when encoding." |