open-index/open-npm huggingface dataset:
npm package: @mastra/store-pg
Description: Postgres store provider for Mastra (deprecated - use @mastra/pg instead)
Latest version: 0.0.5

# @mastra/store-pg [DEPRECATED]

> ⚠️ **DEPRECATED**: This package has been merged into `@mastra/pg`. Please use `@mastra/pg` instead:
>
> ```typescript
> import { PostgresStore } from '@mastra/pg';
> ```
>
> The new package provides both storage and vector store capabilities with improved integration.

PostgreSQL storage implementation for Mastra, providing thread and message storage with transaction support.
npm package: @mastra/store-upstash
Description: Upstash Redis store provider for Mastra
Latest version: 0.0.5

# @mastra/store-upstash

⚠️ **DEPRECATED** ⚠️

This package has been merged into `@mastra/upstash`. Please use the new package instead:

```bash
npm install @mastra/upstash
```

Then update your imports:

```typescript
// Old import
import { UpstashStore } from '@mastra/store-upstash';

// New import
import { UpstashStore } from '@mastra/upstash';
```

The new package combines both vector store and storage functionality in one place. See the documentation at `@mastra/upstash` for more details.
npm package: @mastra/vector-astra
Description: Astra DB vector store provider for Mastra (deprecated please use @mastra/astra instead)
Latest version: 0.1.5

# ⚠️ DEPRECATED - @mastra/vector-astra

**This package is deprecated. Please use `@mastra/astra` instead.**

## Migration Guide

1. Remove this package from your dependencies:

   ```bash
   pnpm remove @mastra/vector-astra
   ```

2. Install the new package:

   ```bash
   pnpm add @mastra/astra
   ```

3. Update your imports:

   ```typescript
   // Old import
   import { AstraVector } from "@mastra/vector-astra";

   // New import
   import { AstraVector } from "@mastra/astra";
   ```

The new package provides the same functionality with an improved structure and additional features.
npm package: @mastra/vector-chroma
Description: Chroma vector store provider for Mastra (deprecated please use @mastra/chroma instead)
Latest version: 0.1.5

# ⚠️ DEPRECATED - @mastra/vector-chroma

**This package is deprecated. Please use `@mastra/chroma` instead.**

## Migration Guide

1. Remove this package from your dependencies:

   ```bash
   pnpm remove @mastra/vector-chroma
   ```

2. Install the new package:

   ```bash
   pnpm add @mastra/chroma
   ```

3. Update your imports:

   ```typescript
   // Old import
   import { ChromaVector } from "@mastra/vector-chroma";

   // New import
   import { ChromaVector } from "@mastra/chroma";
   ```

The new package provides the same functionality with an improved structure and additional features.
npm package: @mastra/vector-libsql
Description: LibSQL vector store provider for Mastra
Latest version: 0.1.0-alpha.24

# @mastra/vector-libsql

Vector store implementation for libSQL/Turso using the official @libsql/client with support for vector similarity search and advanced JSON filtering.

## Installation

```bash
npm install @mastra/vector-libsql
```

## Usage

```typescript
import { LibSQLVector } from '@mastra/vector-libsql';

const vectorStore = new LibSQLVector({
  connectionUrl: 'libsql://your-database.turso.io',
  authToken: 'your-auth-token',       // optional
  syncUrl: 'your-sync-url',           // optional
  syncInterval: 1000                  // optional
});

// Create a new table
await vectorStore.createIndex('my_vectors', 1536);

// Add vectors
const vectors = [[0.1, 0.2, ...], [0.3, 0.4, ...]];
const metadata = [{ text: 'doc1' }, { text: 'doc2' }];
const ids = await vectorStore.upsert('my_vectors', vectors, metadata);

// Query vectors
const results = await vectorStore.query(
  'my_vectors',
  [0.1, 0.2, ...],
  10,              // topK
  { text: 'doc1' }, // filter
  false,           // includeVector
  0.5              // minScore
);
```

## Configuration

Required:

- `connectionUrl`: URL of your libSQL/Turso database

Optional:

- `authToken`: Authentication token for Turso
- `syncUrl`: URL for database synchronization
- `syncInterval`: Sync interval in milliseconds

## Features

- Vector similarity search using cosine distance
- Advanced JSON metadata filtering
- Support for nested object traversal in filters
- Array contains operations
- Minimum score threshold for queries
- Automatic UUID generation for vectors
- Table management (create, list, describe, delete, truncate)
- Built on top of @libsql/client
- Support for Turso's sync functionality

## Supported Filter Operations

### Basic Operations

- Equality: `{ field: value }`
- Comparison: `{ field: { $gt, $gte, $lt, $lte, $ne } }`
- Array: `{ field: { $in: [...] } }`

### Advanced Operations

- Contains (Objects):

