@mastra/dane 0.0.2-alpha.3 → 0.0.2-alpha.5

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.
@@ -1 +1,2 @@
1
1
  export declare function issueLabelerCommand(): Promise<void>;
2
+ //# sourceMappingURL=issue-labeler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"issue-labeler.d.ts","sourceRoot":"","sources":["../../src/commands/issue-labeler.ts"],"names":[],"mappings":"AAIA,wBAAsB,mBAAmB,kBAqBxC"}
@@ -1 +1,2 @@
1
1
  export declare function message(): Promise<void>;
2
+ //# sourceMappingURL=message.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../src/commands/message.ts"],"names":[],"mappings":"AAIA,wBAAsB,OAAO,kBAW5B"}
package/dist/index.d.ts CHANGED
@@ -1,2 +1,3 @@
1
- #! /usr/bin/env node
1
+ #! /usr/bin/env NODE_NO_WARNINGS=1 node
2
2
  export {};
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":""}
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- #! /usr/bin/env node
1
+ #! /usr/bin/env NODE_NO_WARNINGS=1 node
2
2
  import { Command } from 'commander';
3
3
  import { issueLabelerCommand } from './commands/issue-labeler.js';
4
4
  import { message } from './commands/message.js';
@@ -165,3 +165,4 @@ export declare const dane: Agent<{
165
165
  limit?: number | undefined;
166
166
  }>, import("@mastra/core").WorkflowContext<any>>>;
167
167
  }>;
168
+ //# 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;AASrC,eAAO,MAAM,gBAAgB,8EAW3B,CAAC;AAEH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwDf,CAAC"}
@@ -193,3 +193,4 @@ export declare const mastra: Mastra<{
193
193
  issue_number: number;
194
194
  }>>;
195
195
  }, import("@mastra/core").BaseLogger<import("@mastra/core").BaseLogMessage>>;
196
+ //# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAmBjB,CAAC"}
@@ -2,3 +2,4 @@ import { FirecrawlIntegration } from "@mastra/firecrawl";
2
2
  import { GithubIntegration } from "@mastra/github";
3
3
  export declare const firecrawl: FirecrawlIntegration;
4
4
  export declare const github: GithubIntegration;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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;AAEnD,eAAO,MAAM,SAAS,sBAIpB,CAAC;AAEH,eAAO,MAAM,MAAM,mBAIjB,CAAA"}
@@ -37,3 +37,4 @@ export declare const googleSearch: import("@mastra/core").Tool<"googleSearch", z
37
37
  }, {
38
38
  query: string;
39
39
  }>, import("@mastra/core").WorkflowContext<any>>>;
40
+ //# sourceMappingURL=browser.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"browser.d.ts","sourceRoot":"","sources":["../../../src/mastra/tools/browser.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;iDAoDtB,CAAC;AAEH,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;iDAqEvB,CAAC"}
@@ -23,18 +23,16 @@ export const browserTool = createTool({
23
23
  const docs = MDocument.fromHTML(await page.content());
24
24
  await docs.chunk({
25
25
  strategy: 'html',
26
- options: {
27
- chunkSize: 300,
28
- sections: [
29
- ['h1', 'Header 1'],
30
- ['h2', 'Header 2'],
31
- ['h3', 'Header 3'],
32
- ['h4', 'Header 4'],
33
- ['h5', 'Header 5'],
34
- ['h6', 'Header 6'],
35
- ['p', 'Paragraph'],
36
- ],
37
- },
26
+ size: 300,
27
+ sections: [
28
+ ['h1', 'Header 1'],
29
+ ['h2', 'Header 2'],
30
+ ['h3', 'Header 3'],
31
+ ['h4', 'Header 4'],
32
+ ['h5', 'Header 5'],
33
+ ['h6', 'Header 6'],
34
+ ['p', 'Paragraph'],
35
+ ],
38
36
  });
39
37
  await page.close();
40
38
  await browser.close();
@@ -18,3 +18,4 @@ export declare const listEvents: import("@mastra/core").Tool<"listEvents", z.Zod
18
18
  }, {
19
19
  startDate: string;
20
20
  }>, import("@mastra/core").WorkflowContext<any>>>;
21
+ //# sourceMappingURL=calendar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../../src/mastra/tools/calendar.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAqGxB,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;iDAgDrB,CAAC"}
@@ -30,3 +30,4 @@ export declare const crawl: import("@mastra/core").Tool<"crawler", z.ZodObject<{
30
30
  pathRegex: string | null;
31
31
  limit?: number | undefined;
32
32
  }>, import("@mastra/core").WorkflowContext<any>>>;
33
+ //# sourceMappingURL=crawl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"crawl.d.ts","sourceRoot":"","sources":["../../../src/mastra/tools/crawl.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iDAsBhB,CAAC"}
@@ -24,3 +24,4 @@ export declare const execaTool: import("@mastra/core").Tool<"execaTool", z.ZodOb
24
24
  command: string;
25
25
  args: string[];
26
26
  }>, import("@mastra/core").WorkflowContext<any>>>;
