@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
yaml 24 lines 2.61 KB
Raw
1 "@effect/ai/AiError#AiError":
2 replacement: "AiError.AiError"
3 note: "Moved to effect/ai/AiError and redesigned from a union of separately tagged errors into one AiError wrapper with a semantic reason. Construct it with AiError.make({ module, method, reason }) and match error.reason rather than the old top-level tags."
4 "@effect/ai/AiError#HttpRequestError":
5 replacement: "AiError.make + AiError.NetworkError"
6 note: "Replace the old top-level request error with an AiError whose reason is NetworkError. NetworkError.fromRequestError converts a v4 HttpClientError.RequestError."
7 "@effect/ai/AiError#HttpResponseError":
8 replacement: "AiError.make + AiError.reasonFromHttpStatus / AiError.InvalidResponseError / AiError.InvalidOutputError"
9 note: "There is no single v4 response-error class. Wrap a semantic reason with AiError.make: use reasonFromHttpStatus for status failures. Provider response-schema and SSE decoding failures use non-retryable InvalidResponseError. Lower-level HTTP client DecodeError and EmptyBodyError still map to retryable InvalidOutputError in provider adapters."
10 "@effect/ai/AiError#MalformedInput":
11 replacement: "AiError.make + AiError.InvalidUserInputError"
12 note: "Replace the old top-level input error with an AiError whose reason is InvalidUserInputError. Use InvalidRequestError when the provider request parameters themselves are malformed."
13 "@effect/ai/AiError#MalformedOutput":
14 replacement: "AiError.make + AiError.InvalidOutputError / AiError.InvalidResponseError"
15 note: "Replace the old top-level output error with an AiError wrapper. Use retryable InvalidOutputError for invalid model-generated output and non-retryable InvalidResponseError for incompatible provider response formats, including response-schema and SSE decoding failures. Replace fromParseError with InvalidOutputError.fromSchemaError or InvalidResponseError.fromSchemaError according to what was being decoded; pass module and method to AiError.make."
16 "@effect/ai/AiError#TypeId":
17 replacement: "AiError.isAiError"
18 note: "The AiError brand is private in v4. Use isAiError for runtime narrowing, or isAiErrorReason for a reason, instead of inspecting or constructing the type id."
19 "@effect/ai/AiError#UnknownError":
20 replacement: "AiError.make + AiError.UnknownError"
21 note: "UnknownError is now a semantic reason rather than a top-level error. Put module and method on AiError.make and inspect reason._tag when handling the outer AiError."
22 "@effect/ai/AiError#HttpRequestDetails":
23 replacement: none
24 note: "Removed. NetworkError carries only the request method and url, and HttpContext and response metadata parts no longer record the request."