```typescript
{
  metadata: {
    contains: {
      nested: {
        field: 'value';
      }
    }
  }
}
```

- Contains (Arrays):

```typescript
{
  tags: {
    contains: ['tag1', 'tag2'];
  }
}
```

## Methods

- `createIndex(indexName, dimension)`: Create a new table
- `upsert(indexName, vectors, metadata?, ids?)`: Add or update vectors
- `query(indexName, queryVector, topK?, filter?, includeVector?, minScore?)`: Search for similar vectors
- `listIndexes()`: List all vector tables
- `describeIndex(indexName)`: Get table statistics
- `deleteIndex(indexName)`: Delete a table
- `truncateIndex(indexName)`: Remove all data from a table

## Related Links

- [libSQL Documentation](https://github.com/tursodatabase/libsql)
- [Turso Documentation](https://docs.turso.tech)
- [@libsql/client Documentation](https://github.com/tursodatabase/libsql/tree/main/clients/typescript)
npm package: @mastra/vector-pg
Description: Postgres Vector store provider for Mastra (deprecated use @mastra/pg instead)
Latest version: 0.1.5

# @mastra/vector-pg [DEPRECATED]

> ⚠️ **DEPRECATED**: This package has been merged into `@mastra/pg`. Please use `@mastra/pg` instead:
>
> ```typescript
> import { PgVector } from '@mastra/pg';
> ```
>
> The new package provides both vector store and storage capabilities with improved integration.

Vector store implementation for PostgreSQL with pgvector extension, providing advanced vector similarity search capabilities with connection pooling and transaction support.
npm package: @mastra/vector-pinecone
Description: Pinecone vector store provider for Mastra (deprecated please use @mastra/pinecone instead)
Latest version: 0.1.5

# ⚠️ DEPRECATED - @mastra/vector-pinecone

**This package is deprecated. Please use `@mastra/pinecone` instead.**

## Migration Guide

1. Remove this package from your dependencies:

   ```bash
   pnpm remove @mastra/vector-pinecone
   ```

2. Install the new package:

   ```bash
   pnpm add @mastra/pinecone
   ```

3. Update your imports:

   ```typescript
   // Old import
   import { PineconeVector } from "@mastra/vector-pinecone";

   // New import
   import { PineconeVector } from "@mastra/pinecone";
   ```

The new package provides the same functionality with an improved structure and additional features.
npm package: @mastra/vector-qdrant
Description: Qdrant vector store provider for Mastra (deprecated please use @mastra/qdrant instead)
Latest version: 0.1.5

# ⚠️ DEPRECATED - @mastra/vector-qdrant

**This package is deprecated. Please use `@mastra/qdrant` instead.**

## Migration Guide

1. Remove this package from your dependencies:

   ```bash
   pnpm remove @mastra/vector-qdrant
   ```

2. Install the new package:

   ```bash
   pnpm add @mastra/qdrant
   ```

3. Update your imports:

   ```typescript
   // Old import
   import { QdrantVector } from "@mastra/vector-qdrant";

   // New import
   import { QdrantVector } from "@mastra/qdrant";
   ```

The new package provides the same functionality with an improved structure and additional features.
npm package: @mastra/vector-upstash
Description: Upstash vector store provider for Mastra
Latest version: 0.1.5

# @mastra/vector-upstash

⚠️ **DEPRECATED** ⚠️

This package has been merged into `@mastra/upstash`. Please use the new package instead:

```bash
npm install @mastra/upstash
```

Then update your imports:

```typescript
// Old import
import { UpstashVector } from '@mastra/vector-upstash';

// New import
import { UpstashVector } from '@mastra/upstash';
```

The new package combines both vector store and storage functionality in one place. See the documentation at `@mastra/upstash` for more details.
npm package: @mastra/vector-vectorize
Description: Cloudflare Vectorize store provider for Mastra (deprecated please use @mastra/vectorize instead)
Latest version: 0.1.5

# @mastra/vector-vectorize (DEPRECATED)

⚠️ **This package is deprecated** ⚠️

This package has been moved to `@mastra/vectorize`. Please update your dependencies and imports to use the new package:

```diff
- import { CloudflareVector } from '@mastra/vector-vectorize';
+ import { CloudflareVector } from '@mastra/vectorize';
```

## Migration

1. Update your package.json:

```diff
- "@mastra/vector-vectorize": "^0.1.0"
+ "@mastra/vectorize": "^0.1.0"
```

2. Update your imports:

```diff
- import { CloudflareVector } from '@mastra/vector-vectorize';
+ import { CloudflareVector } from '@mastra/vectorize';
```

3. Run `pnpm install` to update your dependencies

The API remains the same, so no other changes are needed.

## Why was this moved?

This package was moved to simplify our package naming convention and improve discoverability. The new package is functionally identical but lives in a more appropriate location in our monorepo structure.