@axiom-lattice/pg-stores 5.0.1 → 5.0.3

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,5 +1,5 @@
1
1
 
2
- > @axiom-lattice/pg-stores@5.0.1 build /home/runner/work/agentic/agentic/packages/pg-stores
2
+ > @axiom-lattice/pg-stores@5.0.3 build /home/runner/work/agentic/agentic/packages/pg-stores
3
3
  > tsup src/index.ts --format cjs,esm --dts --sourcemap
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -8,13 +8,13 @@
8
8
  CLI Target: es2020
9
9
  CJS Build start
10
10
  ESM Build start
11
- CJS dist/index.js 533.98 KB
12
- CJS dist/index.js.map 970.76 KB
13
- CJS ⚡️ Build success in 1160ms
14
11
  ESM dist/index.mjs 524.22 KB
15
- ESM dist/index.mjs.map 970.45 KB
16
- ESM ⚡️ Build success in 1160ms
12
+ ESM dist/index.mjs.map 970.44 KB
13
+ ESM ⚡️ Build success in 1100ms
14
+ CJS dist/index.js 533.98 KB
15
+ CJS dist/index.js.map 970.75 KB
16
+ CJS ⚡️ Build success in 1191ms
17
17
  DTS Build start
18
- DTS ⚡️ Build success in 11698ms
18
+ DTS ⚡️ Build success in 15036ms
19
19
  DTS dist/index.d.ts 112.00 KB
20
20
  DTS dist/index.d.mts 112.00 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,42 @@
1
1
  # @axiom-lattice/pg-stores
2
2
 
3
+ ## 5.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [253552f]
8
+ - @axiom-lattice/core@12.1.1
9
+
10
+ ## 5.0.2
11
+
12
+ ### Patch Changes
13
+
14
+ - a756acb: feat(model-providers): a tenant's own providers become its entire model supply
15
+
16
+ - A tenant that has at least one provider row no longer falls back to the
17
+ deployment (`default`) namespace. `resolveModelLatticeForTenant`,
18
+ `hasModelLatticeForTenant` (+ sync variant), `listModelLatticesForTenant`,
19
+ the embeddings client and both STT clients return a miss instead, and
20
+ `list_models` reports only the tenant's own models.
21
+ - `tenantHasOwnModelSupply` / `tenantHasOwnModelSupplySync` (new in core) read
22
+ the provider store; the sync variant uses a 30 s observation cache, and a
23
+ store failure fails closed (treats the tenant as owning its supply).
24
+ - `ModelProviderService.catalog` lists deployment models only while the tenant
25
+ has no provider, so a provider with no synced models shows an empty catalog
26
+ rather than rows that cannot run.
27
+ - The last remaining provider cannot be deleted: the service returns
28
+ `LAST_PROVIDER_NOT_DELETABLE` (409), and the panel disables the action.
29
+ Removing a provider now requires a second one to exist first.
30
+ - eval runs no longer take the first listed model as a judge fallback when the
31
+ tenant owns its supply; they fail with a message pointing at Model Providers.
32
+ - The panel derives the platform/own switch from `providers.length > 0`, shows
33
+ a read-only deployment description when nothing is configured, and keeps a
34
+ `X/3` default-model summary with per-kind status once providers exist.
35
+
36
+ - Updated dependencies [a756acb]
37
+ - @axiom-lattice/core@12.1.0
38
+ - @axiom-lattice/protocols@7.1.0
39
+
3
40
  ## 5.0.1
4
41
 
5
42
  ### Patch Changes
package/dist/index.js CHANGED
@@ -9864,7 +9864,7 @@ var PGVectorStoreProvider = class {
9864
9864
  );
9865
9865
  if (!embeddings) {
9866
9866
  throw new Error(
9867
- `No embedding model "${embeddingKey}" registered for tenant "${tenantId}", and no tenant or deployment default. Configure one in the model service panel.`
9867
+ `No embedding model "${embeddingKey}" registered for tenant "${tenantId}", and no default model available. Configure one in the model service panel.`
9868
9868
  );
9869
9869
  }
9870
9870
  return import_pgvector.PGVectorStore.initialize(embeddings, {