Docs Platform
Devtools
A framework-neutral inspector for Grassroot statechart services. It records protocol v2 activity, replays past transitions, and creates isolated sandboxes for what-if exploration.
Live panel
The shipped panel inspecting two real services on this page — a Switch and a Pagination registered through the same hook every headless component uses. Interact with them, then read their transitions in the panel. Client-only: the panel needs a live document.
Explore the layers
Protocol v2 describes the recorded snapshots, events, transitions, commands, diagnostics, and lifecycle activity. The hook keeps a tiny registry of mounted services, the client turns their records into replayable histories, and the panel presents the resulting service, timeline, context, and state-diagram views.
Read-only by design
Version 1 uses the B1 interaction model: selecting an earlier record replays the recorded event prefix without changing the live service. Sandbox forks are separate ephemeral services for sending what-if events. There is no live rewind, and destroying a sandbox leaves the inspected service untouched.
Dogfooded primitives
The panel builds its own interface with the existing vanilla
Command, Resizable, Tabs, and
FileTree mounts. Their normal lifecycle and cleanup paths
are the panel's lifecycle and cleanup paths too.