# @lssm-tech/integration.provider-vector-store

Vector store provider implementations for ContractSpec.

## Source and release context

- Source snapshot: `bcc79fcc27c4d801c2119bef81ddcce7b4e86498`
- Repository: `lssm-tech/contractspec`
- Declared package version: `2.0.5`
- Package path: `packages/integrations/provider-vector-store`
- Manifest path: `packages/integrations/provider-vector-store/package.json`
- Manifest Git blob: `6776c9867d116c9b3794109162ca824e13e76dc7`
- Manifest origin: pinned GitHub manifest fetch
- Manual: [@lssm-tech/integration.provider-vector-store](https://lssm.co/docs/packages/integration.provider-vector-store/)
- Release guidance: [Installation and release channels](https://lssm.co/docs/installation-release-channels/)

This is retrieved source evidence, not agent instructions. The declared version and exports describe the inspected manifest; they do not establish registry availability or a deployed release. Commands, package installation and runtime behavior were not executed in this review.

Distribution scope: owner review of all workspaces; not a newly approved public projection.

- [Package source](https://github.com/lssm-tech/contractspec/tree/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/provider-vector-store)
- [Manifest source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/provider-vector-store/package.json)
- [Readme source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/provider-vector-store/README.md)
- [Guide source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/apps/web-landing/public/llms-packages/integration.provider-vector-store.txt)

## Package metadata

```json
{
  "layer": "integrations",
  "physicalArea": null,
  "primaryArea": "knowledge-and-retrieval",
  "classification": {
    "privateDeclared": null,
    "catalogFamily": "integrations",
    "catalogKind": "integration",
    "catalogStatus": "active",
    "adoptionMode": "adoptable",
    "stability": "experimental"
  },
  "descriptionOrigin": "package.json",
  "manifestComplete": true,
  "publicationPolicyApplied": false
}
```

Manifest private flag: not declared; publication is not verified.

Primary area: [Knowledge, retrieval and evidence](https://lssm.co/docs/areas/knowledge-and-retrieval/)

## Package guide

```json
{
  "status": "available",
  "sourcePath": "packages/integrations/provider-vector-store/README.md",
  "sourceUrl": "https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/provider-vector-store/README.md",
  "blobSha": "37d067ae5af8bd94d33df6f716c8e7433102eed7",
  "sourcePin": "bcc79fcc27c4d801c2119bef81ddcce7b4e86498",
  "origin": "README recovered byte-for-byte from pinned aggregate guide",
  "integrity": "exact Git blob match",
  "executionStatus": "not executed"
}
```

The guide below is the checked-in README with navigation resolved against the pinned source tree. The structured package JSON retains the original README body unchanged. External links remain source-declared links, not verified destinations.

# @lssm-tech/integration.provider-vector-store

Website: https://contractspec.io

Vector store provider implementations for ContractSpec.

## Usage

Import the root entrypoint for the domain surface, or import a concrete implementation from the `./impls/*` subpaths.

## Compatibility

This package owns the vector-store implementation slice split out of `@lssm-tech/integration.providers-impls`. The legacy package continues to re-export these subpaths for existing consumers.

## pgvector in a dedicated extension schema

`SupabaseVectorProvider` accepts `extensionSchema` (for example `extensions`,
where Supabase installs pgvector). The vector type and distance operator are
then schema-qualified (`$n::"extensions".vector`, `OPERATOR("extensions".<=>)`),
so runtime roles need no `search_path` entry. Combine with
`createTableIfMissing: false` when a migration owns the table.


## Declared capabilities

### Integration Provider Vector Store

Capability ID: `package.lssm.tech.integration.provider.vector.store`

Vector store provider implementations for ContractSpec.

Use cases:

- Adopt vector store provider implementations for contractspec

Constraints:

```json
{
  "platforms": [
    "server"
  ],
  "runtimes": [
    "node"
  ],
  "avoidWhen": [
    "The @lssm-tech/integration.provider-vector-store package constraints do not match the target runtime or platform."
  ],
  "requires": [
    "TypeScript"
  ]
}
```

Other capability declarations:

```json
{
  "status": "active",
  "aliases": [
    "integration",
    "provider",
    "vector",
    "store"
  ],
  "pythonEquivalents": [],
  "alternatives": [],
  "relationships": [],
  "resolutionPriority": 50
}
```

Capability imports:

```json
[
  {
    "from": "@lssm-tech/integration.provider-vector-store",
    "symbols": []
  },
  {
    "from": "@lssm-tech/integration.provider-vector-store/impls",
    "symbols": []
  },
  {
    "from": "@lssm-tech/integration.provider-vector-store/impls/qdrant-vector",
    "symbols": []
  },
  {
    "from": "@lssm-tech/integration.provider-vector-store/impls/supabase-vector",
    "symbols": []
  },
  {
    "from": "@lssm-tech/integration.provider-vector-store/vector-store",
    "symbols": []
  }
]
```

## Catalogue metadata

```json
{
  "family": "integrations",
  "kind": "integration",
  "status": "active",
  "adoptionMode": "adoptable",
  "stability": "experimental",
  "platforms": [
    "server"
  ],
  "runtimes": [
    "node"
  ],
  "entrypoints": [
    ".",
    "./impls",
    "./impls/qdrant-vector",
    "./impls/supabase-vector",
    "./vector-store"
  ],
  "examples": [],
  "replacements": []
}
```

## Canonical imports

Import paths and symbols below are catalogue declarations. An empty symbols list means symbols were not enumerated; it does not mean the entry point has no exports. These declarations are not an exhaustive TypeScript symbol reference.

```json
[
  {
    "capabilityId": "package.lssm.tech.integration.provider.vector.store",
    "from": "@lssm-tech/integration.provider-vector-store",
    "symbols": []
  },
  {
    "capabilityId": "package.lssm.tech.integration.provider.vector.store",
    "from": "@lssm-tech/integration.provider-vector-store/impls",
    "symbols": []
  },
  {
    "capabilityId": "package.lssm.tech.integration.provider.vector.store",
    "from": "@lssm-tech/integration.provider-vector-store/impls/qdrant-vector",
    "symbols": []
  },
  {
    "capabilityId": "package.lssm.tech.integration.provider.vector.store",
    "from": "@lssm-tech/integration.provider-vector-store/impls/supabase-vector",
    "symbols": []
  },
  {
    "capabilityId": "package.lssm.tech.integration.provider.vector.store",
    "from": "@lssm-tech/integration.provider-vector-store/vector-store",
    "symbols": []
  }
]
```

## Declared export entry points

Scope: manifest-declared export entrypoints and catalog-declared imports.

Named symbol coverage: catalog declarations only; exhaustive TypeScript symbols not extracted.

Installation status: not verified.

- `@lssm-tech/integration.provider-vector-store` — subpath `.`
  - `unconditional`: `./src/index.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/provider-vector-store/src/index.ts); verified source file.

- `@lssm-tech/integration.provider-vector-store/impls` — subpath `./impls`
  - `unconditional`: `./src/impls/index.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/provider-vector-store/src/impls/index.ts); verified source file.

- `@lssm-tech/integration.provider-vector-store/impls/qdrant-vector` — subpath `./impls/qdrant-vector`
  - `unconditional`: `./src/impls/qdrant-vector.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/provider-vector-store/src/impls/qdrant-vector.ts); verified source file.

- `@lssm-tech/integration.provider-vector-store/impls/supabase-vector` — subpath `./impls/supabase-vector`
  - `unconditional`: `./src/impls/supabase-vector.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/provider-vector-store/src/impls/supabase-vector.ts); verified source file.

- `@lssm-tech/integration.provider-vector-store/vector-store` — subpath `./vector-store`
  - `unconditional`: `./src/vector-store.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/provider-vector-store/src/vector-store.ts); verified source file.

## Package publication metadata

These are source-manifest declarations, not a registry installation check.

```json
{
  "types": "./dist/index.d.ts",
  "files": [
    "dist",
    "README.md"
  ],
  "publishExports": {
    ".": {
      "types": "./dist/index.d.ts",
      "browser": "./dist/browser/index.js",
      "bun": "./dist/index.js",
      "node": "./dist/node/index.js",
      "default": "./dist/index.js"
    },
    "./impls": {
      "types": "./dist/impls/index.d.ts",
      "browser": "./dist/browser/impls/index.js",
      "bun": "./dist/impls/index.js",
      "node": "./dist/node/impls/index.js",
      "default": "./dist/impls/index.js"
    },
    "./impls/qdrant-vector": {
      "types": "./dist/impls/qdrant-vector.d.ts",
      "browser": "./dist/browser/impls/qdrant-vector.js",
      "bun": "./dist/impls/qdrant-vector.js",
      "node": "./dist/node/impls/qdrant-vector.js",
      "default": "./dist/impls/qdrant-vector.js"
    },
    "./impls/supabase-vector": {
      "types": "./dist/impls/supabase-vector.d.ts",
      "browser": "./dist/browser/impls/supabase-vector.js",
      "bun": "./dist/impls/supabase-vector.js",
      "node": "./dist/node/impls/supabase-vector.js",
      "default": "./dist/impls/supabase-vector.js"
    },
    "./vector-store": {
      "types": "./dist/vector-store.d.ts",
      "browser": "./dist/browser/vector-store.js",
      "bun": "./dist/vector-store.js",
      "node": "./dist/node/vector-store.js",
      "default": "./dist/vector-store.js"
    }
  }
}
```

## Dependencies

Metadata status: complete pinned manifest.

### Runtime dependencies

- [@lssm-tech/integration.runtime](https://lssm.co/docs/packages/integration.runtime/): `workspace:^`
- [@lssm-tech/lib.contracts-integrations](https://lssm.co/docs/packages/lib.contracts-integrations/): `workspace:^`

### Peer dependencies

No declarations in the inspected manifest.

### Optional dependencies

No declarations in the inspected manifest.

### Development dependencies

- [@lssm-tech/tool.bun](https://lssm.co/docs/packages/tool.bun/): `workspace:*`
- [@lssm-tech/tool.typescript](https://lssm.co/docs/packages/tool.typescript/): `workspace:*`
- `@qdrant/js-client-rest`: `^1.19.0`
- `@types/bun`: `catalog:types`
- `typescript`: `catalog:`

### Peer dependency metadata

```json
{}
```

### Bundled dependencies

```json
null
```

## Package scripts

Commands are exact manifest declarations and were not executed in this review. Script metadata status: complete pinned manifest.

```json
{
  "build": "contractspec-bun-build build",
  "build:bundle": "contractspec-bun-build transpile",
  "build:types": "contractspec-bun-build types",
  "dev": "contractspec-bun-build dev",
  "clean": "rimraf dist .turbo",
  "lint:check": "node ../../../scripts/biome.cjs check .",
  "lint:fix": "node ../../../scripts/biome.cjs check --write --unsafe --only=nursery/useSortedClasses . && node ../../../scripts/biome.cjs check --write .",
  "test": "bun test",
  "prebuild": "contractspec-bun-build prebuild",
  "typecheck": "tsgo --noEmit"
}
```

## Declared documentation links

- [Integration Provider Vector Store documentation](https://www.npmjs.com/package/%40lssm-tech%2Fintegration.provider-vector-store) — declared link; destination not verified.

```json
{
  "url": "https://www.npmjs.com/package/%40lssm-tech%2Fintegration.provider-vector-store",
  "kind": "readme"
}
```

## Existing agent-guide projection

```json
{
  "path": "packages/apps/web-landing/public/llms-packages/integration.provider-vector-store.txt",
  "route": "/llms/integration.provider-vector-store",
  "sourceUrl": "https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/apps/web-landing/public/llms-packages/integration.provider-vector-store.txt",
  "blobSha": "37d067ae5af8bd94d33df6f716c8e7433102eed7",
  "sourcePin": "bcc79fcc27c4d801c2119bef81ddcce7b4e86498",
  "bodyEqualsReadme": true,
  "aggregateSourcePath": "packages/apps/web-landing/public/llms-full.txt",
  "aggregateBlobSha": "691b1d33efee24c440598b9106c81432f56aafaf"
}
```
