@mastra/dane 0.0.2-alpha.114 → 0.0.2-alpha.115

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.
@@ -136,40 +136,6 @@ export declare const dane: Agent<{
136
136
  }, {
137
137
  startDate: string;
138
138
  }>, import("@mastra/core").WorkflowContext<any>>>;
139
- crawl: import("@mastra/core/tools").Tool<"crawler", import("zod").ZodObject<{
140
- url: import("zod").ZodString;
141
- limit: import("zod").ZodDefault<import("zod").ZodNumber>;
142
- pathRegex: import("zod").ZodNullable<import("zod").ZodString>;
143
- }, "strip", import("zod").ZodTypeAny, {
144
- url: string;
145
- limit: number;
146
- pathRegex: string | null;
147
- }, {
148
- url: string;
149
- pathRegex: string | null;
150
- limit?: number | undefined;
151
- }>, import("zod").ZodObject<{
152
- message: import("zod").ZodString;
153
- crawlData: import("zod").ZodAny;
154
- }, "strip", import("zod").ZodTypeAny, {
155
- message: string;
156
- crawlData?: any;
157
- }, {
158
- message: string;
159
- crawlData?: any;
160
- }>, import("@mastra/core").ToolExecutionContext<import("zod").ZodObject<{
161
- url: import("zod").ZodString;
162
- limit: import("zod").ZodDefault<import("zod").ZodNumber>;
163
- pathRegex: import("zod").ZodNullable<import("zod").ZodString>;
164
- }, "strip", import("zod").ZodTypeAny, {
165
- url: string;
166
- limit: number;
167
- pathRegex: string | null;
168
- }, {
169
- url: string;
170
- pathRegex: string | null;
171
- limit?: number | undefined;
172
- }>, import("@mastra/core").WorkflowContext<any>>>;
173
139
  imageTool: import("@mastra/core/tools").Tool<"imageTool", import("zod").ZodObject<{
174
140
  directory: import("zod").ZodString;
175
141
  prompt: import("zod").ZodString;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/mastra/agents/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAY3C,eAAO,MAAM,iBAAiB,6HAU5B,CAAC;AAEH,eAAO,MAAM,gBAAgB,6HAO3B,CAAC;AAEH,eAAO,MAAM,eAAe,6HAa1B,CAAC;AAEH,eAAO,MAAM,aAAa,6HAcxB,CAAC;AAEH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iDAuDf,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/mastra/agents/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAW3C,eAAO,MAAM,iBAAiB,6HAU5B,CAAC;AAEH,eAAO,MAAM,gBAAgB,6HAO3B,CAAC;AAEH,eAAO,MAAM,eAAe,6HAa1B,CAAC;AAEH,eAAO,MAAM,aAAa,6HAcxB,CAAC;AAEH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iDAgDf,CAAC"}
@@ -1,7 +1,6 @@
1
1
  import { Agent } from '@mastra/core/agent';
2
2
  import { browserTool, googleSearch } from '../tools/browser.js';
3
3
  import { listEvents } from '../tools/calendar.js';
4
- import { crawl } from '../tools/crawl.js';
5
4
  import { execaTool } from '../tools/execa.js';
6
5
  import { fsTool } from '../tools/fs.js';
7
6
  import { imageTool } from '../tools/image.js';
@@ -85,12 +84,6 @@ export const dane = new Agent({
85
84
  Makes you a powerful agent capable of listing events on a calendar. When using this tool ONLY RETURN RELEVANT EVENTS.
86
85
  DO NOT ATTEMPT TO DO ANYTHING MORE.
87
86
 
88
- ## crawl
89
- Use this when the user asks you to crawl. CRAWL is the signal to use this tool.
90
- Makes you a powerful agent capable of crawling a site and extracting markdown metadata.
91
- The data will be stored in a database if it is not already there. Confirm that it is sucessful.
92
- The crawled data will be returned in the response on the 'crawlData' field.
93
-
94
87
  ## imageTool
95
88
  Makes you a powerful agent capable of generating images and saving them to disk. Pass the directory and an image prompt.
96
89
 
@@ -107,7 +100,6 @@ export const dane = new Agent({
107
100
  googleSearch,
108
101
  readPDF,
109
102
  listEvents,
110
- crawl,
111
103
  imageTool,
112
104
  },
113
105
  });
@@ -133,40 +133,6 @@ export declare const mastra: Mastra<{
133
133
  }, {
134
134
  startDate: string;
135
135
  }>, import("@mastra/core").WorkflowContext<any>>>;
136
- crawl: import("@mastra/core/tools").Tool<"crawler", import("zod").ZodObject<{
137
- url: import("zod").ZodString;
138
- limit: import("zod").ZodDefault<import("zod").ZodNumber>;
139
- pathRegex: import("zod").ZodNullable<import("zod").ZodString>;
140
- }, "strip", import("zod").ZodTypeAny, {
141
- url: string;
142
- limit: number;
143
- pathRegex: string | null;
144
- }, {
145
- url: string;
146
- pathRegex: string | null;
147
- limit?: number | undefined;
148
- }>, import("zod").ZodObject<{
149
- message: import("zod").ZodString;
150
- crawlData: import("zod").ZodAny;
151
- }, "strip", import("zod").ZodTypeAny, {
152
- message: string;
153
- crawlData?: any;
154
- }, {
155
- message: string;
156
- crawlData?: any;
157
- }>, import("@mastra/core").ToolExecutionContext<import("zod").ZodObject<{
158
- url: import("zod").ZodString;
159
- limit: import("zod").ZodDefault<import("zod").ZodNumber>;
160
- pathRegex: import("zod").ZodNullable<import("zod").ZodString>;
161
- }, "strip", import("zod").ZodTypeAny, {
162
- url: string;
163
- limit: number;
164
- pathRegex: string | null;
165
- }, {
166
- url: string;
167
- pathRegex: string | null;
168
- limit?: number | undefined;
169
- }>, import("@mastra/core").WorkflowContext<any>>>;
170
136
  imageTool: import("@mastra/core/tools").Tool<"imageTool", import("zod").ZodObject<{
171
137
  directory: import("zod").ZodString;
172
138
  prompt: import("zod").ZodString;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/mastra/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAuB,MAAM,cAAc,CAAC;AAc3D,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mJAiCjB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/mastra/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAuB,MAAM,cAAc,CAAC;AAc3D,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mJAiCjB,CAAC"}
@@ -1,7 +1,5 @@
1
- import { FirecrawlIntegration } from "@mastra/firecrawl";
2
1
  import { GithubIntegration } from "@mastra/github";
3
2
  import { StabilityAiIntegration } from "@mastra/stabilityai";
4
- export declare const firecrawl: FirecrawlIntegration;
5
3
  export declare const github: GithubIntegration;
6
4
  export declare const stabilityai: StabilityAiIntegration;
7
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/mastra/integrations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAc7D,eAAO,MAAM,SAAS,sBAIpB,CAAC;AAEH,eAAO,MAAM,MAAM,mBAIjB,CAAC;AAEH,eAAO,MAAM,WAAW,wBAItB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/mastra/integrations/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAc7D,eAAO,MAAM,MAAM,mBAIjB,CAAC;AAEH,eAAO,MAAM,WAAW,wBAItB,CAAC"}
@@ -1,4 +1,3 @@
1
- import { FirecrawlIntegration } from "@mastra/firecrawl";
2
1
  import { GithubIntegration } from "@mastra/github";
3
2
  import { StabilityAiIntegration } from "@mastra/stabilityai";
4
3
  import { config } from "../../config/index.js";
@@ -12,11 +11,6 @@ const getApiKey = (configKey, envKey) => {
12
11
  return envValue;
13
12
  return '';
14
13
  };
15
- export const firecrawl = new FirecrawlIntegration({
16
- config: {
17
- API_KEY: getApiKey('FIRECRAWL_API_KEY', 'FIRECRAWL_API_KEY'),
18
- },
19
- });
20
14
  export const github = new GithubIntegration({
21
15
  config: {
22
16
  PERSONAL_ACCESS_TOKEN: getApiKey('GITHUB_PERSONAL_ACCESS_TOKEN', 'GITHUB_PERSONAL_ACCESS_TOKEN'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/dane",
3
- "version": "0.0.2-alpha.114",
3
+ "version": "0.0.2-alpha.115",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "files": [
@@ -20,7 +20,7 @@
20
20
  "@types/node": "^22.10.2",
21
21
  "@types/pdf-parse": "^1.1.4",
22
22
  "tsx": "^4.19.2",
23
- "mastra": "0.2.0-alpha.142"
23
+ "mastra": "0.2.0-alpha.144"
24
24
  },
25
25
  "dependencies": {
26
26
  "@inquirer/prompts": "^7.2.1",
@@ -41,14 +41,13 @@
41
41
  "sqlite3": "^5.1.7",
42
42
  "typescript": "^5.7.3",
43
43
  "zod": "^3.24.0",
44
- "@mastra/core": "0.2.0-alpha.89",
45
- "@mastra/firecrawl": "1.1.0-alpha.83",
46
- "@mastra/github": "1.0.3-alpha.74",
47
- "@mastra/memory": "0.1.0-alpha.71",
48
- "@mastra/stabilityai": "1.0.1-alpha.64",
49
- "@mastra/mcp": "0.1.0-alpha.31",
50
- "@mastra/rag": "0.1.0-alpha.81",
51
- "@mastra/store-upstash": "0.0.0-alpha.7"
44
+ "@mastra/core": "0.2.0-alpha.91",
45
+ "@mastra/mcp": "0.1.0-alpha.33",
46
+ "@mastra/github": "1.0.3-alpha.76",
47
+ "@mastra/rag": "0.1.0-alpha.83",
48
+ "@mastra/store-upstash": "0.0.0-alpha.10",
49
+ "@mastra/memory": "0.1.0-alpha.73",
50
+ "@mastra/stabilityai": "1.0.1-alpha.66"
52
51
  },
53
52
  "scripts": {
54
53
  "build": "npx tsc",