dsh-session-ref-unlimit: Relax the Upper Limit of Session References per Message

DeepSeek Harness natively caps @ references at 3 sessions per message. dsh-session-ref-unlimit, implemented as a Cordis host plugin, rewrites the sessionReferenceResolver configuration at runtime, raising the default limit to 8 without modifying app.asar. Combined with totalContextFraction to control the overall context proportion, it prevents context window overflow that would result from simply increasing the reference count. Setup is straightforward: create a Junction into the profile, edit session-ref-unlimit.json, and changes take effect in approximately 1 second after saving.

Read More