@mastra/dane 0.0.2-alpha.16 → 0.0.2-alpha.17
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.
package/dist/commands/config.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Command } from 'commander';
|
|
2
|
-
import { ConfigManager } from '../config';
|
|
2
|
+
import { ConfigManager } from '../config/index.js';
|
|
3
3
|
export const configCommand = new Command('config')
|
|
4
4
|
.description('Manage Dane configuration')
|
|
5
5
|
.option('--set <key=value>', 'Set a configuration value')
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Agent } from '@mastra/core';
|
|
2
|
-
import { config } from '../../config';
|
|
2
|
+
import { config } from '../../config/index.js';
|
|
3
3
|
import { browserTool, googleSearch } from '../tools/browser.js';
|
|
4
4
|
import { listEvents } from '../tools/calendar.js';
|
|
5
5
|
import { crawl } from '../tools/crawl.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FirecrawlIntegration } from "@mastra/firecrawl";
|
|
2
2
|
import { GithubIntegration } from "@mastra/github";
|
|
3
3
|
import { StabilityAiIntegration } from "@mastra/stabilityai";
|
|
4
|
-
import { config } from "../../config";
|
|
4
|
+
import { config } from "../../config/index.js";
|
|
5
5
|
// Helper function to get key from config or env
|
|
6
6
|
const getApiKey = (configKey, envKey) => {
|
|
7
7
|
const configValue = config.get(configKey);
|
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.17",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"@mastra/core": "0.1.27-alpha.45",
|
|
42
42
|
"@mastra/engine": "0.0.5-alpha.39",
|
|
43
43
|
"@mastra/firecrawl": "1.0.4-alpha.31",
|
|
44
|
+
"@mastra/memory": "0.0.2-alpha.25",
|
|
44
45
|
"@mastra/github": "1.0.3-alpha.29",
|
|
45
|
-
"@mastra/memory": "0.0.2-alpha.24",
|
|
46
46
|
"@mastra/rag": "0.0.2-alpha.29",
|
|
47
47
|
"@mastra/stabilityai": "1.0.1-alpha.20"
|
|
48
48
|
},
|