Skip to content

v1.4.1 — bypass RPC and TUI expiry refresh

Choose a tag to compare

@DDwsgood DDwsgood released this 03 Oct 08:37
· 17 commits to main since this release

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 expiresAt when there is no live temporary lease. Keep null only 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 unknown when 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.