DevTools v0 is a local development tool built on Effect Native's public data
contracts. A runtime may provide a DevtoolsSink; without one, the normal app
path does not allocate DevTools events.
The sink receives:
StateSnapshotevents, after app-provided state redaction.ViewEmittedevents, with secureTextFieldvalues redacted.IntentDispatchedevents, after the intent registry's redactor runs.
Recordings are JSON fixtures: initial state plus the timeline. They can be serialized, loaded, replayed against a runtime, and replayed to an intent prefix for time-travel.
Start the browser panel and WebSocket relay:
pnpm run devtoolsAttach the web proof example:
pnpm run example:webThen open:
http://localhost:4173/?devtools=ws://localhost:4327/session
Attach the Expo proof example by starting it with:
EXPO_PUBLIC_EFFECT_NATIVE_DEVTOOLS_WS=ws://localhost:4327/session pnpm --dir examples/mobile startThe panel is built with Effect Native itself. Its devtoolsPanelView is a
typed view tree rendered by the DOM renderer; the HTML shell and WebSocket
relay are only transport and bootstrapping.