Skip to content

Dev#321

Open
JegernOUTT wants to merge 5 commits intomainfrom
dev
Open

Dev#321
JegernOUTT wants to merge 5 commits intomainfrom
dev

Conversation

@JegernOUTT
Copy link
Copy Markdown
Member

No description provided.

feat(markdown): add Mermaid and SVG diagram rendering with toggle/copy UI

fix(sse): distinguish buffered vs total bytes for accurate flush caps

fix(sse): fix lagged recovery seq monotonicity with re-subscribe-before-snapshot

feat(queued): add full content to QueuedItem for editing workflows

perf(sse): improve stream delta merging with precise pending byte tracking

fix(cef): improve JCEF render process crash recovery and health checks

refactor(chat): add closed_flag atomic for efficient SSE heartbeat checks

style(chat): make queued messages editable with click/keyboard support

chore(deps): add mermaid, dompurify for diagram support
Update version across all components:
- IntelliJ plugin (gradle.properties)
- refact-chat-js (package.json, package-lock.json)
- VSCode extension (package.json + dependency)
- refact-lsp engine (Cargo.toml)

Add update-dependencies.sh script for IntelliJ plugin to automate GUI
build and LSP binary bundling.
feat(chat): improve JCEF browser health monitoring

- Add constants for timeouts (10s unresponsive, 5s healthy window)
- Extract `isJcefRendererUnresponsive()` and `hasRecentJcefPong()` utilities
- Reduce health check interval from 30s to 10s
- Simplify unresponsive detection logic (pong-only instead of ping+pong)
- Add comprehensive unit tests for edge cases

refactor(notifications): replace invokeLater with AppExecutorUtil
chore(middleware): remove unused forceReloadProjectTreeFiles listener
Reduce pong delay from 10s to 3s to better reflect responsive
threshold expectations.
…king

- Increase timeouts: unresponsive from 10s→20s, healthy window from 5s→10s
- Track pingInFlight state to distinguish stale pongs from true timeouts
- Add `hasTimedOutOutstandingPing()` with comprehensive tests
- Introduce longer blocked flush debounce (250ms) when browser unhealthy
- Suspend message queue flushes during recovery to prevent message loss
- Improve recovery logic with stable run counting and reset tracking
- Extract helper methods for cleaner health state management
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant