@mastra/core 0.2.0-alpha.102 → 0.2.0-alpha.103
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/agent/index.js +2 -2
- package/dist/{chunk-Q6G6SNQX.js → chunk-ASLF4JHV.js} +2 -2
- package/dist/{chunk-DLYG2R33.js → chunk-MWOKK7WY.js} +1 -1
- package/dist/index.js +3 -3
- package/dist/mastra/index.js +2 -2
- package/dist/memory/index.js +2 -2
- package/dist/relevance/index.js +2 -2
- package/dist/storage/index.js +2 -2
- package/dist/vector/index.js +1 -1
- package/dist/vector/libsql/index.js +2 -2
- package/package.json +1 -1
package/dist/agent/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export { Agent } from '../chunk-36TMTHAG.js';
|
|
2
2
|
import '../chunk-2SAHBQEF.js';
|
|
3
3
|
import '../chunk-D43OFEQ4.js';
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-MWOKK7WY.js';
|
|
5
|
+
import '../chunk-ASLF4JHV.js';
|
|
6
6
|
import '../chunk-MGW52IED.js';
|
|
7
7
|
import '../chunk-55GTEVHJ.js';
|
|
8
8
|
import '../chunk-TGPURYN5.js';
|
|
@@ -10,10 +10,10 @@ function getModelCachePath() {
|
|
|
10
10
|
cachedPath = path.join(firstNodeModules, "node_modules", ".fastembed-model-cache");
|
|
11
11
|
return cachedPath;
|
|
12
12
|
}
|
|
13
|
-
var fastEmbedImportPath = "fastembed?" + Date.now();
|
|
14
13
|
async function generateEmbeddings(values, modelType) {
|
|
15
14
|
try {
|
|
16
|
-
const
|
|
15
|
+
const fastEmbedImportPath = "fastembed?d=" + Date.now();
|
|
16
|
+
const { EmbeddingModel, FlagEmbedding } = await import(fastEmbedImportPath.split(`?`)[0]);
|
|
17
17
|
const model = await FlagEmbedding.init({
|
|
18
18
|
model: EmbeddingModel[modelType],
|
|
19
19
|
cacheDir: getModelCachePath()
|
package/dist/index.js
CHANGED
|
@@ -8,9 +8,9 @@ import { Agent } from './chunk-36TMTHAG.js';
|
|
|
8
8
|
import './chunk-2SAHBQEF.js';
|
|
9
9
|
import { MastraStorage, DefaultStorage, MastraMemory } from './chunk-D43OFEQ4.js';
|
|
10
10
|
export { DefaultStorage } from './chunk-D43OFEQ4.js';
|
|
11
|
-
export { DefaultVectorDB, DefaultVectorDB as LibSQLVector } from './chunk-
|
|
12
|
-
import { MastraVector } from './chunk-
|
|
13
|
-
export { localEmbedder } from './chunk-
|
|
11
|
+
export { DefaultVectorDB, DefaultVectorDB as LibSQLVector } from './chunk-MWOKK7WY.js';
|
|
12
|
+
import { MastraVector } from './chunk-ASLF4JHV.js';
|
|
13
|
+
export { localEmbedder } from './chunk-ASLF4JHV.js';
|
|
14
14
|
import { Workflow } from './chunk-MGW52IED.js';
|
|
15
15
|
export { Step, createStep, getStepResult, isErrorEvent, isTransitionEvent, isVariableReference } from './chunk-MGW52IED.js';
|
|
16
16
|
export { deepMerge, delay, jsonSchemaPropertiesToTSTypes, jsonSchemaToModel, maskStreamTags } from './chunk-55GTEVHJ.js';
|
package/dist/mastra/index.js
CHANGED
|
@@ -3,8 +3,8 @@ import '../chunk-JDYDC36H.js';
|
|
|
3
3
|
import '../chunk-36TMTHAG.js';
|
|
4
4
|
import '../chunk-2SAHBQEF.js';
|
|
5
5
|
import '../chunk-D43OFEQ4.js';
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-MWOKK7WY.js';
|
|
7
|
+
import '../chunk-ASLF4JHV.js';
|
|
8
8
|
import '../chunk-MGW52IED.js';
|
|
9
9
|
import '../chunk-55GTEVHJ.js';
|
|
10
10
|
import '../chunk-FFUAZ654.js';
|
package/dist/memory/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { MastraMemory } from '../chunk-D43OFEQ4.js';
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
2
|
+
import '../chunk-MWOKK7WY.js';
|
|
3
|
+
import '../chunk-ASLF4JHV.js';
|
|
4
4
|
import '../chunk-MGW52IED.js';
|
|
5
5
|
import '../chunk-55GTEVHJ.js';
|
|
6
6
|
import '../chunk-TGPURYN5.js';
|
package/dist/relevance/index.js
CHANGED
|
@@ -2,8 +2,8 @@ export { CohereRelevanceScorer, MastraAgentRelevanceScorer, createSimilarityProm
|
|
|
2
2
|
import '../chunk-36TMTHAG.js';
|
|
3
3
|
import '../chunk-2SAHBQEF.js';
|
|
4
4
|
import '../chunk-D43OFEQ4.js';
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-MWOKK7WY.js';
|
|
6
|
+
import '../chunk-ASLF4JHV.js';
|
|
7
7
|
import '../chunk-MGW52IED.js';
|
|
8
8
|
import '../chunk-55GTEVHJ.js';
|
|
9
9
|
import '../chunk-TGPURYN5.js';
|
package/dist/storage/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { DefaultStorage, MastraStorage, DefaultStorage as MastraStorageLibSql } from '../chunk-D43OFEQ4.js';
|
|
2
|
-
export { DefaultVectorDB, DefaultVectorDB as LibSQLVector } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
2
|
+
export { DefaultVectorDB, DefaultVectorDB as LibSQLVector } from '../chunk-MWOKK7WY.js';
|
|
3
|
+
import '../chunk-ASLF4JHV.js';
|
|
4
4
|
import '../chunk-MGW52IED.js';
|
|
5
5
|
import '../chunk-55GTEVHJ.js';
|
|
6
6
|
import '../chunk-TGPURYN5.js';
|
package/dist/vector/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { DefaultVectorDB, DefaultVectorDB as LibSQLVector } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
export { DefaultVectorDB, DefaultVectorDB as LibSQLVector } from '../../chunk-MWOKK7WY.js';
|
|
2
|
+
import '../../chunk-ASLF4JHV.js';
|
|
3
3
|
import '../../chunk-TGPURYN5.js';
|
|
4
4
|
import '../../chunk-E4R7V4RM.js';
|
|
5
5
|
import '../../chunk-O2VP5JBC.js';
|