@mastra/pinecone 0.1.5 → 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.
@@ -1,18 +1,18 @@
1
1
 
2
- > @mastra/pinecone@0.1.5-alpha.2 build /home/runner/work/mastra/mastra/stores/pinecone
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
  CLI Building entry: src/index.ts
6
6
  CLI Using tsconfig: tsconfig.json
7
7
  CLI tsup v8.3.6
8
8
  TSC Build start
9
- TSC ⚡️ Build success in 6574ms
9
+ TSC ⚡️ Build success in 7448ms
10
10
  DTS Build start
11
11
  CLI Target: es2022
12
- CLI Cleaning output folder
13
- ESM Build start
14
12
  Analysis will use the bundled TypeScript version 5.7.3
15
13
  Writing package typings: /home/runner/work/mastra/mastra/stores/pinecone/dist/_tsup-dts-rollup.d.ts
16
- DTS ⚡️ Build success in 5683ms
14
+ DTS ⚡️ Build success in 5356ms
15
+ CLI Cleaning output folder
16
+ ESM Build start
17
17
  ESM dist/index.js 5.86 KB
18
- ESM ⚡️ Build success in 5812ms
18
+ ESM ⚡️ Build success in 427ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
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
+
15
+ ## 0.1.6-alpha.0
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies [06aa827]
20
+ - @mastra/core@0.4.3-alpha.0
21
+
3
22
  ## 0.1.5
4
23
 
5
24
  ### 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 {
@@ -0,0 +1,6 @@
1
+ import { createConfig } from '@internal/lint/eslint';
2
+
3
+ const config = await createConfig();
4
+
5
+ /** @type {import("eslint").Linter.Config[]} */
6
+ export default [...config];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/pinecone",
3
- "version": "0.1.5",
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.2"
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
  }
@@ -1,10 +1,5 @@
1
- import {
2
- BaseFilterTranslator,
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 {
@@ -1,5 +1,5 @@
1
1
  import dotenv from 'dotenv';
2
- import { describe, it, expect, beforeAll, afterAll, beforeEach, afterEach } from 'vitest';
2
+ import { describe, it, expect, beforeAll, afterAll } from 'vitest';
3
3
 
4
4
  import { PineconeVector } from './';
5
5
 
@@ -1,5 +1,6 @@
1
- import { type Filter } from '@mastra/core/filter';
2
- import { MastraVector, type QueryResult, type IndexStats } from '@mastra/core/vector';
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';