dsh-plugin
DayuanJiang/next-ai-draw-iodsh 的 draw.io 绘图插件:通过 next-ai-drawio MCP 服务器作图,点回复里的链接在右侧栏打开实时预览,可以手动修改图,AI 的每次修改都是可以恢复的版本。需 Node.js 18+,首次使用由 npx 下载 MCP 服务器。
确定性 AST 代码图谱与架构治理分析工具:调用链消歧、重构爆炸半径、循环依赖审计、领域切片与全栈 API 契约追踪。
@trench-xinxin/dsh-tool-lens)English | 简体中文
[](https://github.com/trench-xinxin/dsh-tool-lens/blob/main/LICENSE)
[](https://github.com/deepseek-ai/deepseek-harness)DeepSeek Lens is a high-performance, deterministic AST code graph and architectural analysis tool plugin designed for the DeepSeek Harness agent foundation.
It empowers AI Agents with deep codebase topological awareness, enabling instant module dependency exploration, disambiguated symbol call hierarchies, OOP inheritance tracing, circular dependency audits, architectural coupling metrics, Git diff change impact audits, domain architecture slicing, and full-stack API contract tracking.
💡 Stand-alone Execution: You do NOT need to pre-install
@deepseek-ai/dsh, nor do you need to start any background Harness services beforehand.
Running the command below will automatically download the runtime, handle port allocation, and launch the complete Web UI with Lens pre-loaded:
# 🚀 Zero-config launch full Web UI (Out of the box)
npx @trench-xinxin/dsh-tool-lens
# Or execute a one-off prompt directly in terminal
npx @trench-xinxin/dsh-tool-lens "Use lens tool to audit circular dependencies in this workspace"
Once launched, your browser can access the Web UI at the indicated local address (e.g. http://127.0.0.1:3080 or http://127.0.0.1:3081).
📦 Module & Dependency Topology (dependencies)
import / export declarations.export * from './mod' and named aliased re-exports.tsconfig.json compilerOptions.paths aliases (e.g., @/*).📞 Scope-Disambiguated Call Hierarchies (call_graph)
import { fn }), and namespace imports (Mod.fn), completely eliminating false positives from duplicate function names across the workspace.extends and implements relations for classes and interfaces.💥 Tiered Refactoring Blast-Radius Analysis (impact)
🔄 Circular Dependency Auditing (circular)
A -> B -> C -> A).🧭 Shortest Call Path Exploration (action: path)
🧹 Dead Code & Unused Symbol Audit (action: unused)
🛡 Architecture Layer Governance (action: lint)
views/** cannot directly import infra/**) to prevent layer decay.📝 Git Diff Impact & Test Recommender (action: diff_impact)
🧩 Domain Architecture Subgraph Slicing (action: slice)
🌐 Full-Stack Cross-Language API Contracts (action: api_contracts)
fetch, axios, request) to backend route controllers (Java Spring, Python FastAPI, Go Gin), forming full-stack end-to-end call graphs.🌍 Polyglot Ecosystem Drivers (Java / Python / Go / Rust / TS / SFC)
.java): package, Maven/Gradle paths, class, interface, extends, implements, and class method invocations..py): def, class inheritance, self.method(), and relative/absolute package imports..go): package scopes, go.mod module paths, Struct Embedding, and Receiver methods..rs): mod modules, struct, trait, impl Trait for Struct, and method calls..vue, .svelte): Full support for <script setup> and <template> component references.MIT License © 2026 Trench / DeepSeek Lens Contributors.