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-graphlint

Graphlint

DeepSeek Harness 插件包:面向代理的 graphlint 死代码检测工具(graphlint_query / graphlint_build / graphlint_config + graphlint 技能)。

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

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

兼容性与来源证明

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

DSH 兼容范围
*
运行环境
any
发布来源
npm
Registry 更新时间
2026/11/4

版本

0.6.0stable
2026/10/11
0.4.0stable
2026/9/16
0.3.2stable
2026/8/27
查看其余 5 个版本收起版本
0.3.1stable
2026/8/26
0.3.0stable
2026/8/18
0.2.1stable
2026/8/16
0.2.0stable
2026/8/15
0.1.0stable
2026/8/14

相关插件

正在加载相关插件…

最新版
0.6.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
79.1 kB
文件数
32
Surface
any
许可证
MIT
发布源
npm
GitHub
★ 7
周下载
308
安全扫描
✓ v0.6.0 扫描通过
最近提交
2026/10/11
查看源码 ↗项目主页 ↗
README Badge

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

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

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

认领这个 Plugin →
报告问题

相关插件

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

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Sdk Minimal@deepseek-ai/dsh-sdk-minimal独立的最小 SDK 配置包:JSON-RPC、一个 DeepSeek 适配器、持久化 Shell 和 JSONL 会话Sdk App@deepseek-ai/dsh-sdk-appdsh SDK 配置包:基于 dsh-base 提供 stdio JSON-RPC 服务和进程生命周期管理Experimental Inspector@deepseek-ai/dsh-experimental-inspector用于 Host 调试和 Client Runtime 检查的实验性跨 realm CDP hub

README

dsh-graphlint

DeepSeek Harness plugin bundle for graphlint — dead-code detection for AI-generated codebases.

Installing this bundle gives every agent in the profile three tools (graphlint_query, graphlint_build, graphlint_config) plus a graphlint skill describing when and how to use them.

Requirements

  • Node.js >= 20.
  • A DeepSeek Harness profile (dsh plugin initializes one on first use).
  • The graphlint CLI on PATH (pip install graphlint) or inside the project's virtualenv (env/, .venv/, venv/ are probed automatically).

Supported DSH core

The bundle imports defineTool from @deepseek-ai/dsh-tools at runtime — an out-of-tree plugin resolves it from the running installation (it is one of the plugin manager's protected modules) — and type-checks its tool definitions against it. Declared compatibility:

PackageRange
@deepseek-ai/dsh-tools>=0.1.0-rc.6 <0.3
@deepseek-ai/cordis>=4.0.5-alpha.1 <5

Development and CI compile against the exact published versions pinned in devDependencies (currently the 0.2.1-alpha.2 core), so a contract change in any seam the plugin consumes (ctx.tools, ctx.subprocess, ctx.fs, ctx.skills, ctx.jobs, ctx.workingDirectory, ctx.timer) fails the build instead of failing a live tool call. Bump the pins with the core.

Install

Install the published bundle into a DeepSeek Harness profile:

dsh plugin --profile web add dsh-graphlint

# or via the graphlint CLI (requires dsh on PATH):
graphlint install dsh --profile web

Then restart the profile (and refresh the browser page). The bundle's patch layer inserts the plugin row at the profile root; you can address it by id dsh-graphlint in your own cordis.patch.yml (e.g. to disable it per profile).

Development / repository install (linking a local checkout):

# 1. Clone the repository and build the bundle
git clone https://github.com/AngelosZou/graphlint.git
cd graphlint/integrations/dsh
npm install
npm run build

# 2. Link the bundle into a profile (run from the repository root)
cd ..
dsh plugin --profile web add link:./integrations/dsh

# 3. Restart dsh web

Tools

ToolPurpose
graphlint_queryQuery the dependency graph for dead code, unused imports, write-only variables, and other warnings. Fast incremental mode; JSON result. Common filters: warn_types, graph_id, exclude_clean, include_tests, public_as_entry.
graphlint_buildFull or incremental index rebuild as a background job (poll with job_output).
graphlint_configshow / diff / get / set entries in the project's .graphlint/config.json, plus add-entry-rule / remove-entry-rule / add-exclude / remove-exclude for custom entry rules and excludes. diff reports how the config differs from the shipped default rule template.

The graphlint skill leads with these tools (they run inside the session working directory and return structured results); the canonical CLI guidance follows as reference.

root_dir restriction

Every tool accepts an optional root_dir. It must stay inside the session working directory (the default) — a hard guard rejects anything else with a clear error. Scanning a high-level root (such as a user home directory) makes graphlint build a huge first-time index and can block for many minutes.

The default root comes from the workingDirectory service (the seam that owns a session's effective directory and repairs a deleted project), falling back to the session header's original cwd and then to the harness process directory. graphlint_query and graphlint_config then pass --root-dir; graphlint_build and graphlint config run the CLI with that directory as their working directory, because those subcommands read their own cwd.

Optional Secondary working directories (dsh-multi-folder)

When the dsh-multi-folder plugin is installed and the user has configured secondary working directories for the session, those directories automatically become valid root_dir values for all three tools: the analysis root is accepted inside any configured secondary directory, graphlint runs with that directory as its working directory, and the index lands in its .graphlint/. A relative root_dir still resolves against the primary session workspace.

This compatibility is automatic and optional. Each tool probes ctx.get('multiFolder') at call time and nothing else changes:

  • multi-folder absent, unconfigured, incompatible, or throwing → the plugin behaves exactly as if it did not exist (the guard falls back to the session working directory, and the refusal message keeps its original wording);
  • multi-folder present → a refusal still names the configured secondary directories and the /multi-folder command that adds one, so the model learns the valid roots instead of retrying blindly.

The multiFolder service and the workingDirectory service are both optional seams, read through ctx.get and never declared in inject, so neither plugin becomes a hard dependency of the other.

Development

cd integrations/dsh
npm install          # first time only; afterwards npm ci
npm run build        # generate-skill.mjs + tsc → lib/
npm test             # node --test lib/test/

Type-checking is part of npm run build, and the seam types come from the real @deepseek-ai/* packages rather than hand-written copies — build failure is the signal that a core contract moved. src/types.ts re-exports them and narrows the two optional seams; nothing in src/ restates an engine-shaped service a second time.

The test suite covers the pure logic layers (root guard, argv construction, JSON parsing), the optional multi-folder probe and its end-to-end tool wiring (root resolution and spawned CLI cwd, with and without the peer plugin), the workingDirectory root resolution and its fallbacks, the background-job owner type, and manifest/patch contract checks. A committed package-lock.json is required (CI runs npm ci).

If the sandbox forbids the Node test runner's per-file child processes (spawn EPERM on a Windows confined run), run the same suite in one process:

node --test --experimental-test-isolation=none "lib/test/**/*.test.js"