2nd dokployH
Find a file
Tianyi Cui b06ae91fa8 fix(tasks): address task API review feedback
The public kill result used the awkward phrase already-terminal. Rename it to already-finished and keep the model-facing response aligned; not-alive would be inaccurate because a force-failed registry record can still correspond to orphaned producer work.

Task kinds were open strings even though producer namespaces are an extension point. Add the merge-extensible TaskKindMap and derived TaskKind, cover consumer declarations in task and bundle tests, and retain the runtime non-empty check for untyped callers.

With exactOptionalPropertyTypes, owner?: Agent | undefined allowed an explicit undefined value that no caller needs. Tighten the property to owner?: Agent so unowned work is expressed by omitting it.

Record the requested task-service/backend split as a follow-up, using a systemd-backed runtime as a concrete candidate without guessing its durability and ownership contract in this PR. Regenerate the type and Cordis catalogs so public docs match the declarations.
2026-07-15 21:45:30 +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 fix(tasks): address task API review feedback 2026-07-15 21:45:30 +08:00
examples docs(tasks): condense background task prose 2026-07-15 21:08:58 +08:00
packages fix(tasks): address task API review feedback 2026-07-15 21:45:30 +08:00
python Merge remote-tracking branch 'origin/master' into codex/rfc-subagent-background-tasks 2026-07-15 16:57:03 +08:00
scripts fix(tasks): address task API review feedback 2026-07-15 21:45:30 +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 fix: satisfy doc gates after the examples/ relocation 2026-07-15 16:46:05 +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 remote-tracking branch 'origin/master' into HEAD 2026-07-15 16:56:19 +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 remote-tracking branch 'origin/master' into codex/rfc-subagent-background-tasks 2026-07-15 16:57:03 +08:00
tsconfig.build.json Merge remote-tracking branch 'origin/master' into codex/rfc-subagent-background-tasks 2026-07-15 16:57:03 +08:00
tsconfig.json Merge remote-tracking branch 'origin/master' into codex/rfc-subagent-background-tasks 2026-07-15 16:57:03 +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.