mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-04 23:44:41 +00:00
* fix(claude): rewind a session that lives in the provider's CLAUDE_CONFIG_DIR Rewinding the conversation forks the Claude session through the SDK's forkSession, which looks for the transcript under the daemon's own CLAUDE_CONFIG_DIR or ~/.claude. A provider whose env sets CLAUDE_CONFIG_DIR has its transcripts elsewhere, so every rewind failed with "Session <id> not found". Fork through a session store rooted at the folder of the transcript the agent already resolves with the provider's config dir, so the SDK reads the session where Claude Code wrote it and writes the fork beside it. Closes #6321 * fix(claude): pass only transcript entries to the rewind session store The session store parsed each transcript line and cast it to a session entry without checking it. Keep only JSON objects with a string type, and cover transcripts with non-entry lines in the real-SDK rewind test. --------- Co-authored-by: paseo-bot[bot] <266920839+paseo-bot[bot]@users.noreply.github.com>