Floor-Limiter: A DSH Plugin for Triggering Session Compression Based on User Floors
Floor-limiter is a memory plugin developed by MengXinSu for DeepSeek Harness. It counts real user messages in agent/pre-step; when the limit M (default: 20) is reached, it calls compaction.compactRegion to retain the original text of the recent N (default: 5) messages while compressing earlier history. It shares the engine and lock with the official token pressure compaction. Settings such as enabled, triggerFloors, and keepFloors take effect online. To install via local web profile vendor: copy to profiles/web/vendor, modify dependencies and dsh.profile.bundles in package.json, then run pnpm install and restart DSH. MIT 0.1.4.
Read More