@mastra/dane 0.0.2-alpha.2 → 0.0.2-alpha.21

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.
Files changed (84) hide show
  1. package/README.md +25 -4
  2. package/data/crawl/conventional-commit.json +25 -0
  3. package/dist/commands/commit-message.d.ts +2 -0
  4. package/dist/commands/commit-message.d.ts.map +1 -0
  5. package/dist/commands/commit-message.js +31 -0
  6. package/dist/commands/config.d.ts +3 -0
  7. package/dist/commands/config.d.ts.map +1 -0
  8. package/dist/commands/config.js +40 -0
  9. package/dist/commands/issue-labeler.d.ts +2 -0
  10. package/dist/commands/issue-labeler.d.ts.map +1 -0
  11. package/dist/commands/issue-labeler.js +34 -0
  12. package/dist/commands/message.d.ts +2 -0
  13. package/dist/commands/message.d.ts.map +1 -0
  14. package/dist/commands/message.js +12 -0
  15. package/dist/commands/publish-packages.d.ts +2 -0
  16. package/dist/commands/publish-packages.d.ts.map +1 -0
  17. package/dist/commands/publish-packages.js +73 -0
  18. package/dist/config/index.d.ts +12 -0
  19. package/dist/config/index.d.ts.map +1 -0
  20. package/dist/config/index.js +75 -0
  21. package/dist/index.d.ts +3 -0
  22. package/dist/index.d.ts.map +1 -0
  23. package/dist/index.js +23 -0
  24. package/dist/mastra/agents/index.d.ts +256 -0
  25. package/dist/mastra/agents/index.d.ts.map +1 -0
  26. package/dist/mastra/agents/index.js +103 -0
  27. package/dist/mastra/index.d.ts +291 -0
  28. package/dist/mastra/index.d.ts.map +1 -0
  29. package/dist/mastra/index.js +32 -0
  30. package/dist/mastra/integrations/index.d.ts +7 -0
  31. package/dist/mastra/integrations/index.d.ts.map +1 -0
  32. package/dist/mastra/integrations/index.js +29 -0
  33. package/dist/mastra/tools/browser.d.ts +40 -0
  34. package/dist/mastra/tools/browser.d.ts.map +1 -0
  35. package/dist/mastra/tools/browser.js +116 -0
  36. package/dist/mastra/tools/calendar.d.ts +21 -0
  37. package/dist/mastra/tools/calendar.d.ts.map +1 -0
  38. package/dist/mastra/tools/calendar.js +134 -0
  39. package/dist/mastra/tools/crawl.d.ts +36 -0
  40. package/dist/mastra/tools/crawl.d.ts.map +1 -0
  41. package/dist/mastra/tools/crawl.js +26 -0
  42. package/dist/mastra/tools/execa.d.ts +59 -0
  43. package/dist/mastra/tools/execa.d.ts.map +1 -0
  44. package/dist/mastra/tools/execa.js +103 -0
  45. package/dist/mastra/tools/fs.d.ts +33 -0
  46. package/dist/mastra/tools/fs.d.ts.map +1 -0
  47. package/dist/mastra/tools/fs.js +36 -0
  48. package/dist/mastra/tools/image.d.ts +27 -0
  49. package/dist/mastra/tools/image.d.ts.map +1 -0
  50. package/dist/mastra/tools/image.js +37 -0
  51. package/dist/mastra/tools/pdf.d.ts +21 -0
  52. package/dist/mastra/tools/pdf.d.ts.map +1 -0
  53. package/dist/mastra/tools/pdf.js +42 -0
  54. package/dist/mastra/workflows/chat.d.ts +13 -0
  55. package/dist/mastra/workflows/chat.d.ts.map +1 -0
  56. package/dist/mastra/workflows/chat.js +89 -0
  57. package/dist/mastra/workflows/commit-message.d.ts +10 -0
  58. package/dist/mastra/workflows/commit-message.d.ts.map +1 -0
  59. package/dist/mastra/workflows/commit-message.js +137 -0
  60. package/dist/mastra/workflows/index.d.ts +4 -0
  61. package/dist/mastra/workflows/index.d.ts.map +1 -0
  62. package/{src/mastra/workflows/index.ts → dist/mastra/workflows/index.js} +1 -0
  63. package/dist/mastra/workflows/issue-labeler.d.ts +16 -0
  64. package/dist/mastra/workflows/issue-labeler.d.ts.map +1 -0
  65. package/dist/mastra/workflows/issue-labeler.js +85 -0
  66. package/package.json +18 -10
  67. package/test-files/716a95a5c57a56d32a32b1c9592d6df0.png +0 -0
  68. package/CHANGELOG.md +0 -37
  69. package/docker-compose.yaml +0 -22
  70. package/src/commands/issue-labeler.ts +0 -26
  71. package/src/commands/message.ts +0 -16
  72. package/src/index.ts +0 -13
  73. package/src/mastra/agents/index.ts +0 -79
  74. package/src/mastra/index.ts +0 -32
  75. package/src/mastra/integrations/index.ts +0 -14
  76. package/src/mastra/tools/browser.ts +0 -132
  77. package/src/mastra/tools/calendar.ts +0 -154
  78. package/src/mastra/tools/crawl.ts +0 -26
  79. package/src/mastra/tools/execa.ts +0 -41
  80. package/src/mastra/tools/fs.ts +0 -36
  81. package/src/mastra/tools/pdf.ts +0 -46
  82. package/src/mastra/workflows/chat.ts +0 -111
  83. package/src/mastra/workflows/issue-labeler.ts +0 -104
  84. package/tsconfig.json +0 -11
