@axiom-lattice/pg-stores 5.0.1 → 5.0.2

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.2 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
@@ -9,12 +9,12 @@
9
9
  CJS Build start
10
10
  ESM Build start
11
11
  CJS dist/index.js 533.98 KB
12
- CJS dist/index.js.map 970.76 KB
13
- CJS ⚡️ Build success in 1160ms
12
+ CJS dist/index.js.map 970.75 KB
13
+ CJS ⚡️ Build success in 1274ms
14
14
  ESM dist/index.mjs 524.22 KB
15
- ESM dist/index.mjs.map 970.45 KB
16
- ESM ⚡️ Build success in 1160ms
15
+ ESM dist/index.mjs.map 970.44 KB
16
+ ESM ⚡️ Build success in 1353ms
17
17
  DTS Build start
18
- DTS ⚡️ Build success in 11698ms
18
+ DTS ⚡️ Build success in 15828ms
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,35 @@
1
1
  # @axiom-lattice/pg-stores
2
2
 
3
+ ## 5.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - a756acb: feat(model-providers): a tenant's own providers become its entire model supply
8
+
9
+ - A tenant that has at least one provider row no longer falls back to the
10
+ deployment (`default`) namespace. `resolveModelLatticeForTenant`,
11
+ `hasModelLatticeForTenant` (+ sync variant), `listModelLatticesForTenant`,
12
+ the embeddings client and both STT clients return a miss instead, and
13
+ `list_models` reports only the tenant's own models.
14
+ - `tenantHasOwnModelSupply` / `tenantHasOwnModelSupplySync` (new in core) read
15
+ the provider store; the sync variant uses a 30 s observation cache, and a
16
+ store failure fails closed (treats the tenant as owning its supply).
17
+ - `ModelProviderService.catalog` lists deployment models only while the tenant
18
+ has no provider, so a provider with no synced models shows an empty catalog
19
+ rather than rows that cannot run.
20
+ - The last remaining provider cannot be deleted: the service returns
21
+ `LAST_PROVIDER_NOT_DELETABLE` (409), and the panel disables the action.
22
+ Removing a provider now requires a second one to exist first.
23
+ - eval runs no longer take the first listed model as a judge fallback when the
24
+ tenant owns its supply; they fail with a message pointing at Model Providers.
25
+ - The panel derives the platform/own switch from `providers.length > 0`, shows
26
+ a read-only deployment description when nothing is configured, and keeps a
27
+ `X/3` default-model summary with per-kind status once providers exist.
28
+
29
+ - Updated dependencies [a756acb]
30
+ - @axiom-lattice/core@12.1.0
31
+ - @axiom-lattice/protocols@7.1.0
32
+
3
33
  ## 5.0.1
4
34
 
5
35
  ### 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, {