DeepSeek Harness Plugin

liwuzhan/cad-tool#dsh-cad-studio

Stars ★ 1 Category Tools & Capabilities Added 2026-08-29

Adds parametric CAD modeling, geometry validation, previews, design history, and STEP/STL export to DSH.

Install

# from a prebuilt release tarball

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

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

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

Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).

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.

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.