@@ -0,0 +1,256 @@
1
+ import { Agent } from '@mastra/core';
2
+ export declare const daneCommitMessage: Agent<Record<string, import("@mastra/core").ToolAction<any, any, any, any>>>;
3
+ export declare const daneIssueLabeler: Agent<Record<string, import("@mastra/core").ToolAction<any, any, any, any>>>;
4
+ export declare const danePackagePublisher: Agent<{
5
+ execaTool: import("@mastra/core").Tool<"execaTool", import("zod").ZodObject<{
6
+ command: import("zod").ZodString;
7
+ args: import("zod").ZodArray<import("zod").ZodString, "many">;
8
+ }, "strip", import("zod").ZodTypeAny, {
9
+ command: string;
10
+ args: string[];
11
+ }, {
12
+ command: string;
13
+ args: string[];
14
+ }>, import("zod").ZodObject<{
15
+ message: import("zod").ZodString;
16
+ }, "strip", import("zod").ZodTypeAny, {
17
+ message: string;
18
+ }, {
19
+ message: string;
20
+ }>, import("@mastra/core").ToolExecutionContext<import("zod").ZodObject<{
21
+ command: import("zod").ZodString;
22
+ args: import("zod").ZodArray<import("zod").ZodString, "many">;
23
+ }, "strip", import("zod").ZodTypeAny, {
24
+ command: string;
25
+ args: string[];
26
+ }, {
27
+ command: string;
28
+ args: string[];
29
+ }>, import("@mastra/core").WorkflowContext<any>>>;
30
+ pnpmBuild: import("@mastra/core").Tool<"pnpmBuild", import("zod").ZodObject<{
31
+ name: import("zod").ZodString;
32
+ packagePath: import("zod").ZodString;
33
+ }, "strip", import("zod").ZodTypeAny, {
34
+ name: string;
35
+ packagePath: string;
36
+ }, {
37
+ name: string;
38
+ packagePath: string;
39
+ }>, import("zod").ZodObject<{
40
+ message: import("zod").ZodString;
41
+ }, "strip", import("zod").ZodTypeAny, {
42
+ message: string;
43
+ }, {
44
+ message: string;
45
+ }>, import("@mastra/core").ToolExecutionContext<import("zod").ZodObject<{
46
+ name: import("zod").ZodString;
47
+ packagePath: import("zod").ZodString;
48
+ }, "strip", import("zod").ZodTypeAny, {
49
+ name: string;
50
+ packagePath: string;
51
+ }, {
52
+ name: string;
53
+ packagePath: string;
54
+ }>, import("@mastra/core").WorkflowContext<any>>>;
55
+ pnpmChangesetPublish: import("@mastra/core").Tool<"pnpmChangesetPublish", import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>, import("zod").ZodObject<{
56
+ message: import("zod").ZodString;
57
+ }, "strip", import("zod").ZodTypeAny, {
58
+ message: string;
59
+ }, {
60
+ message: string;
61
+ }>, import("@mastra/core").ToolExecutionContext<import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>, import("@mastra/core").WorkflowContext<any>>>;
62
+ }>;
63
+ export declare const dane: Agent<{
64
+ fsTool: import("@mastra/core").Tool<"fsTool", import("zod").ZodObject<{
65
+ action: import("zod").ZodString;
66
+ file: import("zod").ZodString;
67
+ data: import("zod").ZodString;
68
+ }, "strip", import("zod").ZodTypeAny, {
69
+ data: string;
70
+ action: string;
71
+ file: string;
72
+ }, {
73
+ data: string;
74
+ action: string;
75
+ file: string;
76
+ }>, import("zod").ZodObject<{
77
+ message: import("zod").ZodString;
78
+ }, "strip", import("zod").ZodTypeAny, {
79
+ message: string;
80
+ }, {
81
+ message: string;
82
+ }>, import("@mastra/core").ToolExecutionContext<import("zod").ZodObject<{
83
+ action: import("zod").ZodString;
84
+ file: import("zod").ZodString;
85
+ data: import("zod").ZodString;
86
+ }, "strip", import("zod").ZodTypeAny, {
87
+ data: string;
88
+ action: string;
89
+ file: string;
90
+ }, {
91
+ data: string;
92
+ action: string;
93
+ file: string;
94
+ }>, import("@mastra/core").WorkflowContext<any>>>;
95
+ execaTool: import("@mastra/core").Tool<"execaTool", import("zod").ZodObject<{
96
+ command: import("zod").ZodString;
97
+ args: import("zod").ZodArray<import("zod").ZodString, "many">;
98
+ }, "strip", import("zod").ZodTypeAny, {
99
+ command: string;
100
+ args: string[];
101
+ }, {
102
+ command: string;
103
+ args: string[];
104
+ }>, import("zod").ZodObject<{
105
+ message: import("zod").ZodString;
106
+ }, "strip", import("zod").ZodTypeAny, {
107
+ message: string;
108
+ }, {
109
+ message: string;
110
+ }>, import("@mastra/core").ToolExecutionContext<import("zod").ZodObject<{
111
+ command: import("zod").ZodString;
112
+ args: import("zod").ZodArray<import("zod").ZodString, "many">;
113
+ }, "strip", import("zod").ZodTypeAny, {
114
+ command: string;
115
+ args: string[];
116
+ }, {
117
+ command: string;
118
+ args: string[];
119
+ }>, import("@mastra/core").WorkflowContext<any>>>;
120
+ browserTool: import("@mastra/core").Tool<"browserTool", import("zod").ZodObject<{
121
+ url: import("zod").ZodString;
122
+ }, "strip", import("zod").ZodTypeAny, {
123
+ url: string;
124
+ }, {
125
+ url: string;
126
+ }>, import("zod").ZodObject<{
127
+ message: import("zod").ZodString;
128
+ }, "strip", import("zod").ZodTypeAny, {
129
+ message: string;
130
+ }, {
131
+ message: string;
132
+ }>, import("@mastra/core").ToolExecutionContext<import("zod").ZodObject<{
133
+ url: import("zod").ZodString;
134
+ }, "strip", import("zod").ZodTypeAny, {
135
+ url: string;
136
+ }, {
137
+ url: string;
138
+ }>, import("@mastra/core").WorkflowContext<any>>>;
139
+ googleSearch: import("@mastra/core").Tool<"googleSearch", import("zod").ZodObject<{
140
+ query: import("zod").ZodString;
141
+ }, "strip", import("zod").ZodTypeAny, {
142
+ query: string;
143
+ }, {
144
+ query: string;
145
+ }>, import("zod").ZodObject<{
146
+ message: import("zod").ZodString;
147
+ }, "strip", import("zod").ZodTypeAny, {
148
+ message: string;
149
+ }, {
150
+ message: string;
151
+ }>, import("@mastra/core").ToolExecutionContext<import("zod").ZodObject<{
152
+ query: import("zod").ZodString;
153
+ }, "strip", import("zod").ZodTypeAny, {
154
+ query: string;
155
+ }, {
156
+ query: string;
157
+ }>, import("@mastra/core").WorkflowContext<any>>>;
158
+ readPDF: import("@mastra/core").Tool<"readPDF", import("zod").ZodObject<{
159
+ pdfPath: import("zod").ZodString;
160
+ }, "strip", import("zod").ZodTypeAny, {
161
+ pdfPath: string;
162
+ }, {
163
+ pdfPath: string;
164
+ }>, import("zod").ZodObject<{
165
+ content: import("zod").ZodString;
166
+ }, "strip", import("zod").ZodTypeAny, {
167
+ content: string;
168
+ }, {
169
+ content: string;
170
+ }>, import("@mastra/core").ToolExecutionContext<import("zod").ZodObject<{
171
+ pdfPath: import("zod").ZodString;
172
+ }, "strip", import("zod").ZodTypeAny, {
173
+ pdfPath: string;
174
+ }, {
175
+ pdfPath: string;
176
+ }>, import("@mastra/core").WorkflowContext<any>>>;
177
+ listEvents: import("@mastra/core").Tool<"listEvents", import("zod").ZodObject<{
178
+ startDate: import("zod").ZodString;
179
+ }, "strip", import("zod").ZodTypeAny, {
180
+ startDate: string;
181
+ }, {
182
+ startDate: string;
183
+ }>, import("zod").ZodObject<{
184
+ content: import("zod").ZodString;
185
+ }, "strip", import("zod").ZodTypeAny, {
186
+ content: string;
187
+ }, {
188
+ content: string;
189
+ }>, import("@mastra/core").ToolExecutionContext<import("zod").ZodObject<{
190
+ startDate: import("zod").ZodString;
191
+ }, "strip", import("zod").ZodTypeAny, {
192
+ startDate: string;
193
+ }, {
194
+ startDate: string;
195
+ }>, import("@mastra/core").WorkflowContext<any>>>;
196
+ crawl: import("@mastra/core").Tool<"crawler", import("zod").ZodObject<{
197
+ url: import("zod").ZodString;
198
+ limit: import("zod").ZodDefault<import("zod").ZodNumber>;
199
+ pathRegex: import("zod").ZodNullable<import("zod").ZodString>;
200
+ }, "strip", import("zod").ZodTypeAny, {
201
+ url: string;
202
+ limit: number;
203
+ pathRegex: string | null;
204
+ }, {
205
+ url: string;
206
+ pathRegex: string | null;
207
+ limit?: number | undefined;
208
+ }>, import("zod").ZodObject<{
209
+ message: import("zod").ZodString;
210
+ crawlData: import("zod").ZodAny;
211
+ }, "strip", import("zod").ZodTypeAny, {
212
+ message: string;
213
+ crawlData?: any;
214
+ }, {
215
+ message: string;
216
+ crawlData?: any;
217
+ }>, import("@mastra/core").ToolExecutionContext<import("zod").ZodObject<{
218
+ url: import("zod").ZodString;
219
+ limit: import("zod").ZodDefault<import("zod").ZodNumber>;
220
+ pathRegex: import("zod").ZodNullable<import("zod").ZodString>;
221
+ }, "strip", import("zod").ZodTypeAny, {
222
+ url: string;
223
+ limit: number;
224
+ pathRegex: string | null;
225
+ }, {
226
+ url: string;
227
+ pathRegex: string | null;
228
+ limit?: number | undefined;
229
+ }>, import("@mastra/core").WorkflowContext<any>>>;
230
+ imageTool: import("@mastra/core").Tool<"imageTool", import("zod").ZodObject<{
231
+ directory: import("zod").ZodString;
232
+ prompt: import("zod").ZodString;
233
+ }, "strip", import("zod").ZodTypeAny, {
234
+ directory: string;
235
+ prompt: string;
236
+ }, {
237
+ directory: string;
238
+ prompt: string;
239
+ }>, import("zod").ZodObject<{
240
+ message: import("zod").ZodString;
241
+ }, "strip", import("zod").ZodTypeAny, {
242
+ message: string;
243
+ }, {
244
+ message: string;
245
+ }>, import("@mastra/core").ToolExecutionContext<import("zod").ZodObject<{
246
+ directory: import("zod").ZodString;
247
+ prompt: import("zod").ZodString;
248
+ }, "strip", import("zod").ZodTypeAny, {
249
+ directory: string;
250
+ prompt: string;
251
+ }, {
252
+ directory: string;
253
+ prompt: string;
254
+ }>, import("@mastra/core").WorkflowContext<any>>>;
255
+ }>;
256
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/mastra/agents/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAkBrC,eAAO,MAAM,iBAAiB,8EAU5B,CAAC;AAEH,eAAO,MAAM,gBAAgB,8EAO3B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAY/B,CAAC;AAEH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuDf,CAAC"}
@@ -0,0 +1,103 @@
1
+ import { Agent } from '@mastra/core';
2
+ import { config } from '../../config/index.js';
3
+ import { browserTool, googleSearch } from '../tools/browser.js';
4
+ import { listEvents } from '../tools/calendar.js';
5
+ import { crawl } from '../tools/crawl.js';
6
+ import { execaTool, pnpmBuild, pnpmChangesetPublish } from '../tools/execa.js';
7
+ import { fsTool } from '../tools/fs.js';
8
+ import { imageTool } from '../tools/image.js';
9
+ import { readPDF } from '../tools/pdf.js';
10
+ const getBaseModelConfig = () => ({
11
+ provider: 'ANTHROPIC',
12
+ toolChoice: 'auto',
13
+ name: 'claude-3-5-sonnet-20241022',
14
+ apiKey: config.getAnthropicApiKey(),
15
+ });
16
+ export const daneCommitMessage = new Agent({
17
+ name: 'DaneCommitMessage',
18
+ instructions: `
19
+ You are Dane, the ultimate GitHub operator.
20
+ You help engineers generate commit messages.
21
+
22
+ GENERATE A SCOPE FOR THE COMMIT MESSAGE IF NECESSARY.
23
+ FIGURE OUT THE BEST TOP LEVEL SEMANTIC MATCH TO USE AS THE SCOPE.
24
+ `,
25
+ model: getBaseModelConfig(),
26
+ });
27
+ export const daneIssueLabeler = new Agent({
28
+ name: 'DaneIssueLabeler',
29
+ instructions: `
30
+ You are Dane, the ultimate GitHub operator.
31
+ You help engineers label their issues.
32
+ `,
33
+ model: getBaseModelConfig(),
34
+ });
35
+ export const danePackagePublisher = new Agent({
36
+ name: 'DanePackagePublisher',
37
+ instructions: `
38
+ You are Dane, the ultimate node module publisher.
39
+ You help engineers publish their pnpm changesets.
40
+ `,
41
+ model: getBaseModelConfig(),
42
+ tools: {
43
+ execaTool,
44
+ pnpmBuild,
45
+ pnpmChangesetPublish,
46
+ },
47
+ });
48
+ export const dane = new Agent({
49
+ name: 'Dane',
50
+ instructions: `
51
+ You are Dane, my assistant and one of my best friends. We are an ace team!
52
+ You help me with my code, write tests, and even deploy my code to the cloud!
53
+
54
+ DO NOT ATTEMPT TO USE GENERAL KNOWLEDGE! We are only as good as the tools we use.
55
+
56
+ # Our tools:
57
+
58
+ ## readPDF
59
+ Makes you a powerful agent capable of reading PDF files.
60
+
61
+ ## fsTool
62
+ Makes you a powerful agent capable of reading and writing files to the local filesystem.
63
+
64
+ ## execaTool
65
+ Makes you a powerful agent capabale of executing files on the local system.
66
+
67
+ ## googleSearch
68
+ Makes you a powerful agent capabale answering all questions by finding the answer on Google search.
69
+ Pass the query as a JS object. If you have links, ALWAYS CITE YOUR SOURCES.
70
+
71
+ ## browserTool
72
+ Makes you a powerful agent capable of scraping the web. Pass the url as a JS object.
73
+
74
+ ## listEvents
75
+ Makes you a powerful agent capable of listing events on a calendar. When using this tool ONLY RETURN RELEVANT EVENTS.
76
+ DO NOT ATTEMPT TO DO ANYTHING MORE.
77
+
78
+ ## crawl
79
+ Use this when the user asks you to crawl. CRAWL is the signal to use this tool.
80
+ Makes you a powerful agent capable of crawling a site and extracting markdown metadata.
81
+ The data will be stored in a database if it is not already there. Confirm that it is sucessful.
82
+ The crawled data will be returned in the response on the 'crawlData' field.
83
+
84
+ ## imageTool
85
+ Makes you a powerful agent capable of generating images and saving them to disk. Pass the directory and an image prompt.
86
+
87
+ # Rules
88
+ * DO NOT ATTEMPT TO USE GENERAL KNOWLEDGE. Use the 'googleSearch' tool to find the answer.
89
+ * Don't reference tools when you communicate with the user. Do not mention what tools you are using.
90
+ * Tell the user what you are doing.
91
+ `,
92
+ model: getBaseModelConfig(),
93
+ tools: {
94
+ fsTool,
95
+ execaTool,
96
+ browserTool,
97
+ googleSearch,
98
+ readPDF,
99
+ listEvents,
100
+ crawl,
101
+ imageTool,
102
+ },
103
+ });
@@ -0,0 +1,291 @@
1
+ import { Mastra } from '@mastra/core';
2
+ export declare const mastra: Mastra<{
3
+ [x: string]: import("@mastra/core").SyncAction<any, any, any, any>;
4
+ }, {
5
+ dane: import("@mastra/core").Agent<{
6
+ fsTool: import("@mastra/core").Tool<"fsTool", import("zod").ZodObject<{
7
+ action: import("zod").ZodString;
8
+ file: import("zod").ZodString;
9
+ data: import("zod").ZodString;
10
+ }, "strip", import("zod").ZodTypeAny, {
11
+ data: string;
12
+ action: string;
13
+ file: string;
14
+ }, {
15
+ data: string;
16
+ action: string;
17
+ file: string;
18
+ }>, import("zod").ZodObject<{
19
+ message: import("zod").ZodString;
20
+ }, "strip", import("zod").ZodTypeAny, {
21
+ message: string;
22
+ }, {
23
+ message: string;
24
+ }>, import("@mastra/core").ToolExecutionContext<import("zod").ZodObject<{
25
+ action: import("zod").ZodString;
26
+ file: import("zod").ZodString;
27
+ data: import("zod").ZodString;
28
+ }, "strip", import("zod").ZodTypeAny, {
29
+ data: string;
30
+ action: string;
31
+ file: string;
32
+ }, {
33
+ data: string;
34
+ action: string;
35
+ file: string;
36
+ }>, import("@mastra/core").WorkflowContext<any>>>;
37
+ execaTool: import("@mastra/core").Tool<"execaTool", import("zod").ZodObject<{
38
+ command: import("zod").ZodString;
39
+ args: import("zod").ZodArray<import("zod").ZodString, "many">;
40
+ }, "strip", import("zod").ZodTypeAny, {
41
+ command: string;
42
+ args: string[];
43
+ }, {
44
+ command: string;
45
+ args: string[];
46
+ }>, import("zod").ZodObject<{
47
+ message: import("zod").ZodString;
48
+ }, "strip", import("zod").ZodTypeAny, {
49
+ message: string;
50
+ }, {
51
+ message: string;
52
+ }>, import("@mastra/core").ToolExecutionContext<import("zod").ZodObject<{
53
+ command: import("zod").ZodString;
54
+ args: import("zod").ZodArray<import("zod").ZodString, "many">;
55
+ }, "strip", import("zod").ZodTypeAny, {
56
+ command: string;
57
+ args: string[];
58
+ }, {
59
+ command: string;
60
+ args: string[];
61
+ }>, import("@mastra/core").WorkflowContext<any>>>;
62
+ browserTool: import("@mastra/core").Tool<"browserTool", import("zod").ZodObject<{
63
+ url: import("zod").ZodString;
64
+ }, "strip", import("zod").ZodTypeAny, {
65
+ url: string;
66
+ }, {
67
+ url: string;
68
+ }>, import("zod").ZodObject<{
69
+ message: import("zod").ZodString;
70
+ }, "strip", import("zod").ZodTypeAny, {
71
+ message: string;
72
+ }, {
73
+ message: string;
74
+ }>, import("@mastra/core").ToolExecutionContext<import("zod").ZodObject<{
75
+ url: import("zod").ZodString;
76
+ }, "strip", import("zod").ZodTypeAny, {
77
+ url: string;
78
+ }, {
79
+ url: string;
80
+ }>, import("@mastra/core").WorkflowContext<any>>>;
81
+ googleSearch: import("@mastra/core").Tool<"googleSearch", import("zod").ZodObject<{
82
+ query: import("zod").ZodString;
83
+ }, "strip", import("zod").ZodTypeAny, {
84
+ query: string;
85
+ }, {
86
+ query: string;
87
+ }>, import("zod").ZodObject<{
88
+ message: import("zod").ZodString;
89
+ }, "strip", import("zod").ZodTypeAny, {
90
+ message: string;
91
+ }, {
92
+ message: string;
93
+ }>, import("@mastra/core").ToolExecutionContext<import("zod").ZodObject<{
94
+ query: import("zod").ZodString;
95
+ }, "strip", import("zod").ZodTypeAny, {
96
+ query: string;
97
+ }, {
98
+ query: string;
99
+ }>, import("@mastra/core").WorkflowContext<any>>>;
100
+ readPDF: import("@mastra/core").Tool<"readPDF", import("zod").ZodObject<{
101
+ pdfPath: import("zod").ZodString;
102
+ }, "strip", import("zod").ZodTypeAny, {
103
+ pdfPath: string;
104
+ }, {
105
+ pdfPath: string;
106
+ }>, import("zod").ZodObject<{
107
+ content: import("zod").ZodString;
108
+ }, "strip", import("zod").ZodTypeAny, {
109
+ content: string;
110
+ }, {
111
+ content: string;
112
+ }>, import("@mastra/core").ToolExecutionContext<import("zod").ZodObject<{
113
+ pdfPath: import("zod").ZodString;
114
+ }, "strip", import("zod").ZodTypeAny, {
115
+ pdfPath: string;
116
+ }, {
117
+ pdfPath: string;
118
+ }>, import("@mastra/core").WorkflowContext<any>>>;
119
+ listEvents: import("@mastra/core").Tool<"listEvents", import("zod").ZodObject<{
120
+ startDate: import("zod").ZodString;
121
+ }, "strip", import("zod").ZodTypeAny, {
122
+ startDate: string;
123
+ }, {
124
+ startDate: string;
125
+ }>, import("zod").ZodObject<{
126
+ content: import("zod").ZodString;
127
+ }, "strip", import("zod").ZodTypeAny, {
128
+ content: string;
129
+ }, {
130
+ content: string;
131
+ }>, import("@mastra/core").ToolExecutionContext<import("zod").ZodObject<{
132
+ startDate: import("zod").ZodString;
133
+ }, "strip", import("zod").ZodTypeAny, {
134
+ startDate: string;
135
+ }, {
136
+ startDate: string;
137
+ }>, import("@mastra/core").WorkflowContext<any>>>;
138
+ crawl: import("@mastra/core").Tool<"crawler", import("zod").ZodObject<{
139
+ url: import("zod").ZodString;
140
+ limit: import("zod").ZodDefault<import("zod").ZodNumber>;
141
+ pathRegex: import("zod").ZodNullable<import("zod").ZodString>;
142
+ }, "strip", import("zod").ZodTypeAny, {
143
+ url: string;
144
+ limit: number;
145
+ pathRegex: string | null;
146
+ }, {
147
+ url: string;
148
+ pathRegex: string | null;
149
+ limit?: number | undefined;
150
+ }>, import("zod").ZodObject<{
151
+ message: import("zod").ZodString;
152
+ crawlData: import("zod").ZodAny;
153
+ }, "strip", import("zod").ZodTypeAny, {
154
+ message: string;
155
+ crawlData?: any;
156
+ }, {
157
+ message: string;
158
+ crawlData?: any;
159
+ }>, import("@mastra/core").ToolExecutionContext<import("zod").ZodObject<{
160
+ url: import("zod").ZodString;
161
+ limit: import("zod").ZodDefault<import("zod").ZodNumber>;
162
+ pathRegex: import("zod").ZodNullable<import("zod").ZodString>;
163
+ }, "strip", import("zod").ZodTypeAny, {
164
+ url: string;
165
+ limit: number;
166
+ pathRegex: string | null;
167
+ }, {
168
+ url: string;
169
+ pathRegex: string | null;
170
+ limit?: number | undefined;
171
+ }>, import("@mastra/core").WorkflowContext<any>>>;
172
+ imageTool: import("@mastra/core").Tool<"imageTool", import("zod").ZodObject<{
173
+ directory: import("zod").ZodString;
174
+ prompt: import("zod").ZodString;
175
+ }, "strip", import("zod").ZodTypeAny, {
176
+ directory: string;
177
+ prompt: string;
178
+ }, {
179
+ directory: string;
180
+ prompt: string;
181
+ }>, import("zod").ZodObject<{
182
+ message: import("zod").ZodString;
183
+ }, "strip", import("zod").ZodTypeAny, {
184
+ message: string;
185
+ }, {
186
+ message: string;
187
+ }>, import("@mastra/core").ToolExecutionContext<import("zod").ZodObject<{
188
+ directory: import("zod").ZodString;
189
+ prompt: import("zod").ZodString;
190
+ }, "strip", import("zod").ZodTypeAny, {
191
+ directory: string;
192
+ prompt: string;
193
+ }, {
194
+ directory: string;
195
+ prompt: string;
196
+ }>, import("@mastra/core").WorkflowContext<any>>>;
197
+ }>;
198
+ danePackagePublisher: import("@mastra/core").Agent<{
199
+ execaTool: import("@mastra/core").Tool<"execaTool", import("zod").ZodObject<{
200
+ command: import("zod").ZodString;
201
+ args: import("zod").ZodArray<import("zod").ZodString, "many">;
202
+ }, "strip", import("zod").ZodTypeAny, {
203
+ command: string;
204
+ args: string[];
205
+ }, {
206
+ command: string;
207
+ args: string[];
208
+ }>, import("zod").ZodObject<{
209
+ message: import("zod").ZodString;
210
+ }, "strip", import("zod").ZodTypeAny, {
211
+ message: string;
212
+ }, {
213
+ message: string;
214
+ }>, import("@mastra/core").ToolExecutionContext<import("zod").ZodObject<{
215
+ command: import("zod").ZodString;
216
+ args: import("zod").ZodArray<import("zod").ZodString, "many">;
217
+ }, "strip", import("zod").ZodTypeAny, {
218
+ command: string;
219
+ args: string[];
220
+ }, {
221
+ command: string;
222
+ args: string[];
223
+ }>, import("@mastra/core").WorkflowContext<any>>>;
224
+ pnpmBuild: import("@mastra/core").Tool<"pnpmBuild", import("zod").ZodObject<{
225
+ name: import("zod").ZodString;
226
+ packagePath: import("zod").ZodString;
227
+ }, "strip", import("zod").ZodTypeAny, {
228
+ name: string;
229
+ packagePath: string;
230
+ }, {
231
+ name: string;
232
+ packagePath: string;
233
+ }>, import("zod").ZodObject<{
234
+ message: import("zod").ZodString;
235
+ }, "strip", import("zod").ZodTypeAny, {
236
+ message: string;
237
+ }, {
238
+ message: string;
239
+ }>, import("@mastra/core").ToolExecutionContext<import("zod").ZodObject<{
240
+ name: import("zod").ZodString;
241
+ packagePath: import("zod").ZodString;
242
+ }, "strip", import("zod").ZodTypeAny, {
243
+ name: string;
244
+ packagePath: string;
245
+ }, {
246
+ name: string;
247
+ packagePath: string;
248
+ }>, import("@mastra/core").WorkflowContext<any>>>;
249
+ pnpmChangesetPublish: import("@mastra/core").Tool<"pnpmChangesetPublish", import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>, import("zod").ZodObject<{
250
+ message: import("zod").ZodString;
251
+ }, "strip", import("zod").ZodTypeAny, {
252
+ message: string;
253
+ }, {
254
+ message: string;
255
+ }>, import("@mastra/core").ToolExecutionContext<import("zod").ZodObject<{}, "strip", import("zod").ZodTypeAny, {}, {}>, import("@mastra/core").WorkflowContext<any>>>;
256
+ }>;
257
+ daneIssueLabeler: import("@mastra/core").Agent<Record<string, import("@mastra/core").ToolAction<any, any, any, any>>>;
258
+ daneCommitMessage: import("@mastra/core").Agent<Record<string, import("@mastra/core").ToolAction<any, any, any, any>>>;
259
+ }, {
260
+ message: import("@mastra/core").Workflow<any, import("zod").ZodObject<{
261
+ resourceid: import("zod").ZodString;
262
+ threadId: import("zod").ZodString;
263
+ }, "strip", import("zod").ZodTypeAny, {
264
+ resourceid: string;
265
+ threadId: string;
266
+ }, {
267
+ resourceid: string;
268
+ threadId: string;
269
+ }>>;
270
+ githubIssueLabeler: import("@mastra/core").Workflow<any, import("zod").ZodObject<{
271
+ repo: import("zod").ZodString;
272
+ owner: import("zod").ZodString;
273
+ issue_number: import("zod").ZodNumber;
274
+ }, "strip", import("zod").ZodTypeAny, {
275
+ repo: string;
276
+ owner: string;
277
+ issue_number: number;
278
+ }, {
279
+ repo: string;
280
+ owner: string;
281
+ issue_number: number;
282
+ }>>;
283
+ commitMessage: import("@mastra/core").Workflow<any, import("zod").ZodObject<{
284
+ repoPath: import("zod").ZodString;
285
+ }, "strip", import("zod").ZodTypeAny, {
286
+ repoPath: string;
287
+ }, {
288
+ repoPath: string;
289
+ }>>;
290
+ }, import("@mastra/core").BaseLogger<import("@mastra/core").BaseLogMessage>>;
291
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/mastra/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAYtC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAsBjB,CAAC"}