pi-almanac

Pi extension for exporting current session JSONL files for cross-machine resume workflows

Package details

extension

Install pi-almanac from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-almanac
Package
pi-almanac
Version
0.1.0
Published
Mar 15, 2026
Downloads
27/mo · 5/wk
Author
hjanuschka
License
MIT
Types
extension
Size
3.7 KB
Dependencies
0 dependencies · 1 peer
Pi manifest JSON
{
  "extensions": [
    "./extensions"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

pi-almanac

pi-almanac is a small Pi package that adds commands to export your current session JSONL file for cross-machine continuation.

Commands

  • /export-jsonl [path]
  • /almanac-export [path] (alias)

If path is omitted, the command writes a file in the current working directory:

  • ./almanac-YYYYMMDD-HHMMSS.jsonl

If path is a directory (or ends with /), the same default filename is created inside that directory.

Install

pi install /absolute/path/to/pi-almanac

or after publishing:

pi install npm:pi-almanac

Workflow (work -> home)

On machine A (mid-session):

/export-jsonl ~/almanac/my-task.jsonl

Copy that file to machine B, then continue:

pi --session ~/almanac/my-task.jsonl

Notes

  • This exports Pi's native session format (JSONL).
  • It does not replace Pi's built-in /export, which exports HTML.