Skip to content

Install PlanRun

Anyone can use PlanRun: MIT license, public @planrun/* npm packages, no author account required. You still need the right host and toolchain (see below).

中文版 → zh/install · zh/quickstart。Step-by-step → quickstart.md.

Who this is for

You areUse
DSH user — running agents in DeepSeek HarnessPath A@planrun/bundle (recommended)
PlanRun contributor — hacking this repoPath B — clone + file: bundle
Super Cursor user — Cursor-only, no DSHPath C — install Super Cursor .cursor/ into your project (separate repo / install-super-cursor.sh)

PlanRun skills in npm target DSH. The .cursor/ tree in this repo is the Super Cursor mother pack; it is not published as @planrun/bundle.

Prerequisites

RequirementNotes
DeepSeek Harness + dsh CLIRequired for Path A/B
Node.js ^22.19 or >=24Build and guard scripts
pnpmMonorepo dev / verify
GitTarget project for .dsh/growth/
bashinstall-planrun.sh, dsh-guard.sh

Not required: a specific Linux user, this maintainer's machine paths, or Cursor IDE.

Optional later: @planrun/workflow hooks, planrun agent presets (install-planrun.sh --preset), external tools (e.g. mddocx for md2docx-export skill).

  1. Install and configure DSH (see upstream harness docs).
  2. Add the bundle to your profile:
sh
dsh plugin --profile web add @planrun/bundle
  1. Restart the profile (dsh web or your team's flow).
  2. In a Git project root, seed growth (from any clone of this repo, or after downloading install-planrun.sh):
sh
git clone https://github.com/wangqiqi/planrun.git planrun
export PLANRUN_HOME="$PWD/planrun"
"$PLANRUN_HOME/scripts/install-planrun.sh" --here --copy-plan

Creates .dsh/growth/ (plan · learn · archive). Add .dsh/growth/ to .gitignore if needed.

  1. Verify bundle mounted:
sh
dsh --profile web --dump-config | grep planrun-skills
ls "$DSH_HOME/profiles/web/node_modules/@planrun/skill-provider/skills/"

Do not manually insert the same plugin again in cordis.patch.yml — double mount breaks boot.

Path B — develop from this repo

sh
git clone https://github.com/wangqiqi/planrun.git planrun
cd planrun
pnpm install
pnpm run build
pnpm run verify

Install bundle from source:

sh
export PLANRUN_HOME=/path/to/planrun
dsh plugin --profile web add "file:$PLANRUN_HOME/packages/bundle-planrun"

Optional structural dogfood (requires harness checkout):

sh
export DEEPSEEK_HARNESS_HOME=/path/to/deepseek-harness
pnpm run verify:dogfood

See dogfood.md.

Path C — Super Cursor (Cursor IDE only)

PieceLocation
Rules · skills · agentsSuper Cursor mother repo .cursor/
Project-specific plan/learn.cursorGrowth/ (gitignored) on target project

Use upstream install-super-cursor flow into your application repo. PlanRun npm bundle is not required for pure Cursor workflows.

Mapping DSH ↔ Super Cursor → mapping-from-super-cursor.md · naming.md.

Workflow guard (after plan approval)

In a project with .dsh/growth/plan.md and PLAN_APPROVED set:

sh
pnpm run gate-check
pnpm run plan-check
pnpm run task-verify
pnpm run next-task

Details → workflow-guard.md.

Common errors

SymptomFix
WORKSPACE_PKG_NOT_FOUND on dsh plugin add file:…Run pnpm run build in PlanRun repo; publish uses npm, not workspace:^ in consumer profile
Bundle not visible in sessionRestart DSH profile after plugin add
gate-check BLOCKSet PLAN_APPROVED in .dsh/growth/plan.md (or .cursorGrowth/plan.md when dogfooding PlanRun itself)
Skills load but plan path wrongPlanRun dev uses .cursorGrowth/plan.md; normal projects use .dsh/growth/plan.md

MIT License