rea
morluto
Reverse engineer anything with agents, from app behavior down to native binaries.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:lengrufeng2008/dsh-code-intel
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
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.
| Tool | Job |
|---|---|
code_definition |
Jump to the real definition |
code_references |
Find impact before editing |
code_symbols |
Search classes/functions/variables |
code_diagnostics |
Compiler/type diagnostics for one file |
code_hover |
Type/documentation at a symbol |
code_rename |
Preview 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.
# 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:
| Language | Install |
|---|---|
| TypeScript / JavaScript | npm i -g typescript-language-server typescript@5.9 |
| Python | pip install pyright |
| Go | go install golang.org/x/tools/gopls@latest |
| Rust | rustup component add rust-analyzer |
| C / C++ | install LLVM clangd |
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.
language.publishDiagnostics; a server that only supports pull diagnostics returns none.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.
code_rename is preview-only.Inspired by Serena; no source code copied. See NOTICE.md.
License: MIT.
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).
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。