nexusagentx/dsh-lens
Real-time code feedback when writing/modifying files: LSP / linter / formatter / ast-grep / symbol_search, Web chip+dock; npm dsh-lens
dsh-lens is the DeepSeek Harness adapter for pi-lens: real-time code feedback while the agent writes. On every write/edit/bash mutation it runs the pi-lens pipeline — a format queue with safe autofix, LSP file sync and diagnostics, ast-grep / tree-sitter / fact rules / language scanners, cascade diagnostics on likely neighbors, and turn-end blockers/advisories injected into the next model request. It registers the full agent-facing tool set (lens_diagnostics, lsp_diagnostics, symbol_search, module_report / project_report, read_symbol / read_enclosing, plus ast_grep_search / ast_grep_replace / ast_grep_outline / ast_grep_dump, lsp_navigation, lens_diagnostic_mark), the /lens-* commands (/lens-toggle, /lens-context-toggle, /lens-widget-toggle, /lens-health, /lens-perf, /lens-tools, /lens-tdi, /lens-map, /lens-allow-edit), bundled pi-lens skills, and a WebUI chip + composer dock on the official dsh web profile. Config lives in the same .pi-lens.json / ~/.pi-lens/config.json files as pi-lens with a Cordis config overlay.
Install
dsh plugin --profile web add dsh-lensnpm dsh-lens 0.2.5 verified 2026-09-03 (repository field → github.com/NexusAgentX/dsh-lens; README EN primary with zh edition). One-command install: dsh plugin --profile web add dsh-lens, or from git: dsh plugin --profile web add github:NexusAgentX/dsh-lens. The README warns against also attaching pi-lens-mcp / the official MCP-wrapped pi-lens to the same workspace — that double-starts language servers. A standalone CLI is available via npx dsh-lens (build-graph / status).
Compatibility
DSH web profile; host-native port of pi-lens (analysis engine stays in pi-lens); Node.js per pi-lens requirements; project config .pi-lens.json, global ~/.pi-lens/config.json.
Details
- Repo: nexusagentx/dsh-lens
- Category: Web UI Enhancements
- Stars: 1
- Version: npm dsh-lens 0.2.5
- Last push: 2026-08-14
- First seen: 2026-08-14
Recent updates
Host-native pi-lens port: format/LSP/ast-grep cascade on file mutations; 9+ agent tools; /lens-* commands; WebUI chip + dock; pi-lens skills; .pi-lens.json config.
FAQ
- What does the plugin run after every write or edit?
- The same pipeline pi-lens uses inside Pi: format queue / safe autofix, LSP file sync and diagnostics, ast-grep/tree-sitter/fact-rule scanners, cascade diagnostics on neighbors, then turn-end blockers and advisories injected into the next model request.
- Can I use it together with pi-lens-mcp?
- No — the README explicitly warns against attaching pi-lens-mcp or the official MCP-wrapped pi-lens to the same workspace because that double-starts language servers.
- Where is configuration stored?
- Project .pi-lens.json and global ~/.pi-lens/config.json (same files as pi-lens), with an optional Cordis config overlay for the plugin entry.
Alternatives
NexusAgentX/dsh-mcp-adapter · jsoningram-dsh-ai-code-reviewer