中文
Canvasight v0.4.21 修复了 Codex Desktop 同时恢复多个历史 Canvasight widget 时的 revision 轮询风暴。
- 只有当前已就绪、全屏、可见且获得焦点的 widget 会执行 revision 轮询,历史 widget 不再让后台请求量随实例数增长。
- revision 检查改为单 owner、串行 5 秒轮询;失效 owner 可在 10 秒租约到期后安全接管。
- widget 在失焦、隐藏、重新绑定、页面关闭或资源 teardown 时会停止轮询并释放租约,减少后台 activity 抖动和 ResizeObserver 噪声。
- 保持现有画布数据格式、Page、节点、连线、Run 流程和 inline framework questions 行为不变。
升级后请重新加载或重启 Codex Desktop,再新建任务并重新 @Canvasight。
English
Canvasight v0.4.21 fixes a revision-polling storm that could occur when Codex Desktop restored multiple historical Canvasight widgets.
- Only the ready, fullscreen, visible, focused widget owns revision polling, so background request volume no longer grows with the number of historical widgets.
- Revision checks now use a single owner with serialized 5-second polling and safe takeover after the 10-second lease expires.
- Widgets stop polling and release ownership when blurred, hidden, rebound, closed, or torn down, reducing background activity churn and ResizeObserver noise.
- Canvas data, Pages, nodes, edges, Run behavior, and inline framework questions remain unchanged.
After upgrading, reload or restart Codex Desktop, create a new task, and tag @Canvasight again.
Full Changelog: v0.4.20...v0.4.21