Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@lune_99/pi-compaction

Latest version: v0.2.0

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: lune_99
1 Stars
0 Forks
1 Versions
47 Downloads
TypeScript Repo language

Scan summary

@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.

  • Releases: First and only release on 29 Nov 2026.
  • Findings: No rules fired in version 0.2.0.
  • Downloads: 47 downloads.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
0.2.0 LATEST 29 Nov 2026 No rules fired

No rules fired in 0.2.0

Findings

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.

README

The publisher’s own README, as collected from the registry.

Lune Compaction

npm version npm downloads license

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.

Quick start

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.

What it does

  • Gives summaries their own model. Follow the session model and effort, or select a separate summary model with an independent thinking level.
  • Works with native compaction. Manual, threshold and overflow compaction keep Pi's handling of previous summaries, split turns and file operations.
  • Reviews tool output before summarizing. An optional classifier judges which result fragments are no longer useful. You choose the confidence threshold and which tools may lose their whole call. codemode results are reviewed too when every nested call finished, succeeded and used a permitted tool.
  • Shows what was removed. A 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.
  • Keeps configuration close. Pick models and review options in the Compaction settings panel, with global defaults and project overrides.
  • Reports failures explicitly. A failed summary or classification cancels the operation; cancelled or stale work cannot write a checkpoint.

Compaction settings

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.

Tool-history review

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.

Development

npm install
npm test
npm run typecheck
npm run docs:images # regenerate docs/*.svg + docs/*.png (needs rsvg-convert)

License

MIT

OX Radar and Response Center

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.

Where it’s listed

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).

  • npm @lune_99/pi-compaction

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

Frame 2085668439 (1)
Group 1261154229