@ar-llm/pi-custom-compaction

Pi extension that replaces default compaction with a full LLM-generated summary, with configurable model and per-provider request params.

Packages

Package details

extension

Install @ar-llm/pi-custom-compaction from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@ar-llm/pi-custom-compaction
Package
@ar-llm/pi-custom-compaction
Version
0.1.0
Published
Jun 29, 2026
Downloads
50/mo · 17/wk
Author
arichiardi
License
Unlicense
Types
extension
Size
13.9 KB
Dependencies
0 dependencies · 2 peers
Pi manifest JSON
{
  "extensions": [
    "./src/custom-compaction.ts"
  ]
}

Security note

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

README

@ar-llm/pi-custom-compaction

npm Unlicense

Pi extension that replaces default compaction with a full LLM-generated summary. Configurable model, per-provider/per-model request params, and custom prompt templates.

Install

pi install 'npm:@ar-llm/pi-custom-compaction'

Or try without installing:

pi -e 'npm:@ar-llm/pi-custom-compaction'

License

The Unlicense — public domain. Substantially rewritten from earendil-works/pi (see NOTICE).