mirror of
https://github.com/wassname/pi-dynamic-context-pruning.git
synced 2026-06-27 16:16:05 +08:00
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>
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@complexthings/pi-dynamic-context-pruning",
|
||||
"version": "1.0.5",
|
||||
"version": "1.0.6",
|
||||
"description": "PI coding agent extension — Dynamic Context Pruning (DCP)",
|
||||
"keywords": [
|
||||
"pi-package",
|
||||
|
||||
Reference in New Issue
Block a user