Expand description
Poll-based audit event streaming with multi-worktree support.
Provides a simple file-watching mechanism that polls the JSONL audit log for new events at a configurable interval. Supports monitoring events across multiple git worktrees.
Structs§
- Stream
Config - Configuration for the event stream.
- Stream
Event - A streamed event with its source label.
- Stream
Source - A single stream source: either the main project or a worktree.
Functions§
- poll_
new_ events - Poll all sources for new events since the last check.
- read_
initial_ events - Read the initial batch of events for streaming (the last N events).