Skip to content

Fix refresh logic#2

Open
matyrr-havok wants to merge 1 commit into
pacovidal:mainfrom
matyrr-havok:user/matyrr/fixRefresh
Open

Fix refresh logic#2
matyrr-havok wants to merge 1 commit into
pacovidal:mainfrom
matyrr-havok:user/matyrr/fixRefresh

Conversation

@matyrr-havok
Copy link
Copy Markdown

Fix plan visualizer refresh reliability by making plan reads disk-first and making explicit refresh bypass stale cached state.

Changes

  • Read plan.md directly from the session workspace before falling back to SDK plan RPC.
  • Route toolbar/context-menu refresh through requestRefresh() instead of normal getState().
  • Clear push dedupe state on explicit refresh.
  • Only mark pushed state as delivered after webview eval succeeds, so reload/disconnect races can retry.

Testing

  • node --check main.mjs
  • node --check content\main.js

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