@mastra/server 1.67.0-alpha.6 → 1.68.0-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.
@@ -569,8 +569,8 @@ export declare const WORKSPACE_ROUTES: readonly [Omit<import("@mastra/core/serve
569
569
  } & {
570
570
  readonly _mastraSchemaRoute: true;
571
571
  }) | (Omit<import("@mastra/core/server").ApiRoute, "createHandler" | "handler" | "method" | "openapi" | "path"> & {
572
- method: "DELETE";
573
- path: "/workspaces/:workspaceId/fs/delete";
572
+ method: "GET";
573
+ path: "/workspaces/:workspaceId/fs/stat";
574
574
  responseType: "json";
575
575
  streamFormat?: 'sse' | 'stream';
576
576
  sseFlushOnConnect?: boolean;
@@ -578,11 +578,13 @@ export declare const WORKSPACE_ROUTES: readonly [Omit<import("@mastra/core/serve
578
578
  workspaceId: string;
579
579
  } & {
580
580
  path: string;
581
- recursive?: boolean | undefined;
582
- force?: boolean | undefined;
583
581
  } & import(".").ServerContext): Promise<{
584
- success: boolean;
585
582
  path: string;
583
+ type: "directory" | "file";
584
+ size?: number | undefined;
585
+ createdAt?: string | undefined;
586
+ modifiedAt?: string | undefined;
587
+ mimeType?: string | undefined;
586
588
  }>;
587
589
  pathParamSchema?: import("zod").ZodType;
588
590
  queryParamSchema?: import("zod").ZodType;
@@ -598,17 +600,22 @@ export declare const WORKSPACE_ROUTES: readonly [Omit<import("@mastra/core/serve
598
600
  workspaceId: import("zod").ZodString;
599
601
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
600
602
  path: import("zod").ZodString;
601
- recursive: import("zod").ZodOptional<import("zod").ZodCoercedBoolean<unknown>>;
602
- force: import("zod").ZodOptional<import("zod").ZodCoercedBoolean<unknown>>;
603
603
  }, import("zod/v4/core").$strip>, undefined, import("zod").ZodObject<{
604
- success: import("zod").ZodBoolean;
605
604
  path: import("zod").ZodString;
605
+ type: import("zod").ZodEnum<{
606
+ directory: "directory";
607
+ file: "file";
608
+ }>;
609
+ size: import("zod").ZodOptional<import("zod").ZodNumber>;
610
+ createdAt: import("zod").ZodOptional<import("zod").ZodString>;
611
+ modifiedAt: import("zod").ZodOptional<import("zod").ZodString>;
612
+ mimeType: import("zod").ZodOptional<import("zod").ZodString>;
606
613
  }, import("zod/v4/core").$strip>> | undefined;
607
614
  } & {
608
615
  readonly _mastraSchemaRoute: true;
609
616
  }) | (Omit<import("@mastra/core/server").ApiRoute, "createHandler" | "handler" | "method" | "openapi" | "path"> & {
610
- method: "GET";
611
- path: "/workspaces/:workspaceId/fs/stat";
617
+ method: "DELETE";
618
+ path: "/workspaces/:workspaceId/fs/delete";
612
619
  responseType: "json";
613
620
  streamFormat?: 'sse' | 'stream';
614
621
  sseFlushOnConnect?: boolean;
@@ -616,13 +623,11 @@ export declare const WORKSPACE_ROUTES: readonly [Omit<import("@mastra/core/serve
616
623
  workspaceId: string;
617
624
  } & {
618
625
  path: string;
626
+ recursive?: boolean | undefined;
627
+ force?: boolean | undefined;
619
628
  } & import(".").ServerContext): Promise<{
629
+ success: boolean;
620
630
  path: string;
621
- type: "directory" | "file";
622
- size?: number | undefined;
623
- createdAt?: string | undefined;
624
- modifiedAt?: string | undefined;
625
- mimeType?: string | undefined;
626
631
  }>;
627
632
  pathParamSchema?: import("zod").ZodType;
628
633
  queryParamSchema?: import("zod").ZodType;
@@ -638,16 +643,11 @@ export declare const WORKSPACE_ROUTES: readonly [Omit<import("@mastra/core/serve
638
643
  workspaceId: import("zod").ZodString;
639
644
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
640
645
  path: import("zod").ZodString;
646
+ recursive: import("zod").ZodOptional<import("zod").ZodCoercedBoolean<unknown>>;
647
+ force: import("zod").ZodOptional<import("zod").ZodCoercedBoolean<unknown>>;
641
648
  }, import("zod/v4/core").$strip>, undefined, import("zod").ZodObject<{
649
+ success: import("zod").ZodBoolean;
642
650
  path: import("zod").ZodString;
643
- type: import("zod").ZodEnum<{
644
- directory: "directory";
645
- file: "file";
646
- }>;
647
- size: import("zod").ZodOptional<import("zod").ZodNumber>;
648
- createdAt: import("zod").ZodOptional<import("zod").ZodString>;
649
- modifiedAt: import("zod").ZodOptional<import("zod").ZodString>;
650
- mimeType: import("zod").ZodOptional<import("zod").ZodString>;
651
651
  }, import("zod/v4/core").$strip>> | undefined;
652
652
  } & {
653
653
  readonly _mastraSchemaRoute: true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/server",
3
- "version": "1.67.0-alpha.6",
3
+ "version": "1.68.0-alpha.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "files": [
@@ -116,15 +116,15 @@
116
116
  "vitest": "4.1.10",
117
117
  "zod": "^4.4.3",
118
118
  "zod-to-ts": "^2.1.0",
119
+ "@internal/lint": "0.0.133",
119
120
  "@internal/core": "0.1.2",
120
- "@internal/storage-test-utils": "0.0.128",
121
- "@internal/test-utils": "0.0.68",
122
- "@internal/types-builder": "0.0.107",
123
- "@internal/voice": "0.0.30",
124
- "@mastra/agent-builder": "1.1.19-alpha.4",
125
- "@internal/lint": "0.0.132",
126
- "@mastra/schema-compat": "1.3.10-alpha.1",
127
- "@mastra/core": "1.67.0-alpha.6"
121
+ "@internal/storage-test-utils": "0.0.129",
122
+ "@mastra/agent-builder": "1.1.19",
123
+ "@internal/test-utils": "0.0.69",
124
+ "@internal/voice": "0.0.31",
125
+ "@mastra/schema-compat": "1.3.10",
126
+ "@mastra/core": "1.68.0-alpha.0",
127
+ "@internal/types-builder": "0.0.108"
128
128
  },
129
129
  "homepage": "https://mastra.ai",
130
130
  "repository": {