Standards Docs
Changelog

Changelog — 2026-06-18

Daily docs refresh.

Features

  • StandardsAppProvider composition root. @stndrds/ui now ships a batteries-included provider that wires QueryClient, RealtimeProvider, SchemaClientProvider, the modal/file renderers, and architect mode from a single config object, paired with createSupabaseAuthBridge from @stndrds/react. The active workspace is readable and switchable through new useCurrentTenant, useTenants, and useSwitchTenant hooks. See the React Frontend guide.
  • Server-authoritative Supabase auth. createSupabaseTenantValidator (@stndrds/adapter-nestjs) verifies Supabase JWTs and resolves the authoritative tenant and actor from the user's memberships, backing both the HTTP guard and the realtime socket gateway. It takes a pluggable token verifier — jwksTokenVerifier (local JWKS verify, no shared secret) or getUserTokenVerifier (auth.getUser with a short-lived cache) — both from @stndrds/adapter-supabase. See the NestJS Backend guide.
  • Global agent chat bubble. StandardsAgentChat from @stndrds/ui/ai drops a floating agent chat surface into any app screen.
  • onObjectDelete on view-aware components. ViewAwareRecordsView and ViewAwareRecordEditView now accept an onObjectDelete callback so apps can navigate away after an object is deleted from the architect panel.
  • Curated model catalogue. @stndrds/runtime exports STANDARDS_MODELS and pickModels for selecting from a curated, priced set of agent models.

Fixes

  • Agent creation dialog no longer submits empty. Creating an agent without an onSuccess callback now persists the definition instead of silently doing nothing.
  • Agent sessions are scoped to their owner. listSessions now defaults to the current actor, and the sidebar only lists interactive sessions.
  • Graceful schema fallback. mergeNativeObject no longer throws for unregistered system objects, falling back cleanly instead.
  • Agent archive returns 204. Archiving an agent responds with HTTP 204, and the agent dialog's icon and model selector alignment is fixed.

Other

  • @stndrds/ui now emits dist/theme.css and the ./styles.css export resolves correctly; the theme palette was retuned toward warmer neutrals.
  • DEFAULT_TENANT_ID is now exported from @stndrds/runtime (and @stndrds/constants).

On this page