Skip to content

v0.13.0

Choose a tag to compare

@huseyincig huseyincig released this 22 Oct 21:50
· 7 commits to main since this release

OpenCode Guardian v0.13.0 Release Notes

  • Streaming Loop Hardening & Bounded Watcher: StreamLoopWatcher in src/stream-loop.ts shared across both OpenCode V1 and V2 host adapters.
  • V1 Stream Tracking: Inspects message.part.updated strictly for active assistant messages; automatically disables inspection upon user turn start, assistant completion, or session idle/interruption.
  • V2 Stream Tracking: Natively consumes session.text.started|delta|ended and session.reasoning.started|delta|ended events with incremental delta concatenation (2,048-char bounded tail).
  • Rule Configuration Semantics: Full support for error, warn, and off rule severities in string or object form ({ severity: 'warn' }); warn mode logs warnings and dispatches advisory toast notifications without interrupting output.
  • Concurrency & Project Isolation: Per-response mutex locks prevent duplicate interrupt calls on simultaneous parts; V2 event ingestion continues non-blocking during asynchronous project resolution.
  • Timeout & Retry Gating: Adds 3-second interrupt timeout (AbortSignal.timeout(3000)); bounded retry allows at most three attempts per response on continued stream growth, suppressing overlapping retries on ambiguous timeouts.
  • Quoted Literal Fixture Protection: Excludes short quoted numeric and hex literals (15–128 characters) from low-entropy and cycle false positives, preventing legitimate test hashes from triggering blocks.
  • Extended Period Support: Detects longer periodic sentence structures up to 512 UTF-16 code units within the 2,048-character inspection window.
  • Telemetry & TUI Status: Introduces stream-interrupt-requested audit event, toast notifications, and TUI status indicator (▲ stream stop requested).
  • 781 Tests Passing: 16 new stream-loop hardening tests added, 0 warnings, 0 lint errors, 18/18 smoke and integration tests verified.