@oxy.so/contracts 4.6.0 → 4.7.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.
- package/dist/cjs/.tsbuildinfo +1 -1
- package/dist/cjs/agency.js +49 -0
- package/dist/cjs/capabilityInvocation.js +173 -0
- package/dist/cjs/index.js +20 -1
- package/dist/cjs/inference/catalogue.js +6 -2
- package/dist/cjs/inference/decisions.js +245 -0
- package/dist/cjs/inference/request.js +13 -0
- package/dist/cjs/inference/version.js +1 -1
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/agency.js +49 -0
- package/dist/esm/capabilityInvocation.js +165 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/inference/catalogue.js +6 -2
- package/dist/esm/inference/decisions.js +239 -0
- package/dist/esm/inference/request.js +13 -0
- package/dist/esm/inference/version.js +1 -1
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/agency.d.ts +6 -6
- package/dist/types/capabilityInvocation.d.ts +80 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/inference/catalogue.d.ts +27 -24
- package/dist/types/inference/decisions.d.ts +1833 -0
- package/dist/types/inference/modelDocumentation.d.ts +16 -16
- package/dist/types/inference/realtime.d.ts +72 -72
- package/dist/types/inference/request.d.ts +520 -26
- package/dist/types/inference/streamEvents.d.ts +8 -8
- package/dist/types/inference/usage.d.ts +4 -4
- package/dist/types/inference/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -339,7 +339,7 @@ export declare const modelLineDeclarationSchema: z.ZodObject<{
|
|
|
339
339
|
promptCaching: z.ZodBoolean;
|
|
340
340
|
maxContextTokens: z.ZodNumber;
|
|
341
341
|
maxOutputTokens: z.ZodNumber;
|
|
342
|
-
apiFormats: z.ZodOptional<z.ZodArray<z.ZodEnum<["responses", "chat_completions", "embeddings", "images_generations", "audio_transcriptions", "audio_speech", "rerank", "batches"]>, "many">>;
|
|
342
|
+
apiFormats: z.ZodOptional<z.ZodArray<z.ZodEnum<["responses", "chat_completions", "embeddings", "decisions", "images_generations", "audio_transcriptions", "audio_speech", "rerank", "batches"]>, "many">>;
|
|
343
343
|
realtime: z.ZodOptional<z.ZodObject<{
|
|
344
344
|
transports: z.ZodArray<z.ZodEnum<["websocket"]>, "many">;
|
|
345
345
|
sessionKinds: z.ZodArray<z.ZodEnum<["conversation", "transcription", "translation"]>, "many">;
|
|
@@ -363,7 +363,7 @@ export declare const modelLineDeclarationSchema: z.ZodObject<{
|
|
|
363
363
|
promptCaching: boolean;
|
|
364
364
|
maxContextTokens: number;
|
|
365
365
|
maxOutputTokens: number;
|
|
366
|
-
apiFormats?: ("embeddings" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
366
|
+
apiFormats?: ("embeddings" | "responses" | "chat_completions" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
367
367
|
realtime?: {
|
|
368
368
|
transports: "websocket"[];
|
|
369
369
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
@@ -381,7 +381,7 @@ export declare const modelLineDeclarationSchema: z.ZodObject<{
|
|
|
381
381
|
maxContextTokens: number;
|
|
382
382
|
maxOutputTokens: number;
|
|
383
383
|
reasoningEfforts?: ("low" | "medium" | "high")[] | undefined;
|
|
384
|
-
apiFormats?: ("embeddings" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
384
|
+
apiFormats?: ("embeddings" | "responses" | "chat_completions" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
385
385
|
realtime?: {
|
|
386
386
|
transports: "websocket"[];
|
|
387
387
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
@@ -399,7 +399,7 @@ export declare const modelLineDeclarationSchema: z.ZodObject<{
|
|
|
399
399
|
promptCaching: boolean;
|
|
400
400
|
maxContextTokens: number;
|
|
401
401
|
maxOutputTokens: number;
|
|
402
|
-
apiFormats?: ("embeddings" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
402
|
+
apiFormats?: ("embeddings" | "responses" | "chat_completions" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
403
403
|
realtime?: {
|
|
404
404
|
transports: "websocket"[];
|
|
405
405
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
@@ -417,7 +417,7 @@ export declare const modelLineDeclarationSchema: z.ZodObject<{
|
|
|
417
417
|
maxContextTokens: number;
|
|
418
418
|
maxOutputTokens: number;
|
|
419
419
|
reasoningEfforts?: ("low" | "medium" | "high")[] | undefined;
|
|
420
|
-
apiFormats?: ("embeddings" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
420
|
+
apiFormats?: ("embeddings" | "responses" | "chat_completions" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
421
421
|
realtime?: {
|
|
422
422
|
transports: "websocket"[];
|
|
423
423
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
@@ -440,7 +440,7 @@ export declare const modelLineDeclarationSchema: z.ZodObject<{
|
|
|
440
440
|
promptCaching: boolean;
|
|
441
441
|
maxContextTokens: number;
|
|
442
442
|
maxOutputTokens: number;
|
|
443
|
-
apiFormats?: ("embeddings" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
443
|
+
apiFormats?: ("embeddings" | "responses" | "chat_completions" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
444
444
|
realtime?: {
|
|
445
445
|
transports: "websocket"[];
|
|
446
446
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
@@ -464,7 +464,7 @@ export declare const modelLineDeclarationSchema: z.ZodObject<{
|
|
|
464
464
|
maxContextTokens: number;
|
|
465
465
|
maxOutputTokens: number;
|
|
466
466
|
reasoningEfforts?: ("low" | "medium" | "high")[] | undefined;
|
|
467
|
-
apiFormats?: ("embeddings" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
467
|
+
apiFormats?: ("embeddings" | "responses" | "chat_completions" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
468
468
|
realtime?: {
|
|
469
469
|
transports: "websocket"[];
|
|
470
470
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
@@ -1034,7 +1034,7 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
|
|
|
1034
1034
|
promptCaching: z.ZodBoolean;
|
|
1035
1035
|
maxContextTokens: z.ZodNumber;
|
|
1036
1036
|
maxOutputTokens: z.ZodNumber;
|
|
1037
|
-
apiFormats: z.ZodOptional<z.ZodArray<z.ZodEnum<["responses", "chat_completions", "embeddings", "images_generations", "audio_transcriptions", "audio_speech", "rerank", "batches"]>, "many">>;
|
|
1037
|
+
apiFormats: z.ZodOptional<z.ZodArray<z.ZodEnum<["responses", "chat_completions", "embeddings", "decisions", "images_generations", "audio_transcriptions", "audio_speech", "rerank", "batches"]>, "many">>;
|
|
1038
1038
|
realtime: z.ZodOptional<z.ZodObject<{
|
|
1039
1039
|
transports: z.ZodArray<z.ZodEnum<["websocket"]>, "many">;
|
|
1040
1040
|
sessionKinds: z.ZodArray<z.ZodEnum<["conversation", "transcription", "translation"]>, "many">;
|
|
@@ -1058,7 +1058,7 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
|
|
|
1058
1058
|
promptCaching: boolean;
|
|
1059
1059
|
maxContextTokens: number;
|
|
1060
1060
|
maxOutputTokens: number;
|
|
1061
|
-
apiFormats?: ("embeddings" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
1061
|
+
apiFormats?: ("embeddings" | "responses" | "chat_completions" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
1062
1062
|
realtime?: {
|
|
1063
1063
|
transports: "websocket"[];
|
|
1064
1064
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
@@ -1076,7 +1076,7 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
|
|
|
1076
1076
|
maxContextTokens: number;
|
|
1077
1077
|
maxOutputTokens: number;
|
|
1078
1078
|
reasoningEfforts?: ("low" | "medium" | "high")[] | undefined;
|
|
1079
|
-
apiFormats?: ("embeddings" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
1079
|
+
apiFormats?: ("embeddings" | "responses" | "chat_completions" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
1080
1080
|
realtime?: {
|
|
1081
1081
|
transports: "websocket"[];
|
|
1082
1082
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
@@ -1094,7 +1094,7 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
|
|
|
1094
1094
|
promptCaching: boolean;
|
|
1095
1095
|
maxContextTokens: number;
|
|
1096
1096
|
maxOutputTokens: number;
|
|
1097
|
-
apiFormats?: ("embeddings" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
1097
|
+
apiFormats?: ("embeddings" | "responses" | "chat_completions" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
1098
1098
|
realtime?: {
|
|
1099
1099
|
transports: "websocket"[];
|
|
1100
1100
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
@@ -1112,7 +1112,7 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
|
|
|
1112
1112
|
maxContextTokens: number;
|
|
1113
1113
|
maxOutputTokens: number;
|
|
1114
1114
|
reasoningEfforts?: ("low" | "medium" | "high")[] | undefined;
|
|
1115
|
-
apiFormats?: ("embeddings" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
1115
|
+
apiFormats?: ("embeddings" | "responses" | "chat_completions" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
1116
1116
|
realtime?: {
|
|
1117
1117
|
transports: "websocket"[];
|
|
1118
1118
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
@@ -1135,7 +1135,7 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
|
|
|
1135
1135
|
promptCaching: boolean;
|
|
1136
1136
|
maxContextTokens: number;
|
|
1137
1137
|
maxOutputTokens: number;
|
|
1138
|
-
apiFormats?: ("embeddings" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
1138
|
+
apiFormats?: ("embeddings" | "responses" | "chat_completions" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
1139
1139
|
realtime?: {
|
|
1140
1140
|
transports: "websocket"[];
|
|
1141
1141
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
@@ -1159,7 +1159,7 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
|
|
|
1159
1159
|
maxContextTokens: number;
|
|
1160
1160
|
maxOutputTokens: number;
|
|
1161
1161
|
reasoningEfforts?: ("low" | "medium" | "high")[] | undefined;
|
|
1162
|
-
apiFormats?: ("embeddings" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
1162
|
+
apiFormats?: ("embeddings" | "responses" | "chat_completions" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
1163
1163
|
realtime?: {
|
|
1164
1164
|
transports: "websocket"[];
|
|
1165
1165
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
@@ -1186,7 +1186,7 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
|
|
|
1186
1186
|
promptCaching: boolean;
|
|
1187
1187
|
maxContextTokens: number;
|
|
1188
1188
|
maxOutputTokens: number;
|
|
1189
|
-
apiFormats?: ("embeddings" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
1189
|
+
apiFormats?: ("embeddings" | "responses" | "chat_completions" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
1190
1190
|
realtime?: {
|
|
1191
1191
|
transports: "websocket"[];
|
|
1192
1192
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|
|
@@ -1282,7 +1282,7 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
|
|
|
1282
1282
|
maxContextTokens: number;
|
|
1283
1283
|
maxOutputTokens: number;
|
|
1284
1284
|
reasoningEfforts?: ("low" | "medium" | "high")[] | undefined;
|
|
1285
|
-
apiFormats?: ("embeddings" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
1285
|
+
apiFormats?: ("embeddings" | "responses" | "chat_completions" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches")[] | undefined;
|
|
1286
1286
|
realtime?: {
|
|
1287
1287
|
transports: "websocket"[];
|
|
1288
1288
|
sessionKinds: ("conversation" | "transcription" | "translation")[];
|