omp packages

@yukikisaku/pi-prune0.1.1

Prune tool data and thinking blocks from the current Pi session.

yukikisaku Published 20 days ago MIT ~335 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

pi-prune

Overview

Prune tool data and thinking blocks from the current Pi session.

Requirements

This command rewrites the active session file using Pi's internal rewrite primitive. Before replacing content it writes recoverable originals under a pi-prune-artifacts directory beside the session file. Ephemeral sessions have no recovery artifact.

Installation

pi install npm:@yukikisaku/pi-prune

Usage

Run /prune, /prune tool, or /prune thinking. The default prunes both categories while preserving skill tool content. Before a saved session is rewritten, the removed originals are written to a Markdown artifact and the result message shows its recovery path. Ephemeral sessions are pruned without creating a recovery artifact because they have no session file.

Configuration

No configuration. Recovery artifacts are always stored in a pi-prune-artifacts directory beside the active session file, with one Markdown file created for each prune operation.

Uninstallation

pi uninstall npm:@yukikisaku/pi-prune

Remove any package-specific configuration described above if you no longer need it.

License

MIT © yuki-kisaku. See LICENSE.