feat: unify context compaction

This commit is contained in:
云服务部-叶林立
2026-09-01 14:52:43 +08:00
parent 44f27f7585
commit a4807dde67
114 changed files with 2681 additions and 21336 deletions
+6 -41
View File
@@ -12,7 +12,6 @@
"@firstpick/pi-extension-codex-fast-mode": "file:./pi-extension-codex-fast-mode",
"@gotgenes/pi-permission-system": "file:./pi-permission-system",
"@keenable/pi-search": "0.1.2",
"@ogulcancelik/pi-codex-compaction": "0.1.3",
"@ogulcancelik/pi-minimal-footer": "file:./pi-minimal-footer",
"@smoose/pi-notify": "file:./pi-notify",
"@tavily/pi-extension": "0.1.2",
@@ -20,8 +19,7 @@
"jiti": "2.7.0",
"pi-ask-user": "file:./pi-ask-user",
"pi-chrome": "file:./pi-chrome",
"pi-condense": "file:./pi-condense",
"pi-context-view": "0.4.2",
"pi-compaction": "file:./pi-compaction",
"pi-hashline-edit": "0.8.3",
"pi-lsp": "0.1.7",
"pi-mcp-adapter": "2.26.0",
@@ -2687,20 +2685,6 @@
"node": ">= 10"
}
},
"node_modules/@ogulcancelik/pi-codex-compaction": {
"version": "0.1.3",
"resolved": "https://registry.npmjs.org/@ogulcancelik/pi-codex-compaction/-/pi-codex-compaction-0.1.3.tgz",
"integrity": "sha512-1cI0D7TBlXe6aGI1EZePeo/ogST1rPx3zX0xblUjdUTiiHeeIRHyCkWIe5eRjg1FYi1rdfG5wB5YD0AKnKFHZA==",
"license": "MIT",
"engines": {
"node": ">=22.19.0"
},
"peerDependencies": {
"@earendil-works/pi-ai": ">=0.80.10",
"@earendil-works/pi-coding-agent": ">=0.80.10",
"@earendil-works/pi-tui": ">=0.80.10"
}
},
"node_modules/@ogulcancelik/pi-minimal-footer": {
"resolved": "pi-minimal-footer",
"link": true
@@ -5688,23 +5672,10 @@
"resolved": "pi-chrome",
"link": true
},
"node_modules/pi-condense": {
"resolved": "pi-condense",
"node_modules/pi-compaction": {
"resolved": "pi-compaction",
"link": true
},
"node_modules/pi-context-view": {
"version": "0.4.2",
"resolved": "https://registry.npmjs.org/pi-context-view/-/pi-context-view-0.4.2.tgz",
"integrity": "sha512-ZD3LxB2Dn7dCDUBOijfLLbTgAN+xkNQWMP2Qoib/MxjkprX9Jd2TFt3pHyzpcCAeWocCHc09Ru3Bmj8QVZgYTQ==",
"license": "MIT",
"engines": {
"node": ">=22.19.0"
},
"peerDependencies": {
"@earendil-works/pi-coding-agent": "*",
"@earendil-works/pi-tui": "*"
}
},
"node_modules/pi-hashline-edit": {
"version": "0.8.3",
"resolved": "https://registry.npmjs.org/pi-hashline-edit/-/pi-hashline-edit-0.8.3.tgz",
@@ -7160,21 +7131,15 @@
}
}
},
"pi-condense": {
"version": "2.9.1",
"pi-compaction": {
"version": "1.0.0",
"license": "MIT",
"engines": {
"node": ">=22.19.0"
},
"funding": {
"type": "buymeacoffee",
"url": "https://buymeacoffee.com/jjurasszek"
},
"peerDependencies": {
"@earendil-works/pi-ai": "*",
"@earendil-works/pi-coding-agent": "*",
"@earendil-works/pi-tui": "*",
"@sinclair/typebox": "*"
"typebox": "*"
}
},
"pi-extension-codex-fast-mode": {