wefio/dsh-engineering-services

LSP+DAP+TASK,但仅支持JS/TS、Python

Project Overview项目介绍

This is a native plugin built exclusively for DeepSeek Harness (DSH), ported from the original pi-engineering-services suite. It adds three core IDE engineering service pillars to DSH: Language Server Protocol (LSP) tools, Debug Adapter Protocol (DAP) debugging tools, and build/test/lint task running tools. It also ships with two agent skills: a usage guide for the three tool sets and an installation and troubleshooting runbook. The plugin includes a DSH-native bundle manifest, and registers all tools and skill content directly through DSH’s native plugin system. To install it, you first check out the repository locally, install dependencies, run the build script, then link it to your DSH profile via the DSH CLI.

This plugin is designed for developers who use DSH for daily software development, and want full IDE functionality integrated directly into their DSH agent workflow. After installation, users can call LSP tools on any code file to get diagnostics, jump to definitions, search for workspace symbols, or rename code symbols. They can also launch debug sessions for Python or JS/TS code via DAP, and automatically detect and run npm scripts, Makefile rules, or justfile tasks directly from within DSH. All of these capabilities are available without leaving the DSH agent environment, streamlining the development process for DSH users.

As of the current release, only two LSP servers are verified: pyright for Python and typescript-language-server for TS/JS. All other pre-configured language servers are marked as experimental and have not been tested. For debugging, Python’s debugpy must be pre-installed via pip by the user, while js-debug for JS/TS is already vendored into the plugin codebase. The plugin is released under the permissive MIT license, and requires Node.js and TypeScript 5 to build from source. Configuration can be done via a project-local or global JSON config file, with sensible defaults included out of the box.

这是一个专为DeepSeek Harness(DSH)打造的原生插件,是pi-engineering-services工具套件的移植版本,为DSH提供LSP、DAP、Task三大IDE工程服务支柱,同时附带对应工具集的使用说明技能和运维手册。插件带有DSH专用的bundle manifest,通过DSH原生插件机制注册工具和系统提示词内容,专供DSH加载使用。

该插件面向使用DSH进行软件开发的用户,能够在DSH的代理工作流中提供完整的原生IDE基础能力。典型工作流为:用户对代码文件调用LSP诊断获取错误提示,查找工作区符号、跳转定义、重命名代码,通过DAP启动调试会话,还可以自动发现并运行项目中的构建、测试、lint任务。

目前该插件仅对Python的pyright和TS/JS的typescript-language-server做了功能验证,其他预设的语言服务器属于实验性未测试状态。调试功能中,Python的debugpy需要用户提前通过pip安装,JS/TS的js-debug已内置在项目中。项目采用MIT许可证,安装需要本地检出后构建再链接到DSH配置中。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 2 warnings2 项注意
  • No license declared - all rights reserved by default; ask the author before commercial use or redistribution未声明开源许可证 —— 默认「保留所有权利」,商用或再分发前先问作者
  • Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add github:wefio/dsh-engineering-services

把 wefio/dsh-engineering-services 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-engineering-services

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

Verified scope (kept from the pi edition)

  • LSP: pyright (Python) + typescript-language-server (TS/JS). Others are configurable but experimental.
  • DAP: debugpy (Python) + js-debug (JS/TS, vendored). Others are configured but experimental.
  • Task: npm scripts / Makefile / justfile.

Language servers and debug adapters beyond this are present in the config but not tested.

Install

# 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 vendored dap/js-debug/dap/debugpy into lib/). There is no tsdown/bundler. For tsserver to work, the workspace must resolve a typescript@5 with lib/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).

Configuration (pi-lsp.json)

Language servers are configured with the same schema as the pi edition:

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev dsh-chat-width-customizer 下一个 Next jayhe-dsh-gamemaker →