pi v1.5.2 offers Fork for sessions whose working directory no longer exists
pi v1.5.2 published on November 10, hours after v1.5.1, and carries one feature: sessions whose working directory has disappeared stop being a dead end. When a session’s original folder was moved or deleted — for example after a project rename — interactive mode now offers Continue, Fork, or Cancel instead of only continuing (#11975 by petrroll, fixes #11060). Continue runs the session in the current directory without storing the choice, as before. Fork copies it into the current directory as a new session with a new ID, like --fork, so the next resume no longer asks.
The offer appears at startup (--session, --resume), in /resume, in /import, and in ctx.switchSession() from extensions. Two fixes round out the release: /import of a session whose working directory no longer exists used to leave a copy in the session directory, and continuing it left a second copy with the same ID (s.jsonl and s-1.jsonl); the failed copy is now removed. The second has no PR reference in the notes: Anthropic OAuth requests were reporting an outdated Claude Code version.
npm listed 1.5.2 at 12:24 UTC on November 10, moments before the release page went up.
## Guides
source: https://github.com/earendil-works/pi/releases/tag/v1.5.2