omp packages

@deathbeam/pi-archive0.0.9

Minimal extension for searching past Pi conversations and improving compaction.

deathbeam Published 1 day ago MIT ~1.4K 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

@deathbeam/pi-archive

Search past Pi sessions with search_archive and show recent session titles.

Installation

# Choose one:
pi install npm:@deathbeam/pi-archive             # this package
pi install git:github.com/deathbeam/pi-packages  # all my packages

Configuration

Optional archive settings live in ~/.pi/agent/settings.json or .pi/settings.json:

{
    "archive": {
        "compaction": "anthropic/claude-haiku-4-5:low"
    }
}

compaction is a provider/model-id string with an optional :<thinking> suffix. When set, Pi's compaction summary is generated by that model instead of the session model, with Pi's own prompt. Without the suffix the session thinking level is used. If the model is unknown, has no API key, or the request fails, compaction falls back to the session model with a warning. Project settings override global ones.

Development

From this package directory:

npm install
npm test
pi install .