mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-11-05 23:37:25 +00:00
SessionManager.open() without a session directory used the file's folder for new sessions. When the session's cwd differs from the project the folder belongs to, for example after choosing "continue in current cwd" at the missing-cwd prompt, pi treated that folder as a custom --session-dir: /resume All listed only that folder, the resume hint added --session-dir, and /new, /fork and /clone saved into the old project's folder. For a file in the sessions directory, open() now uses the default directory of the session's cwd. Files elsewhere, such as in a custom --session-dir, keep their folder. |
||
|---|---|---|
| .. | ||
| build-context.test.ts | ||
| custom-session-id.test.ts | ||
| file-operations.test.ts | ||
| labels.test.ts | ||
| load-entries.test.ts | ||
| migration.test.ts | ||
| save-entry.test.ts | ||
| tree-traversal.test.ts | ||