chore: regen sdk

thinking-toggle-wip
Aiden Cline 2025-12-23 19:22:38 -06:00
parent e8bce0aaf2
commit fe91899428
3 changed files with 4 additions and 4 deletions

View File

@ -32,7 +32,7 @@ export namespace MessageV2 {
isRetryable: z.boolean(),
responseHeaders: z.record(z.string(), z.string()).optional(),
responseBody: z.string().optional(),
details: z.record(z.string(), z.string()).optional(),
metadata: z.record(z.string(), z.string()).optional(),
}),
)
export type APIError = z.infer<typeof APIError.Schema>
@ -621,7 +621,7 @@ export namespace MessageV2 {
{
message: "Connection reset by server",
isRetryable: true,
details: {
metadata: {
code: (e as SystemError).code ?? "",
syscall: (e as SystemError).syscall ?? "",
message: (e as SystemError).message ?? "",

View File

@ -134,7 +134,7 @@ export type ApiError = {
[key: string]: string
}
responseBody?: string
details?: {
metadata?: {
[key: string]: string
}
}

View File

@ -5347,7 +5347,7 @@
"responseBody": {
"type": "string"
},
"details": {
"metadata": {
"type": "object",
"propertyNames": {
"type": "string"