dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
Context Language Models (CLM) for DeepSeek Harness: Active editable context window mirrored to disk for pruning and token optimization.
Active editable context window mirrored to disk for DeepSeek Harness (DSH).
Inspired by Meta CLM (Context Language Models) &pi-clm.
dsh-plugin-clm transforms the conventional monolithic, append-only context window of DeepSeek Harness into an active, disk-mirrored, and editable context document (.dsh/clm/LIVE_CONTEXT.md).
In standard LLM conversational loops, the chat history grows indefinitely, accumulating bloated tool dumps, stale search outputs, and abandoned debugging attempts. This consumes thousands of tokens and degrades model reasoning over long conversations.
With CLM active, the agent and user can actively prune, compress, and curate the live conversational state on disk before each generation step.
.dsh/clm/LIVE_CONTEXT.md).[ 🧠 CLM ON 🟢 / CLM OFF ⚪ ] toggle button in the chat input bar, operating cleanly in the background.budgetTokens: 64000, reserveTokens: 4096) to prevent sudden context overruns.~/.dsh/profiles/desktop/package.json):{
"dependencies": {
"dsh-plugin-clm": "^1.0.2"
},
"dsh": {
"profile": {
"bundles": [
"dsh-plugin-clm"
]
}
}
}
Or install via CLI:
dsh plugin add dsh-plugin-clm
| Command | Description |
|---|---|
/clm on | Enables active editable context mirroring for the current session |
/clm off | Disables CLM mode and falls back to standard append-only context |
/clm status | Displays estimated context tokens, revisions, and mirror file path |
/clm reset | Clears and regenerates a clean mirror state for the session |
LIVE_CONTEXT.md)# CONTEXT LANGUAGE MODEL (CLM) - ACTIVE MIRROR
[[CTX_NOTES]]
- Objective: Refactor authentication architecture.
- Decisions: Retain JWT tokens in protected in-memory store.
[[CTX_TURN document=sess-1 index=1 role=user]]
Check the server logs for recent authentication errors.
[[CTX_TURN document=sess-1 index=2 role=assistant]]
Examining logs:
[Tool output summarized to the 3 relevant failure entries]
Developed by Maximiliano Roldán (@maxeone).
Distributed under the MIT License.