deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
PROJECT TOPICS
PROJECT README
English | 简体中文
A durable, approval-gated project orchestration workbench for DeepSeek Harness.
dsh-project-orchestrator adds a Host service, responsive Web workbench, and loopback CLI to one existing Harness installation. It keeps Projects, Issues, TaskRuns, human Decisions, Agent capacity, Git worktree evidence, Transcripts, Artifacts, and automation receipts in one auditable local workflow.
Compatibility: v1.2.1 is certified only with DeepSeek Harness
0.1.0-rc.6, Cordis4.0.1, Node.js 22+, and Git. Future Harness release candidates are not covered until tested.
The Web client defaults to Empty Project. It records the Project name and existing working directory without reading the repository, invoking a Planner, creating Tasks, or creating an approval. Add Tasks manually, or add a delivery brief later and explicitly request AI decomposition.
Project creation supports two code-source modes:
https://github.com/owner/repository URL, inspect its branches and open Issues, and choose the branch to pull. Creation shallow-clones that branch into a Harness-managed directory and imports selected Issues into the Project. Set GITHUB_TOKEN or GH_TOKEN to increase GitHub API access limits.Selected Issues are stored as durable Project Issues. In AI mode, their content is used as the Planner brief when no separate delivery brief is supplied. Empty Projects still do not invoke AI.
Choose AI decomposition only when a delivery brief is ready. Planning inspects the repository read-only, generates code and test Tasks, and still requires explicit human approval before execution.
The Project detail view can open the persisted working directory in Finder on macOS or the system file manager through xdg-open on Linux. The Host accepts only a Project ID for this action; Windows is not certified.
maxConcurrency, queue retention, restart recovery, directory locks, and workspace leases.<project>/.venv when present and record the resolved execution environment.Install pnpm first because the Harness profile plugin manager owns and supplies the required Host peers, then add the npm package. Do not install this plugin as a standalone application with npm peer auto-resolution; Harness 0.1.0-rc.6 packages expose prerelease transitive peer ranges that can otherwise resolve a mixed RC tree.
npm install --global pnpm
dsh plugin --profile web add dsh-project-orchestrator@1.2.1
Add the plugin to the Web profile loader patch, normally ~/.dsh/profiles/web/cordis.patch.yml:
- id: project-orchestrator
name: dsh-project-orchestrator
Restart the existing dsh web process and refresh its current URL. Do not run a second Web server for the same profile.
Verify the Host half:
curl --fail http://127.0.0.1:3080/project-orchestrator/api/health
The launcher appears in the Harness sidebar footer.
The packaged CLI calls the same loopback API as the Web client and refuses non-loopback URLs:
dsh-project-orchestrator --help
dsh-project-orchestrator snapshot
dsh-project-orchestrator inbox
dsh-project-orchestrator stats
dsh-project-orchestrator command '{"type":"autopilot_tick","actorType":"human","payload":{"agentId":"...","limit":10}}'
Override the local API only when the Harness still listens on loopback:
DSH_PROJECT_ORCHESTRATOR_URL=http://127.0.0.1:3080/project-orchestrator/api \
dsh-project-orchestrator stats
Runtime records are local Harness Host facts. v1.2.1 does not provide remote Agent execution, active/active Hosts, distributed locks, remote branch push, or provider-authenticated pull-request creation.
Origin, and same-origin fetch metadata.Read SECURITY.md before using the plugin with sensitive repositories. Use a dedicated OS account or stronger sandbox when repository trust is uncertain.
The storage domain is project_orchestrator; a standard local profile currently persists it under ~/.dsh/storages/project_orchestrator.json. Back up that file while Harness is stopped before upgrades or destructive maintenance.
Storage version 1 preserves missing newer tables as empty compatibility tables. Forward migration is supported within the v1 line; downgrade safety is not guaranteed. See docs/operations.md.
corepack enable
pnpm install --frozen-lockfile
pnpm verify
Useful commands:
pnpm typecheck
pnpm docs:check
pnpm test
pnpm build
pnpm smoke:package
The package smoke test builds the exact npm artifact, checks its file allowlist and executable mode, installs it in a clean temporary project, exercises CLI help/version, and rejects source maps containing absolute home paths.
This is an independent community plugin and is not an official DeepSeek or DeepSeek Harness project. DeepSeek and related names may be trademarks of their respective owners.
MIT © 2026 zhangz-2018
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。