@mastra/dane 0.0.2-alpha.93 → 0.0.2-alpha.96

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 @@
1
- {"version":3,"file":"package-publisher.d.ts","sourceRoot":"","sources":["../../../src/mastra/agents/package-publisher.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAoDrC,eAAO,MAAM,oBAAoB,iwBAa5B,CAAC;AAEN,eAAO,MAAM,qBAAqB,aAAc,MAAM,EAAE,WAoDvD,CAAC;AAEF,eAAO,MAAM,uBAAuB,u2BAwBnC,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iDA+B/B,CAAC"}
1
+ {"version":3,"file":"package-publisher.d.ts","sourceRoot":"","sources":["../../../src/mastra/agents/package-publisher.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AAgDrC,eAAO,MAAM,oBAAoB,iwBAa5B,CAAC;AAEN,eAAO,MAAM,qBAAqB,aAAc,MAAM,EAAE,WAoDvD,CAAC;AAEF,eAAO,MAAM,uBAAuB,u2BAwBnC,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iDA+B/B,CAAC"}
@@ -11,7 +11,6 @@ const packages_llm_text = `
11
11
  @mastra/engine -> packages/engine
12
12
  @mastra/evals -> packages/evals
13
13
  @mastra/rag -> packages/rag
14
- @mastra/tts -> packages/tts
15
14
  @mastra/memory -> packages/memory
16
15
  @mastra/mcp -> packages/mcp
17
16
  @mastra/loggers -> packages/loggers
@@ -25,20 +24,17 @@ const packages_llm_text = `
25
24
  ## 3. Vector store packages - STRICT RULES:
26
25
  - ALL vector packages must be directly under vector-stores/
27
26
  - Format: @mastra/vector-{name} -> vector-stores/{name}
28
- - Special case: @mastra/vector-astra -> vector-stores/astra-db
27
+ - Special case: @mastra/vector-astra -> vector-stores/astra
29
28
 
30
- ## 4. Integrations - STRICT RULES:
29
+ ## 4. Speech packages - STRICT RULES:
30
+ - ALL speech packages must be directly under speech/
31
+ - Format: @mastra/speech-{name} -> speech/{name}
32
+
33
+ ## 5. Integrations - STRICT RULES:
31
34
  - ALL integration packages are under integrations/
32
- @mastra/apollos -> integrations/apollo
33
- @mastra/ashby -> integrations/ashby
35
+ @mastra/composio -> integrations/composio
34
36
  @mastra/github -> integrations/github
35
- @mastra/twilio -> integrations/twilio
36
- @mastra/stripe -> integrations/stripe
37
37
  @mastra/stabilityai -> integrations/stabilityai
38
- @mastra/sendgrid -> integrations/sendgrid
39
- @mastra/ragie -> integrations/ragie
40
- @mastra/resend -> integrations/resend
41
- @mastra/coda -> integrations/coda
42
38
  @mastra/firecrawl -> integrations/firecrawl
43
39
 
44
40
  ##VALIDATION:
@@ -1,7 +1,5 @@
1
1
  import { Mastra } from '@mastra/core';
2
2
  export declare const mastra: Mastra<{
3
- [x: string]: import("@mastra/core").SyncAction<any, any, any, any>;
4
- }, {
5
3
  dane: import("@mastra/core").Agent<{
6
4
  fsTool: import("@mastra/core").Tool<"fsTool", import("zod").ZodObject<{
7
5
  action: import("zod").ZodString;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/mastra/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAmBtC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wIA6BjB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/mastra/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAkBtC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wIA0BjB,CAAC"}
@@ -4,7 +4,6 @@ import { UpstashKVMemory } from '@mastra/memory';
4
4
  import { dane, daneChangeLog, daneCommitMessage, daneIssueLabeler, daneLinkChecker } from './agents/index.js';
5
5
  import { daneNewContributor } from './agents/new-contributor.js';
6
6
  import { danePackagePublisher } from './agents/package-publisher.js';
7
- import { firecrawl } from './integrations/index.js';
8
7
  import { changelogWorkflow } from './workflows/changelog.js';
9
8
  import { githubFirstContributorMessage } from './workflows/first-contributor.js';
10
9
  import { messageWorkflow, githubIssueLabeler, commitMessageGenerator } from './workflows/index.js';
@@ -40,7 +39,4 @@ export const mastra = new Mastra({
40
39
  githubFirstContributorMessage: githubFirstContributorMessage,
41
40
  linkChecker: linkCheckerWorkflow,
42
41
  },
43
- syncs: {
44
- ...firecrawl.getSyncs(),
45
- },
46
42
  });
@@ -1 +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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iDAwBhB,CAAC"}
1
+ {"version":3,"file":"crawl.d.ts","sourceRoot":"","sources":["../../../src/mastra/tools/crawl.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iDAyBhB,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import { createTool } from '@mastra/core';
2
2
  import { z } from 'zod';
3
+ import { firecrawl } from '../integrations';
3
4
  export const crawl = createTool({
4
5
  id: 'crawler',
5
6
  name: 'Crawler Tool',
@@ -13,10 +14,10 @@ export const crawl = createTool({
13
14
  message: z.string(),
14
15
  crawlData: z.any(),
15
16
  }),
16
- execute: async ({ context, mastra }) => {
17
- const crawlData = await mastra?.syncs?.['FIRECRAWL:CRAWL_AND_SYNC']?.execute({
18
- context,
19
- engine: mastra?.engine,
17
+ execute: async ({ context }) => {
18
+ const crawlData = firecrawl.getWorkflows({})?.['FIRECRAWL:CRAWL_AND_SYNC']?.createRun();
19
+ await crawlData?.start({
20
+ triggerData: context,
20
21
  });
21
22
  return {
22
23
  message: 'The website has been successfully crawled and chunks have been synced to the database. Finish.',
@@ -93,9 +93,6 @@ const assemblePackages = new Step({
93
93
  if (payload?.vector_stores) {
94
94
  payload.vector_stores.forEach((pkg) => {
95
95
  let pkgName = pkg.replace('@mastra/vector-', '');
96
- if (pkgName === 'astra') {
97
- pkgName = 'astra-db';
98
- }
99
96
  const pkgPath = path.join(process.cwd(), 'vector-stores', pkgName);
100
97
  packagesToBuild.add(pkgPath);
101
98
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/dane",
3
- "version": "0.0.2-alpha.93",
3
+ "version": "0.0.2-alpha.96",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "files": [
@@ -37,16 +37,16 @@
37
37
  "playwright": "^1.49.1",
38
38
  "playwright-core": "^1.49.1",
39
39
  "sqlite3": "^5.1.7",
40
- "typescript": "^5.5.4",
40
+ "typescript": "^5.7.3",
41
41
  "zod": "^3.24.0",
42
- "@mastra/core": "0.1.27-alpha.78",
43
- "@mastra/engine": "0.0.5-alpha.73",
44
- "@mastra/firecrawl": "1.0.4-alpha.70",
45
- "@mastra/memory": "0.0.2-alpha.59",
46
- "@mastra/rag": "0.0.2-alpha.68",
47
- "@mastra/stabilityai": "1.0.1-alpha.53",
48
- "@mastra/mcp": "0.0.1-alpha.20",
49
- "@mastra/github": "1.0.3-alpha.62"
42
+ "@mastra/engine": "0.0.5-alpha.75",
43
+ "@mastra/github": "1.0.3-alpha.64",
44
+ "@mastra/stabilityai": "1.0.1-alpha.55",
45
+ "@mastra/core": "0.1.27-alpha.80",
46
+ "@mastra/mcp": "0.0.1-alpha.22",
47
+ "@mastra/rag": "0.0.2-alpha.70",
48
+ "@mastra/firecrawl": "1.0.4-alpha.72",
49
+ "@mastra/memory": "0.0.2-alpha.61"
50
50
  },
51
51
  "scripts": {
52
52
  "build": "npx tsc",