dsh-lens
安全与治理 活跃维护

dsh-lens

coffee-man666/dsh-lens

作为可即装即用的分析类插件,内置代码仓库分析、智能体运行时分析两类核心技能,无需额外配置即可直接调用相关能力,快速完成代码资产梳理与运行逻辑排查。

0
Stars 标星
0
Forks 分支
0
Watchers 关注
0
Open Issues
TypeScript
主要语言
MIT
开源协议
50 KB
仓库大小
28 天前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:coffee-man666/dsh-lens
git clone https://github.com/coffee-man666/dsh-lens.git
git clone git@github.com:coffee-man666/dsh-lens.git
README.md main

dsh-lens

English | 中文

dsh-lens is an installable DeepSeek Harness (DSH) plugin: a packaged skill provider with five repository- and runtime-analysis workflows.

  • repo-recon — staged, read-only reconnaissance of local Git projects via parallel subagents.
  • dsh-enhancement-analysis — map a project's orchestration pain points onto DSH capabilities and produce a prioritized report.
  • harness-runtime-optimizer — diagnose runtime-policy waste, design controlled experiments, and evaluate policy changes.
  • publish-screen — screen a repository for sensitive information before or after making it public.
  • dsh-plugin-potential — assess whether any project's functionality could be packaged as a DSH plugin; evaluation only, never builds it.

The plugin is guidance-only: beyond writing its own reports under the analyzed project's dsh-scan/ directory, it never modifies repositories and never rolls out runtime policies automatically.

Install

Requires the dsh CLI. Install into a profile (npm):

dsh plugin --profile <name> add @deepseek-ai/dsh-lens
dsh --profile <name>   # the dsh-lens layer mounts the provider

From GitHub (installs sources and runs the prepare build; allow the build in the profile's pnpm-workspace.yaml when pnpm asks):

dsh plugin --profile <name> add github:coffee-man666/dsh-lens

From a tarball (no build permission needed):

pnpm pack
dsh plugin --profile <name> add ./deepseek-ai-dsh-lens-0.6.0.tgz

Verify the layer with dsh --profile <name> --dump-config; the five skills then appear in the session skill catalog via @deepseek-ai/dsh-tool-skill.

Development

pnpm install   # links @deepseek-ai/cordis and @deepseek-ai/dsh-skill from ../deepseek-harness
pnpm test      # provider registration/loading via the real skill registry
pnpm build     # tsdown → lib/
pnpm verify    # VERSION ↔ SKILL.md frontmatter ↔ provider METADATA ↔ package.json

The devDependencies link the sibling deepseek-harness checkout, so clone both repositories side by side. Consumers get the peers from their DSH installation.

License

MIT