@mastra/code-sdk 1.6.1-alpha.0 → 1.6.1-alpha.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.
|
@@ -28,6 +28,8 @@ export declare const workflowDefinitionInputSchema: z.ZodPreprocess<z.ZodObject<
|
|
|
28
28
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
29
29
|
}, z.core.$strip>>;
|
|
30
30
|
}, z.core.$strict>, z.ZodObject<{
|
|
31
|
+
description: z.ZodOptional<z.ZodString>;
|
|
32
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
31
33
|
type: z.ZodLiteral<"mapping">;
|
|
32
34
|
id: z.ZodString;
|
|
33
35
|
mapConfig: z.ZodString;
|
|
@@ -41,6 +43,9 @@ export declare const workflowDefinitionInputSchema: z.ZodPreprocess<z.ZodObject<
|
|
|
41
43
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
42
44
|
}, z.core.$strip>>;
|
|
43
45
|
}, z.core.$strict>, z.ZodObject<{
|
|
46
|
+
description: z.ZodOptional<z.ZodString>;
|
|
47
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
48
|
+
id: z.ZodOptional<z.ZodString>;
|
|
44
49
|
type: z.ZodLiteral<"parallel">;
|
|
45
50
|
steps: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
46
51
|
type: z.ZodLiteral<"agent">;
|
|
@@ -72,6 +77,9 @@ export declare const workflowDefinitionInputSchema: z.ZodPreprocess<z.ZodObject<
|
|
|
72
77
|
}, z.core.$strip>>;
|
|
73
78
|
}, z.core.$strict>]>>;
|
|
74
79
|
}, z.core.$strict>, z.ZodObject<{
|
|
80
|
+
description: z.ZodOptional<z.ZodString>;
|
|
81
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
82
|
+
id: z.ZodOptional<z.ZodString>;
|
|
75
83
|
type: z.ZodLiteral<"foreach">;
|
|
76
84
|
step: z.ZodUnion<readonly [z.ZodObject<{
|
|
77
85
|
type: z.ZodLiteral<"agent">;
|
|
@@ -106,14 +114,21 @@ export declare const workflowDefinitionInputSchema: z.ZodPreprocess<z.ZodObject<
|
|
|
106
114
|
concurrency: z.ZodNumber;
|
|
107
115
|
}, z.core.$strip>>;
|
|
108
116
|
}, z.core.$strict>, z.ZodObject<{
|
|
117
|
+
description: z.ZodOptional<z.ZodString>;
|
|
118
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
109
119
|
type: z.ZodLiteral<"sleep">;
|
|
110
120
|
id: z.ZodString;
|
|
111
121
|
duration: z.ZodNumber;
|
|
112
122
|
}, z.core.$strict>, z.ZodObject<{
|
|
123
|
+
description: z.ZodOptional<z.ZodString>;
|
|
124
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
113
125
|
type: z.ZodLiteral<"sleepUntil">;
|
|
114
126
|
id: z.ZodString;
|
|
115
127
|
date: z.ZodString;
|
|
116
128
|
}, z.core.$strict>, z.ZodObject<{
|
|
129
|
+
description: z.ZodOptional<z.ZodString>;
|
|
130
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
131
|
+
id: z.ZodOptional<z.ZodString>;
|
|
117
132
|
type: z.ZodLiteral<"conditional">;
|
|
118
133
|
steps: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
119
134
|
type: z.ZodLiteral<"agent">;
|
|
@@ -146,6 +161,9 @@ export declare const workflowDefinitionInputSchema: z.ZodPreprocess<z.ZodObject<
|
|
|
146
161
|
}, z.core.$strict>]>>;
|
|
147
162
|
predicates: z.ZodArray<z.ZodType<import("@mastra/core/predicate").Predicate, unknown, z.core.$ZodTypeInternals<import("@mastra/core/predicate").Predicate, unknown>>>;
|
|
148
163
|
}, z.core.$strict>, z.ZodObject<{
|
|
164
|
+
description: z.ZodOptional<z.ZodString>;
|
|
165
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
166
|
+
id: z.ZodOptional<z.ZodString>;
|
|
149
167
|
type: z.ZodLiteral<"loop">;
|
|
150
168
|
step: z.ZodUnion<readonly [z.ZodObject<{
|
|
151
169
|
type: z.ZodLiteral<"agent">;
|
|
@@ -611,6 +629,8 @@ export declare const saveWorkflowTool: import("@mastra/core/tools").Tool<{
|
|
|
611
629
|
type: "mapping";
|
|
612
630
|
id: string;
|
|
613
631
|
mapConfig: string;
|
|
632
|
+
description?: string | undefined;
|
|
633
|
+
metadata?: Record<string, unknown> | undefined;
|
|
614
634
|
} | {
|
|
615
635
|
type: "workflow";
|
|
616
636
|
id: string;
|
|
@@ -651,6 +671,9 @@ export declare const saveWorkflowTool: import("@mastra/core/tools").Tool<{
|
|
|
651
671
|
metadata?: Record<string, unknown> | undefined;
|
|
652
672
|
} | undefined;
|
|
653
673
|
})[];
|
|
674
|
+
description?: string | undefined;
|
|
675
|
+
metadata?: Record<string, unknown> | undefined;
|
|
676
|
+
id?: string | undefined;
|
|
654
677
|
} | {
|
|
655
678
|
type: "foreach";
|
|
656
679
|
step: {
|
|
@@ -682,6 +705,9 @@ export declare const saveWorkflowTool: import("@mastra/core/tools").Tool<{
|
|
|
682
705
|
metadata?: Record<string, unknown> | undefined;
|
|
683
706
|
} | undefined;
|
|
684
707
|
};
|
|
708
|
+
description?: string | undefined;
|
|
709
|
+
metadata?: Record<string, unknown> | undefined;
|
|
710
|
+
id?: string | undefined;
|
|
685
711
|
opts?: {
|
|
686
712
|
concurrency: number;
|
|
687
713
|
} | undefined;
|
|
@@ -689,10 +715,14 @@ export declare const saveWorkflowTool: import("@mastra/core/tools").Tool<{
|
|
|
689
715
|
type: "sleep";
|
|
690
716
|
id: string;
|
|
691
717
|
duration: number;
|
|
718
|
+
description?: string | undefined;
|
|
719
|
+
metadata?: Record<string, unknown> | undefined;
|
|
692
720
|
} | {
|
|
693
721
|
type: "sleepUntil";
|
|
694
722
|
id: string;
|
|
695
723
|
date: string;
|
|
724
|
+
description?: string | undefined;
|
|
725
|
+
metadata?: Record<string, unknown> | undefined;
|
|
696
726
|
} | {
|
|
697
727
|
type: "conditional";
|
|
698
728
|
steps: ({
|
|
@@ -725,6 +755,9 @@ export declare const saveWorkflowTool: import("@mastra/core/tools").Tool<{
|
|
|
725
755
|
} | undefined;
|
|
726
756
|
})[];
|
|
727
757
|
predicates: import("@mastra/core/predicate").Predicate[];
|
|
758
|
+
description?: string | undefined;
|
|
759
|
+
metadata?: Record<string, unknown> | undefined;
|
|
760
|
+
id?: string | undefined;
|
|
728
761
|
} | {
|
|
729
762
|
type: "loop";
|
|
730
763
|
step: {
|
|
@@ -758,6 +791,9 @@ export declare const saveWorkflowTool: import("@mastra/core/tools").Tool<{
|
|
|
758
791
|
};
|
|
759
792
|
loopType: "dountil" | "dowhile";
|
|
760
793
|
predicate: import("@mastra/core/predicate").Predicate;
|
|
794
|
+
description?: string | undefined;
|
|
795
|
+
metadata?: Record<string, unknown> | undefined;
|
|
796
|
+
id?: string | undefined;
|
|
761
797
|
})[];
|
|
762
798
|
description?: string | undefined;
|
|
763
799
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"save-workflow.d.ts","sourceRoot":"","sources":["../../../src/tools/workflows/save-workflow.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,2CAA2C,IAAI,0BAA0B,EAAE,MAAM,gCAAgC,CAAC;AAE3H,eAAO,MAAM,6BAA6B
|
|
1
|
+
{"version":3,"file":"save-workflow.d.ts","sourceRoot":"","sources":["../../../src/tools/workflows/save-workflow.ts"],"names":[],"mappings":"AAYA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4HAsB3B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/code-sdk",
|
|
3
|
-
"version": "1.6.1-alpha.
|
|
3
|
+
"version": "1.6.1-alpha.1",
|
|
4
4
|
"description": "Mastra Code SDK: the agent core behind Mastra Code (everything except the TUI) — build your own UIs and surfaces on top of it",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
@@ -56,20 +56,20 @@
|
|
|
56
56
|
"vscode-languageserver-protocol": "^3.17.5",
|
|
57
57
|
"yaml": "^2.7.1",
|
|
58
58
|
"zod": "^4.3.6",
|
|
59
|
-
"@mastra/agent-browser": "0.5.2",
|
|
60
|
-
"@mastra/duckdb": "1.6.4",
|
|
61
59
|
"@mastra/fastembed": "1.3.1",
|
|
62
|
-
"@mastra/
|
|
60
|
+
"@mastra/core": "1.65.0-alpha.1",
|
|
61
|
+
"@mastra/duckdb": "1.6.4",
|
|
62
|
+
"@mastra/agent-browser": "0.5.2",
|
|
63
63
|
"@mastra/github-signals": "0.4.0",
|
|
64
|
-
"@mastra/
|
|
64
|
+
"@mastra/libsql": "1.22.3",
|
|
65
65
|
"@mastra/mcp": "1.17.3",
|
|
66
|
-
"@mastra/memory": "1.28.
|
|
67
|
-
"@mastra/
|
|
66
|
+
"@mastra/memory": "1.28.3-alpha.0",
|
|
67
|
+
"@mastra/parallel": "0.1.1",
|
|
68
68
|
"@mastra/pg": "1.22.3",
|
|
69
69
|
"@mastra/schema-compat": "1.3.8",
|
|
70
|
+
"@mastra/observability": "1.17.6-alpha.0",
|
|
70
71
|
"@mastra/stagehand": "0.3.4",
|
|
71
|
-
"@mastra/tavily": "1.1.2"
|
|
72
|
-
"@mastra/parallel": "0.1.1"
|
|
72
|
+
"@mastra/tavily": "1.1.2"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
75
|
"@libsql/client": "^0.17.4",
|