2nd dokployH
Find a file
Tianyi Cui baf64e8b21 fix(bash): close managed environment review gaps
The managed DSH_* runtime path was correct, but its public extension and documentation contracts were incomplete. A contributor following the README could access ctx.bashEnv without declaring an injection, the new environment types had no drift-checked catalog entries, and the capability graph omitted three packages that now query sessionPersistence.

Declare the README injection, catalog DshEnvironmentKey and DshEnvironment, and add tool-bash plus both hook bridges to the generated persistence consumer graph. Keep BashEnvRegistry.list() contributor-only for now because no production caller treats it as exhaustive, but record the built-in enumeration gap before diagnostics, prompt, or UI code depends on it.

Validated on the exact resulting tree with typecheck, lint, coverage, snapshot, documentation, module-graph, build, hygiene, demo-smoke, and built-artifact checks.
2026-07-15 12:42:20 +08:00
.agents/skills docs: align prose with runtime contracts 2026-07-14 16:21:41 +08:00
.claude docs: accuracy sweep, architecture restructure, two ADRs, review skill 2026-06-13 22:05:34 +08:00
.github/workflows docs: align prose with runtime contracts 2026-07-14 16:21:41 +08:00
docs fix(bash): close managed environment review gaps 2026-07-15 12:42:20 +08:00
examples Merge remote-tracking branch 'origin/master' into codex/agent-session-jsonl-location 2026-07-15 11:12:39 +08:00
packages fix(bash): close managed environment review gaps 2026-07-15 12:42:20 +08:00
python Merge remote-tracking branch 'origin/master' into codex/agent-session-jsonl-location 2026-07-14 18:04:05 +08:00
scripts fix(bash): close managed environment review gaps 2026-07-15 12:42:20 +08:00
vendor Merge remote-tracking branch 'origin/master' into session-query 2026-07-13 14:27:31 +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 refactor: derive event graphs and scope invariants from TypeScript 2026-07-14 23:37:56 +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 Merge remote-tracking branch 'origin/master' into codex/trim-ai-prose 2026-07-14 00:47:30 +08:00
knip.json Merge remote-tracking branch 'origin/master' into codex/agent-session-jsonl-location 2026-07-15 11:12:39 +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 refactor: derive event graphs and scope invariants from TypeScript 2026-07-14 23:37:56 +08:00
pnpm-lock.yaml Merge remote-tracking branch 'origin/master' into codex/agent-session-jsonl-location 2026-07-15 11:12:39 +08:00
pnpm-workspace.yaml single-exe: closure manifest, build pipeline, and CI workflow 2026-07-13 15:50:09 +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 docs(i18n): reconcile gold pairs with master's EN-side drift 2026-07-12 21:14:47 -07:00
README.md docs: revise graph docs from review 2026-07-05 01:25:58 +08:00
README.zh.md docs(i18n): reconcile gold pairs with master's EN-side drift 2026-07-12 21:14:47 -07:00
tsconfig.base.json feat: add optional time context plugin 2026-07-14 16:04:34 +08:00
tsconfig.build.json Merge remote-tracking branch 'origin/master' into codex/agent-session-jsonl-location 2026-07-15 11:12:39 +08:00
tsconfig.json Merge remote-tracking branch 'origin/master' into codex/agent-session-jsonl-location 2026-07-15 11:12:39 +08:00
tsdown.config.ts docs: align prose with runtime contracts 2026-07-14 16:21:41 +08:00
vitest.config.ts docs: rebalance prose cleanup and add trimming skill 2026-07-13 23:27:00 +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.