@oxy.so/contracts 4.17.0 → 4.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/dist/cjs/accountAccess.js +72 -0
  2. package/dist/cjs/agency.js +112 -1
  3. package/dist/cjs/applicationRoles.js +211 -0
  4. package/dist/cjs/client/check.js +9 -0
  5. package/dist/cjs/client/contentClaims.js +139 -0
  6. package/dist/cjs/client/index.js +37 -1
  7. package/dist/cjs/client/safety.js +183 -2
  8. package/dist/cjs/client/signIn.js +2 -0
  9. package/dist/cjs/contentClaims.js +246 -0
  10. package/dist/cjs/index.js +14 -3
  11. package/dist/cjs/safety.js +430 -1
  12. package/dist/cjs/serviceToken.js +14 -0
  13. package/dist/esm/accountAccess.js +69 -0
  14. package/dist/esm/agency.js +111 -0
  15. package/dist/esm/applicationRoles.js +207 -0
  16. package/dist/esm/client/check.js +8 -0
  17. package/dist/esm/client/contentClaims.js +134 -0
  18. package/dist/esm/client/index.js +2 -1
  19. package/dist/esm/client/safety.js +183 -2
  20. package/dist/esm/client/signIn.js +2 -0
  21. package/dist/esm/contentClaims.js +229 -0
  22. package/dist/esm/index.js +5 -1
  23. package/dist/esm/safety.js +423 -0
  24. package/dist/esm/serviceToken.js +11 -0
  25. package/dist/types/accountAccess.d.ts +128 -0
  26. package/dist/types/accountEmail.d.ts +2 -2
  27. package/dist/types/agency.d.ts +327 -2
  28. package/dist/types/agentKeys.d.ts +6 -6
  29. package/dist/types/applicationRoles.d.ts +438 -0
  30. package/dist/types/client/agentKeys.d.ts +2 -2
  31. package/dist/types/client/check.d.ts +3 -0
  32. package/dist/types/client/contentClaims.d.ts +106 -0
  33. package/dist/types/client/deviceSession.d.ts +1 -1
  34. package/dist/types/client/index.d.ts +2 -1
  35. package/dist/types/client/safety.d.ts +204 -4
  36. package/dist/types/client/signIn.d.ts +1 -1
  37. package/dist/types/contentClaims.d.ts +383 -0
  38. package/dist/types/deviceSession.d.ts +4 -4
  39. package/dist/types/email/messages.d.ts +4 -4
  40. package/dist/types/externalIdentity.d.ts +16 -16
  41. package/dist/types/index.d.ts +6 -2
  42. package/dist/types/inference/accountBilling.d.ts +2 -2
  43. package/dist/types/inference/aliaModelRelease.d.ts +8 -8
  44. package/dist/types/inference/catalogue.d.ts +26 -26
  45. package/dist/types/inference/inbox.d.ts +4 -4
  46. package/dist/types/inference/modelDocumentation.d.ts +16 -16
  47. package/dist/types/inference/providerConnection.d.ts +4 -4
  48. package/dist/types/inference/realtime.d.ts +74 -74
  49. package/dist/types/inference/request.d.ts +60 -60
  50. package/dist/types/inference/usage.d.ts +4 -4
  51. package/dist/types/products/access.d.ts +4 -4
  52. package/dist/types/safety.d.ts +2374 -2
  53. package/dist/types/serviceToken.d.ts +11 -0
  54. package/dist/types/sessionStatus.d.ts +4 -4
  55. package/dist/types/signIn.d.ts +5 -5
  56. package/dist/types/updates.d.ts +6 -6
  57. package/dist/types/userResponse.d.ts +8 -8
  58. package/package.json +5 -20
  59. package/dist/cjs/.tsbuildinfo +0 -1
  60. package/dist/esm/.tsbuildinfo +0 -1
  61. package/dist/types/.tsbuildinfo +0 -1
@@ -451,6 +451,7 @@ export declare const inferenceMessageSchema: z.ZodEffects<z.ZodObject<{
451
451
  arguments: string;
452
452
  }>, "many">>;
