DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

dsh-lens

Lens

DeepSeek Harness 的实时代码反馈——LSP、代码检查器、格式化工具、类型检查和结构分析。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add dsh-lens@0.2.5
README兼容性版本

兼容性与来源证明

Lens 以 dsh-lens 发布,当前版本为 0.2.5。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
npm
Registry 更新时间
2026/9/20

版本

0.2.5stable
2026/8/14
0.2.4stable
2026/8/14
0.2.3stable
2026/8/14
查看其余 5 个版本收起版本
0.2.2stable
2026/8/14
0.2.1stable
2026/8/14
0.2.0stable
2026/8/14
0.1.0stable
2026/8/14
0.0.1stable
2026/8/14

相关插件

正在加载相关插件…

最新版
0.2.5
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
123.8 kB
文件数
61
Surface
web
许可证
MIT
发布源
npm
GitHub
★ 1
周下载
117
安全扫描
✓ v0.2.5 扫描通过
最近提交
2026/8/14
查看源码 ↗项目主页 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题
Lens — DeepSeek Harness 插件(DSH Plugin)

README

dsh-lens

Real-time code feedback for DeepSeek Harness: LSP, linters, formatters, type-checking, and structural analysis while the agent writes.

Current release: dsh-lens@0.2.0.

English | 中文

What it does

This is a host-native port of pi-lens. The analysis engine stays in pi-lens; this plugin is the DeepSeek Harness adapter.

On every write / edit / bash mutation it runs the same pipeline pi-lens uses inside Pi:

  1. format queue / safe autofix
  2. LSP file sync and diagnostics
  3. ast-grep, tree-sitter, fact rules, and language scanners
  4. cascade diagnostics on likely neighbors
  5. turn-end blockers and advisories injected into the next model request

It also registers the full agent-facing tool set, the /lens-* commands, bundled pi-lens skills, and a WebUI chip/dock.

Standalone CLI (review graph, same as pi-lens build-graph):

npx dsh-lens build-graph --cwd .
npx dsh-lens status

Install

dsh plugin --profile web add dsh-lens

Or from git:

dsh plugin --profile web add github:NexusAgentX/dsh-lens

Do not also attach pi-lens-mcp / official MCP-wrapped pi-lens against the same workspace — that double-starts language servers.

Tools

Always available:

  • lens_diagnostics — cached / project diagnostic state (delta / all / full)
  • lsp_diagnostics — file- or directory-scoped LSP diagnostics
  • symbol_search — ranked identifier search
  • module_report / project_report
  • read_symbol / read_enclosing

Also registered (dsh has no dynamic-tool API, so they stay visible):

  • ast_grep_search / ast_grep_replace / ast_grep_outline / ast_grep_dump
  • lsp_navigation
  • lens_diagnostic_mark
  • pi_lens_activate_tools — no-op catalog on dsh; all tools are already active

The official lsp tool is left alone. Use it for simple go-to; use lsp_navigation for the full IDE surface.

lens_diagnostics, ast_grep_search, and symbol_search present as search cards with file follow-along.

Commands

CommandWhat it does
/lens-toggleEnable or disable the pipeline for this session
/lens-context-toggleKeep tools/LSP/format on, stop injecting into the next turn
/lens-widget-toggleShow or hide the WebUI chip and dock
/lens-healthSession health, LSP list, cascade, event-loop, noisy rules
/lens-perfProcess + machine-wide p50/p99 phase ranking
/lens-toolsInstaller status grouped by source
/lens-tdiTechnical Debt Index
/lens-mapWrite the HTML dependency map; the chip gets an Open map action
/lens-allow-edit <path>One-shot read-guard exemption

WebUI

On the official dsh web profile the plugin ships a browser half (dsh.client):

  • session header chip (conversation.session.header.actions)
  • composer dock (conversation.input.dock)
  • official primitives: Menu, Tooltip, StateDot, chevron, CSS modules, zh/en locale

The chip reads the lens session projection, folded from widget-state on tool/result, turn/end, and /lens-widget-toggle. It does not append a custom session event, so persistence will not reject the log.

Skills

The four upstream pi-lens skills are registered when ctx.skills is present:

  • pi-lens-ast-grep
  • pi-lens-lsp-navigation
  • pi-lens-write-ast-grep-rule
  • pi-lens-write-tree-sitter-rule

Config

Same files as pi-lens:

  • project: .pi-lens.json
  • global: ~/.pi-lens/config.json

Plugin config on the Cordis entry (omit a key to keep .pi-lens.json / env):

- id: dsh-lens
  name: dsh-lens
  config:
    cwd: /path/to/workspace
    enabled: true
    contextInjection: true
    lsp: true
    format: true
    immediateFormat: false
    autofix: true
    tests: true
    delta: true
    guard: false
    opengrep: true
    readGuard: true
    turnSummary: false
    actionableWarnings: false
    actionableWarningActions: false
    actionableWarningAutofix: false
    actionableWarningAll: false

Boolean keys map onto the same flags as pi-lens (--no-lsp, --lens-guard, --immediate-format, …).

Host limits

dsh freezes tool arguments before dispatch, so Pi's in-flight edit autopatch cannot rewrite old_string. dsh already has its own read-before-edit observation policy.

These Pi host surfaces are not cloned: TUI footer, interactive LSP install prompts, session fork / cross-process nudge, official Settings cards (apiproxy allowlist), and /lens-booboo (still deferred upstream).

License

MIT

Inspired by pi-lens (MIT). See NOTICE.


中文

给 DeepSeek Harness 用的实时代码反馈插件。分析引擎还是 pi-lens,这里是 dsh 宿主适配:写文件后跑 format / LSP / linter / 结构规则,并把 blocker 注回下一轮。

当前版本:dsh-lens@0.2.0。

dsh plugin --profile web add dsh-lens

Web profile 会装上会话标题旁的 lens 芯片和输入框上面的 dock(官方 Menu / Tooltip / StateDot)。/lens-widget-toggle 可隐藏。/lens-health、/lens-perf、/lens-tools 与上游报告对齐。

不要和 pi-lens-mcp 同时挂同一批 workspace,会双开语言服务器。

配置继续用 .pi-lens.json / ~/.pi-lens/config.json,也可以在 Cordis 条目里写 lsp / format / guard 等开关。

相关插件

继续浏览 developer-tools 分类下经过校验的插件。

Better Sidebardsh-better-sidebarDSH web 插件:类似 VSCode 的右侧边栏(资源管理器 / 编辑器 / 终端 / git / 浏览器),按对话会话隔离。提供服务,供其他插件注册侧边栏标签页和文件查看器。Find Plugindsh-find-plugin在代理中查找 DeepSeek Harness 插件——实时搜索 GitHub 上的 dsh-plugin 主题,并按星标数排序。DSCODE@toddzheng024/dscode-bundle完整的 DeepSeek 编码代理,支持持久化 shell、Ultra 协作和自动权限审查。Plugindsh-pluginDeepSeek Harness 社区插件市场,遵循官方插件规范——无需离开应用即可浏览、搜索并安装 9000+ 个由人工精选的社区插件。· DeepSeek Harness 社区插件市场(遵循官方开发规范):9000+ 人工精选社区插件,每日更新。