[0.12.0] - 2026-04-12
Added
- Inline threshold trigger support for regex monitors via
threshold: { captureGroup, op, value }withlt,lte,gt, andgteoperators. - First-class
file-watchmonitor strategy withmonitor.fileWatchconfig (path,recursive,events) and compact event lines (EVENT path). - Monitor lifecycle notifications (
interactive-shell-monitor-lifecycle) with explicit terminal reasons:stream-ended,script-failed,stopped, andtimed-out. - New monitor query fields:
monitorStatus,monitorSinceEventId, andmonitorTriggerId.
Changed
- Monitor mode now allows generated internal commands for
file-watch, so users can start file watchers without providing a shellcommand. - Monitor validation is now stricter for strategy-specific config (
fileWatchandpollusage) and threshold trigger requirements. - Monitor coordinator now tracks per-session monitor state (status, strategy, trigger ids, event count, last event metadata, terminal reason).
- Background session UI/listing now renders monitor sessions with monitor-specific context (strategy/event count) instead of plain generic running/exited labels.