feat(pi-condense): vendor source and add summarizer retries

This commit is contained in:
云服务部-叶林立
2026-08-31 15:13:41 +08:00
parent 8002d7c213
commit e80959cc3f
94 changed files with 21327 additions and 185 deletions
+62
View File
@@ -0,0 +1,62 @@
{
"name": "pi-condense",
"version": "2.9.1",
"description": "Pi coding-agent extension that summarizes completed tool-call batches, replaces raw outputs with short stubs, compresses closed tool-call chains, and recovers any original on demand via context_tree_query.",
"author": "Jacek Juraszek",
"license": "MIT",
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/jjuraszek/pi-condense.git"
},
"homepage": "https://github.com/jjuraszek/pi-condense#readme",
"bugs": {
"url": "https://github.com/jjuraszek/pi-condense/issues"
},
"keywords": [
"pi-package",
"pi",
"pi-coding-agent",
"context",
"context-management",
"context-pruning",
"pruning",
"summarization",
"llm",
"prompt-caching",
"ai"
],
"engines": {
"node": ">=22.19.0"
},
"files": [
"index.ts",
"src/**/*.ts",
"doc",
"pi-condense.png",
"README.md",
"CHANGELOG.md",
"PRUNING.md",
"LICENSE",
"UPSTREAM.md"
],
"scripts": {
"test": "bun test src/"
},
"pi": {
"extensions": [
"./index.ts"
],
"image": "https://raw.githubusercontent.com/jjuraszek/pi-condense/main/pi-condense.png"
},
"funding": {
"type": "buymeacoffee",
"url": "https://buymeacoffee.com/jjurasszek"
},
"peerDependencies": {
"@earendil-works/pi-coding-agent": "*",
"@earendil-works/pi-ai": "*",
"@earendil-works/pi-tui": "*",
"@sinclair/typebox": "*"
}
}