Repository navigation
v1.4.1 — bypass RPC and TUI expiry refresh
Fix bypass status and expiry notifications
This patch fixes the host RPC validation failure that caused /bypass off and automatic lease expiry notifications to disappear, leaving the TUI's YOLO indicator stale.
- Omit
expiresAtwhen there is no live temporary lease. Keepnullonly for an armed lease with no natural expiry. - Build each snapshot from one clock reading and report the earliest finite inherited deadline.
- Refresh the TUI at the known lease deadline, even without user activity. Show
Security state unknownwhen an authoritative snapshot is unavailable instead of trusting an old YOLO indicator. - Bound retry requests, discard stale request failures, and cancel obsolete timers on session deletion or plugin disposal.
- Preserve each affected session's own workspace when processing notifications.
- Log notification delivery failures without logging arbitrary error messages.
Focused verification: 26 server/RPC/timeout tests and 37 TUI/indicator tests passed, plus pure contract probes and git diff --check. Jev prompts, classifier decisions, sandbox policy and permission ceilings are unchanged from 1.4.0.
Install/pin: opencode-v2-security@1.4.1.