Uh oh!
There was an error while loading. Please reload this page.
fix(tui): preserve agent state after compaction - #10101
Conversation
Track lastUserMessage().id changes instead of session ID changes when syncing agent state. Previously, compaction would create a new user message with the current agent mode (e.g., "plan"), but since the session ID stayed the same, the agent state was never synced from it. Fixesanomalyco#8349
Hey! Your PR title Please update it to start with one of:
Where See CONTRIBUTING.md for details. |
The following comment was made by an LLM, it may be inaccurate: Based on my search, I found some potentially related PRs: Most Relevant:
Windows/Path Related:
These PRs could be related to your changes around agent state preservation and Windows path handling. However, none appear to be direct duplicates of PR #10101. The closest related work seems to be PR #7104 on compaction and PR #7206 on TUI agent tasks. |
Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
f1ae801 to
08fa7f7CompareClosing this pull request because it has had no updates for more than 60 days. If you plan to continue working on it, feel free to reopen or open a new PR. |
Track lastUserMessage().id changes instead of session ID changes when
syncing agent state. Previously, compaction would create a new user
message with the current agent mode (e.g., "plan"), but since the
session ID stayed the same, the agent state was never synced from it.
Fixes#8349