You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat!: real-time workflow canvas updates via WebSocket
BREAKING CHANGE: Ensemble CRD replaces PersonaPack (see commit 432355b).
The workflow canvas now updates in real-time when agent runs change
phase (Running → Succeeded/Failed). Previously, status was stale until
a manual page refresh because useNodesState captured initial values
and never synced with polling data.
Two fixes:
1. useEffect in EnsembleCanvas syncs runPhaseMap changes into existing
nodes without resetting user-dragged positions
2. useRunEventInvalidation() hook watches WebSocket for agent.run.*
events and immediately invalidates the runs query — giving
near-instant updates instead of waiting for the 5s poll interval
Applied to all three canvas variants:
- EnsembleCanvas (per-pack detail page, editable)
- GlobalEnsembleCanvas (ensemble list page, read-only)
- DashboardEnsembleCanvas (dashboard widget)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 commit comments