objectiveai 1.3.0 → 1.3.1
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/index.cjs +12 -2
- package/dist/index.d.ts +11 -5
- package/dist/index.js +12 -2
- package/dist/wasm/loader.cjs +1 -1
- package/dist/wasm/loader.js +1 -1
- package/package.json +1 -2
package/dist/index.d.ts
CHANGED
|
@@ -18100,6 +18100,10 @@ declare const FileInputSchemaSchema: z.ZodObject<{
|
|
|
18100
18100
|
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
18101
18101
|
}, z.core.$strip>;
|
|
18102
18102
|
type FileInputSchema = z.infer<typeof FileInputSchemaSchema>;
|
|
18103
|
+
interface AnyOfInputSchema {
|
|
18104
|
+
anyOf: InputSchema[];
|
|
18105
|
+
}
|
|
18106
|
+
declare const AnyOfInputSchemaSchema: z.ZodType<AnyOfInputSchema>;
|
|
18103
18107
|
declare const InputSchemaSchema: z.ZodUnion<readonly [z.ZodType<Object, unknown, z.core.$ZodTypeInternals<Object, unknown>>, z.ZodType<ArrayInputSchema, unknown, z.core.$ZodTypeInternals<ArrayInputSchema, unknown>>, z.ZodObject<{
|
|
18104
18108
|
type: z.ZodLiteral<"string">;
|
|
18105
18109
|
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -18129,7 +18133,7 @@ declare const InputSchemaSchema: z.ZodUnion<readonly [z.ZodType<Object, unknown,
|
|
|
18129
18133
|
}, z.core.$strip>, z.ZodObject<{
|
|
18130
18134
|
type: z.ZodLiteral<"file">;
|
|
18131
18135
|
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
18132
|
-
}, z.core.$strip
|
|
18136
|
+
}, z.core.$strip>, z.ZodType<AnyOfInputSchema, unknown, z.core.$ZodTypeInternals<AnyOfInputSchema, unknown>>]>;
|
|
18133
18137
|
type InputSchema = z.infer<typeof InputSchemaSchema>;
|
|
18134
18138
|
type InputValue = ImageRichContentPart | AudioRichContentPart | VideoRichContentPart | FileRichContentPart | {
|
|
18135
18139
|
[key: string]: InputValue;
|
|
@@ -42648,7 +42652,7 @@ declare const RemoteScalarFunctionSchema: z.ZodObject<{
|
|
|
42648
42652
|
}, z.core.$strip>, z.ZodObject<{
|
|
42649
42653
|
type: z.ZodLiteral<"file">;
|
|
42650
42654
|
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
42651
|
-
}, z.core.$strip
|
|
42655
|
+
}, z.core.$strip>, z.ZodType<AnyOfInputSchema, unknown, z.core.$ZodTypeInternals<AnyOfInputSchema, unknown>>]>;
|
|
42652
42656
|
}, z.core.$strip>;
|
|
42653
42657
|
type RemoteScalarFunction = z.infer<typeof RemoteScalarFunctionSchema>;
|
|
42654
42658
|
declare const RemoteVectorFunctionSchema: z.ZodObject<{
|
|
@@ -43289,7 +43293,7 @@ declare const RemoteFunctionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
43289
43293
|
}, z.core.$strip>, z.ZodObject<{
|
|
43290
43294
|
type: z.ZodLiteral<"file">;
|
|
43291
43295
|
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
43292
|
-
}, z.core.$strip
|
|
43296
|
+
}, z.core.$strip>, z.ZodType<AnyOfInputSchema, unknown, z.core.$ZodTypeInternals<AnyOfInputSchema, unknown>>]>;
|
|
43293
43297
|
}, z.core.$strip>, z.ZodObject<{
|
|
43294
43298
|
type: z.ZodLiteral<"vector.function">;
|
|
43295
43299
|
input_maps: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -44528,7 +44532,7 @@ declare const FunctionSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.Zo
|
|
|
44528
44532
|
}, z.core.$strip>, z.ZodObject<{
|
|
44529
44533
|
type: z.ZodLiteral<"file">;
|
|
44530
44534
|
description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
44531
|
-
}, z.core.$strip
|
|
44535
|
+
}, z.core.$strip>, z.ZodType<AnyOfInputSchema, unknown, z.core.$ZodTypeInternals<AnyOfInputSchema, unknown>>]>;
|
|
44532
44536
|
}, z.core.$strip>, z.ZodObject<{
|
|
44533
44537
|
type: z.ZodLiteral<"vector.function">;
|
|
44534
44538
|
input_maps: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -47030,6 +47034,8 @@ declare const TaskOutputsSchema: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
|
47030
47034
|
}, z.core.$strip>, z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodType<JsonValue, unknown, z.core.$ZodTypeInternals<JsonValue, unknown>>]>, z.ZodNull]>>;
|
|
47031
47035
|
type TaskOutputs = z.infer<typeof TaskOutputsSchema>;
|
|
47032
47036
|
|
|
47037
|
+
type index$b_AnyOfInputSchema = AnyOfInputSchema;
|
|
47038
|
+
declare const index$b_AnyOfInputSchemaSchema: typeof AnyOfInputSchemaSchema;
|
|
47033
47039
|
type index$b_ArrayInputSchema = ArrayInputSchema;
|
|
47034
47040
|
declare const index$b_ArrayInputSchemaSchema: typeof ArrayInputSchemaSchema;
|
|
47035
47041
|
type index$b_AudioInputSchema = AudioInputSchema;
|
|
@@ -47072,7 +47078,7 @@ type index$b_VideoInputSchema = VideoInputSchema;
|
|
|
47072
47078
|
declare const index$b_VideoInputSchemaSchema: typeof VideoInputSchemaSchema;
|
|
47073
47079
|
declare const index$b_compileVectorCompletionOutput: typeof compileVectorCompletionOutput;
|
|
47074
47080
|
declare namespace index$b {
|
|
47075
|
-
export { type index$b_ArrayInputSchema as ArrayInputSchema, index$b_ArrayInputSchemaSchema as ArrayInputSchemaSchema, type index$b_AudioInputSchema as AudioInputSchema, index$b_AudioInputSchemaSchema as AudioInputSchemaSchema, type index$b_BooleanInputSchema as BooleanInputSchema, index$b_BooleanInputSchemaSchema as BooleanInputSchemaSchema, type index$b_CompiledFunctionOutput as CompiledFunctionOutput, index$b_CompiledFunctionOutputSchema as CompiledFunctionOutputSchema, type index$b_Expression as Expression, index$b_ExpressionSchema as ExpressionSchema, type index$b_FileInputSchema as FileInputSchema, index$b_FileInputSchemaSchema as FileInputSchemaSchema, type index$b_FunctionOutput as FunctionOutput, index$b_FunctionOutputSchema as FunctionOutputSchema, type index$b_ImageInputSchema as ImageInputSchema, index$b_ImageInputSchemaSchema as ImageInputSchemaSchema, type index$b_InputMapsExpression as InputMapsExpression, index$b_InputMapsExpressionSchema as InputMapsExpressionSchema, type index$b_InputSchema as InputSchema, index$b_InputSchemaSchema as InputSchemaSchema, type index$b_InputValue as InputValue, type index$b_InputValueExpression as InputValueExpression, index$b_InputValueExpressionSchema as InputValueExpressionSchema, index$b_InputValueSchema as InputValueSchema, type index$b_IntegerInputSchema as IntegerInputSchema, index$b_IntegerInputSchemaSchema as IntegerInputSchemaSchema, type index$b_NumberInputSchema as NumberInputSchema, index$b_NumberInputSchemaSchema as NumberInputSchemaSchema, type index$b_ObjectInputSchema as ObjectInputSchema, index$b_ObjectInputSchemaSchema as ObjectInputSchemaSchema, type index$b_StringInputSchema as StringInputSchema, index$b_StringInputSchemaSchema as StringInputSchemaSchema, type index$b_TaskOutput as TaskOutput, index$b_TaskOutputSchema as TaskOutputSchema, type index$b_TaskOutputs as TaskOutputs, index$b_TaskOutputsSchema as TaskOutputsSchema, type index$b_VectorCompletionOutput as VectorCompletionOutput, index$b_VectorCompletionOutputSchema as VectorCompletionOutputSchema, type index$b_VideoInputSchema as VideoInputSchema, index$b_VideoInputSchemaSchema as VideoInputSchemaSchema, index$b_compileVectorCompletionOutput as compileVectorCompletionOutput };
|
|
47081
|
+
export { type index$b_AnyOfInputSchema as AnyOfInputSchema, index$b_AnyOfInputSchemaSchema as AnyOfInputSchemaSchema, type index$b_ArrayInputSchema as ArrayInputSchema, index$b_ArrayInputSchemaSchema as ArrayInputSchemaSchema, type index$b_AudioInputSchema as AudioInputSchema, index$b_AudioInputSchemaSchema as AudioInputSchemaSchema, type index$b_BooleanInputSchema as BooleanInputSchema, index$b_BooleanInputSchemaSchema as BooleanInputSchemaSchema, type index$b_CompiledFunctionOutput as CompiledFunctionOutput, index$b_CompiledFunctionOutputSchema as CompiledFunctionOutputSchema, type index$b_Expression as Expression, index$b_ExpressionSchema as ExpressionSchema, type index$b_FileInputSchema as FileInputSchema, index$b_FileInputSchemaSchema as FileInputSchemaSchema, type index$b_FunctionOutput as FunctionOutput, index$b_FunctionOutputSchema as FunctionOutputSchema, type index$b_ImageInputSchema as ImageInputSchema, index$b_ImageInputSchemaSchema as ImageInputSchemaSchema, type index$b_InputMapsExpression as InputMapsExpression, index$b_InputMapsExpressionSchema as InputMapsExpressionSchema, type index$b_InputSchema as InputSchema, index$b_InputSchemaSchema as InputSchemaSchema, type index$b_InputValue as InputValue, type index$b_InputValueExpression as InputValueExpression, index$b_InputValueExpressionSchema as InputValueExpressionSchema, index$b_InputValueSchema as InputValueSchema, type index$b_IntegerInputSchema as IntegerInputSchema, index$b_IntegerInputSchemaSchema as IntegerInputSchemaSchema, type index$b_NumberInputSchema as NumberInputSchema, index$b_NumberInputSchemaSchema as NumberInputSchemaSchema, type index$b_ObjectInputSchema as ObjectInputSchema, index$b_ObjectInputSchemaSchema as ObjectInputSchemaSchema, type index$b_StringInputSchema as StringInputSchema, index$b_StringInputSchemaSchema as StringInputSchemaSchema, type index$b_TaskOutput as TaskOutput, index$b_TaskOutputSchema as TaskOutputSchema, type index$b_TaskOutputs as TaskOutputs, index$b_TaskOutputsSchema as TaskOutputsSchema, type index$b_VectorCompletionOutput as VectorCompletionOutput, index$b_VectorCompletionOutputSchema as VectorCompletionOutputSchema, type index$b_VideoInputSchema as VideoInputSchema, index$b_VideoInputSchemaSchema as VideoInputSchemaSchema, index$b_compileVectorCompletionOutput as compileVectorCompletionOutput };
|
|
47076
47082
|
}
|
|
47077
47083
|
|
|
47078
47084
|
declare const ListItemSchema$1: z.ZodObject<{
|