@suemi994/pi-migration0.1.0
Resume Pi and Codex sessions across workspaces
Untested on omp
This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.
Reports 0
No reports yet.
Readme
@suemi994/pi-migration
Extends the interactive /resume command in Pi 1.6. Install with pi install npm:@suemi994/pi-migration. From a local checkout, run pi install ./pi-migration or try it with pi -e ./pi-migration/src/index.ts.
- Press
Shift+Tabto switch between Pi and Codex. The picker prioritizes the current workspace. Select a different workspace to refresh its sessions. At 100 columns or more, the panes appear side by side. On narrower terminals, they stack. - Press
Tabto move focus between workspaces and sessions. Use the arrow keys to select a workspace andEnterto open its management menu. PressAlt+Hto show hidden workspaces, then use the menu to unhide one. - The session list retains Pi's shortcuts for search, sort, named sessions, path display, rename, and delete. Select All workspaces to search across workspaces. The shortcut that opened
/resumestill opens the picker. - The Codex source reads sessions and archives under
CODEX_HOME(default~/.codex). Selecting a session generates Pi JSONL and opens the recorded workspace through Pi's native resume flow. Imports include conversation text, inline user images, and supported tool calls and results. Reimporting reuses a matching Pi copy or creates a new session when the content changes. Older imports can also be reused when their full history matches. Renaming a Codex session in the list updates the plugin's configuration. - Hidden-workspace settings apply to both sources. Deleting from the workspace menu requires confirmation and affects only the selected source. The active Pi session is skipped. If
trashis available, deleted session files are moved to the trash.