@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.
@@ -1,18 +1,18 @@
1
1
 
2
- > @mastra/pinecone@0.1.6-alpha.0 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 6644ms
9
+ TSC ⚡️ Build success in 7448ms
10
10
  DTS Build start
11
11
  CLI Target: es2022
12
12
  Analysis will use the bundled TypeScript version 5.7.3
13
13
  Writing package typings: /home/runner/work/mastra/mastra/stores/pinecone/dist/_tsup-dts-rollup.d.ts
14
- DTS ⚡️ Build success in 4999ms
14
+ DTS ⚡️ Build success in 5356ms
15
15
  CLI Cleaning output folder
16
16
  ESM Build start
17
17
  ESM dist/index.js 5.86 KB
18
- ESM ⚡️ Build success in 419ms
18
+ ESM ⚡️ 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 {
@@ -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.6-alpha.0",
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.0"
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';