Skip to content

Reference

Every public symbol in @construct-space/sdk. Pick a section.

Surface boundary

The SDK exposes only what a sandboxed Space needs. Agent RPC, model selection, skill catalog, assistant panel state, theme readers, host chrome (toasts, panels, OS info, i18n) are deliberately not here — Spaces declare actions in actions.ts and the agent calls them, never the other way around. Internal built-in Spaces that need host primitives import them directly from the host, not through this package.

Composables (31)

GroupCountWhat it covers
Auth & Identity3Read user, check role permissions (RBAC), per-resource ACL (ABAC)
Organization5Org tenant directory — members, teams, departments, roles
Toolbar & Breadcrumb2Contribute toolbar items + declare breadcrumb trail. Panels/popovers live in @construct-space/ui.
Routing & Shortcuts2useNavigator (GetX-style) + per-space keybinds
Networking & Data3HTTP client (full), file storage, per-space KV
Messaging2Fire notifications + send email — Spaces don't manage inbox or render toasts
Utilities3Google Fonts, markdown, date format

Released under the MIT License.