DeepSeek Harness 插件

liwuzhan/cad-tool#dsh-cad-studio

Star 数 ★ 1 分类 工具与能力 收录于 2026-08-29

为 DSH 添加参数化 CAD 建模、几何验证、预览、设计历史和 STEP/STL 导出能力。

安装

# Release 预构建包

dsh plugin --profile web add "https://github.com/liwuzhan/cad-tool/releases/latest/download/dsh-cad-studio.tgz"

# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)

dsh plugin --profile web add github:liwuzhan/cad-tool#path:/packages/dsh-cad-studio

装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。

README

该插件的 README 只有英文版本。

Self-contained DSH plugin for the CAD Tool workflow. One install supplies:

  • 16 Host tools covering environment setup, .456d packages, modeling, validation, inspection, ordinary multi-view review, optional model-directed dimensions/cutaways, versioning, and STEP/STL export;
  • the browser-side CAD result cards;
  • the complete Python cad-cli source used by the environment bootstrapper.

Install

The plugin is not yet listed in the DSH marketplace. Download the newest GitHub Release and add the tarball to the target profile:

# macOS / Linux
curl -fL https://github.com/liwuzhan/cad-tool/releases/latest/download/dsh-cad-studio.tgz \
  -o dsh-cad-studio.tgz
dsh plugin --profile <profile> add ./dsh-cad-studio.tgz
# Windows PowerShell
Invoke-WebRequest `
  -Uri https://github.com/liwuzhan/cad-tool/releases/latest/download/dsh-cad-studio.tgz `
  -OutFile dsh-cad-studio.tgz
dsh plugin --profile <profile> add ./dsh-cad-studio.tgz

The latest URL always resolves to the newest published package. After the marketplace entry is accepted, CAD Studio can also be installed there.

Start a new session after installation, then call cad_env_status. If the isolated Python environment is not ready, approve cad_env_bootstrap once. The dependency download is about 300 MB and does not modify global Python packages.

Headless rendering

Geometry execution, validation, STEP generation, and export work without an attached display. Some Windows render backends can fail when no interactive screen is available; that preview-only failure does not invalidate successful geometry or STEP output.

Package layout

  • lib/index.js — DSH Host plugin and 16 cad_* tools.
  • lib/client.js — browser CAD result cards.
  • cad-cli/ — vendored Python CLI and dependency manifest.
  • cordis.patch.yml — one-row profile bundle patch.

内容来自项目 README(GitHub)↗

链接

同类插件

查看整个分类 →

社区评论

评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。