@xemahq/llm-registry-api-client 0.15.0 → 0.16.0

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.
@@ -7,21 +7,17 @@ import type { EmbeddingConsumer } from './embeddingConsumer.js';
7
7
  export interface EmbeddingStorageDeclarationDto {
8
8
  consumer: EmbeddingConsumer;
9
9
  /**
10
- * Narrowest vector this consumer can store.
11
- * @minimum 1
10
+ * EXACT SET of dimensions this consumer can store — every one backed by real storage it has verified, not an interval. A dimension absent from this list is `unsupported`, including one that falls between two members. Must be non-empty: a consumer that cannot establish its own capability declares NOTHING and is reported `unverified`, which is a different answer from "stores nothing" and refuses nothing.
11
+ * @minItems 1
12
+ * @items.minimum 1
12
13
  */
13
- minDimension: number;
14
+ storableDimensions: number[];
14
15
  /**
15
- * Widest vector this consumer can store.
16
- * @minimum 1
16
+ * The SUBSET of `storableDimensions` this consumer can also serve from an ANN index. Outside it recall is an exact scan: correct, and slower. It is advisory and never causes a refusal — conflating the two is what made 4096 look unsupported when it was merely unindexable. May be empty, which honestly means nothing is ANN-indexed.
17
+ * @items.minimum 1
17
18
  */
18
- maxDimension: number;
19
- /**
20
- * Widest vector it can store AND serve from an ANN index. Between this and `maxDimension` recall is an exact scan: correct, and slower. It is advisory and never causes a refusal — conflating the two ceilings is what made 4096 look unsupported when it was merely unindexable.
21
- * @minimum 0
22
- */
23
- maxIndexedDimension: number;
19
+ indexedDimensions: number[];
24
20
  backend: string;
25
- /** Provenance for the numbers above. A bare ceiling is a fact with no source; naming the backend and version makes it checkable, and makes a backend change visible instead of silently keeping an old number. */
21
+ /** Provenance for the sets above. A bare capability is a fact with no source; naming the backend and version makes it checkable, and makes a backend change visible instead of silently keeping an old answer. */
26
22
  backendVersion: string;
27
23
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xemahq/llm-registry-api-client",
3
- "version": "0.15.0",
3
+ "version": "0.16.0",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [
@@ -58,5 +58,8 @@
58
58
  "sideEffects": false,
59
59
  "scripts": {
60
60
  "build": "tsc -p tsconfig.json"
61
+ },
62
+ "xemaRelease": {
63
+ "sourceDigest": "sha256:1ec950f5818578eab22fb3f495c65a1f5e49c7fff61c0dd3b460c9fb55471386"
61
64
  }
62
- }
65
+ }