@axiom-lattice/protocols 7.0.1 → 7.2.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @axiom-lattice/protocols@7.0.1 build /home/runner/work/agentic/agentic/packages/protocols
2
+ > @axiom-lattice/protocols@7.2.0 build /home/runner/work/agentic/agentic/packages/protocols
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 55.30 KB
12
- CJS dist/index.js.map 226.08 KB
13
- CJS ⚡️ Build success in 627ms
14
- ESM dist/index.mjs 48.98 KB
15
- ESM dist/index.mjs.map 221.72 KB
16
- ESM ⚡️ Build success in 635ms
11
+ ESM dist/index.mjs 52.67 KB
12
+ ESM dist/index.mjs.map 242.62 KB
13
+ ESM ⚡️ Build success in 1025ms
14
+ CJS dist/index.js 59.81 KB
15
+ CJS dist/index.js.map 247.44 KB
16
+ CJS ⚡️ Build success in 1045ms
17
17
  DTS Build start
18
- DTS ⚡️ Build success in 15625ms
19
- DTS dist/index.d.ts 291.85 KB
20
- DTS dist/index.d.mts 291.85 KB
18
+ DTS ⚡️ Build success in 21933ms
19
+ DTS dist/index.d.ts 311.30 KB
20
+ DTS dist/index.d.mts 311.30 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,118 @@
1
1
  # @axiom-lattice/protocols
2
2
 
