Scan your whole stack
From OX Research Newsroom
Are you using @lune_99/pi-compaction?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.2.0
@lune_99/pi-compaction was last scanned on 29 Nov 2026 at version 0.2.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.2.0 LATEST | 29 Nov 2026 | No rules fired |
Findings for v0.2.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.2.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
A model of your choice for Pi compaction, with optional tool-history review.
Lune Compaction lets summaries follow your session model or use a separate one. Turn on tool-history review to remove disposable output before summarizing, while Pi keeps its normal compaction workflow and session checkpoints.
Install from npm:
pi install npm:@lune_99/pi-compaction
Then start Pi normally:
pi
Lune compaction is on by default. Run /compact as usual, or let Pi compact automatically.
codemode results are reviewed too when every nested call finished, succeeded and used a permitted tool.Tool review entry next to the compaction summary reports removals and the change in summary-input size; expand it for the classifier, reviewed and protected calls, and how much came from the per-result truncation cap and how much from the classifier.Open:
/lune-core-settings compaction
Choose Follow session model to use the current model and effort. Selecting a separate Compaction model makes Compaction thinking level independent.
Jev preprocessing is off by default. Enable it to review tool history, then choose a Pi classifier, set Drop confidence and select Deletable tools. A whole call is removed only when its tool is permitted and every result fragment meets the threshold. A call that ran other tools, such as codemode, also needs a complete nested record in which every call succeeded and every tool is permitted; otherwise it stays in the summary input unchanged. Summary models and classifiers come from Pi's configured providers.
Parallel classifier requests sets how many fragments the classifier reviews at once, from 1 to 16 (default 2). A higher value finishes the review sooner on long tool histories. Each fragment retries temporary transport failures up to twice, after 500 ms and 1 second, within the configured parallelism. Cancellation interrupts the retry delay; a non-retryable error or exhausted retries cancel the compaction, so stay below your provider's rate limit.
Ctrl+G switches global/project scope; Ctrl+R removes the selected override. Changes apply to the next compaction.
An example review entry, collapsed and expanded:
While the classifier and summary run, one row above the editor shows progress; it disappears when the compaction ends. The result is saved as a transcript entry at the point of the compaction, after the retained messages; in the live session that is directly above Pi's compaction summary. It scrolls away with the conversation and is still there after a reload. Press Ctrl+O to expand it, as with tool output. Sizes are the characters of the messages entering the summary: truncation is what the 8,000-character cap on each tool result removed, and classifier is what the classifier's decisions removed after that. Review changes only that input; the on-disk tool transcript stays intact.
npm install
npm test
npm run typecheck
npm run docs:images # regenerate docs/*.svg + docs/*.png (needs rsvg-convert)
MIT
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.