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
{{ message }}
Repository navigation
[Feature Request] Refresh the same browser tab when iterating on a plan instead of opening new ones #636
Every time I deny a plan with feedback and the agent sends a revised version, Plannotator opens a brand new browser tab. After a few iterations I have 5+ tabs and I have to close them all manually.
Proposed solution
Track active sessions and when a new plan iteration arrives for the same session, instead of starting a fresh server on a new port:
Kill the old server, restart on the same port — the browser tab stays on the same URL and auto-refetches /api/plan
Or add a /api/plan/refresh endpoint so the new invocation can push updated content to the running server
The openBrowser() call in packages/server/browser.ts should first check for an active session — if found, skip openBrowser() entirely and let the existing tab handle the refresh. The UI side in packages/editor/App.tsx would need an SSE listener or simple polling to detect when new plan content is available.
Fall back to current behavior (new tab) when no active session is found.
1. Desktop App
I think it's overkill for now. The current browser-based approach is more practical. That said, I can see a desktop app making sense down the line as Plannotator grows and adds more functionality. For now I'd prefer keeping things simple.
2. Auto close
I've tried it, and while it helps clean up old tabs, it doesn't solve the core problem. Every iteration still opens a new tab and I have to wait for it to load. The flow I'd love is: submit feedback → switch back to terminal → agent revises → glance back at the same tab and the new plan is already there.
On that note, there's another thing worth considering: when running multiple agents in parallel, it's easy to lose track of which session and which plan belongs to which agent. So alongside the same-tab refresh, including a session title and/or model name in the tab or page header would be really helpful for keeping things straight.
Reacted by Michael Ramos and Antonin Lenfant Kodia
Agreed that this is a very frustrating issue. I iterate both with Plannotator and the CLI and having a new tab open every time I edit the exact same plan is pretty messy. Maybe we could enforce using the same port when editing the same plan? That could help deduplicating tabs on the browser side.
This was a fairly big lift. I'm having to iterate on a ton just due to how the current ephemeral nature of it works. I appreciate the asks to support. We'll be in good shape by end of this weekend.
Closing with an honest status instead of leaving this hanging. The original plan was to ship tab reuse via #733 and #734. #734 landed, but the #733 daemon branch was abandoned and reverted, so the promise made here quietly died. Sorry about that.
The approach we have since settled on depends on a new MCP spec capability expected to be released in the coming months, so rather than hold this open against an external timeline we are closing it until that lands. The port-stability half (same port across resubmissions) is tracked in #1134 and stays open. We will revisit tab reuse once the spec ships.
Activity
backnotprop commentedon Apr 30, 2026
I'm actively working on some session stuff and think I can get what you want. I did have a couple questions:
would you be against a desktop app?
Have you tried the autoclose feature?
AtefBadreddine commentedon May 1, 2026
1. Desktop App
I think it's overkill for now. The current browser-based approach is more practical. That said, I can see a desktop app making sense down the line as Plannotator grows and adds more functionality. For now I'd prefer keeping things simple.
2. Auto close
I've tried it, and while it helps clean up old tabs, it doesn't solve the core problem. Every iteration still opens a new tab and I have to wait for it to load. The flow I'd love is: submit feedback → switch back to terminal → agent revises → glance back at the same tab and the new plan is already there.
On that note, there's another thing worth considering: when running multiple agents in parallel, it's easy to lose track of which session and which plan belongs to which agent. So alongside the same-tab refresh, including a session title and/or model name in the tab or page header would be really helpful for keeping things straight.
backnotprop commentedon May 2, 2026
Thanks! Great feedback
AtefBadreddine commentedon May 3, 2026
I would like to work on this if possible
ALenfant commentedon May 12, 2026
Agreed that this is a very frustrating issue. I iterate both with Plannotator and the CLI and having a new tab open every time I edit the exact same plan is pretty messy. Maybe we could enforce using the same port when editing the same plan? That could help deduplicating tabs on the browser side.
backnotprop commentedon May 16, 2026
will be completed with #733 and #734
backnotprop commentedon May 16, 2026
This was a fairly big lift. I'm having to iterate on a ton just due to how the current ephemeral nature of it works. I appreciate the asks to support. We'll be in good shape by end of this weekend.
backnotprop commentedon Aug 8, 2026
Closing with an honest status instead of leaving this hanging. The original plan was to ship tab reuse via #733 and #734. #734 landed, but the #733 daemon branch was abandoned and reverted, so the promise made here quietly died. Sorry about that.
The approach we have since settled on depends on a new MCP spec capability expected to be released in the coming months, so rather than hold this open against an external timeline we are closing it until that lands. The port-stability half (same port across resubmissions) is tracked in #1134 and stays open. We will revisit tab reuse once the spec ships.