deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
PROJECT README
Repository: https://github.com/zhao-wuyan/dsh-maestro-runtime
Related projects:
DSH (DeepSeek Harness) host plugin that adapts the Maestro-Flow runtime surface to DSH sessions.
P0 + P1 coverage: guard, workflow context injection, new-workspace onboarding, background KG sync, delegate notifications, team heartbeat, and coordinator bridge.
bash / pwsh commands (recursive delete, hard git reset, forced push, disk format, ...).workflow/state.json, .workflow/config.json, .workflow/sessions/**, .workflow/runs/**, .workflow/.maestro/**).workflow/config.json PathGuard boundaries.workflow/specs/*.md <spec-entry> format<maestro-context> snapshot on user prompts and /maestro* skill invocations/maestro* skill is invoked in a project without a valid Maestro workspace, injects one-time /maestro-init / /maestro "<intent>" guidancemaestro kg init when maestro.db is missing (5 min cooldown)maestro kg sync --incremental when it exists (30 s cooldown)node maestro.js spawn, no cmd shell, no console windowdsh-* session temp dirs for maestro-notify-*.jsonl.workflow/collab/activity.jsonl when the local git identity matches a joined membermaestro-coord-<dsh_session>.json bridge files on step/end and turn/end0.1.0-rc.6 profile (dsh web works)maestro-flow CLI installed and available as maestro (used by KG background sync)DSH plugins are installed into a profile with pnpm and mounted with a
cordis.patch.yml entry. This plugin can be installed directly from GitHub.
This package declares dsh.bundle, so dsh plugin add installs the
dependency and activates its bundle layer automatically:
dsh plugin --profile web add "github:zhao-wuyan/dsh-maestro-runtime#v0.1.2"
Equivalent manual pnpm command:
cd ~/.dsh/profiles/web
pnpm add "github:zhao-wuyan/dsh-maestro-runtime#v0.1.2"
No manual cordis.patch.yml edit is required. Restart DSH and verify the
bundle layer is active:
dsh --profile web --dump-config | grep maestro-runtime
To override a default, add this entry to
~/.dsh/profiles/web/cordis.patch.yml (user layer wins):
- id: maestro-runtime
name: 'dsh-maestro-runtime'
config:
guardEnabled: true
contextEnabled: true
maxContextChars: 8000
kgEnabled: true
delegateMonitorEnabled: true
teamMonitorEnabled: true
coordinatorEnabled: true
Replace the fragment in the GitHub shorthand to pin the exact source:
# stable tag
pnpm add "github:zhao-wuyan/dsh-maestro-runtime#v0.1.2"
# exact commit
pnpm add "github:zhao-wuyan/dsh-maestro-runtime#<commit-sha>"
git clone https://github.com/zhao-wuyan/dsh-maestro-runtime.git
cd ~/.dsh/profiles/web
dsh plugin --profile web add "<absolute-path-to>/dsh-maestro-runtime"
Because the checkout also declares dsh.bundle, the profile bundles list is
updated automatically. Restart DSH afterwards.
On Windows use a forward-slash absolute path, for example
pnpm add "link:C:/Users/<you>/projects/dsh-maestro-runtime".
If the package is available in your configured npm registry:
dsh plugin --profile web add "dsh-maestro-runtime@0.1.2"
Then add the same mount entry and restart DSH.
| Field | Default | Description |
|---|---|---|
guardEnabled |
true |
Enable tool guard |
contextEnabled |
true |
Enable workflow context injection |
maxContextChars |
8000 |
Context injection byte budget |
kgEnabled |
true |
Background maestro kg init / sync |
delegateMonitorEnabled |
true |
Delegate notification injection |
teamMonitorEnabled |
true |
Team heartbeat writes |
coordinatorEnabled |
true |
Coordinator bridge writes |
dsh-* conventiontype: module, main and exports point to the built entryname and apply (Cordis plugin contract)inject: ['tools'] declares the required servicedsh-agent, dsh-llm, dsh-tools) are peer dependencies, not bundled dependencies, so the host installation keeps a single version@deepseek-ai/cordis@^4.0.1 and DSH host peers are aligned with 0.1.0-rc.6cordis.patch.yml; no DSH source modificationConfig schema so invalid config fails loudly at loaddsh.bundle so dsh plugin add activates the layer automaticallyEdit lib/index.js while DSH is running. The profile HMR plugin (root: ['.']) reloads the plugin entry after the change settles.
After changing package.json dependencies or cordis.patch.yml, restart DSH.
MIT
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。