@axiom-lattice/protocols 7.1.0 → 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.1.0 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.11 KB
13
- CJS ⚡️ Build success in 662ms
14
- ESM dist/index.mjs 48.98 KB
15
- ESM dist/index.mjs.map 221.76 KB
16
- ESM ⚡️ Build success in 692ms
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 20853ms
19
- DTS dist/index.d.ts 291.89 KB
20
- DTS dist/index.d.mts 291.89 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,92 @@
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
+
3
90
  ## 7.1.0
4
91
 
5
92
  ### Minor Changes