2nd dokployH
Find a file
kingwl 1f38b211be Merge origin/master (generic task runtime #219, single-exe closure, package renames)
Semantic resolutions beyond line merges:
- The bash seam keeps resolveMode + the bash/resolve-mode waterfall on
  master's task-free BashExecutor (run/start/resolve only; BashProcess
  handles); tool-bash consults it at its stamping site and escalation
  baseline on master's render/background split, with a waterfall test on
  the recording executor.
- dsh-mode's BASH_FAMILY narrows to ['bash']: bash_output/bash_kill are
  replaced by the kind-generic task_output/task_kill, which span every
  task kind and only observe or stop work, so the access cap withholds
  only the starter it can reason about.
- The plan-mode snapshot suite adopts master's pin grammar (tool-schema
  sidecars; the expectedHeaderSnapshots extension is gone — the exit
  transition deltas, and entering-before-turn-1 needs no second
  snapshot); modes-advertise joins the plan header class (no-model, so
  membership is vacuous). Fixtures re-recorded on the acp-demo bin;
  the replay overlay gains the passthrough sandbox runner.
- examples/plan-acp-agent rewires to @deepseek-ai/dsh-acp-demo and drops
  its tool-bash entry (the spine bundle now composes it); dsh-stdio (the
  renamed stdio-chat home) keeps its /mode command and gains the dsh-mode
  peer edge; the acp bridge keeps the modes surface beside master's
  permission presets.
- mode README gains the Model Experience / Known Limitations sections the
  new README gates require; AGENTS.md ceiling 1370 → 1440 for the kept
  mode/ layout line and Agent efficiency section.
2026-07-15 23:17:18 +08:00
.agents/skills Merge remote-tracking branch 'origin/master' into HEAD 2026-07-15 16:56:19 +08:00
.claude docs: accuracy sweep, architecture restructure, two ADRs, review skill 2026-06-13 22:05:34 +08:00
.github/workflows ci(windows): defer coverage lane 2026-07-15 19:58:34 +08:00
docs Merge origin/master (generic task runtime #219, single-exe closure, package renames) 2026-07-15 23:17:18 +08:00
examples Merge origin/master (generic task runtime #219, single-exe closure, package renames) 2026-07-15 23:17:18 +08:00
packages Merge origin/master (generic task runtime #219, single-exe closure, package renames) 2026-07-15 23:17:18 +08:00
python Merge origin/master (generic task runtime #219, single-exe closure, package renames) 2026-07-15 23:17:18 +08:00
scripts Merge origin/master (generic task runtime #219, single-exe closure, package renames) 2026-07-15 23:17:18 +08:00
vendor pkg: update vendor dep 2026-07-15 11:28:45 +08:00
.editorconfig Declare LF and final-newline conventions in .editorconfig 2026-07-15 16:09:12 +08:00
.gitattributes Pin LF working trees via .gitattributes 2026-07-15 16:09:12 +08:00
.gitignore single-exe: closure manifest, build pipeline, and CI workflow 2026-07-13 15:50:09 +08:00
.gitlab-ci.yml python: derive release version from repository 2026-07-13 17:49:01 +08:00
.jscpd.json chore: tighten TypeScript duplication lint 2026-07-14 00:24:04 +08:00
AGENTS.md Merge origin/master (generic task runtime #219, single-exe closure, package renames) 2026-07-15 23:17:18 +08:00
CLAUDE.md Initialize repo with README, AGENTS.md, and CLAUDE.md symlink 2026-06-10 22:58:56 +08:00
eslint.config.mjs fix(i18n): make translation contracts executable 2026-07-14 23:09:01 +08:00
knip.json refactor: relocate demo app bundles to packages/examples/*-demo 2026-07-15 16:46:05 +08:00
lefthook.yml Merge parallel pre-push gates into CI scheduler 2026-07-06 01:47:13 +08:00
LICENSE Initialize repo with README, AGENTS.md, and CLAUDE.md symlink 2026-06-10 22:58:56 +08:00
package.json Merge origin/master (generic task runtime #219, single-exe closure, package renames) 2026-07-15 23:17:18 +08:00
pnpm-lock.yaml Merge current master into PR #219 2026-07-15 21:30:21 +08:00
pnpm-workspace.yaml pkg: update vendor dep 2026-07-15 11:28:45 +08:00
pytest.ini Merge remote-tracking branch 'origin/master' into codex/trim-ai-prose 2026-07-14 00:40:36 +08:00
README.i18n.yaml fix(i18n): resolve pairing workflow review findings 2026-07-14 22:38:17 +08:00
README.md docs: revise graph docs from review 2026-07-05 01:25:58 +08:00
README.zh.md fix(i18n): resolve pairing workflow review findings 2026-07-14 22:38:17 +08:00
tsconfig.base.json Merge origin/master (generic task runtime #219, single-exe closure, package renames) 2026-07-15 23:17:18 +08:00
tsconfig.build.json Merge origin/master (generic task runtime #219, single-exe closure, package renames) 2026-07-15 23:17:18 +08:00
tsconfig.json Merge origin/master (generic task runtime #219, single-exe closure, package renames) 2026-07-15 23:17:18 +08:00
tsdown.config.ts docs: align prose with runtime contracts 2026-07-14 16:21:41 +08:00
vitest.config.ts fix(i18n): make translation contracts executable 2026-07-14 23:09:01 +08:00
vitest.e2e.config.ts docs: rebalance prose cleanup and add trimming skill 2026-07-13 23:27:00 +08:00
vitest.snapshot.config.ts docs: rebalance prose cleanup and add trimming skill 2026-07-13 23:27:00 +08:00

DeepSeek Harness

English | 中文

The DeepSeek Harness SDK is a plugin-based SDK for building agent harnesses.

Development

This monorepo is built on the Cordis framework (vendored as source under vendor/), microkernel-style: everything is a plugin.

pnpm install
pnpm run test          # vitest
pnpm run demo:repl     # REPL agent demo (needs DEEPSEEK_API_KEY)
pnpm run demo:acp      # ACP server agent demo (needs DEEPSEEK_API_KEY)

For humans, start with the development guide for local setup, hooks, environment variables, and quality gates, then read the architecture design and documentation graph index before package work. Local context lives in packages/ and vendor/.

For agents, follow AGENTS.md.