7 Commits

Author SHA1 Message Date
Greg Harvell 9812beb817 chore(release): 1.0.7
- Fix Infinity anchorTimestamp repair on JSON round-trip (blocks extending
  to end-of-conversation now restored correctly instead of discarded)
- Fix nextBlockId calculation to use max(id)+1 instead of array length
- Rename internal prompt tag <dcp-message-id> to <dcp-id>
- Add regression tests for corrupted-block resilience (PR #3, @wassname)
- Update README with Contributors section
- Update CHANGELOG for 1.0.7
- Bump package.json to 1.0.7

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-14 14:04:24 -04:00
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
Greg Harvell 24cf4e5b80 Bugfix for tool crash on compression 2026-03-30 17:30:53 -04:00
Greg Harvell cc4ac20aa7 Adding in pi package details. 2026-03-27 19:51:07 -04:00
Greg Harvell e62d04dfe8 Fixing some errors and issues 2026-03-27 19:38:35 -04:00
Greg Harvell ebfde87e57 Updating package.json 2026-03-27 17:50:07 -04:00
Greg Harvell 60b4249501 Initial Commit 2026-03-27 17:47:33 -04:00