omp packages

pi-session-trimmer1.1.0

Trim redundant session context and manage artifact path intents in Pi.

terencel Published 4 hours ago MIT ~580 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-session-trimmer

English | 简体中文

Trim redundant Pi context while preserving evidence and session artifact retention intents.

Installation

pi install npm:pi-session-trimmer

Version 1.1.0 · Pi 1.6.0+ · Node.js 22.19.0+. Compatibility.

Features

  • Remove redundant image context and recall originals on demand.
  • Group temporary previews and intermediate files without redirecting final outputs.
  • Balance image trimming against cache costs and optional compaction deferral.
  • Bound request image traffic while protecting evidence; optionally trim replaceable text results.
  • Opt into sandbox persistence and upload intents without moving, deleting, or uploading files.

Usage

Works without configuration. Final files follow the user or project location. Set sandboxMode: true and an absolute workspaceBaseDir in session-trimmer.json for an isolated sandbox. Use /trimmer status or /trimmer on / /trimmer off.

Usage, configuration and upgrades · Artifact integration

Benchmark

1.1.0 benchmark: no extension, 1.0.2 and 1.1.0

Local Pi 1.6.0 mock workflows (2026-12-04): image Base64 matches 1.0.2. Against no extension, cold image Base64 is 16.81% lower and opt-in text JSON is 20.94% lower. All required evidence checks passed. Benchmark details.

Contributing

Contribution guide · MIT License