omp packages

@wassname2/pi-annotated-journal0.1.2

Annotate recent Pi conversation turns and keep the feedback in a Markdown journal

wassname2 Published 1 month ago MIT ~59 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

@wassname2/pi-annotated-journal

Copy recent Pi messages as Markdown quotes, add notes, then send them back to Pi.

pi install npm:@wassname2/pi-annotated-journal
/annotate       # last 6 user/assistant messages
/annotate 10    # last 10
/annotate-settings auto on   # record long user messages in this session
/annotate-settings auto off

/annotate copies blockquoted messages such as:

> Assistant: the answer
> more text

Paste them into Pi or an editor, add unquoted notes, then submit them. Automatic recording is off for new sessions. The first message with at least 3 non-empty, unquoted lines asks whether to enable it. Accepting saves that message and future long messages to docs/human_journal.md as quoted User message records. Declining or dismissing stops further prompts in that session.

When you enable recording in a Git repository, Pi also asks whether to add the journal to the repository's .gitignore. Ignore journal is selected by default; Enter confirms, while Esc leaves .gitignore unchanged. Already ignored journals do not prompt; already tracked files remain tracked.

Pi shows a short receipt for each saving and ignore choice, including how to change it. Choices are also saved in Pi's timestamped session log.

The preference is saved in the session and survives resume and /reload. New sessions and forks start with recording off; the old global annotate.json preference is ignored.

PI_ANNOTATE_JOURNAL sets the journal path. Relative paths resolve from Pi's working directory.

Development

Edit this checkout directly. For a persistent editable install, use pi install /absolute/path/to/pi-annotated-journal, then /reload after edits. No build is needed.

npm ci --ignore-scripts
npm run check