omp packages

@suemi994/pi-migration0.1.0

Resume Pi and Codex sessions across workspaces

suemi994 Published 10 days ago ~323 downloads/mo

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.

Did it work for you?

Result

One report per person. A new report replaces your old one.

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+Tab to 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 Tab to move focus between workspaces and sessions. Use the arrow keys to select a workspace and Enter to open its management menu. Press Alt+H to 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 /resume still 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 trash is available, deleted session files are moved to the trash.