mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-02 22:52:58 +00:00
* fix(pi): close history-only runtimes after replay Archived timeline reads resume a Pi RPC process to reconstruct the saved conversation. The history-only session remained open after replay, so browsing or synchronizing archived agents left one idle Pi process per agent. Mark history-purpose resumes for closure and close the runtime in streamHistory's finally path. Interactive sessions remain resident, and idempotent close keeps later manager cleanup safe. * fix(pi): preserve history cleanup across current resume behavior Keep the original session identity and missing-folder cleanup when releasing history-only runtimes. Use an existing directory in the regression so the newer resume fallback does not try to copy a nonexistent session fixture. Cover interrupted and failed replay, interactive residency, and automatic cleanup of a missing-folder history copy. Co-authored-by: Ryan Winograd <ryan@thewinograds.com> * test(pi): separate stopped and failed history replay cases --------- Co-authored-by: Ryan Winograd <ryan@thewinograds.com> Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>