@sanity/workbench
v0.1.0-alpha.22
Published
Workbench component for the Sanity Content Operating System
Readme
@sanity/workbench
Workbench component for the Sanity Content Operating System. Provides the domain model, system state machines, and framework-agnostic host entry point for rendering the workbench shell.
Structure
src/
core/ → Domain types: projects, organisations, applications, canvases, media libraries, config, logging
system/ → XState v5 machines: OS root, auth, telemetry, system preferences
_internal/ → Host-side render API (renderWorkbench)Entry points
| Import path | Purpose |
| ----------------------------- | --------------------------------------------------- |
| @sanity/workbench/core | Shared domain layer — Zod schemas and branded types |
| @sanity/workbench/system | State machines that drive the workbench runtime |
| @sanity/workbench/_internal | Framework-agnostic host entry point |
License
MIT
