@mastra/dane 0.0.2-alpha.35 → 0.0.2-alpha.36
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.
|
@@ -47,8 +47,7 @@ const messageOutputStep = new Step({
|
|
|
47
47
|
if (!messages || messages.length === 0) {
|
|
48
48
|
messages = [];
|
|
49
49
|
}
|
|
50
|
-
const res = await mastra?.agents?.['dane']?.
|
|
51
|
-
stream: true,
|
|
50
|
+
const res = await mastra?.agents?.['dane']?.stream(message, {
|
|
52
51
|
maxSteps: 5,
|
|
53
52
|
resourceid,
|
|
54
53
|
threadId,
|
|
@@ -71,7 +71,7 @@ const generateMessage = new Step({
|
|
|
71
71
|
|
|
72
72
|
RETURN THE GUIDELINES YOU ARE USING AS AN ARRAY OF STRINGS ON THE GUIDELINES KEY, AND THE COMMIT MESSAGE ON THE COMMIT MESSAGE KEY
|
|
73
73
|
`, {
|
|
74
|
-
|
|
74
|
+
output: z.object({
|
|
75
75
|
commitMessage: z.string(),
|
|
76
76
|
generated: z.boolean(),
|
|
77
77
|
guidelines: z.array(z.string()),
|
|
@@ -23,10 +23,10 @@ const getPacakgesToPublish = new Step({
|
|
|
23
23
|
`);
|
|
24
24
|
const resultObj = await agent.generate(`
|
|
25
25
|
ONLY RETURN DATA IF WE HAVE PACKAGES TO PUBLISH. If we do not, return empty arrays.
|
|
26
|
-
Can you format this for me ${result.text}?
|
|
26
|
+
Can you format this for me ${result.text}?
|
|
27
27
|
@mastra/core must be first. @mastra/dane should be listed after packages and integrations.
|
|
28
28
|
`, {
|
|
29
|
-
|
|
29
|
+
output: z.object({
|
|
30
30
|
packages: z.array(z.string()),
|
|
31
31
|
integrations: z.array(z.string()),
|
|
32
32
|
danePackage: z.string(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/dane",
|
|
3
|
-
"version": "0.0.2-alpha.
|
|
3
|
+
"version": "0.0.2-alpha.36",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -38,13 +38,13 @@
|
|
|
38
38
|
"sqlite3": "^5.1.7",
|
|
39
39
|
"typescript": "^5.5.4",
|
|
40
40
|
"zod": "^3.24.0",
|
|
41
|
-
"@mastra/core": "0.1.27-alpha.
|
|
42
|
-
"@mastra/engine": "0.0.5-alpha.
|
|
43
|
-
"@mastra/
|
|
44
|
-
"@mastra/
|
|
45
|
-
"@mastra/memory": "0.0.2-alpha.
|
|
46
|
-
"@mastra/
|
|
47
|
-
"@mastra/stabilityai": "1.0.1-alpha.
|
|
41
|
+
"@mastra/core": "0.1.27-alpha.47",
|
|
42
|
+
"@mastra/engine": "0.0.5-alpha.41",
|
|
43
|
+
"@mastra/firecrawl": "1.0.4-alpha.33",
|
|
44
|
+
"@mastra/github": "1.0.3-alpha.31",
|
|
45
|
+
"@mastra/memory": "0.0.2-alpha.27",
|
|
46
|
+
"@mastra/rag": "0.0.2-alpha.31",
|
|
47
|
+
"@mastra/stabilityai": "1.0.1-alpha.22"
|
|
48
48
|
},
|
|
49
49
|
"scripts": {
|
|
50
50
|
"build": "npx tsc",
|