Jaylor-Wang/dsh-tool-lsp
An LSP tool surface for DeepSeek Harness exposing five tools the model can call directly: lsp_diagnostics (merging pull and push diagnostics), lsp_format, lsp_rename (cross-file when the server supports it), lsp_code_action and lsp_symbols. Writes go through the Harness filesystem observation policy, so a file changed since the call read it fails with LSP_WRITE_CONFLICT instead of being silently overwritten.
dsh-tool-lsp exposes real language-server capabilities to a DeepSeek Harness agent as five tools the model can call directly: lsp_diagnostics merges the pull and push diagnostic channels for a file; lsp_format formats a whole file or a range; lsp_rename performs a semantic rename, across files when the server supports it; lsp_code_action applies fixes the language server is willing to apply; and lsp_symbols returns a document outline or workspace symbol search. Read-only tools write nothing to disk, while the three writing tools route through the Harness filesystem observation policy so a file that someone else changed since the call read it fails with LSP_WRITE_CONFLICT instead of being silently overwritten.
Install
dsh plugin --profile web add dsh-tool-lspCopied verbatim from the README's Install block.
Compatibility
Requires a language server for the languages you use; writes follow the Harness filesystem observation policy, so a file changed since the call read it fails with LSP_WRITE_CONFLICT rather than being silently overwritten. English README with a 中文 translation.
Details
- Repo: Jaylor-Wang/dsh-tool-lsp
- Category: Coding & Development
- Stars: 2
- Version: GitHub repo Jaylor-Wang/dsh-tool-lsp (2★); npm package dsh-tool-lsp at 0.1.2 (registry check 2026-10-12; registry repository field resolves back to this repo).
Alternatives
030611/dsh-context-provenance · 030611/qiushi-dsh-evidence-audit · 0x3fffff/dsh-desktop-launcher