Skip to content

v1.5.3

Choose a tag to compare

@github-actions github-actions released this 10 May 20:14
· 50 commits to main since this release

PrimeCode v1.5.3

Highlights

  • Server health monitor: Added periodic /global/health polling in ChatProvider (15s interval, 3-failure threshold) for proactive server health diagnostics without intrusive reconnection.
  • SSE bridge reliability: Refactored backend status event stream with exponential backoff retry (250ms–30s range) and per-iteration AbortController to fix listener leakage on stream reconnects.
  • Retry logic for Webview health checks: Header health checker now performs up to 2 retries with 100ms delay for transient network errors, plus 750ms promise caching to deduplicate rapid rechecks.
  • Error resilience: Added ConfigInvalidError detection in bootstrap — invalid project config now shows a user-facing notification instead of a generic error. Improved error logging across opencodeRuntime, proxyFetch, and eventRuntime.
  • Global ErrorBoundary: Implemented a top-level React ErrorBoundary in the Webview to catch render crashes gracefully.

Stability & Fixes

  • Fixed provider model visibility so ModelDropdown and ProviderManager correctly reflect available models.
  • Fixed streaming card rendering for subagent UI states.
  • Removed automatic notification dismissal — users now dismiss notifications manually for better visibility.
  • Fixed notification title truncation: replaced truncate with line-clamp-5 for multi-line notification titles.
  • Removed unnecessary session reconcile on every server.connected heartbeat — session data arrives via individual SSE events.
  • Fixed proxyFetch abort signal cleanup: no longer leaks 'abort' listeners; properly distinguishes network failures (reject) from HTTP 4xx/5xx responses (returned as Response).

UX & UI

  • Enhanced ScrollThumb component with alwaysVisible and thumbColor props for better scrollbar customization.
  • Updated MessageItem with pending status icon during message submission.
  • Improved markdown table styling for better readability.
  • Added OpencodeEventMessage type and unified event handling across ChatProvider and eventRuntime.
  • Enhanced copy actions throughout header and chat components for easier content extraction.

Tests

  • Added comprehensive test suites for BackendStatusBridge, eventRuntime, proxyFetch, and openCodeRuntime, covering lifecycle, event filtering, coalescing, error handling, and abort behavior.