27
+ //# sourceMappingURL=execa.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"execa.d.ts","sourceRoot":"","sources":["../../../src/mastra/tools/execa.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;iDAwBpB,CAAC"}
@@ -30,3 +30,4 @@ export declare const fsTool: import("@mastra/core").Tool<"fsTool", z.ZodObject<{
30
30
  action: string;
31
31
  file: string;
32
32
  }>, import("@mastra/core").WorkflowContext<any>>>;
33
+ //# sourceMappingURL=fs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fs.d.ts","sourceRoot":"","sources":["../../../src/mastra/tools/fs.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iDA+BjB,CAAC"}
@@ -18,3 +18,4 @@ export declare const readPDF: import("@mastra/core").Tool<"readPDF", z.ZodObject
18
18
  }, {
19
19
  pdfPath: string;
20
20
  }>, import("@mastra/core").WorkflowContext<any>>>;
21
+ //# sourceMappingURL=pdf.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pdf.d.ts","sourceRoot":"","sources":["../../../src/mastra/tools/pdf.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;iDAsClB,CAAC"}
@@ -10,3 +10,4 @@ export declare const messageWorkflow: Workflow<any, z.ZodObject<{
10
10
  resourceid: string;
11
11
  threadId: string;
12
12
  }>>;
13
+ //# sourceMappingURL=chat.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../../src/mastra/workflows/chat.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,QAAQ,EAAE,MAAM,cAAc,CAAC;AAG9C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,eAAe;;;;;;;;;GAM1B,CAAC"}
@@ -1,2 +1,3 @@
1
1
  export * from './chat.js';
2
2
  export * from './issue-labeler.js';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/mastra/workflows/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,oBAAoB,CAAC"}
@@ -13,3 +13,4 @@ export declare const githubIssueLabeler: Workflow<any, z.ZodObject<{
13
13
  owner: string;
14
14
  issue_number: number;
15
15
  }>>;
16
+ //# sourceMappingURL=issue-labeler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"issue-labeler.d.ts","sourceRoot":"","sources":["../../../src/mastra/workflows/issue-labeler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,QAAQ,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;GAO7B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/dane",
3
- "version": "0.0.2-alpha.3",
3
+ "version": "0.0.2-alpha.5",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "files": [
@@ -34,12 +34,12 @@
34
34
  "sqlite3": "^5.1.7",
35
35
  "typescript": "^5.5.4",
36
36
  "zod": "^3.24.0",
37
- "@mastra/core": "0.1.27-alpha.38",
38
- "@mastra/engine": "0.0.5-alpha.32",
39
- "@mastra/firecrawl": "1.0.4-alpha.22",
40
- "@mastra/memory": "0.0.2-alpha.17",
41
- "@mastra/rag": "0.0.2-alpha.22",
42
- "@mastra/github": "1.0.3-alpha.21"
37
+ "@mastra/core": "0.1.27-alpha.39",
38
+ "@mastra/engine": "0.0.5-alpha.33",
39
+ "@mastra/firecrawl": "1.0.4-alpha.24",
40
+ "@mastra/github": "1.0.3-alpha.23",
41
+ "@mastra/memory": "0.0.2-alpha.18",
42
+ "@mastra/rag": "0.0.2-alpha.23"
43
43
  },
44
44
  "scripts": {
45
45
  "build": "npx tsc",