LSAI2023/dsh-ide-context

LSAI2023★ 0TypeScriptLast synced: 2026-08-16

Open on GitHub

dsh-ide-context — DeepSeek Harness bundle: inject your IDE's open files and current selection into each turn (IntelliJ IDEA & VS Code).

README excerpt

dsh-ide-context English 中文 A DeepSeek Harness bundle that carries what you are doing in your IDE right now into each model turn: the files currently open and the current text selection (file path, zero-based line/character range, selected text). It reads the Claude Code IDE integration bridge — the same /.claude/ide/ .lock files and MCP-over-WebSocket protocol the Claude Code CLI uses — so one bundle serves both IntelliJ IDEA and Visual Studio Code . Install Then boot a profile that lists this bundle: Config Users override any key in their profile's cordis.patch.yml (it applies after every bundle layer): refreshIntervalMs must be a non-negative safe integer. Omission or 0 injects whenever the IDE state changed since the last injection; a positive value additionally suppresses injections within that many milliseconds of the latest one. pollIntervalMs defaults to 5000 . lockDir defaults to /.claude/ide . What the model sees On each turn whose IDE state changed, one source-tagged context message like: The selection block uses Claude Code's editor-selection structure: a 1-based inclusive line range, the selected text, and a fixed "may or may not be related" tail. Opened files are resol…

View full README on GitHub →
Tools / Devdeepseek-harnessdshdsh-plugin

Category