3
+ ## 7.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - f29edad: Add the Admin Center platform-management surface, durable platform settings,
8
+ opaque invite links, enterprise SSO follow-ups, and domain branding.
9
+
10
+ - **Admin Center:** grouped navigation (Access/Tenancy/Identity/Settings),
11
+ full-width responsive shell, Overview attention cards + health + stats,
12
+ redesigned People, Platform Roles, Invite Links, Tenants, Tenant Members,
13
+ OIDC Providers, and Settings pages with shared Admin Center primitives.
14
+ Settings is split into three direct writable menu entries (Authentication,
15
+ Rate Limits & Quotas, Branding) instead of an in-page tab set; the read-only
16
+ environment view lives in Overview.
17
+ - **Platform settings:** PostgreSQL-backed auth/invite/rate-limit/quota/branding
18
+ settings with env fallback, version CAS, outbox invalidation, 30s refresh,
19
+ read-only Overview environment, and multi-replica readiness.
20
+ - **Invite links:** opaque, encrypted-at-rest links with expiry/max uses/revoke;
21
+ platform role links always require admin approval, tenant member auto-join
22
+ only with email-bound IdP-verified email; revoke cancels pending claims.
23
+ - **SSO follow-ups:** optional default tenant, private-host allowlists, email
24
+ completion claims, pending SSO review, and SSO avatar metadata.
25
+ - **Domain branding:** platform default + exact-host domain overrides, public
26
+ `GET /api/branding`, Admin Center Branding tab, login/register/invite brand
27
+ application, workspace domain theme inheritance, and tenant primary-color
28
+ override.
29
+ - **Security hardening:** platform guards fail closed; email-less completion and
30
+ public branding/invite routes are explicitly public; owner fallback/owner
31
+ target protections; last-owner checks; SSRF allowlist and metadata rejection;
32
+ rate-limit precedence; claim approval leases/rollback; avatar URL validation.
33
+
34
+ - 0ad828b: Add generic OIDC console login with Azure Entra ID support, external identity
35
+ binding, JIT pending users, platform roles, a separate Platform Admin app, and
36
+ platform-scoped provider configuration.
37
+
38
+ - `@axiom-lattice/auth-oidc`: authorization-code + PKCE + nonce via
39
+ `openid-client` v6, Azure `oid`/`sub` claim mapping, signed state cookie,
40
+ endpoint SSRF validation, config parsing, and per-provider `providerId` state.
41
+ - `@axiom-lattice/protocols` / `@axiom-lattice/core`: auth provider and external
42
+ identity store contracts, provider registry, identity mapping (issuer-scoped
43
+ keys, verified-email-only auto-link, JIT pending), in-memory identity store,
44
+ the OIDC provider config store contract + encrypted in-memory store, and the
45
+ `PlatformMemberStore` contract + in-memory store with `owner`/`admin`/
46
+ `auditor` roles.
47
+ - `@axiom-lattice/local-stores` / `@axiom-lattice/pg-stores`: external identity,
48
+ OIDC provider config, and platform member stores; PostgreSQL migrations v209
49
+ (`lattice_user_identities`), v210 (`lower(email)` unique index), v211
50
+ (`lattice_oidc_provider_configs`, encrypted client secret), and v212
51
+ (`lattice_platform_members`).
52
+ - `@axiom-lattice/gateway`: multi-provider OIDC routes, one-time 60-second
53
+ handoff/exchange, platform-role CRUD/test APIs for store providers, runtime
54
+ registry with env `oidc` fallback, `PlatformBootstrapService` +
55
+ `PlatformAccessService` (owner/admin/auditor) replacing env-only checks on
56
+ approval/user/tenant/OIDC surfaces, `/api/platform/*` member and tenant
57
+ assignment APIs, OIDC rate limits, and fail-closed deployment checks.
58
+ - `@axiom-lattice/client-sdk`: `client.oidcProviders` list/create/update/
59
+ delete/test/testStored and `client.platform` me/members/tenant-assignment
60
+ methods with types.
61
+ - `@axiom-lattice/react-sdk`: provider discovery, SSO button labeled with the
62
+ provider display name, `/auth/callback` bootstrap, pending/error notices, the
63
+ write-only OIDC provider panel, and the separate `/platform-admin` app with
64
+ Overview, Platform Users, Tenants, Tenant Assignments, and OIDC Providers.
65
+ OIDC Providers is removed from the tenant workspace menu.
66
+
67
+ - 0ad828b: SSO-only deployments and platform invitations.
68
+
69
+ - `@axiom-lattice/gateway`: `AUTH_LOCAL_ENABLED` / `AUTH_BREAK_GLASS_EMAILS`
70
+ disable password login, registration, and password changes while keeping an
71
+ audited, env-only break-glass escape hatch. `PlatformSsoBootstrapService`
72
+ claims the first platform owner from a verified SSO login (issuer + subject >
73
+ group > email) with no local password, serialized by the
74
+ `platform-bootstrap` lease. `PlatformInvitationService` invites normalized
75
+ emails: existing active users are granted immediately, everyone else gets a
76
+ pending invitation claimed on the first verified SSO login before identity
77
+ mapping (consume-before-grant, per-email lease, owner-only owner invitations,
78
+ `PLATFORM_INVITATION_TRUST_EMAIL` off by default).
79
+ - `@axiom-lattice/protocols` / `@axiom-lattice/core` /
80
+ `@axiom-lattice/local-stores` / `@axiom-lattice/pg-stores`: platform
81
+ invitation store contract + InMemory/Local/PostgreSQL implementations and PG
82
+ migration v213 (`lattice_platform_invitations`).
83
+ - `@axiom-lattice/client-sdk`: `client.platform.listInvitations()` /
84
+ `revokeInvitation(email)` and the `{ member?, invitation? }` grant result.
85
+ - `@axiom-lattice/react-sdk`: Platform Users loads and revokes pending
86
+ invitations, distinguishes "invited" from "granted", exposes SSO-only /
87
+ break-glass login states, and keeps owner invitations owner-only. Invited
88
+ users need no tenant membership to use `/platform-admin`.
89
+
90
+ ## 7.1.0
91
+
92
+ ### Minor Changes
93
+
94
+ - a756acb: feat(model-providers): a tenant's own providers become its entire model supply
95
+
96
+ - A tenant that has at least one provider row no longer falls back to the
97
+ deployment (`default`) namespace. `resolveModelLatticeForTenant`,
98
+ `hasModelLatticeForTenant` (+ sync variant), `listModelLatticesForTenant`,
99
+ the embeddings client and both STT clients return a miss instead, and
100
+ `list_models` reports only the tenant's own models.
101
+ - `tenantHasOwnModelSupply` / `tenantHasOwnModelSupplySync` (new in core) read
102
+ the provider store; the sync variant uses a 30 s observation cache, and a
103
+ store failure fails closed (treats the tenant as owning its supply).
104
+ - `ModelProviderService.catalog` lists deployment models only while the tenant
105
+ has no provider, so a provider with no synced models shows an empty catalog
106
+ rather than rows that cannot run.
107
+ - The last remaining provider cannot be deleted: the service returns
108
+ `LAST_PROVIDER_NOT_DELETABLE` (409), and the panel disables the action.
109
+ Removing a provider now requires a second one to exist first.
110
+ - eval runs no longer take the first listed model as a judge fallback when the
111
+ tenant owns its supply; they fail with a message pointing at Model Providers.
112
+ - The panel derives the platform/own switch from `providers.length > 0`, shows
113
+ a read-only deployment description when nothing is configured, and keeps a
114
+ `X/3` default-model summary with per-kind status once providers exist.
115
+
3
116
  ## 7.0.1
4
117
 
5
118
  ### Patch Changes