Dsh Session Header
homily707/dsh-session-header · productivity
A DeepSeek Harness plugin that injects an HTTP header onto every LLM provider request the harness sends, carrying the harness session id of that exact call.
★ 4GitHub stars
1Forks
2026-09-08Last updated
JavaScriptLanguage
MITLicense
Key features
- the llm/stream waterfall names the calls that are LLM calls and carries options.sessionId
- The llm-deepseek adapter already sends its own x-deepseek-harness-session-id on every request
- a globalThis.fetch patch adds the header, so every fetch-based adapter (llm-deepseek, llm-pi-ai, and any SDK whose transport bottoms out in global fetch) is covered without touching adapter code.
- value configa fixed value for every call instead (sent verbatim, no prefix stripping)
- calls with neither get no header.
Install command
dsh plugin --profile web add github:homily707/dsh-session-header