DSH Plugins Marketplace

DSH Plugins

Plugins

/

Development & Infrastructure

/

dsh-code-intel

d

dsh-code-intel

Manifest valid

Read-only semantic code navigation for DeepSeek Harness via local language servers: definitions, references, symbols, diagnostics, hover, and rename preview.

hasBundlePatch

Code Intel for DSH

Serena showed that coding agents need symbol-precise navigation, not just grep. This is a small, read-only DSH port of that workflow: local LSP servers, four tools, no embeddings, no hosted index, no API key.

What it adds

ToolJob
code_definitionJump to the real definition
code_referencesFind impact before editing
code_symbolsSearch classes/functions/variables
code_diagnosticsCompiler/type diagnostics for one file
code_hoverType/documentation at a symbol
code_renamePreview rename edits without writing

All six are read-only. code_rename returns a preview; it never writes files. Apply the preview with your normal editing tool after review.

Install

# once the public repo exists:
dsh plugin --profile web add github:lengrufeng2008/dsh-code-intel

# local package, before the repo is published:
dsh plugin --profile web add /home/lrf/dsh/products/dsh-code-intel/dsh-code-intel-0.1.0.tgz

Install at least one language server:

LanguageInstall
TypeScript / JavaScriptnpm i -g typescript-language-server typescript@5.9
Pythonpip install pyright
Gogo install golang.org/x/tools/gopls@latest
Rustrustup component add rust-analyzer
C / C++install LLVM clangd

Use

Use code_symbols to find where `parseSession` is defined.
Use code_references on this symbol before changing its signature.
Use code_diagnostics on the file I just edited.

Positions are 1-based. root defaults to the DSH workspace directory; files outside it are rejected.

Design

  • One short-lived language-server process per call; no background daemon to leak.
  • JSON-RPC over stdio, no dependencies.
  • Server selection by file extension, or explicit language.
  • Timeouts and install hints instead of silent fallback.
  • Path containment check before opening a file.
  • Diagnostics use publishDiagnostics; a server that only supports pull diagnostics returns none.

Real-server smoke

With typescript@5.9.3 and typescript-language-server@5.3.0, definition and references were smoke-tested against a small .ts file (1 definition, 2 references). The Python path was also smoke-tested with pyright-langserver (1 definition, 2 references). code_symbols needs a project context; for TypeScript, add a tsconfig.json and/or pass file so the server opens a project file first, or it may answer No Project. The bundled fake server keeps npm test independent of installed language servers.

What it does not do

  • No write, apply-edit, or rename application. code_rename is preview-only.
  • No cross-repo index, embeddings, or remote service.
  • No guarantee that diagnostics equal a clean test run.
  • No claim of parity with Serena's full feature set.

Provenance

Inspired by Serena; no source code copied. See NOTICE.md. License: MIT.

Tests

npm test

The test fixture is a fake LSP server, so npm test does not need TypeScript, Pyright, Go, or Rust installed. A real-server smoke test is listed in docs/SMOKE.md; the TypeScript path was smoke-tested with typescript@5.9.3 and typescript-language-server@5.3.0 (definition 1, references 2).

Comments

Loading…

Similar plugins

dsh-think-translate

by mtdx2001

Display-layer translation for the DeepSeek Harness Web UI: thinking chain, task cards and answers in 8 languages - pure display layer, originals untouched, local-first with failover.

Manifest valid

★ 0

MIT

JavaScript

Aug 30, 2026

dsh plugin --profile web add dsh-think-translate

by Wanbinyu

Read-only, redacted provider error diagnostics for DeepSeek Harness

Development & InfrastructureManifest valid

★ 3

MIT

TypeScript

Oct 14, 2026

dsh plugin --profile web add dsh-error-lens

by tancheng33

Container-isolated backend for the DeepSeek Harness code-execution seam: Code Mode programs run in a fresh container with no network, a read-only rootfs, and kernel-enforced memory, CPU, and pid ceili

Security & AuditDevelopment & InfrastructureManifest valid

★ 0

MIT

TypeScript

Aug 16, 2026

dsh plugin --profile web add dsh-code-runtime-container

阅读代码 · DSH 独立插件:一个独立于普通工作区选择的代码阅读模式:先理解业务,再梳理调用链、精读实现,最后通过具体场景验证理解。

Development & InfrastructureManifest valid

★ 0

MIT

JavaScript

dsh plugin --profile web add dsh-code-reading

by necokeine

Selectable Codex model provider for DeepSeek Harness over the local Codex app-server

Manifest valid

★ 3

↓ 70/wk

MIT

TypeScript

Aug 28, 2026

dsh plugin --profile web add @necokeine/dsh-codex-relay

by PerryLink

LSP action surface for DeepSeek Harness: diagnostics, formatting, completion, code actions, symbols, signature help, inlay hints, and rename tools over language servers

Tools & CapabilitiesManifest valid

★ 38

↓ 1.5k/wk

Apache-2.0

TypeScript

Nov 5, 2026

dsh plugin --profile agent add dsh-lsp-actions