@mastra/ai-sdk 1.4.3 → 1.4.4-alpha.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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @mastra/ai-sdk
2
2
 
3
+ ## 1.4.4-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Fixed processor middleware so `args.systemMessages` only contains untagged system messages. Tagged processor-owned system messages stay on the message list and are still included in the final model input. ([#16950](https://github.com/mastra-ai/mastra/pull/16950))
8
+
9
+ - Updated dependencies [[`8ace89d`](https://github.com/mastra-ai/mastra/commit/8ace89df77f762e622d3b9f7f65ad7524350d050), [`fa63872`](https://github.com/mastra-ai/mastra/commit/fa6387280954e6b667bec5714b55ba082bc627ff), [`f07b646`](https://github.com/mastra-ai/mastra/commit/f07b64604ab7d25391179790b7fd4823df9e2dff), [`d8838ae`](https://github.com/mastra-ai/mastra/commit/d8838ae80b69780361693d27098f7f6684af12fe), [`40f9297`](https://github.com/mastra-ai/mastra/commit/40f9297003b921c62373d3e8d3a4bda76c9f6de3), [`0f0d1ba`](https://github.com/mastra-ai/mastra/commit/0f0d1ba67bfcb2204e571401662f1eceefc03357), [`8c31bcd`](https://github.com/mastra-ai/mastra/commit/8c31bcdb00e597880d5939b1b7d7566fbe5dacae), [`95b14cd`](https://github.com/mastra-ai/mastra/commit/95b14cdd820e86d97ac05fe568424c513a252e31), [`aa36be2`](https://github.com/mastra-ai/mastra/commit/aa36be23aa513b7dc53cb8ca16b7fab8f20e43ad), [`212c635`](https://github.com/mastra-ai/mastra/commit/212c635203e61d036ab41db8ff86c3893dc795b3), [`d8838ae`](https://github.com/mastra-ai/mastra/commit/d8838ae80b69780361693d27098f7f6684af12fe), [`9aa5a73`](https://github.com/mastra-ai/mastra/commit/9aa5a73e7e110f6e9365eec69364a33d5f03bb56), [`f73c789`](https://github.com/mastra-ai/mastra/commit/f73c789e8ef21561580395d2c410119cab5848c8), [`8bd16da`](https://github.com/mastra-ai/mastra/commit/8bd16da73a4cb874d739373643dbd6a6e7f88684), [`c8630f8`](https://github.com/mastra-ai/mastra/commit/c8630f80d4f40cb5d22e60ab162b618b1907167a), [`47f71dc`](https://github.com/mastra-ai/mastra/commit/47f71dc6fbcbd12d71e21a979e676e20a02bd77d), [`50ceae2`](https://github.com/mastra-ai/mastra/commit/50ceae270878e2f8fb2b2c6c2faab09df0007c8a), [`8cdde58`](https://github.com/mastra-ai/mastra/commit/8cdde5875bbba6702d9df226f2b20232b8d75d6c), [`847ff1e`](https://github.com/mastra-ai/mastra/commit/847ff1e0d94368d94b2e173e4e0908e115568ef3), [`259d409`](https://github.com/mastra-ai/mastra/commit/259d409a514174299dbde1ff5e1121209b3ba850), [`9e16c68`](https://github.com/mastra-ai/mastra/commit/9e16c6818b6485ccb43df28aba6f3a2219d28662), [`cefca33`](https://github.com/mastra-ai/mastra/commit/cefca33ae666e69810c935fedf95a929c173d1d7), [`d00e8c5`](https://github.com/mastra-ai/mastra/commit/d00e8c50daebe5bce5bf2f48bde39c86fc3d2fe4), [`36fa7e2`](https://github.com/mastra-ai/mastra/commit/36fa7e24d14e58a1eb46147097b32f583e5b8775), [`87e9774`](https://github.com/mastra-ai/mastra/commit/87e97741c1e493cd6d62f478eb810b49bda4d57c), [`65a72e7`](https://github.com/mastra-ai/mastra/commit/65a72e70c25eedea8ff985a6624b96be2850236b), [`0f77241`](https://github.com/mastra-ai/mastra/commit/0f7724108806703799a8ba80ad0f09414afd5066), [`92ff509`](https://github.com/mastra-ai/mastra/commit/92ff5098ef8a990438ca038077021a5f7541ec1d), [`3fce5e7`](https://github.com/mastra-ai/mastra/commit/3fce5e70d011d289043e75003ef3336ed4aa43c3), [`a763592`](https://github.com/mastra-ai/mastra/commit/a763592c3db46963ef1011cfe16fe372816e775e), [`80c7737`](https://github.com/mastra-ai/mastra/commit/80c7737e32d7917b5f356957d67c169d01744fd3), [`3f1cf47`](https://github.com/mastra-ai/mastra/commit/3f1cf476f74c1e4cc2df908837e05853a5347e31)]:
10
+ - @mastra/core@1.38.0-alpha.3
11
+
3
12
  ## 1.4.3
4
13
 
5
14
  ### Patch Changes
@@ -1,3 +1,5 @@
1
+ import { JSONSchema7 } from '../../@types_json-schema/index.d.ts';
2
+ import { JSONSchema7Definition } from '../../@types_json-schema/index.d.ts';
1
3
  import { ServerResponse } from 'node:http';
2
4
  import { ServerResponse as ServerResponse_2 } from 'http';
3
5
  import { z } from 'zod/v4';
@@ -3507,164 +3509,7 @@ export declare function jsonSchema<OBJECT = unknown>(jsonSchema: JSONSchema7 | (
3507
3509
  validate?: (value: unknown) => ValidationResult<OBJECT> | PromiseLike<ValidationResult<OBJECT>>;
3508
3510
  }): Schema<OBJECT>;
3509
3511
 
3510
- export declare interface JSONSchema7 {
3511
- $id?: string | undefined;
3512
- $ref?: string | undefined;
3513
- $schema?: JSONSchema7Version | undefined;
3514
- $comment?: string | undefined;
3515
-
3516
- /**
3517
- * @see https://datatracker.ietf.org/doc/html/draft-bhutton-json-schema-00#section-8.2.4
3518
- * @see https://datatracker.ietf.org/doc/html/draft-bhutton-json-schema-validation-00#appendix-A
3519
- */
3520
- $defs?: {
3521
- [key: string]: JSONSchema7Definition;
3522
- } | undefined;
3523
-
3524
- /**
3525
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.1
3526
- */
3527
- type?: JSONSchema7TypeName | JSONSchema7TypeName[] | undefined;
3528
- enum?: JSONSchema7Type[] | undefined;
3529
- const?: JSONSchema7Type | undefined;
3530
-
3531
- /**
3532
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.2
3533
- */
3534
- multipleOf?: number | undefined;
3535
- maximum?: number | undefined;
3536
- exclusiveMaximum?: number | undefined;
3537
- minimum?: number | undefined;
3538
- exclusiveMinimum?: number | undefined;
3539
-
3540
- /**
3541
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.3
3542
- */
3543
- maxLength?: number | undefined;
3544
- minLength?: number | undefined;
3545
- pattern?: string | undefined;
3546
-
3547
- /**
3548
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.4
3549
- */
3550
- items?: JSONSchema7Definition | JSONSchema7Definition[] | undefined;
3551
- additionalItems?: JSONSchema7Definition | undefined;
3552
- maxItems?: number | undefined;
3553
- minItems?: number | undefined;
3554
- uniqueItems?: boolean | undefined;
3555
- contains?: JSONSchema7Definition | undefined;
3556
-
3557
- /**
3558
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.5
3559
- */
3560
- maxProperties?: number | undefined;
3561
- minProperties?: number | undefined;
3562
- required?: string[] | undefined;
3563
- properties?: {
3564
- [key: string]: JSONSchema7Definition;
3565
- } | undefined;
3566
- patternProperties?: {
3567
- [key: string]: JSONSchema7Definition;
3568
- } | undefined;
3569
- additionalProperties?: JSONSchema7Definition | undefined;
3570
- dependencies?: {
3571
- [key: string]: JSONSchema7Definition | string[];
3572
- } | undefined;
3573
- propertyNames?: JSONSchema7Definition | undefined;
3574
-
3575
- /**
3576
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.6
3577
- */
3578
- if?: JSONSchema7Definition | undefined;
3579
- then?: JSONSchema7Definition | undefined;
3580
- else?: JSONSchema7Definition | undefined;
3581
-
3582
- /**
3583
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.7
3584
- */
3585
- allOf?: JSONSchema7Definition[] | undefined;
3586
- anyOf?: JSONSchema7Definition[] | undefined;
3587
- oneOf?: JSONSchema7Definition[] | undefined;
3588
- not?: JSONSchema7Definition | undefined;
3589
-
3590
- /**
3591
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-7
3592
- */
3593
- format?: string | undefined;
3594
-
3595
- /**
3596
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-8
3597
- */
3598
- contentMediaType?: string | undefined;
3599
- contentEncoding?: string | undefined;
3600
-
3601
- /**
3602
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-9
3603
- */
3604
- definitions?: {
3605
- [key: string]: JSONSchema7Definition;
3606
- } | undefined;
3607
-
3608
- /**
3609
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-10
3610
- */
3611
- title?: string | undefined;
3612
- description?: string | undefined;
3613
- default?: JSONSchema7Type | undefined;
3614
- readOnly?: boolean | undefined;
3615
- writeOnly?: boolean | undefined;
3616
- examples?: JSONSchema7Type | undefined;
3617
- }
3618
-
3619
- declare interface JSONSchema7Array extends Array<JSONSchema7Type> {}
3620
-
3621
- /**
3622
- * JSON Schema v7
3623
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01
3624
- */
3625
- declare type JSONSchema7Definition = JSONSchema7 | boolean;
3626
-
3627
- declare interface JSONSchema7Object {
3628
- [key: string]: JSONSchema7Type;
3629
- }
3630
-
3631
- /**
3632
- * Primitive type
3633
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.1.1
3634
- */
3635
- declare type JSONSchema7Type =
3636
- | string //
3637
- | number
3638
- | boolean
3639
- | JSONSchema7Object
3640
- | JSONSchema7Array
3641
- | null;
3642
-
3643
- /**
3644
- * Primitive type
3645
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.1.1
3646
- */
3647
- declare type JSONSchema7TypeName =
3648
- | "string" //
3649
- | "number"
3650
- | "integer"
3651
- | "boolean"
3652
- | "object"
3653
- | "array"
3654
- | "null";
3655
-
3656
- /**
3657
- * Meta schema
3658
- *
3659
- * Recommended values:
3660
- * - 'http://json-schema.org/schema#'
3661
- * - 'http://json-schema.org/hyper-schema#'
3662
- * - 'http://json-schema.org/draft-07/schema#'
3663
- * - 'http://json-schema.org/draft-07/hyper-schema#'
3664
- *
3665
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-5
3666
- */
3667
- declare type JSONSchema7Version = string;
3512
+ export { JSONSchema7 }
3668
3513
 
3669
3514
  export declare class JsonToSseTransformStream extends TransformStream<unknown, string> {
3670
3515
  constructor();
@@ -9039,5 +8884,5 @@ export declare function zodSchema<OBJECT>(zodSchema: z4.core.$ZodType<OBJECT, an
9039
8884
  }): Schema<OBJECT>;
9040
8885
 
9041
8886
  export { }
9042
- export { GatewayProviderSettings as GatewayProviderSettings, GatewayProvider as GatewayProvider, ParseResult as ParseResult, FlexibleValidator as FlexibleValidator, ValidationResult as ValidationResult, LanguageModelV2ToolResultOutput as LanguageModelV2ToolResultOutput, ProviderOptions as ProviderOptions, ReasoningPart as ReasoningPart, ToolOutputProperties as ToolOutputProperties, LanguageModelV2ToolResultPart as LanguageModelV2ToolResultPart, FlexibleSchema as FlexibleSchema, JSONSchema7Version as JSONSchema7Version, JSONSchema7Definition as JSONSchema7Definition, JSONSchema7TypeName as JSONSchema7TypeName, JSONSchema7Type as JSONSchema7Type, ImageModelV2CallWarning as ImageModelV2CallWarning, SpeechModelV2CallWarning as SpeechModelV2CallWarning, TranscriptionModelV2CallWarning as TranscriptionModelV2CallWarning, AttributeValue as AttributeValue, Tracer as Tracer, EmbeddingModelV2Embedding as EmbeddingModelV2Embedding, ImageModelV2ProviderMetadata as ImageModelV2ProviderMetadata, GlobalProviderModelId as GlobalProviderModelId, LanguageModelV2FinishReason as LanguageModelV2FinishReason, LanguageModelV2CallWarning as LanguageModelV2CallWarning, LanguageModelV2Middleware as LanguageModelV2Middleware, SharedV2ProviderMetadata as SharedV2ProviderMetadata, LanguageModelV2Usage as LanguageModelV2Usage, Source as Source, ResponseMessage as ResponseMessage, DeepPartialInternal as DeepPartialInternal, LanguageModelV2ToolCall as LanguageModelV2ToolCall, StreamTextOnAbortCallback as StreamTextOnAbortCallback, ValueOf as ValueOf, asUITool as asUITool, _ai_sdk_provider_utils as _ai_sdk_provider_utils, _ai_sdk_provider as _ai_sdk_provider, DataUIMessageChunk as DataUIMessageChunk, ConsumeStreamOptions as ConsumeStreamOptions, Output_2 as Output_2, InferAgentTools as InferAgentTools, SingleRequestTextStreamPart as SingleRequestTextStreamPart, RetryErrorReason as RetryErrorReason, InferSchema as InferSchema, Job as Job, StreamObjectOnErrorCallback as StreamObjectOnErrorCallback, JSONValue_2 as JSONValue_2, LanguageModelV2CallOptions as LanguageModelV2CallOptions, LanguageModelV2 as LanguageModelV2, EmbeddingModelV2 as EmbeddingModelV2, ImageModelV2 as ImageModelV2, TranscriptionModelV2 as TranscriptionModelV2, SpeechModelV2 as SpeechModelV2, ExtractModelId as ExtractModelId, ExtractLiteralUnion as ExtractLiteralUnion, ProviderV2 as ProviderV2, getOriginalFetch as getOriginalFetch, UIMessageStreamResponseInit as UIMessageStreamResponseInit, InferUIMessageToolCall as InferUIMessageToolCall, Validator as Validator, StandardSchemaV1 as StandardSchemaV1, UIDataTypesToSchemas as UIDataTypesToSchemas, InferUIMessageData as InferUIMessageData, InferUIMessageMetadata as InferUIMessageMetadata, InferUIMessageTools as InferUIMessageTools, Resolvable as Resolvable, FetchFunction as FetchFunction };
8887
+ export { GatewayProviderSettings as GatewayProviderSettings, GatewayProvider as GatewayProvider, ParseResult as ParseResult, FlexibleValidator as FlexibleValidator, ValidationResult as ValidationResult, LanguageModelV2ToolResultOutput as LanguageModelV2ToolResultOutput, ProviderOptions as ProviderOptions, ReasoningPart as ReasoningPart, ToolOutputProperties as ToolOutputProperties, LanguageModelV2ToolResultPart as LanguageModelV2ToolResultPart, FlexibleSchema as FlexibleSchema, ImageModelV2CallWarning as ImageModelV2CallWarning, SpeechModelV2CallWarning as SpeechModelV2CallWarning, TranscriptionModelV2CallWarning as TranscriptionModelV2CallWarning, AttributeValue as AttributeValue, Tracer as Tracer, EmbeddingModelV2Embedding as EmbeddingModelV2Embedding, ImageModelV2ProviderMetadata as ImageModelV2ProviderMetadata, GlobalProviderModelId as GlobalProviderModelId, LanguageModelV2FinishReason as LanguageModelV2FinishReason, LanguageModelV2CallWarning as LanguageModelV2CallWarning, LanguageModelV2Middleware as LanguageModelV2Middleware, SharedV2ProviderMetadata as SharedV2ProviderMetadata, LanguageModelV2Usage as LanguageModelV2Usage, Source as Source, ResponseMessage as ResponseMessage, DeepPartialInternal as DeepPartialInternal, LanguageModelV2ToolCall as LanguageModelV2ToolCall, StreamTextOnAbortCallback as StreamTextOnAbortCallback, ValueOf as ValueOf, asUITool as asUITool, _ai_sdk_provider_utils as _ai_sdk_provider_utils, _ai_sdk_provider as _ai_sdk_provider, DataUIMessageChunk as DataUIMessageChunk, ConsumeStreamOptions as ConsumeStreamOptions, Output_2 as Output_2, InferAgentTools as InferAgentTools, SingleRequestTextStreamPart as SingleRequestTextStreamPart, RetryErrorReason as RetryErrorReason, InferSchema as InferSchema, Job as Job, StreamObjectOnErrorCallback as StreamObjectOnErrorCallback, JSONValue_2 as JSONValue_2, LanguageModelV2CallOptions as LanguageModelV2CallOptions, LanguageModelV2 as LanguageModelV2, EmbeddingModelV2 as EmbeddingModelV2, ImageModelV2 as ImageModelV2, TranscriptionModelV2 as TranscriptionModelV2, SpeechModelV2 as SpeechModelV2, ExtractModelId as ExtractModelId, ExtractLiteralUnion as ExtractLiteralUnion, ProviderV2 as ProviderV2, getOriginalFetch as getOriginalFetch, UIMessageStreamResponseInit as UIMessageStreamResponseInit, InferUIMessageToolCall as InferUIMessageToolCall, Validator as Validator, StandardSchemaV1 as StandardSchemaV1, UIDataTypesToSchemas as UIDataTypesToSchemas, InferUIMessageData as InferUIMessageData, InferUIMessageMetadata as InferUIMessageMetadata, InferUIMessageTools as InferUIMessageTools, Resolvable as Resolvable, FetchFunction as FetchFunction };
9043
8888
  export { schemaSymbol, symbol$1, symbol$1_2, symbol$2, symbol$2_2, symbol$3, symbol$3_2, symbol$4, symbol$4_2, symbol$5, symbol$5_2, symbol$6, symbol$6_2, symbol$7, symbol$7_2, symbol$8, symbol$8_2, symbol$9, symbol$9_2, symbol$a, symbol$a_2, symbol$b, symbol$b_2, symbol$c, symbol$c_2, symbol$d, symbol$d_2, symbol$e, symbol, symbol_2, symbol_3, validatorSymbol };
@@ -1,3 +1,5 @@
1
+ import { JSONSchema7 } from '../../@types_json-schema/index.d.ts';
2
+ import { JSONSchema7Definition } from '../../@types_json-schema/index.d.ts';
1
3
  import { ServerResponse } from 'node:http';
2
4
  import { ServerResponse as ServerResponse_2 } from 'http';
3
5
  import { z } from 'zod/v4';
@@ -4758,164 +4760,7 @@ export declare function jsonSchema<OBJECT = unknown>(jsonSchema: JSONSchema7 | P
4758
4760
  validate?: (value: unknown) => ValidationResult<OBJECT> | PromiseLike<ValidationResult<OBJECT>>;
4759
4761
  }): Schema<OBJECT>;
4760
4762
 
4761
- export declare interface JSONSchema7 {
4762
- $id?: string | undefined;
4763
- $ref?: string | undefined;
4764
- $schema?: JSONSchema7Version | undefined;
4765
- $comment?: string | undefined;
4766
-
4767
- /**
4768
- * @see https://datatracker.ietf.org/doc/html/draft-bhutton-json-schema-00#section-8.2.4
4769
- * @see https://datatracker.ietf.org/doc/html/draft-bhutton-json-schema-validation-00#appendix-A
4770
- */
4771
- $defs?: {
4772
- [key: string]: JSONSchema7Definition;
4773
- } | undefined;
4774
-
4775
- /**
4776
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.1
4777
- */
4778
- type?: JSONSchema7TypeName | JSONSchema7TypeName[] | undefined;
4779
- enum?: JSONSchema7Type[] | undefined;
4780
- const?: JSONSchema7Type | undefined;
4781
-
4782
- /**
4783
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.2
4784
- */
4785
- multipleOf?: number | undefined;
4786
- maximum?: number | undefined;
4787
- exclusiveMaximum?: number | undefined;
4788
- minimum?: number | undefined;
4789
- exclusiveMinimum?: number | undefined;
4790
-
4791
- /**
4792
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.3
4793
- */
4794
- maxLength?: number | undefined;
4795
- minLength?: number | undefined;
4796
- pattern?: string | undefined;
4797
-
4798
- /**
4799
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.4
4800
- */
4801
- items?: JSONSchema7Definition | JSONSchema7Definition[] | undefined;
4802
- additionalItems?: JSONSchema7Definition | undefined;
4803
- maxItems?: number | undefined;
4804
- minItems?: number | undefined;
4805
- uniqueItems?: boolean | undefined;
4806
- contains?: JSONSchema7Definition | undefined;
4807
-
4808
- /**
4809
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.5
4810
- */
4811
- maxProperties?: number | undefined;
4812
- minProperties?: number | undefined;
4813
- required?: string[] | undefined;
4814
- properties?: {
4815
- [key: string]: JSONSchema7Definition;
4816
- } | undefined;
4817
- patternProperties?: {
4818
- [key: string]: JSONSchema7Definition;
4819
- } | undefined;
4820
- additionalProperties?: JSONSchema7Definition | undefined;
4821
- dependencies?: {
4822
- [key: string]: JSONSchema7Definition | string[];
4823
- } | undefined;
4824
- propertyNames?: JSONSchema7Definition | undefined;
4825
-
4826
- /**
4827
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.6
4828
- */
4829
- if?: JSONSchema7Definition | undefined;
4830
- then?: JSONSchema7Definition | undefined;
4831
- else?: JSONSchema7Definition | undefined;
4832
-
4833
- /**
4834
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.7
4835
- */
4836
- allOf?: JSONSchema7Definition[] | undefined;
4837
- anyOf?: JSONSchema7Definition[] | undefined;
4838
- oneOf?: JSONSchema7Definition[] | undefined;
4839
- not?: JSONSchema7Definition | undefined;
4840
-
4841
- /**
4842
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-7
4843
- */
4844
- format?: string | undefined;
4845
-
4846
- /**
4847
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-8
4848
- */
4849
- contentMediaType?: string | undefined;
4850
- contentEncoding?: string | undefined;
4851
-
4852
- /**
4853
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-9
4854
- */
4855
- definitions?: {
4856
- [key: string]: JSONSchema7Definition;
4857
- } | undefined;
4858
-
4859
- /**
4860
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-10
4861
- */
4862
- title?: string | undefined;
4863
- description?: string | undefined;
4864
- default?: JSONSchema7Type | undefined;
4865
- readOnly?: boolean | undefined;
4866
- writeOnly?: boolean | undefined;
4867
- examples?: JSONSchema7Type | undefined;
4868
- }
4869
-
4870
- declare interface JSONSchema7Array extends Array<JSONSchema7Type> {}
4871
-
4872
- /**
4873
- * JSON Schema v7
4874
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01
4875
- */
4876
- declare type JSONSchema7Definition = JSONSchema7 | boolean;
4877
-
4878
- declare interface JSONSchema7Object {
4879
- [key: string]: JSONSchema7Type;
4880
- }
4881
-
4882
- /**
4883
- * Primitive type
4884
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.1.1
4885
- */
4886
- declare type JSONSchema7Type =
4887
- | string //
4888
- | number
4889
- | boolean
4890
- | JSONSchema7Object
4891
- | JSONSchema7Array
4892
- | null;
4893
-
4894
- /**
4895
- * Primitive type
4896
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-6.1.1
4897
- */
4898
- declare type JSONSchema7TypeName =
4899
- | "string" //
4900
- | "number"
4901
- | "integer"
4902
- | "boolean"
4903
- | "object"
4904
- | "array"
4905
- | "null";
4906
-
4907
- /**
4908
- * Meta schema
4909
- *
4910
- * Recommended values:
4911
- * - 'http://json-schema.org/schema#'
4912
- * - 'http://json-schema.org/hyper-schema#'
4913
- * - 'http://json-schema.org/draft-07/schema#'
4914
- * - 'http://json-schema.org/draft-07/hyper-schema#'
4915
- *
4916
- * @see https://tools.ietf.org/html/draft-handrews-json-schema-validation-01#section-5
4917
- */
4918
- declare type JSONSchema7Version = string;
4763
+ export { JSONSchema7 }
4919
4764
 
4920
4765
  /**
4921
4766
  * A TransformStream that converts JSON objects to Server-Sent Events (SSE) format.
@@ -13678,5 +13523,5 @@ export declare function zodSchema<OBJECT>(zodSchema: z4.core.$ZodType<OBJECT, an
13678
13523
  }): Schema<OBJECT>;
13679
13524
 
13680
13525
  export { }
13681
- export { GatewayProviderSettings as GatewayProviderSettings, GatewayProvider as GatewayProvider, LazySchema as LazySchema, ZodSchema as ZodSchema, StandardSchema as StandardSchema, ValidationResult as ValidationResult, ParseResult as ParseResult, ProviderOptions as ProviderOptions, ReasoningPart as ReasoningPart, ToolOutputProperties as ToolOutputProperties, ToolResultOutput as ToolResultOutput, ToolNeedsApprovalFunction as ToolNeedsApprovalFunction, TypeValidationContext as TypeValidationContext, JSONSchema7Version as JSONSchema7Version, JSONSchema7Definition as JSONSchema7Definition, JSONSchema7TypeName as JSONSchema7TypeName, JSONSchema7Type as JSONSchema7Type, EmbeddingModelV2 as EmbeddingModelV2, EmbeddingModelV3Embedding as EmbeddingModelV3Embedding, EmbeddingModelV3Middleware as EmbeddingModelV3Middleware, ImageModelV2 as ImageModelV2, ImageModelV3ProviderMetadata as ImageModelV3ProviderMetadata, ImageModelV2ProviderMetadata as ImageModelV2ProviderMetadata, ImageModelV3Middleware as ImageModelV3Middleware, GlobalProviderModelId as GlobalProviderModelId, LanguageModelV2 as LanguageModelV2, SharedV3Warning as SharedV3Warning, LanguageModelV3Middleware as LanguageModelV3Middleware, SharedV3ProviderMetadata as SharedV3ProviderMetadata, SpeechModelV2 as SpeechModelV2, TranscriptionModelV2 as TranscriptionModelV2, ImageModelV3Usage as ImageModelV3Usage, DeepPartialInternal as DeepPartialInternal, AttributeValue as AttributeValue, Tracer as Tracer, BaseToolCall as BaseToolCall, Source as Source, ResponseMessage as ResponseMessage, LanguageModelV3ToolCall as LanguageModelV3ToolCall, GenerateTextIncludeSettings as GenerateTextIncludeSettings, ValueOf as ValueOf, asUITool as asUITool, _ai_sdk_provider_utils as _ai_sdk_provider_utils, _ai_sdk_provider as _ai_sdk_provider, DataUIMessageChunk as DataUIMessageChunk, InferElementOutput as InferElementOutput, ConsumeStreamOptions as ConsumeStreamOptions, StreamTextIncludeSettings as StreamTextIncludeSettings, StreamTextOnAbortCallback as StreamTextOnAbortCallback, CallbackModelInfo as CallbackModelInfo, LanguageModelV3ToolChoice as LanguageModelV3ToolChoice, Listener as Listener, MaybePromiseLike as MaybePromiseLike, Output_2 as Output_2, InferAgentTools as InferAgentTools, UIMessageStreamResponseInit as UIMessageStreamResponseInit, getOriginalFetch as getOriginalFetch, InferUIMessageTools as InferUIMessageTools, InferUIMessageToolCall as InferUIMessageToolCall, UIDataTypesToSchemas as UIDataTypesToSchemas, InferUIMessageData as InferUIMessageData, InferUIMessageMetadata as InferUIMessageMetadata, Resolvable as Resolvable, FetchFunction as FetchFunction, SingleRequestTextStreamPart as SingleRequestTextStreamPart, RetryErrorReason as RetryErrorReason, GenerateImagePrompt as GenerateImagePrompt, JSONValue_2 as JSONValue_2, Job as Job, StreamObjectOnErrorCallback as StreamObjectOnErrorCallback, VideoModelResponseMetadata as VideoModelResponseMetadata, VideoModelProviderMetadata as VideoModelProviderMetadata, VideoModel as VideoModel, EmbeddingModelV3CallOptions as EmbeddingModelV3CallOptions, LanguageModelV3CallOptions as LanguageModelV3CallOptions, JSONObject as JSONObject, LanguageModelV3 as LanguageModelV3, EmbeddingModelV3 as EmbeddingModelV3, ImageModelV3 as ImageModelV3, TranscriptionModelV3 as TranscriptionModelV3, SpeechModelV3 as SpeechModelV3, RerankingModelV3 as RerankingModelV3, VideoModelV3 as VideoModelV3, ProviderV2 as ProviderV2, ExtractModelId as ExtractModelId, ExtractLiteralUnion as ExtractLiteralUnion, ProviderV3 as ProviderV3 };
13526
+ export { GatewayProviderSettings as GatewayProviderSettings, GatewayProvider as GatewayProvider, LazySchema as LazySchema, ZodSchema as ZodSchema, StandardSchema as StandardSchema, ValidationResult as ValidationResult, ParseResult as ParseResult, ProviderOptions as ProviderOptions, ReasoningPart as ReasoningPart, ToolOutputProperties as ToolOutputProperties, ToolResultOutput as ToolResultOutput, ToolNeedsApprovalFunction as ToolNeedsApprovalFunction, TypeValidationContext as TypeValidationContext, EmbeddingModelV2 as EmbeddingModelV2, EmbeddingModelV3Embedding as EmbeddingModelV3Embedding, EmbeddingModelV3Middleware as EmbeddingModelV3Middleware, ImageModelV2 as ImageModelV2, ImageModelV3ProviderMetadata as ImageModelV3ProviderMetadata, ImageModelV2ProviderMetadata as ImageModelV2ProviderMetadata, ImageModelV3Middleware as ImageModelV3Middleware, GlobalProviderModelId as GlobalProviderModelId, LanguageModelV2 as LanguageModelV2, SharedV3Warning as SharedV3Warning, LanguageModelV3Middleware as LanguageModelV3Middleware, SharedV3ProviderMetadata as SharedV3ProviderMetadata, SpeechModelV2 as SpeechModelV2, TranscriptionModelV2 as TranscriptionModelV2, ImageModelV3Usage as ImageModelV3Usage, DeepPartialInternal as DeepPartialInternal, AttributeValue as AttributeValue, Tracer as Tracer, BaseToolCall as BaseToolCall, Source as Source, ResponseMessage as ResponseMessage, LanguageModelV3ToolCall as LanguageModelV3ToolCall, GenerateTextIncludeSettings as GenerateTextIncludeSettings, ValueOf as ValueOf, asUITool as asUITool, _ai_sdk_provider_utils as _ai_sdk_provider_utils, _ai_sdk_provider as _ai_sdk_provider, DataUIMessageChunk as DataUIMessageChunk, InferElementOutput as InferElementOutput, ConsumeStreamOptions as ConsumeStreamOptions, StreamTextIncludeSettings as StreamTextIncludeSettings, StreamTextOnAbortCallback as StreamTextOnAbortCallback, CallbackModelInfo as CallbackModelInfo, LanguageModelV3ToolChoice as LanguageModelV3ToolChoice, Listener as Listener, MaybePromiseLike as MaybePromiseLike, Output_2 as Output_2, InferAgentTools as InferAgentTools, UIMessageStreamResponseInit as UIMessageStreamResponseInit, getOriginalFetch as getOriginalFetch, InferUIMessageTools as InferUIMessageTools, InferUIMessageToolCall as InferUIMessageToolCall, UIDataTypesToSchemas as UIDataTypesToSchemas, InferUIMessageData as InferUIMessageData, InferUIMessageMetadata as InferUIMessageMetadata, Resolvable as Resolvable, FetchFunction as FetchFunction, SingleRequestTextStreamPart as SingleRequestTextStreamPart, RetryErrorReason as RetryErrorReason, GenerateImagePrompt as GenerateImagePrompt, JSONValue_2 as JSONValue_2, Job as Job, StreamObjectOnErrorCallback as StreamObjectOnErrorCallback, VideoModelResponseMetadata as VideoModelResponseMetadata, VideoModelProviderMetadata as VideoModelProviderMetadata, VideoModel as VideoModel, EmbeddingModelV3CallOptions as EmbeddingModelV3CallOptions, LanguageModelV3CallOptions as LanguageModelV3CallOptions, JSONObject as JSONObject, LanguageModelV3 as LanguageModelV3, EmbeddingModelV3 as EmbeddingModelV3, ImageModelV3 as ImageModelV3, TranscriptionModelV3 as TranscriptionModelV3, SpeechModelV3 as SpeechModelV3, RerankingModelV3 as RerankingModelV3, VideoModelV3 as VideoModelV3, ProviderV2 as ProviderV2, ExtractModelId as ExtractModelId, ExtractLiteralUnion as ExtractLiteralUnion, ProviderV3 as ProviderV3 };
13682
13527
  export { schemaSymbol, symbol$1, symbol$1_2, symbol$2, symbol$2_2, symbol$3, symbol$3_2, symbol$4, symbol$4_2, symbol$5, symbol$5_2, symbol$6, symbol$6_2, symbol$7, symbol$7_2, symbol$8, symbol$8_2, symbol$9, symbol$9_2, symbol$a, symbol$a_2, symbol$b, symbol$b_2, symbol$c, symbol$c_2, symbol$d, symbol$d_2, symbol$e, symbol$f, symbol$g, symbol$h, symbol$i, symbol$j, symbol, symbol_2, symbol_3 };