Files
pi-dynamic-context-pruning/package.json
T
Greg Harvell 8681bd833b fix: prevent orphaned tool_use/tool_result after compression with passthrough roles
Backward and forward expansion now skip PI-internal passthrough roles
(compaction, branch_summary, custom_message) when scanning for paired
assistant↔toolResult messages, ensuring atomic removal. Added a
post-compression repair safety net and deep-cloning to prevent content
mutation across context events.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 20:03:27 -04:00

38 lines
828 B
JSON

{
"name": "@complexthings/pi-dynamic-context-pruning",
"version": "1.0.6",
"description": "PI coding agent extension — Dynamic Context Pruning (DCP)",
"keywords": [
"pi-package",
"pi-extension",
"coding-agent",
"dynamic-context-pruning",
"dcp",
"context",
"pruning"
],
"type": "module",
"pi": {
"extensions": [
"./index.ts"
]
},
"author": {
"name": "Greg",
"email": "greg.harvell@complexthings.com",
"url": "https://github.com/complexthings"
},
"repository": {
"type": "git",
"url": "https://github.com/complexthings/pi-dynamic-context-pruning.git"
},
"dependencies": {
"jsonc-parser": "^3.3.1"
},
"peerDependencies": {
"@mariozechner/pi-coding-agent": "*",
"@mariozechner/pi-tui": "*",
"@sinclair/typebox": "*"
}
}