Roo-Code/packages/types
Roo Code 78828e7938 fix: implement non-destructive condense with metadata tracking
- Add condenseId and condenseParent fields to ApiMessage type
- Update condense logic to preserve all messages with metadata tags
- Filter condensed messages during API assembly based on active summaries
- Implement hygiene operations to clean orphaned references after truncation
- Add comprehensive tests for non-destructive condense behavior
- Update existing tests to match new behavior

This fixes the issue where manual condense was breaking delete/edit operations
by replacing persisted history, causing timestamp-based lookups to fail.

Fixes #8295
2025-10-04 21:40:21 +00:00
..
npm Release: v1.80.0 (#8442) 2025-10-01 10:12:22 -07:00
scripts Fix publish-npm script (#7093) 2025-08-14 03:17:56 -07:00
src fix: implement non-destructive condense with metadata tracking 2025-10-04 21:40:21 +00:00
.gitignore Task metadata (#7092) 2025-08-14 03:14:17 -07:00
eslint.config.mjs Task metadata (#7092) 2025-08-14 03:14:17 -07:00
package.json Task metadata (#7092) 2025-08-14 03:14:17 -07:00
tsconfig.json Task metadata (#7092) 2025-08-14 03:14:17 -07:00
tsup.config.ts Bump @roo-code/types to v1.42.0 (#6610) 2025-08-02 13:27:59 -07:00
vitest.config.ts Convert jest tests to vitest and disable default watch mode for vitest (#4568) 2025-06-11 14:48:01 -07:00