This release adds 2 notable features for engineering teams evaluating rollout.
✓ No known CVEs patched in this version
Topics
+10 more
Affected surfaces
Summary
AI summaryAdds a live Debug Dashboard and fixes a WebSocket memory‑leak that caused unbounded backpressure.
Changes in this release
| Type | Severity | Summary | CVE |
|---|---|---|---|
| Feature | Medium |
Adds live Debug Dashboard with panel API and four widget types. Adds live Debug Dashboard with panel API and four widget types. Source: llm_adapter@2026-06-02 Confidence: high |
— |
| Bugfix | High |
Fixes WebSocket backpressure memory leak in broadcastTreeUpdate and broadcastFocusTab. Fixes WebSocket backpressure memory leak in broadcastTreeUpdate and broadcastFocusTab. Source: llm_adapter@2026-06-02 Confidence: high |
— |
| Bugfix | Low |
Resolves dashboard layout flicker and plot-stats overlap issues. Resolves dashboard layout flicker and plot-stats overlap issues. Source: llm_adapter@2026-06-02 Confidence: high |
— |
Full changelog
AiDex v2.1.2 — Debug Dashboard + memory-leak fix
Feature + stability release. Adds the live Debug Dashboard and closes the WebSocket memory leak that the v2.1.0/2.1.1 fixes had missed.
✨ Debug Dashboard (Panel API)
A live, fixed-slot dashboard alongside the scrolling log stream. Programs POST /panel with { id, type, value, group? } — sending the same id again overwrites the value in place instead of scrolling away. Built for high-frequency / repeated values (audio levels, buffer fill, FPS, sensors).
- Four widget types:
label,progress(warn/crit colouring),gauge(radial tachometer in the MSI Afterburner / HWiNFO style, or a pulsing status LED),plot(real-time line graph with grid + min/max/avg). - Endpoints:
POST /panel,POST /panels(batch),POST /panel/clear. Last state is kept perid, so a reconnecting Viewer gets the full snapshot immediately; idle cards grey out as "stale". - New Debug tab in the Viewer (Tokyo-Night look), rAF-throttled plots, backpressure-guarded broadcasts.
- Showcase demo:
node scripts/demo-dashboard.mjsanimates every widget type (audio waveform, GPU gauges, a sine→sawtooth→triangle→square signal generator, latency spikes). A ▷ Demo button on the tab copies the run command to your clipboard.
🐛 Fixes
- WebSocket backpressure leak in
broadcastTreeUpdate— the dominant leak the v2.1.0/2.1.1 fixes missed. On actively-changing projects, full tree broadcasts (~0.5 MB/frame) backed up ws's send-queue without bound → 50+ GB committed. Now guarded (drop + counter + rate-limited log), same as the log/task paths. Also guardsbroadcastFocusTab. - Dashboard layout flicker and plot-stats overlap (a
curvalue with its unit ran into the next stat) — both fixed with fixed-height, non-wrapping stat cells and a stable grid baseline.
✅ Tested
Build green; backpressure proofs (test-backpressure.mjs, test-tree-backpressure.mjs); panel layer covered by test-panel-store.mjs (25 checks) and test-panel-http.mjs (8 checks).
📦 Install
npm install -g [email protected]
Already-running MCP servers need a reconnect to pick up the fix.
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About CSCSoftware/AiDex
Persistent code index MCP server using Tree-sitter for fast, precise code search. Replaces grep with ~50 token responses instead of 2000+. Supports 11 languages including C#, TypeScript, Python, Rust, and Go.
Related context
Beta — feedback welcome: [email protected]