editor_events
Retrieve recorded Flax editor events after a sequence number, optionally filtered by kind, to monitor compile, reload, play, and scene activity.
Instructions
Returns the editor's recorded events after a sequence number, oldest first. Kinds: log (managed log lines only; the engine's native lines such as compiler output stay in the log file), exception, compile_begin, compile_succeeded, compile_failed, reload_begin, reload_end, play_begin, play_end, scene_loaded, scene_load_error, scene_saved, scene_save_error, scene_unloaded. The bridge host keeps the last 4096 events across script reloads; Truncated is true when some after sinceSeq were overwritten. A new HostStartedUtc means the editor restarted and the sequence began again.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kinds | No | Only these kinds; omit for all. | |
| limit | No | At most this many events, 1 to 500. | |
| sinceSeq | No | Only events after this sequence number (LastSeq of an earlier call); 0 for all held. | |
| waitSeconds | No | When none match yet, wait up to this long for one, 0 to 2 seconds. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| events | Yes | ||
| lastSeq | Yes | ||
| oldestSeq | Yes | ||
| truncated | Yes | ||
| hostStartedUtc | Yes |