Skip to content

v1.1.0 — Dynamic Per-Session Config, SSE Reconnect & Bounded TUI Caches

Choose a tag to compare

@huseyincig huseyincig released this 17 Nov 07:08
· 3 commits to main since this release

1.1.0 — 2026-11-17

  • Dynamic per-session directory config (resolveConfig): Added optional options.resolveConfig?: (directory: string) => unknown support in resolveSmartQuestionConfig (src/config.ts), src/index.ts, and src/ui.tsx so multi-directory hosts can resolve per-session configuration dynamically while preserving 100% standalone .opencode/smart-question.json behavior when omitted.
  • Event stream reconnect resilience: Updated context.event.subscribe in src/index.ts with an AbortController-aware exponential backoff reconnect loop (250 ms → 30 s cap) so transient EventBusOverflowError or stream interruptions recover automatically without silently stopping event handling.
  • Bounded TUI remediation & chain caches: Added 512-entry LRU eviction (setBounded) for remediatedForms and sessionChains in src/ui.tsx alongside session.deleted cleanup.
  • Verification: 135/135 unit & regression tests, 7/7 sandbox scenarios, and 8/8 live OpenCode v2.3.0 host acceptance scenarios pass (npm run test:all).