Clear all buffered events (dev-only).
Retrieve recent events with optional filtering.
Optionalfilter: DevtoolsFilterOptional filter to apply (type, requestId, limit)
Array of matching events
Return the watcher configuration installed for this devtools instance.
Log a devtools event into the in-memory buffer.
The event to log
Record an event and fill common fields such as id and timestamp.
The event payload to record
The normalized event that was stored
Subscribe to event buffer changes. Used by the live SSE endpoint.
Called when an event is recorded or the buffer is cleared
Cleanup function that removes the listener
Port interface for devtools.
Apps and server internals can log framework events here during development. The events are stored in an in-memory buffer and can be retrieved via HTTP handlers.