Install
Install with PiG
pig install npm:@wassname2/pi-record-journalInstall with Pi
pi install npm:@wassname2/pi-record-journalPackages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.
Pi manifest JSON
The pi field of package.json.
{
"extensions": [
"./index.ts"
]
}README
Written by the package's publisher, shown as published in version 0.1.0 (README.md). PiG does not review it.
@wassname2/pi-record-journal
Save your long Pi messages to a Markdown journal, per session, only with consent.
pi install npm:@wassname2/pi-record-journal
# or: pi install git:github.com/wassname/pi-record-journal
/journal-settings auto on|off # this session only
Off by default. The first message with at least 3 non-empty, unquoted lines asks whether to save long messages from this session to docs/human_journal.md. Change the path with PI_RECORD_JOURNAL; relative paths resolve from Pi's working directory.
In a Git repository, Pi then offers to add the journal to .gitignore (default: ignore). If the journal is already ignored or tracked, Pi only shows a reminder. Unanswered dialogs count as "no" after 60 s.
Each entry is a timestamp, the session ID and your message as a Markdown quote:
## 2026-11-17T01:50:00.000Z · User message
Saved by pi-record-journal · session `01a1e6d6-…`
> first line
> second line
> third line
Sections that /annotate from pi-annotate-md adds (## Annotate assistant message and everything after) are not saved: they are mostly Pi's own text and are already in .pi/annotate_log.md. Text you typed before them is saved.
The choice is stored in the session and survives /reload and resume. New sessions and forks start off.
Development
npm ci --ignore-scripts
npm run check