DeepSeek Harness Plugin Hub

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

探索

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

社区

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

相关链接

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

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

Typelens — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
T

dsh-typelens

Typelens

为 DeepSeek Harness 提供自动且有界的类型上下文和编辑诊断

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

npx -y @deepseek-ai/dsh plugin --profile web add github:fantasyce/dsh-typelens#f77db5e29bdd3d804b6d1a6892fc43bd1639e9bf
README兼容性版本

兼容性与来源证明

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

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/8/28

版本

0.1.2stable
2026/8/28
0.1.1stable
2026/8/27

相关插件

正在加载相关插件…

最新版
0.1.2
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/9/19
查看源码 ↗
README Badge

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

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

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

认领这个 Plugin →
报告问题

相关插件

继续浏览 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+ 人工精选社区插件,每日更新。

README

DSH TypeLens

Local-first type context and edit diagnostics for DeepSeek Harness.

TypeLens watches successful DSH file reads and edits. After a read, it appends only the complete type declarations needed to understand the visible code. After an edit, it appends bounded TypeScript diagnostics with new errors first. The original tool result always remains intact, and an analysis failure never turns a successful file operation into a failure.

Why TypeLens

  • Automatic context: agents do not have to remember to call an LSP tool.
  • Full declarations: output is ranked, deduplicated, cycle-safe, and never cut mid-signature.
  • Immediate feedback: TS/JS diagnostics arrive directly after writes and edits.
  • Local analysis: TypeLens makes no outbound requests and never persists source-bearing analysis state.
  • Bounded and fail-open: workspace, file-size, timeout, depth, result, cache, and token limits are enforced.
  • Native DSH integration: four explicit tools, lifecycle hooks, health API, and a Web settings section.

Compatibility

Version 0.1.2 is acceptance-tested with DSH 0.1.1-rc.2 on macOS arm64. GitHub CI covers Linux with Node.js 22 and 24. TypeScript, TSX, JavaScript, and JSX are supported. Vue and Svelte script blocks use their optional compiler when available and retain a bounded first-instance-script fallback when it is absent. Template semantics are outside the current analysis boundary. Windows is a compatibility target but is not a 0.1.2 release gate.

Install

DSH delegates profile dependency management to pnpm. Confirm that both commands are available before installing a plugin:

dsh --version
pnpm --version

If pnpm is missing, install it using the official pnpm installation guide, then run:

dsh plugin --profile web add dsh-typelens
dsh plugin --profile headless add dsh-typelens

The npm package is the canonical install source. Use dsh-typelens@0.1.2 to pin this release, or use the verified GitHub release tarball when an explicit archive URL is required.

Restart the affected DSH profile, then verify the composed row:

dsh --profile web --dump-config

The package bundle inserts a typelens row automatically. In DSH Web, open Settings → TypeLens to inspect health, change automatic behavior and limits, or reset in-memory caches and counters.

Upgrade

Update each profile where TypeLens is installed, then restart that profile so the running Host and client load the new package bytes:

dsh plugin --profile web update dsh-typelens --latest
dsh plugin --profile headless update dsh-typelens --latest

Use dsh --profile web --dump-config after restart to confirm the composed typelens row. To remain on an approved release, keep the pinned dependency instead of using --latest.

To remove it:

dsh plugin --profile web remove dsh-typelens

Model-facing tools

  • typelens_lookup_type: find a named declaration relevant to a file.
  • typelens_list_types: list bounded declarations relevant to a file.
  • typelens_check: run bounded file and project diagnostics.
  • typelens_explain: inspect effective configuration, health, circuit state, and source-free counters.

All returned paths are workspace-relative. Explicit file tools require an active DSH session workspace.

Safe defaults

Automatic context is limited to 800 estimated tokens, depth 4, 1.5 seconds, and 2 MiB files. Explicit checks receive 5 seconds. A circuit breaker pauses automatic analysis for 30 seconds after five operational failures in 60 seconds; explicit tools and health remain available. Dependency trees, build output, VCS metadata, coverage, and environment files are denied by default.

See configuration, troubleshooting, and the Chinese guide. The current release gate is recorded in v0.1.2 acceptance.

Development

corepack enable
pnpm install --frozen-lockfile
pnpm verify

pnpm verify type-checks, runs the complete test suite, builds both Host and DSH client artifacts, scans for secrets, audits package contents, and creates the tarball under artifacts/.

Agent Reliability Toolkit

TypeLens is one independent part of a small, local-first reliability toolkit:

  • Agent Runtime Proof verifies that a live Agent or MCP runtime matches the artifact you approved.
  • Agent Residue Evidence records task-scoped files, processes, and listening ports left by tests and builds.
  • DSH TypeLens adds bounded type context and edit diagnostics to DeepSeek Harness.

Each project remains separately installable and keeps its own trust boundary.

Security and privacy

TypeLens persists only validated settings under $DSH_HOME/typelens/settings.json with owner-only permissions. Analysis state and counters live in memory. Type context and diagnostics appended to an agent step become part of the next DSH model request, so they follow the privacy policy of your configured model provider. See SECURITY.md for reporting and the full trust boundary.

License

MIT