| 1 | "@effect/ai/Prompt#FilePart": |
| 2 | replacement: "Prompt.FilePart" |
| 3 | note: "Moved to effect/ai/Prompt with the same file-part model and schema; update the module import." |
| 4 | "@effect/ai/Prompt#FilePartEncoded": |
| 5 | replacement: "Prompt.FilePartEncoded" |
| 6 | note: "Moved to effect/ai/Prompt with the same encoded file-part shape; update the module import." |
| 7 | "@effect/ai/Prompt#FromJson": |
| 8 | replacement: "Schema.fromJsonString(Prompt.Prompt)" |
| 9 | note: "The module-specific JSON schema was removed. Compose the general v4 JSON-string codec with the public Prompt codec." |
| 10 | "@effect/ai/Prompt#isPart": |
| 11 | replacement: "Prompt.isPart" |
| 12 | note: "Moved to effect/ai/Prompt and remains the public runtime guard for prompt parts." |
| 13 | "@effect/ai/Prompt#isPrompt": |
| 14 | replacement: "Prompt.isPrompt" |
| 15 | note: "Moved to effect/ai/Prompt and remains the public runtime guard for Prompt values." |
| 16 | "@effect/ai/Prompt#makePart": |
| 17 | replacement: "Prompt.makePart" |
| 18 | note: "Moved to effect/ai/Prompt. The generic constructor also supports the new tool-approval request and response part variants." |
| 19 | "@effect/ai/Prompt#merge": |
| 20 | replacement: "Prompt.concat" |
| 21 | note: "Renamed in v4. concat preserves the old dual API and concatenates the messages from a Prompt with additional raw input." |
| 22 | "@effect/ai/Prompt#MessageContentFromString": |
| 23 | replacement: "Prompt.ContentFromString" |
| 24 | note: "Renamed in effect/ai/Prompt. It still decodes a string to a non-empty array containing one TextPart and encodes the first part's text." |
| 25 | "@effect/ai/Prompt#MessageTypeId": |
| 26 | replacement: "Prompt.isMessage" |
| 27 | note: "The message type id is private in v4. Use the public isMessage guard for runtime refinement instead of importing or inspecting the marker." |
| 28 | "@effect/ai/Prompt#Part": |
| 29 | replacement: "Prompt.Part" |
| 30 | note: "Moved to effect/ai/Prompt. The union now also includes tool-approval request and response parts." |
| 31 | "@effect/ai/Prompt#PartEncoded": |
| 32 | replacement: "Prompt.PartEncoded" |
| 33 | note: "Moved to effect/ai/Prompt. The encoded union now also includes tool-approval request and response parts." |
| 34 | "@effect/ai/Prompt#PartTypeId": |
| 35 | replacement: "Prompt.isPart" |
| 36 | note: "The part type id is private in v4. Use the public isPart guard for runtime refinement instead of importing or inspecting the marker." |
| 37 | "@effect/ai/Prompt#PromptFromSelf": |
| 38 | replacement: "Prompt.Prompt" |
| 39 | note: "The standalone declared from-self schema was removed. Use the public Prompt codec for prompt validation and encoding, or Prompt.isPrompt when only runtime refinement is needed." |
| 40 | "@effect/ai/Prompt#ReasoningPart": |
| 41 | replacement: "Prompt.ReasoningPart" |
| 42 | note: "Moved to effect/ai/Prompt with the same reasoning-part model and schema; update the module import." |
| 43 | "@effect/ai/Prompt#ReasoningPartEncoded": |
| 44 | replacement: "Prompt.ReasoningPartEncoded" |
| 45 | note: "Moved to effect/ai/Prompt with the same encoded reasoning payload; update the module import." |
| 46 | "@effect/ai/Prompt#TextPart": |
| 47 | replacement: "Prompt.TextPart" |
| 48 | note: "Moved to effect/ai/Prompt with the same text-part model and schema; update the module import." |
| 49 | "@effect/ai/Prompt#TextPartEncoded": |
| 50 | replacement: "Prompt.TextPartEncoded" |
| 51 | note: "Moved to effect/ai/Prompt with the same encoded text payload; update the module import." |
| 52 | "@effect/ai/Prompt#toolCallPart": |
| 53 | replacement: "Prompt.toolCallPart" |
| 54 | note: "Moved to effect/ai/Prompt and remains the typed convenience constructor over makePart(\"tool-call\", params)." |
| 55 | "@effect/ai/Prompt#ToolCallPart": |
| 56 | replacement: "Prompt.ToolCallPart" |
| 57 | note: "Moved to effect/ai/Prompt with the same tool-call model and schema; update the module import." |
| 58 | "@effect/ai/Prompt#ToolCallPartEncoded": |
| 59 | replacement: "Prompt.ToolCallPartEncoded" |
| 60 | note: "Moved to effect/ai/Prompt with the same encoded tool-call shape; update the module import." |
| 61 | "@effect/ai/Prompt#toolResultPart": |
| 62 | replacement: "Prompt.toolResultPart" |
| 63 | note: "Moved to effect/ai/Prompt. V4 removes providerExecuted from prompt tool-result parts; provider-executed response results are handled when converting Response parts." |
| 64 | "@effect/ai/Prompt#ToolResultPartEncoded": |
| 65 | replacement: "Prompt.ToolResultPartEncoded" |
| 66 | note: "Moved to effect/ai/Prompt, but providerExecuted was removed from the encoded prompt tool-result shape." |
| 67 | "@effect/ai/Prompt#TypeId": |
| 68 | replacement: "Prompt.isPrompt" |
| 69 | note: "The Prompt type id is private in v4 and its internal literal changed. Use the public isPrompt guard instead of importing or inspecting the marker." |