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
Windows: a Gajae Code pane can show its previous conversation after /new, /resume or a reused process id #270
#264 remembers which session file a Gajae Code pane on a Windows PC shows, for as long as the same gjc process runs under the pane's shell. Two cases keep an older conversation on screen for a while (read from server/gjc-runtime.ts in the review of #264, not reproduced):
After /new or /resume inside the same gjc process, the lens stays on the old session until an answer of the new one has its last 64+ letters or digits on the visible screen. A short answer or a long list never moves it.
herdr drops the pane's agent label when gjc exits, so nothing removes the remembered entry. A later gjc in the same pane that Windows gives the same process id gets the old session until its own answer is on screen.
Also: a process-table query that times out reads as "no gjc" and drops the remembered session until the next answer is on screen.
Expected
The chat lens of a Windows gjc pane follows the session that gjc is in.
Ideas
Compare the process creation time as well as the id (one more column in server/windows-processes.ts).
Treat an unreadable process table as "unknown", not as "gone".
The first binding still needs a recent answer's tail on screen, and a bridge restart loses the bindings. With the binding, a poll costs about 10 ms, and one in about 5 s pays 0.7 to 0.8 s for the process table.
Activity
fix(chat): show no old conversation in a Windows Gajae Code pane afte…