dsh-history-fold

Replaces the oldest span of a session's visible history with one message that carries an extractive one-line index and the path of a lossless local archive, so each request sends fewer tokens. The full text is archived before the fold is committed, the index is built by slicing each message's own text (no model is called and no summary is written), and each fold also writes its unsampled index to disk so older spans stay reachable through a chain of paths.

Install dsh-history-fold

This plugin has not published an npm package, so the store does not offer an install command yet. Use the repository link below to view the source.

Plugin details

Author
mili1360
Category
Sessions & Messages
GitHub stars
1
Added
2026-10-15

View the source on GitHub

More sessions & messages plugins