@mastra/pinecone 0.1.6-alpha.0 → 0.1.6-alpha.1
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/.turbo/turbo-build.log +4 -4
- package/CHANGELOG.md +12 -0
- package/dist/_tsup-dts-rollup.d.ts +4 -4
- package/dist/index.js +1 -1
- package/eslint.config.js +6 -0
- package/package.json +7 -4
- package/src/vector/filter.ts +2 -7
- package/src/vector/index.test.ts +1 -1
- package/src/vector/index.ts +3 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
|
|
2
|
-
> @mastra/pinecone@0.1.6-alpha.
|
|
2
|
+
> @mastra/pinecone@0.1.6-alpha.1 build /home/runner/work/mastra/mastra/stores/pinecone
|
|
3
3
|
> tsup src/index.ts --format esm --experimental-dts --clean --treeshake
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
6
6
|
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
7
7
|
[34mCLI[39m tsup v8.3.6
|
|
8
8
|
[34mTSC[39m Build start
|
|
9
|
-
[32mTSC[39m ⚡️ Build success in
|
|
9
|
+
[32mTSC[39m ⚡️ Build success in 7448ms
|
|
10
10
|
[34mDTS[39m Build start
|
|
11
11
|
[34mCLI[39m Target: es2022
|
|
12
12
|
Analysis will use the bundled TypeScript version 5.7.3
|
|
13
13
|
[36mWriting package typings: /home/runner/work/mastra/mastra/stores/pinecone/dist/_tsup-dts-rollup.d.ts[39m
|
|
14
|
-
[32mDTS[39m ⚡️ Build success in
|
|
14
|
+
[32mDTS[39m ⚡️ Build success in 5356ms
|
|
15
15
|
[34mCLI[39m Cleaning output folder
|
|
16
16
|
[34mESM[39m Build start
|
|
17
17
|
[32mESM[39m [1mdist/index.js [22m[32m5.86 KB[39m
|
|
18
|
-
[32mESM[39m ⚡️ Build success in
|
|
18
|
+
[32mESM[39m ⚡️ Build success in 427ms
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @mastra/pinecone
|
|
2
2
|
|
|
3
|
+
## 0.1.6-alpha.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [0d185b1]
|
|
8
|
+
- Updated dependencies [ed55f1d]
|
|
9
|
+
- Updated dependencies [8d13b14]
|
|
10
|
+
- Updated dependencies [3ee4831]
|
|
11
|
+
- Updated dependencies [108793c]
|
|
12
|
+
- Updated dependencies [5f28f44]
|
|
13
|
+
- @mastra/core@0.4.3-alpha.1
|
|
14
|
+
|
|
3
15
|
## 0.1.6-alpha.0
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { BaseFilterTranslator } from '@mastra/core/filter';
|
|
2
|
-
import { Filter } from '@mastra/core/filter';
|
|
3
|
-
import { IndexStats } from '@mastra/core/vector';
|
|
2
|
+
import type { Filter } from '@mastra/core/filter';
|
|
3
|
+
import type { IndexStats } from '@mastra/core/vector';
|
|
4
4
|
import { MastraVector } from '@mastra/core/vector';
|
|
5
|
-
import { OperatorSupport } from '@mastra/core/filter';
|
|
6
|
-
import { QueryResult } from '@mastra/core/vector';
|
|
5
|
+
import type { OperatorSupport } from '@mastra/core/filter';
|
|
6
|
+
import type { QueryResult } from '@mastra/core/vector';
|
|
7
7
|
|
|
8
8
|
export declare class PineconeFilterTranslator extends BaseFilterTranslator {
|
|
9
9
|
protected getSupportedOperators(): OperatorSupport;
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BaseFilterTranslator } from '@mastra/core/filter';
|
|
2
1
|
import { MastraVector } from '@mastra/core/vector';
|
|
3
2
|
import { Pinecone } from '@pinecone-database/pinecone';
|
|
3
|
+
import { BaseFilterTranslator } from '@mastra/core/filter';
|
|
4
4
|
|
|
5
5
|
// src/vector/index.ts
|
|
6
6
|
var PineconeFilterTranslator = class extends BaseFilterTranslator {
|
package/eslint.config.js
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mastra/pinecone",
|
|
3
|
-
"version": "0.1.6-alpha.
|
|
3
|
+
"version": "0.1.6-alpha.1",
|
|
4
4
|
"description": "Pinecone vector store provider for Mastra",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@pinecone-database/pinecone": "^3.0.3",
|
|
19
|
-
"@mastra/core": "^0.4.3-alpha.
|
|
19
|
+
"@mastra/core": "^0.4.3-alpha.1"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@microsoft/api-extractor": "^7.49.2",
|
|
@@ -24,11 +24,14 @@
|
|
|
24
24
|
"dotenv": "^16.4.7",
|
|
25
25
|
"tsup": "^8.0.1",
|
|
26
26
|
"typescript": "^5.7.3",
|
|
27
|
-
"vitest": "^3.0.4"
|
|
27
|
+
"vitest": "^3.0.4",
|
|
28
|
+
"eslint": "^9.20.1",
|
|
29
|
+
"@internal/lint": "0.0.0"
|
|
28
30
|
},
|
|
29
31
|
"scripts": {
|
|
30
32
|
"build": "tsup src/index.ts --format esm --experimental-dts --clean --treeshake",
|
|
31
33
|
"build:watch": "pnpm build --watch",
|
|
32
|
-
"test": "vitest run"
|
|
34
|
+
"test": "vitest run",
|
|
35
|
+
"lint": "eslint ."
|
|
33
36
|
}
|
|
34
37
|
}
|
package/src/vector/filter.ts
CHANGED
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
type FieldCondition,
|
|
4
|
-
type Filter,
|
|
5
|
-
type OperatorSupport,
|
|
6
|
-
type QueryOperator,
|
|
7
|
-
} from '@mastra/core/filter';
|
|
1
|
+
import { BaseFilterTranslator } from '@mastra/core/filter';
|
|
2
|
+
import type { FieldCondition, Filter, OperatorSupport, QueryOperator } from '@mastra/core/filter';
|
|
8
3
|
|
|
9
4
|
export class PineconeFilterTranslator extends BaseFilterTranslator {
|
|
10
5
|
protected override getSupportedOperators(): OperatorSupport {
|
package/src/vector/index.test.ts
CHANGED
package/src/vector/index.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { MastraVector
|
|
1
|
+
import type { Filter } from '@mastra/core/filter';
|
|
2
|
+
import { MastraVector } from '@mastra/core/vector';
|
|
3
|
+
import type { QueryResult, IndexStats } from '@mastra/core/vector';
|
|
3
4
|
import { Pinecone } from '@pinecone-database/pinecone';
|
|
4
5
|
|
|
5
6
|
import { PineconeFilterTranslator } from './filter';
|