@mastra/lance 1.0.0-beta.8 → 1.0.0-beta.9
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/CHANGELOG.md +40 -0
- package/dist/index.cjs +3 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -15
- package/dist/index.js.map +1 -1
- package/dist/storage/index.d.ts +6 -2
- package/dist/storage/index.d.ts.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { connect, Index } from '@lancedb/lancedb';
|
|
2
2
|
import { MastraError, ErrorCategory, ErrorDomain } from '@mastra/core/error';
|
|
3
|
-
import {
|
|
3
|
+
import { MemoryStorage, TABLE_SCHEMAS, TABLE_THREADS, TABLE_MESSAGES, TABLE_RESOURCES, createStorageErrorId, normalizePerPage, calculatePagination, ScoresStorage, SCORERS_SCHEMA, TABLE_SCORERS, WorkflowsStorage, TABLE_WORKFLOW_SNAPSHOT, MastraStorage, createVectorErrorId, getDefaultValue, ensureDate } from '@mastra/core/storage';
|
|
4
4
|
import { MessageList } from '@mastra/core/agent';
|
|
5
5
|
import { MastraBase } from '@mastra/core/base';
|
|
6
6
|
import { Utf8, Float64, Binary, Float32, Int32, Field, Schema } from 'apache-arrow';
|
|
@@ -1949,19 +1949,6 @@ var LanceStorage = class _LanceStorage extends MastraStorage {
|
|
|
1949
1949
|
super({ id, name, disableInit });
|
|
1950
1950
|
this.stores = {};
|
|
1951
1951
|
}
|
|
1952
|
-
get supports() {
|
|
1953
|
-
return {
|
|
1954
|
-
selectByIncludeResourceScope: true,
|
|
1955
|
-
resourceWorkingMemory: true,
|
|
1956
|
-
hasColumn: true,
|
|
1957
|
-
createTable: true,
|
|
1958
|
-
deleteMessages: true,
|
|
1959
|
-
observability: false,
|
|
1960
|
-
indexManagement: false,
|
|
1961
|
-
listScoresBySpan: true,
|
|
1962
|
-
agents: false
|
|
1963
|
-
};
|
|
1964
|
-
}
|
|
1965
1952
|
};
|
|
1966
1953
|
var LanceFilterTranslator = class extends BaseFilterTranslator {
|
|
1967
1954
|
translate(filter) {
|
|
@@ -3183,6 +3170,6 @@ var LanceVectorStore = class _LanceVectorStore extends MastraVector {
|
|
|
3183
3170
|
}
|
|
3184
3171
|
};
|
|
3185
3172
|
|
|
3186
|
-
export { LanceStorage, LanceVectorStore };
|
|
3173
|
+
export { LanceStorage, LanceVectorStore, StoreMemoryLance, StoreScoresLance, StoreWorkflowsLance };
|
|
3187
3174
|
//# sourceMappingURL=index.js.map
|
|
3188
3175
|
//# sourceMappingURL=index.js.map
|