@mastra/schema-compat 1.4.1-alpha.0 → 1.4.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.
@@ -1,4 +1,4 @@
1
- export { jsonSchema } from './_types/@internal_ai-sdk-v4@0.0.98/dist/index.js';
2
- export type { Schema } from './_types/@internal_ai-sdk-v4@0.0.98/dist/index.js';
1
+ export { jsonSchema } from './_types/@internal_ai-sdk-v4@0.0.99/dist/index.js';
2
+ export type { Schema } from './_types/@internal_ai-sdk-v4@0.0.99/dist/index.js';
3
3
  export type { JSONSchema7 } from './_types/@types_json-schema@7.0.15/index.js';
4
4
  //# sourceMappingURL=json-schema.d.ts.map
@@ -13,7 +13,7 @@ export declare class AnthropicSchemaCompatLayer extends SchemaCompatLayer {
13
13
  processToJSONSchema(schema: PublicSchema<any>, io?: 'input' | 'output'): JSONSchema7;
14
14
  shouldApply(): boolean;
15
15
  processZodType(value: ZodType): ZodType;
16
- processToAISDKSchema(zodSchema: ZodTypeV3 | ZodTypeV4): import("../_types/@internal_ai-sdk-v4@0.0.98/dist/index.js").Schema<unknown>;
16
+ processToAISDKSchema(zodSchema: ZodTypeV3 | ZodTypeV4): import("../_types/@internal_ai-sdk-v4@0.0.99/dist/index.js").Schema<unknown>;
17
17
  processToCompatSchema<T>(schema: PublicSchema<T>): StandardSchemaWithJSON<T>;
18
18
  preProcessJSONNode(schema: JSONSchema7): void;
19
19
  postProcessJSONNode(schema: JSONSchema7): void;
@@ -13,7 +13,7 @@ export declare class DeepSeekSchemaCompatLayer extends SchemaCompatLayer {
13
13
  shouldApply(): boolean;
14
14
  processZodType(value: ZodTypeV3): ZodTypeV3;
15
15
  processZodType(value: ZodTypeV4): ZodTypeV4;
16
- processToAISDKSchema(zodSchema: ZodTypeV3 | ZodTypeV4): import("../_types/@internal_ai-sdk-v4@0.0.98/dist/index.js").Schema<any>;
16
+ processToAISDKSchema(zodSchema: ZodTypeV3 | ZodTypeV4): import("../_types/@internal_ai-sdk-v4@0.0.99/dist/index.js").Schema<any>;
17
17
  processToCompatSchema<T>(schema: PublicSchema<T>): StandardSchemaWithJSON<T>;
18
18
  preProcessJSONNode(schema: JSONSchema7): void;
19
19
  postProcessJSONNode(schema: JSONSchema7): void;
@@ -13,7 +13,7 @@ export declare class MetaSchemaCompatLayer extends SchemaCompatLayer {
13
13
  shouldApply(): boolean;
14
14
  processZodType(value: ZodTypeV3): ZodTypeV3;
15
15
  processZodType(value: ZodTypeV4): ZodTypeV4;
16
- processToAISDKSchema(zodSchema: ZodTypeV3 | ZodTypeV4): import("../_types/@internal_ai-sdk-v4@0.0.98/dist/index.js").Schema<any>;
16
+ processToAISDKSchema(zodSchema: ZodTypeV3 | ZodTypeV4): import("../_types/@internal_ai-sdk-v4@0.0.99/dist/index.js").Schema<any>;
17
17
  processToCompatSchema<T>(schema: PublicSchema<T>): StandardSchemaWithJSON<T>;
18
18
  preProcessJSONNode(schema: JSONSchema7): void;
19
19
  postProcessJSONNode(schema: JSONSchema7): void;
@@ -1,6 +1,6 @@
1
- import type { Schema as SchemaV4 } from './_types/@internal_ai-sdk-v4@0.0.98/dist/index.js';
2
- import type { Schema as SchemaV5 } from './_types/@internal_ai-sdk-v5@0.0.98/dist/index.js';
3
- import type { Schema as SchemaV6 } from './_types/@internal_ai-v6@0.0.98/dist/index.js';
1
+ import type { Schema as SchemaV4 } from './_types/@internal_ai-sdk-v4@0.0.99/dist/index.js';
2
+ import type { Schema as SchemaV5 } from './_types/@internal_ai-sdk-v5@0.0.99/dist/index.js';
3
+ import type { Schema as SchemaV6 } from './_types/@internal_ai-v6@0.0.99/dist/index.js';
4
4
  import type { JSONSchema7 } from './_types/@types_json-schema@7.0.15/index.js';
5
5
  import type z3 from 'zod/v3';
6
6
  import type z4 from 'zod/v4';
@@ -1,4 +1,4 @@
1
- import type { Schema } from '../../_types/@internal_ai-v6@0.0.98/dist/index.js';
1
+ import type { Schema } from '../../_types/@internal_ai-v6@0.0.99/dist/index.js';
2
2
  import type { JSONSchema7 } from '../../_types/@types_json-schema@7.0.15/index.js';
3
3
  import type { StandardSchemaWithJSON, StandardSchemaWithJSONProps } from '../standard-schema.types.js';
4
4
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/schema-compat",
3
- "version": "1.4.1-alpha.0",
3
+ "version": "1.4.1",
4
4
  "description": "Tool schema compatibility layer for Mastra.ai",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -118,13 +118,13 @@
118
118
  "zod-from-json-schema-v3": "npm:zod-from-json-schema@^0.0.5",
119
119
  "zod-to-json-schema": "^3.25.2",
120
120
  "zod-v3": "npm:zod@^3.25.76",
121
- "@internal/ai-sdk-v4": "0.0.98",
122
- "@internal/ai-sdk-v5": "0.0.98",
123
- "@internal/ai-v6": "0.0.98",
124
- "@internal/lint": "0.0.151",
125
- "@internal/llm-recorder": "0.0.87",
126
- "@internal/test-utils": "0.0.87",
127
- "@internal/types-builder": "0.0.126"
121
+ "@internal/ai-sdk-v4": "0.0.99",
122
+ "@internal/ai-sdk-v5": "0.0.99",
123
+ "@internal/ai-v6": "0.0.99",
124
+ "@internal/lint": "0.0.152",
125
+ "@internal/llm-recorder": "0.0.88",
126
+ "@internal/test-utils": "0.0.88",
127
+ "@internal/types-builder": "0.0.127"
128
128
  },
129
129
  "homepage": "https://mastra.ai",
130
130
  "repository": {