453
453
  }, "strict", z.ZodTypeAny, {
454
+ role: "system" | "tool" | "user" | "developer" | "assistant";
454
455
  content: ({
455
456
  type: "text";
456
457
  text: string;
@@ -490,7 +491,6 @@ export declare const inferenceMessageSchema: z.ZodEffects<z.ZodObject<{
490
491
  type: "refusal";
491
492
  text: string;
492
493
  })[];
493
- role: "system" | "tool" | "user" | "developer" | "assistant";
494
494
  name?: string | undefined;
495
495
  toolCallId?: string | undefined;
496
496
  toolCalls?: {
@@ -499,6 +499,7 @@ export declare const inferenceMessageSchema: z.ZodEffects<z.ZodObject<{
499
499
  arguments: string;
500
500
  }[] | undefined;
501
501
  }, {
502
+ role: "system" | "tool" | "user" | "developer" | "assistant";
502
503
  content: ({
503
504
  type: "text";
504
505
  text: string;
@@ -538,7 +539,6 @@ export declare const inferenceMessageSchema: z.ZodEffects<z.ZodObject<{
538
539
  type: "refusal";
539
540
  text: string;
540
541
  })[];
541
- role: "system" | "tool" | "user" | "developer" | "assistant";
542
542
  name?: string | undefined;
543
543
  toolCallId?: string | undefined;
544
544
  toolCalls?: {
@@ -547,6 +547,7 @@ export declare const inferenceMessageSchema: z.ZodEffects<z.ZodObject<{
547
547
  arguments: string;
548
548
  }[] | undefined;
549
549
  }>, {
550
+ role: "system" | "tool" | "user" | "developer" | "assistant";
550
551
  content: ({
551
552
  type: "text";
552
553
  text: string;
@@ -586,7 +587,6 @@ export declare const inferenceMessageSchema: z.ZodEffects<z.ZodObject<{
586
587
  type: "refusal";
587
588
  text: string;
588
589
  })[];
589
- role: "system" | "tool" | "user" | "developer" | "assistant";
590
590
  name?: string | undefined;
591
591
  toolCallId?: string | undefined;
592
592
  toolCalls?: {
@@ -595,6 +595,7 @@ export declare const inferenceMessageSchema: z.ZodEffects<z.ZodObject<{
595
595
  arguments: string;
596
596
  }[] | undefined;
597
597
  }, {
598
+ role: "system" | "tool" | "user" | "developer" | "assistant";
598
599
  content: ({
599
600
  type: "text";
600
601
  text: string;
@@ -634,7 +635,6 @@ export declare const inferenceMessageSchema: z.ZodEffects<z.ZodObject<{
634
635
  type: "refusal";
635
636
  text: string;
636
637
  })[];
637
- role: "system" | "tool" | "user" | "developer" | "assistant";
638
638
  name?: string | undefined;
639
639
  toolCallId?: string | undefined;
640
640
  toolCalls?: {
@@ -1029,6 +1029,7 @@ export declare const inferenceInputSchema: z.ZodDiscriminatedUnion<"format", [z.
1029
1029
  arguments: string;
1030
1030
  }>, "many">>;
1031
1031
  }, "strict", z.ZodTypeAny, {
1032
+ role: "system" | "tool" | "user" | "developer" | "assistant";
1032
1033
  content: ({
1033
1034
  type: "text";
1034
1035
  text: string;
@@ -1068,7 +1069,6 @@ export declare const inferenceInputSchema: z.ZodDiscriminatedUnion<"format", [z.
1068
1069
  type: "refusal";
1069
1070
  text: string;
1070
1071
  })[];
1071
- role: "system" | "tool" | "user" | "developer" | "assistant";
1072
1072
  name?: string | undefined;
1073
1073
  toolCallId?: string | undefined;
1074
1074
  toolCalls?: {
@@ -1077,6 +1077,7 @@ export declare const inferenceInputSchema: z.ZodDiscriminatedUnion<"format", [z.
1077
1077
  arguments: string;
1078
1078
  }[] | undefined;
1079
1079
  }, {
1080
+ role: "system" | "tool" | "user" | "developer" | "assistant";
1080
1081
  content: ({
1081
1082
  type: "text";
1082
1083
  text: string;
@@ -1116,7 +1117,6 @@ export declare const inferenceInputSchema: z.ZodDiscriminatedUnion<"format", [z.
1116
1117
  type: "refusal";
1117
1118
  text: string;
1118
1119
  })[];
1119
- role: "system" | "tool" | "user" | "developer" | "assistant";
1120
1120
  name?: string | undefined;
1121
1121
  toolCallId?: string | undefined;
1122
1122
  toolCalls?: {
@@ -1125,6 +1125,7 @@ export declare const inferenceInputSchema: z.ZodDiscriminatedUnion<"format", [z.
1125
1125
  arguments: string;
1126
1126
  }[] | undefined;
1127
1127
  }>, {
1128
+ role: "system" | "tool" | "user" | "developer" | "assistant";
1128
1129
  content: ({
1129
1130
  type: "text";
1130
1131
  text: string;
@@ -1164,7 +1165,6 @@ export declare const inferenceInputSchema: z.ZodDiscriminatedUnion<"format", [z.
1164
1165
  type: "refusal";
1165
1166
  text: string;
1166
1167
  })[];
1167
- role: "system" | "tool" | "user" | "developer" | "assistant";
1168
1168
  name?: string | undefined;
1169
1169
  toolCallId?: string | undefined;
1170
1170
  toolCalls?: {
@@ -1173,6 +1173,7 @@ export declare const inferenceInputSchema: z.ZodDiscriminatedUnion<"format", [z.
1173
1173
  arguments: string;
1174
1174
  }[] | undefined;
1175
1175
  }, {
1176
+ role: "system" | "tool" | "user" | "developer" | "assistant";
1176
1177
  content: ({
1177
1178
  type: "text";
1178
1179
  text: string;
@@ -1212,7 +1213,6 @@ export declare const inferenceInputSchema: z.ZodDiscriminatedUnion<"format", [z.
1212
1213
  type: "refusal";
1213
1214
  text: string;
1214
1215
  })[];
1215
- role: "system" | "tool" | "user" | "developer" | "assistant";
1216
1216
  name?: string | undefined;
1217
1217
  toolCallId?: string | undefined;
1218
1218
  toolCalls?: {
@@ -1224,6 +1224,7 @@ export declare const inferenceInputSchema: z.ZodDiscriminatedUnion<"format", [z.
1224
1224
  }, "strict", z.ZodTypeAny, {
1225
1225
  format: "messages";
1226
1226
  messages: {
1227
+ role: "system" | "tool" | "user" | "developer" | "assistant";
1227
1228
  content: ({
1228
1229
  type: "text";
1229
1230
  text: string;
@@ -1263,7 +1264,6 @@ export declare const inferenceInputSchema: z.ZodDiscriminatedUnion<"format", [z.
1263
1264
  type: "refusal";
1264
1265
  text: string;
1265
1266
  })[];
1266
- role: "system" | "tool" | "user" | "developer" | "assistant";
1267
1267
  name?: string | undefined;
1268
1268
  toolCallId?: string | undefined;
1269
1269
  toolCalls?: {
@@ -1275,6 +1275,7 @@ export declare const inferenceInputSchema: z.ZodDiscriminatedUnion<"format", [z.
1275
1275
  }, {
1276
1276
  format: "messages";
1277
1277
  messages: {
1278
+ role: "system" | "tool" | "user" | "developer" | "assistant";
1278
1279
  content: ({
1279
1280
  type: "text";
1280
1281
  text: string;
@@ -1314,7 +1315,6 @@ export declare const inferenceInputSchema: z.ZodDiscriminatedUnion<"format", [z.
1314
1315
  type: "refusal";
1315
1316
  text: string;
1316
1317
  })[];
1317
- role: "system" | "tool" | "user" | "developer" | "assistant";
1318
1318
  name?: string | undefined;
1319
1319
  toolCallId?: string | undefined;
1320
1320
  toolCalls?: {
@@ -1424,13 +1424,13 @@ export declare const responseFormatSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
1424
1424
  schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1425
1425
  strict: z.ZodBoolean;
1426
1426
  }, "strict", z.ZodTypeAny, {
1427
- strict: boolean;
1428
1427
  type: "json_schema";
1428
+ strict: boolean;
1429
1429
  schema: Record<string, unknown>;
1430
1430
  name: string;
1431
1431
  }, {
1432
- strict: boolean;
1433
1432
  type: "json_schema";
1433
+ strict: boolean;
1434
1434
  schema: Record<string, unknown>;
1435
1435
  name: string;
1436
1436
  }>]>;
@@ -2091,6 +2091,7 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
2091
2091
  arguments: string;
2092
2092
  }>, "many">>;
2093
2093
  }, "strict", z.ZodTypeAny, {
2094
+ role: "system" | "tool" | "user" | "developer" | "assistant";
2094
2095
  content: ({
2095
2096
  type: "text";
2096
2097
  text: string;
@@ -2130,7 +2131,6 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
2130
2131
  type: "refusal";
2131
2132
  text: string;
2132
2133
  })[];
2133
- role: "system" | "tool" | "user" | "developer" | "assistant";
2134
2134
  name?: string | undefined;
2135
2135
  toolCallId?: string | undefined;
2136
2136
  toolCalls?: {
@@ -2139,6 +2139,7 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
2139
2139
  arguments: string;
2140
2140
  }[] | undefined;
2141
2141
  }, {
2142
+ role: "system" | "tool" | "user" | "developer" | "assistant";
2142
2143
  content: ({
2143
2144
  type: "text";
2144
2145
  text: string;
@@ -2178,7 +2179,6 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
2178
2179
  type: "refusal";
2179
2180
  text: string;
2180
2181
  })[];
2181
- role: "system" | "tool" | "user" | "developer" | "assistant";
2182
2182
  name?: string | undefined;
2183
2183
  toolCallId?: string | undefined;
2184
2184
  toolCalls?: {
@@ -2187,6 +2187,7 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
2187
2187
  arguments: string;
2188
2188
  }[] | undefined;
2189
2189
  }>, {
2190
+ role: "system" | "tool" | "user" | "developer" | "assistant";
2190
2191
  content: ({
2191
2192
  type: "text";
2192
2193
  text: string;
@@ -2226,7 +2227,6 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
2226
2227
  type: "refusal";
2227
2228
  text: string;
2228
2229
  })[];
2229
- role: "system" | "tool" | "user" | "developer" | "assistant";
2230
2230
  name?: string | undefined;
2231
2231
  toolCallId?: string | undefined;
2232
2232
  toolCalls?: {
@@ -2235,6 +2235,7 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
2235
2235
  arguments: string;
2236
2236
  }[] | undefined;
2237
2237
  }, {
2238
+ role: "system" | "tool" | "user" | "developer" | "assistant";
2238
2239
  content: ({
2239
2240
  type: "text";
2240
2241
  text: string;
@@ -2274,7 +2275,6 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
2274
2275
  type: "refusal";
2275
2276
  text: string;
2276
2277
  })[];
2277
- role: "system" | "tool" | "user" | "developer" | "assistant";
2278
2278
  name?: string | undefined;
2279
2279
  toolCallId?: string | undefined;
2280
2280
  toolCalls?: {
@@ -2286,6 +2286,7 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
2286
2286
  }, "strict", z.ZodTypeAny, {
2287
2287
  format: "messages";
2288
2288
  messages: {
2289
+ role: "system" | "tool" | "user" | "developer" | "assistant";
2289
2290
  content: ({
2290
2291
  type: "text";
2291
2292
  text: string;
@@ -2325,7 +2326,6 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
2325
2326
  type: "refusal";
2326
2327
  text: string;
2327
2328
  })[];
2328
- role: "system" | "tool" | "user" | "developer" | "assistant";
2329
2329
  name?: string | undefined;
2330
2330
  toolCallId?: string | undefined;
2331
2331
  toolCalls?: {
@@ -2337,6 +2337,7 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
2337
2337
  }, {
2338
2338
  format: "messages";
2339
2339
  messages: {
2340
+ role: "system" | "tool" | "user" | "developer" | "assistant";
2340
2341
  content: ({
2341
2342
  type: "text";
2342
2343
  text: string;
@@ -2376,7 +2377,6 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
2376
2377
  type: "refusal";
2377
2378
  text: string;
2378
2379
  })[];
2379
- role: "system" | "tool" | "user" | "developer" | "assistant";
2380
2380
  name?: string | undefined;
2381
2381
  toolCallId?: string | undefined;
2382
2382
  toolCalls?: {
@@ -2512,13 +2512,13 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
2512
2512
  schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2513
2513
  strict: z.ZodBoolean;
2514
2514
  }, "strict", z.ZodTypeAny, {
2515
- strict: boolean;
2516
2515
  type: "json_schema";
2516
+ strict: boolean;
2517
2517
  schema: Record<string, unknown>;
2518
2518
  name: string;
2519
2519
  }, {
2520
- strict: boolean;
2521
2520
  type: "json_schema";
2521
+ strict: boolean;
2522
2522
  schema: Record<string, unknown>;
2523
2523
  name: string;
2524
2524
  }>]>>;
@@ -2828,6 +2828,7 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
2828
2828
  } | {
2829
2829
  format: "messages";
2830
2830
  messages: {
2831
+ role: "system" | "tool" | "user" | "developer" | "assistant";
2831
2832
  content: ({
2832
2833
  type: "text";
2833
2834
  text: string;
@@ -2867,7 +2868,6 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
2867
2868
  type: "refusal";
2868
2869
  text: string;
2869
2870
  })[];
2870
- role: "system" | "tool" | "user" | "developer" | "assistant";
2871
2871
  name?: string | undefined;
2872
2872
  toolCallId?: string | undefined;
2873
2873
  toolCalls?: {
@@ -2931,8 +2931,8 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
2931
2931
  } | {
2932
2932
  type: "json_object";
2933
2933
  } | {
2934
- strict: boolean;
2935
2934
  type: "json_schema";
2935
+ strict: boolean;
2936
2936
  schema: Record<string, unknown>;
2937
2937
  name: string;
2938
2938
  } | undefined;
@@ -3042,6 +3042,7 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
3042
3042
  } | {
3043
3043
  format: "messages";
3044
3044
  messages: {
3045
+ role: "system" | "tool" | "user" | "developer" | "assistant";
3045
3046
  content: ({
3046
3047
  type: "text";
3047
3048
  text: string;
@@ -3081,7 +3082,6 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
3081
3082
  type: "refusal";
3082
3083
  text: string;
3083
3084
  })[];
3084
- role: "system" | "tool" | "user" | "developer" | "assistant";
3085
3085
  name?: string | undefined;
3086
3086
  toolCallId?: string | undefined;
3087
3087
  toolCalls?: {
@@ -3152,8 +3152,8 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
3152
3152
  } | {
3153
3153
  type: "json_object";
3154
3154
  } | {
3155
- strict: boolean;
3156
3155
  type: "json_schema";
3156
+ strict: boolean;
3157
3157
  schema: Record<string, unknown>;
3158
3158
  name: string;
3159
3159
  } | undefined;
@@ -3270,6 +3270,7 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
3270
3270
  } | {
3271
3271
  format: "messages";
3272
3272
  messages: {
3273
+ role: "system" | "tool" | "user" | "developer" | "assistant";
3273
3274
  content: ({
3274
3275
  type: "text";
3275
3276
  text: string;
@@ -3309,7 +3310,6 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
3309
3310
  type: "refusal";
3310
3311
  text: string;
3311
3312
  })[];
3312
- role: "system" | "tool" | "user" | "developer" | "assistant";
3313
3313
  name?: string | undefined;
3314
3314
  toolCallId?: string | undefined;
3315
3315
  toolCalls?: {
@@ -3373,8 +3373,8 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
3373
3373
  } | {
3374
3374
  type: "json_object";
3375
3375
  } | {
3376
- strict: boolean;
3377
3376
  type: "json_schema";
3377
+ strict: boolean;
3378
3378
  schema: Record<string, unknown>;
3379
3379
  name: string;
3380
3380
  } | undefined;
@@ -3484,6 +3484,7 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
3484
3484
  } | {
3485
3485
  format: "messages";
3486
3486
  messages: {
3487
+ role: "system" | "tool" | "user" | "developer" | "assistant";
3487
3488
  content: ({
3488
3489
  type: "text";
3489
3490
  text: string;
@@ -3523,7 +3524,6 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
3523
3524
  type: "refusal";
3524
3525
  text: string;
3525
3526
  })[];
3526
- role: "system" | "tool" | "user" | "developer" | "assistant";
3527
3527
  name?: string | undefined;
3528
3528
  toolCallId?: string | undefined;
3529
3529
  toolCalls?: {
@@ -3594,8 +3594,8 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
3594
3594
  } | {
3595
3595
  type: "json_object";
3596
3596
  } | {
3597
- strict: boolean;
3598
3597
  type: "json_schema";
3598
+ strict: boolean;
3599
3599
  schema: Record<string, unknown>;
3600
3600
  name: string;
3601
3601
  } | undefined;
@@ -4103,6 +4103,7 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
4103
4103
  arguments: string;
4104
4104
  }>, "many">>;
4105
4105
  }, "strict", z.ZodTypeAny, {
4106
+ role: "system" | "tool" | "user" | "developer" | "assistant";
4106
4107
  content: ({
4107
4108
  type: "text";
4108
4109
  text: string;
@@ -4142,7 +4143,6 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
4142
4143
  type: "refusal";
4143
4144
  text: string;
4144
4145
  })[];
4145
- role: "system" | "tool" | "user" | "developer" | "assistant";
4146
4146
  name?: string | undefined;
4147
4147
  toolCallId?: string | undefined;
4148
4148
  toolCalls?: {
@@ -4151,6 +4151,7 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
4151
4151
  arguments: string;
4152
4152
  }[] | undefined;
4153
4153
  }, {
4154
+ role: "system" | "tool" | "user" | "developer" | "assistant";
4154
4155
  content: ({
4155
4156
  type: "text";
4156
4157
  text: string;
@@ -4190,7 +4191,6 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
4190
4191
  type: "refusal";
4191
4192
  text: string;
4192
4193
  })[];
4193
- role: "system" | "tool" | "user" | "developer" | "assistant";
4194
4194
  name?: string | undefined;
4195
4195
  toolCallId?: string | undefined;
4196
4196
  toolCalls?: {
@@ -4199,6 +4199,7 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
4199
4199
  arguments: string;
4200
4200
  }[] | undefined;
4201
4201
  }>, {
4202
+ role: "system" | "tool" | "user" | "developer" | "assistant";
4202
4203
  content: ({
4203
4204
  type: "text";
4204
4205
  text: string;
@@ -4238,7 +4239,6 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
4238
4239
  type: "refusal";
4239
4240
  text: string;
4240
4241
  })[];
4241
- role: "system" | "tool" | "user" | "developer" | "assistant";
4242
4242
  name?: string | undefined;
4243
4243
  toolCallId?: string | undefined;
4244
4244
  toolCalls?: {
@@ -4247,6 +4247,7 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
4247
4247
  arguments: string;
4248
4248
  }[] | undefined;
4249
4249
  }, {
4250
+ role: "system" | "tool" | "user" | "developer" | "assistant";
4250
4251
  content: ({
4251
4252
  type: "text";
4252
4253
  text: string;
@@ -4286,7 +4287,6 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
4286
4287
  type: "refusal";
4287
4288
  text: string;
4288
4289
  })[];
4289
- role: "system" | "tool" | "user" | "developer" | "assistant";
4290
4290
  name?: string | undefined;
4291
4291
  toolCallId?: string | undefined;
4292
4292
  toolCalls?: {
@@ -4298,6 +4298,7 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
4298
4298
  }, "strict", z.ZodTypeAny, {
4299
4299
  format: "messages";
4300
4300
  messages: {
4301
+ role: "system" | "tool" | "user" | "developer" | "assistant";
4301
4302
  content: ({
4302
4303
  type: "text";
4303
4304
  text: string;
@@ -4337,7 +4338,6 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
4337
4338
  type: "refusal";
4338
4339
  text: string;
4339
4340
  })[];
4340
- role: "system" | "tool" | "user" | "developer" | "assistant";
4341
4341
  name?: string | undefined;
4342
4342
  toolCallId?: string | undefined;
4343
4343
  toolCalls?: {
@@ -4349,6 +4349,7 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
4349
4349
  }, {
4350
4350
  format: "messages";
4351
4351
  messages: {
4352
+ role: "system" | "tool" | "user" | "developer" | "assistant";
4352
4353
  content: ({
4353
4354
  type: "text";
4354
4355
  text: string;
@@ -4388,7 +4389,6 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
4388
4389
  type: "refusal";
4389
4390
  text: string;
4390
4391
  })[];
4391
- role: "system" | "tool" | "user" | "developer" | "assistant";
4392
4392
  name?: string | undefined;
4393
4393
  toolCallId?: string | undefined;
4394
4394
  toolCalls?: {
@@ -4522,13 +4522,13 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
4522
4522
  schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4523
4523
  strict: z.ZodBoolean;
4524
4524
  }, "strict", z.ZodTypeAny, {
4525
- strict: boolean;
4526
4525
  type: "json_schema";
4526
+ strict: boolean;
4527
4527
  schema: Record<string, unknown>;
4528
4528
  name: string;
4529
4529
  }, {
4530
- strict: boolean;
4531
4530
  type: "json_schema";
4531
+ strict: boolean;
4532
4532
  schema: Record<string, unknown>;
4533
4533
  name: string;
4534
4534
  }>]>>;
@@ -4934,6 +4934,7 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
4934
4934
  } | {
4935
4935
  format: "messages";
4936
4936
  messages: {
4937
+ role: "system" | "tool" | "user" | "developer" | "assistant";
4937
4938
  content: ({
4938
4939
  type: "text";
4939
4940
  text: string;
@@ -4973,7 +4974,6 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
4973
4974
  type: "refusal";
4974
4975
  text: string;
4975
4976
  })[];
4976
- role: "system" | "tool" | "user" | "developer" | "assistant";
4977
4977
  name?: string | undefined;
4978
4978
  toolCallId?: string | undefined;
4979
4979
  toolCalls?: {
@@ -5009,8 +5009,8 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
5009
5009
  } | {
5010
5010
  type: "json_object";
5011
5011
  } | {
5012
- strict: boolean;
5013
5012
  type: "json_schema";
5013
+ strict: boolean;
5014
5014
  schema: Record<string, unknown>;
5015
5015
  name: string;
5016
5016
  } | undefined;
@@ -5148,6 +5148,7 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
5148
5148
  } | {
5149
5149
  format: "messages";
5150
5150
  messages: {
5151
+ role: "system" | "tool" | "user" | "developer" | "assistant";
5151
5152
  content: ({
5152
5153
  type: "text";
5153
5154
  text: string;
@@ -5187,7 +5188,6 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
5187
5188
  type: "refusal";
5188
5189
  text: string;
5189
5190
  })[];
5190
- role: "system" | "tool" | "user" | "developer" | "assistant";
5191
5191
  name?: string | undefined;
5192
5192
  toolCallId?: string | undefined;
5193
5193
  toolCalls?: {
@@ -5230,8 +5230,8 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
5230
5230
  } | {
5231
5231
  type: "json_object";
5232
5232
  } | {
5233
- strict: boolean;
5234
5233
  type: "json_schema";
5234
+ strict: boolean;
5235
5235
  schema: Record<string, unknown>;
5236
5236
  name: string;
5237
5237
  } | undefined;
@@ -5376,6 +5376,7 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
5376
5376
  } | {
5377
5377
  format: "messages";
5378
5378
  messages: {
5379
+ role: "system" | "tool" | "user" | "developer" | "assistant";
5379
5380
  content: ({
5380
5381
  type: "text";
5381
5382
  text: string;
@@ -5415,7 +5416,6 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
5415
5416
  type: "refusal";
5416
5417
  text: string;
5417
5418
  })[];
5418
- role: "system" | "tool" | "user" | "developer" | "assistant";
5419
5419
  name?: string | undefined;
5420
5420
  toolCallId?: string | undefined;
5421
5421
  toolCalls?: {
@@ -5451,8 +5451,8 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
5451
5451
  } | {
5452
5452
  type: "json_object";
5453
5453
  } | {
5454
- strict: boolean;
5455
5454
  type: "json_schema";
5455
+ strict: boolean;
5456
5456
  schema: Record<string, unknown>;
5457
5457
  name: string;
5458
5458
  } | undefined;
@@ -5590,6 +5590,7 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
5590
5590
  } | {
5591
5591
  format: "messages";
5592
5592
  messages: {
5593
+ role: "system" | "tool" | "user" | "developer" | "assistant";
5593
5594
  content: ({
5594
5595
  type: "text";
5595
5596
  text: string;
@@ -5629,7 +5630,6 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
5629
5630
  type: "refusal";
5630
5631
  text: string;
5631
5632
  })[];
5632
- role: "system" | "tool" | "user" | "developer" | "assistant";
5633
5633
  name?: string | undefined;
5634
5634
  toolCallId?: string | undefined;
5635
5635
  toolCalls?: {
@@ -5672,8 +5672,8 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
5672
5672
  } | {
5673
5673
  type: "json_object";
5674
5674
  } | {
5675
- strict: boolean;
5676
5675
  type: "json_schema";
5676
+ strict: boolean;
5677
5677
  schema: Record<string, unknown>;
5678
5678
  name: string;
5679
5679
  } | undefined;
@@ -5863,13 +5863,13 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
5863
5863
  schema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
5864
5864
  strict: z.ZodBoolean;
5865
5865
  }, "strict", z.ZodTypeAny, {
5866
- strict: boolean;
5867
5866
  type: "json_schema";
5867
+ strict: boolean;
5868
5868
  schema: Record<string, unknown>;
5869
5869
  name: string;
5870
5870
  }, {
5871
- strict: boolean;
5872
5871
  type: "json_schema";
5872
+ strict: boolean;
5873
5873
  schema: Record<string, unknown>;
5874
5874
  name: string;
5875
5875
  }>]>>;
@@ -6271,6 +6271,7 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
6271
6271
  arguments: string;
6272
6272
  }>, "many">>;
6273
6273
  }, "strict", z.ZodTypeAny, {
6274
+ role: "system" | "tool" | "user" | "developer" | "assistant";
6274
6275
  content: ({
6275
6276
  type: "text";
6276
6277
  text: string;
@@ -6310,7 +6311,6 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
6310
6311
  type: "refusal";
6311
6312
  text: string;
6312
6313
  })[];
6313
- role: "system" | "tool" | "user" | "developer" | "assistant";
6314
6314
  name?: string | undefined;
6315
6315
  toolCallId?: string | undefined;
6316
6316
  toolCalls?: {
@@ -6319,6 +6319,7 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
6319
6319
  arguments: string;
6320
6320
  }[] | undefined;
6321
6321
  }, {
6322
+ role: "system" | "tool" | "user" | "developer" | "assistant";
6322
6323
  content: ({
6323
6324
  type: "text";
6324
6325
  text: string;
@@ -6358,7 +6359,6 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
6358
6359
  type: "refusal";
6359
6360
  text: string;
6360
6361
  })[];
6361
- role: "system" | "tool" | "user" | "developer" | "assistant";
6362
6362
  name?: string | undefined;
6363
6363
  toolCallId?: string | undefined;
6364
6364
  toolCalls?: {
@@ -6367,6 +6367,7 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
6367
6367
  arguments: string;
6368
6368
  }[] | undefined;
6369
6369
  }>, {
6370
+ role: "system" | "tool" | "user" | "developer" | "assistant";
6370
6371
  content: ({
6371
6372
  type: "text";
6372
6373
  text: string;
@@ -6406,7 +6407,6 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
6406
6407
  type: "refusal";
6407
6408
  text: string;
6408
6409
  })[];
6409
- role: "system" | "tool" | "user" | "developer" | "assistant";
6410
6410
  name?: string | undefined;
6411
6411
  toolCallId?: string | undefined;
6412
6412
  toolCalls?: {
@@ -6415,6 +6415,7 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
6415
6415
  arguments: string;
6416
6416
  }[] | undefined;
6417
6417
  }, {
6418
+ role: "system" | "tool" | "user" | "developer" | "assistant";
6418
6419
  content: ({
6419
6420
  type: "text";
6420
6421
  text: string;
@@ -6454,7 +6455,6 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
6454
6455
  type: "refusal";
6455
6456
  text: string;
6456
6457
  })[];
6457
- role: "system" | "tool" | "user" | "developer" | "assistant";
6458
6458
  name?: string | undefined;
6459
6459
  toolCallId?: string | undefined;
6460
6460
  toolCalls?: {
@@ -6466,6 +6466,7 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
6466
6466
  }, "strict", z.ZodTypeAny, {
6467
6467
  format: "messages";
6468
6468
  messages: {
6469
+ role: "system" | "tool" | "user" | "developer" | "assistant";
6469
6470
  content: ({
6470
6471
  type: "text";
6471
6472
  text: string;
@@ -6505,7 +6506,6 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
6505
6506
  type: "refusal";
6506
6507
  text: string;
6507
6508
  })[];
6508
- role: "system" | "tool" | "user" | "developer" | "assistant";
6509
6509
  name?: string | undefined;
6510
6510
  toolCallId?: string | undefined;
6511
6511
  toolCalls?: {
@@ -6517,6 +6517,7 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
6517
6517
  }, {
6518
6518
  format: "messages";
6519
6519
  messages: {
6520
+ role: "system" | "tool" | "user" | "developer" | "assistant";
6520
6521
  content: ({
6521
6522
  type: "text";
6522
6523
  text: string;
@@ -6556,7 +6557,6 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
6556
6557
  type: "refusal";
6557
6558
  text: string;
6558
6559
  })[];
6559
- role: "system" | "tool" | "user" | "developer" | "assistant";
6560
6560
  name?: string | undefined;
6561
6561
  toolCallId?: string | undefined;
6562
6562
  toolCalls?: {
@@ -7100,6 +7100,7 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
7100
7100
  } | {
7101
7101
  format: "messages";
7102
7102
  messages: {
7103
+ role: "system" | "tool" | "user" | "developer" | "assistant";
7103
7104
  content: ({
7104
7105
  type: "text";
7105
7106
  text: string;
@@ -7139,7 +7140,6 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
7139
7140
  type: "refusal";
7140
7141
  text: string;
7141
7142
  })[];
7142
- role: "system" | "tool" | "user" | "developer" | "assistant";
7143
7143
  name?: string | undefined;
7144
7144
  toolCallId?: string | undefined;
7145
7145
  toolCalls?: {
@@ -7215,8 +7215,8 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
7215
7215
  } | {
7216
7216
  type: "json_object";
7217
7217
  } | {
7218
- strict: boolean;
7219
7218
  type: "json_schema";
7219
+ strict: boolean;
7220
7220
  schema: Record<string, unknown>;
7221
7221
  name: string;
7222
7222
  } | undefined;
@@ -7326,6 +7326,7 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
7326
7326
  } | {
7327
7327
  format: "messages";
7328
7328
  messages: {
7329
+ role: "system" | "tool" | "user" | "developer" | "assistant";
7329
7330
  content: ({
7330
7331
  type: "text";
7331
7332
  text: string;
@@ -7365,7 +7366,6 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
7365
7366
  type: "refusal";
7366
7367
  text: string;
7367
7368
  })[];
7368
- role: "system" | "tool" | "user" | "developer" | "assistant";
7369
7369
  name?: string | undefined;
7370
7370
  toolCallId?: string | undefined;
7371
7371
  toolCalls?: {
@@ -7448,8 +7448,8 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
7448
7448
  } | {
7449
7449
  type: "json_object";
7450
7450
  } | {
7451
- strict: boolean;
7452
7451
  type: "json_schema";
7452
+ strict: boolean;
7453
7453
  schema: Record<string, unknown>;
7454
7454
  name: string;
7455
7455
  } | undefined;
@@ -7566,6 +7566,7 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
7566
7566
  } | {
7567
7567
  format: "messages";
7568
7568
  messages: {
7569
+ role: "system" | "tool" | "user" | "developer" | "assistant";
7569
7570
  content: ({
7570
7571
  type: "text";
7571
7572
  text: string;
@@ -7605,7 +7606,6 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
7605
7606
  type: "refusal";
7606
7607
  text: string;
7607
7608
  })[];
7608
- role: "system" | "tool" | "user" | "developer" | "assistant";
7609
7609
  name?: string | undefined;
7610
7610
  toolCallId?: string | undefined;
7611
7611
  toolCalls?: {
@@ -7681,8 +7681,8 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
7681
7681
  } | {
7682
7682
  type: "json_object";
7683
7683
  } | {
7684
- strict: boolean;
7685
7684
  type: "json_schema";
7685
+ strict: boolean;
7686
7686
  schema: Record<string, unknown>;
7687
7687
  name: string;
7688
7688
  } | undefined;
@@ -7792,6 +7792,7 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
7792
7792
  } | {
7793
7793
  format: "messages";
7794
7794
  messages: {
7795
+ role: "system" | "tool" | "user" | "developer" | "assistant";
7795
7796
  content: ({
7796
7797
  type: "text";
7797
7798
  text: string;
@@ -7831,7 +7832,6 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
7831
7832
  type: "refusal";
7832
7833
  text: string;
7833
7834
  })[];
7834
- role: "system" | "tool" | "user" | "developer" | "assistant";
7835
7835
  name?: string | undefined;
7836
7836
  toolCallId?: string | undefined;
7837
7837
  toolCalls?: {
@@ -7914,8 +7914,8 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
7914
7914
  } | {
7915
7915
  type: "json_object";
7916
7916
  } | {
7917
- strict: boolean;
7918
7917
  type: "json_schema";
7918
+ strict: boolean;
7919
7919
  schema: Record<string, unknown>;
7920
7920
  name: string;
7921
7921
  } | undefined;