docs: rename the native provider to @soulcraft/cor across public docs and JSDoc
The 3.0 native engine ships as @soulcraft/cor (brainy 8.x <-> cor 3.x are a version-matched pair); the old @soulcraft/cortex package stays on the 2.x/7.x line. Public docs and .d.ts-visible comments now name the correct package. Historical 2.x contract references (e.g. the 2.3.1 read-side fallback) keep the old name deliberately.
This commit is contained in:
parent
a3c2717ddb
commit
bf4a333f9b
38 changed files with 104 additions and 104 deletions
|
|
@ -2,7 +2,7 @@
|
|||
* Brainy Plugin System
|
||||
*
|
||||
* Simple plugin architecture for two use cases:
|
||||
* 1. Native acceleration (@soulcraft/cortex)
|
||||
* 1. Native acceleration (@soulcraft/cor)
|
||||
* 2. Custom storage adapters (e.g., Redis, DynamoDB, custom backends)
|
||||
*
|
||||
* Plugins are loaded from an explicit `plugins: [...]` config list or
|
||||
|
|
@ -20,7 +20,7 @@ import type { MetadataIndexStats } from './utils/metadataIndex.js'
|
|||
import type { GraphIndexStats } from './graph/graphAdjacencyIndex.js'
|
||||
|
||||
// Re-export the provider contracts that already live closer to their
|
||||
// implementations so a plugin author (Cortex) can import the *entire*
|
||||
// implementations so a plugin author (Cor) can import the *entire*
|
||||
// provider surface from one stable entrypoint: `@soulcraft/brainy/plugin`.
|
||||
export type { ColumnStoreProvider } from './indexes/columnStore/types.js'
|
||||
export type {
|
||||
|
|
@ -75,7 +75,7 @@ export interface BrainyPluginContext {
|
|||
/**
|
||||
* Register a provider for a named subsystem.
|
||||
*
|
||||
* Well-known provider keys (used by cortex):
|
||||
* Well-known provider keys (used by cor):
|
||||
* - 'metadataIndex' — MetadataIndexManager replacement
|
||||
* - 'graphIndex' — GraphAdjacencyIndex replacement
|
||||
* - 'entityIdMapper' — EntityIdMapper replacement
|
||||
|
|
@ -103,7 +103,7 @@ export interface BrainyPluginContext {
|
|||
//
|
||||
// These interfaces are the type-level half of the provider-parity guarantee.
|
||||
// They capture only what Brainy actually invokes, so a native accelerator
|
||||
// (Cortex) that declares `implements MetadataIndexProvider` gets a compile
|
||||
// (Cor) that declares `implements MetadataIndexProvider` gets a compile
|
||||
// error the moment a method Brainy depends on is dropped or its signature
|
||||
// drifts. Brainy's own baseline classes (`MetadataIndexManager`,
|
||||
// `GraphAdjacencyIndex`, `JsHnswVectorIndex`, `EntityIdMapper`, `UnifiedCache`)
|
||||
|
|
@ -840,7 +840,7 @@ export interface AtGenerationVectors {
|
|||
/**
|
||||
* The object returned by the `'vector'` provider factory — Brainy's vector
|
||||
* index contract. Implementations include Brainy's own JS HNSW index and any
|
||||
* native acceleration provider (e.g. cortex's Adaptive DiskANN).
|
||||
* native acceleration provider (e.g. cor's Adaptive DiskANN).
|
||||
*
|
||||
* Brainy calls this surface via `this.index.*` plus the transactional add/remove
|
||||
* operations. `enableCOW`, `getItem`, and `setPersistMode` are intentionally
|
||||
|
|
@ -980,7 +980,7 @@ export interface CacheProvider {
|
|||
|
||||
/**
|
||||
* The `'graph:compression'` provider — pure-function encode/decode for HNSW
|
||||
* connection lists as compact delta-varint byte sequences (cortex's
|
||||
* connection lists as compact delta-varint byte sequences (cor's
|
||||
* `encodeConnections` / `decodeConnections`).
|
||||
*
|
||||
* Brainy's `JsHnswVectorIndex` consumes this via a `ConnectionsCodec` that translates
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue