deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
PROJECT README
IDE engineering services for DeepSeek Harness (dsh) — a host plugin porting the
pi-engineering-services suite: LSP / DAP / Task three pillars + an IDE-tooling usage skill.
| Pillar | What it provides | Entry |
|---|---|---|
| LSP | 12 tools: diagnostics, navigation, rename, workspace symbol | src/lsp/dsh-lsp.ts |
| DAP | debug tool, ~28 actions (debugpy + js-debug) |
src/dap/dap.ts |
| Task | build/test/lint discovery & run (npm / make / just) | src/task/task.ts |
| Skill | usage policy & how-to for the three tool sets | skills/ide-three-pillars/SKILL.md |
| Runbook | install / activate / smoke / troubleshoot | skills/ide-runbook/SKILL.md |
Language servers and debug adapters beyond this are present in the config but not tested.
# from a local checkout (dev iteration)
cd dsh-engineering-services-dsh
npm i -D typescript # dev typecheck/build tooling (typescript)
npm run build # scripts/build.mjs → tsc emits lib/ + copies vendored dap assets
dsh plugin --profile web add link:$PWD
# restart dsh web + hard refresh, then in a new session:
# lsp_diagnostics on a .ts/.js/.py file
# task list / task run name=...
# debug launch program=... (needs debugpy / js-debug runtimes, see below)
Build tooling note: this package uses a plain Node ESM build (
scripts/build.mjs→tsc+ copy vendoreddap/js-debug/dap/debugpyintolib/). There is no tsdown/bundler. For tsserver to work, the workspace must resolve atypescript@5withlib/tsserver.js; see the runbook skill (section tsserver 的标准修法).
The plugin's node half registers the tools through the tools registry and the IDE-tooling
guidance section through the system-prompt registry (both probed at runtime, mirroring dsh-genui).
pi-lsp.json)Language servers are configured with the same schema as the pi edition:
<workspace>/.dsh/pi-lsp.json~/.dsh/pi-lsp.json{
"timeout": 20000,
"servers": {
"pyright": { "command": ["pyright-langserver", "--stdio"], "extensions": [".py", ".pyi"] },
"typescript-language-server": { "command": ["typescript-language-server", "--stdio"], "extensions": [".ts", ".tsx", ".js", ".jsx"] }
}
}
Without a config the plugin ships built-in defaults that now include pyright and typescript-language-server out of the box; the broader list (biome, ruff, etc.) is experimental — uninstalled default servers are auto-skipped by the tools.
exec.agent.session.header.cwd),
not a per-process cwd. Pass an explicit cwd/root to override.DSH_DEBUGPY_PYTHON to any interpreter
that has debugpy installed (test with python -c "import debugpy"). The default
${env:DSH_DEBUGPY_PYTHON|python3.13} is a guess — on many machines it's python3.13
that lacks debugpy while the system python has it. There is no hard 3.13 requirement;
pick whichever interpreter passes the import check.src/dap/js-debug/ (its own {"type":"commonjs"} package.json
isolates the CJS dapDebugServer.js from the ESM package root)./lsp slash command: the pi edition's /lsp command is replaced by the lsp_toggle
tool. There is no per-conversation active-tool-set toggle in DSH's host plugin surface.ctx.ui.setStatus: the LSP runner's status banner is a no-op in DSH;
results carry the diagnostics/fix/navigation text directly.pnpm run check # tsc --noEmit -p tsconfig.json
For offline typechecking, node_modules/@deepseek-ai/* are junctions into an installed
@deepseek-ai/dsh profile's packages (dev-only; not committed). A real installed profile
provides the same packages at runtime.
skills/ide-runbook/SKILL.md — operations runbook:
install into a dsh profile, restart, three-pillar smoke, and the tsserver/debugpy/Windows
pitfalls (incl. self-bootstrap verification).MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。