@fractaal/pi-fractal-compact

Ben/Fractal high-fidelity compaction extension for Pi.

Packages

Package details

extension

Install @fractaal/pi-fractal-compact from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@fractaal/pi-fractal-compact
Package
@fractaal/pi-fractal-compact
Version
0.1.0
Published
Jul 8, 2026
Downloads
523/mo · 110/wk
Author
fractaal
License
MIT
Types
extension
Size
45.5 KB
Dependencies
0 dependencies · 2 peers
Pi manifest JSON
{
  "extensions": [
    "./src/index.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

@fractaal/pi-fractal-compact

Canonical package for Ben/Fractal's high-fidelity compaction hook.

It replaces stock compaction with a methodology-preserving summary prompt and also emits ALR-compatible compaction status events when an event bus is present.