2nd dokployH
Find a file
Tianyi Cui 225ed051b1 Add branded ID types: CallId, SessionId, AgentId
Nominal string types via a unique-symbol brand (zero runtime cost):
an AgentId can no longer be passed where a CallId is expected. Each
core package brands the IDs it owns — CallId in dsh-llm (tool-call
correlation across blocks, chunks, session events, and execution
results), SessionId in dsh-session, AgentId in dsh-agent. Construction
goes through same-named factory functions; public string-in APIs
(sessions.create, agentLoop.create) keep accepting plain strings and
brand internally. Policy note in the brand module: brand IDs that
cross package boundaries, not every string.
2026-06-11 15:17:56 +08:00
.github/workflows Add CI workflow: full gate matrix on node 24 and 26 2026-06-11 15:08:53 +08:00
docs Sync docs with the defineTool DSL and actual demo code 2026-06-11 13:48:22 +08:00
examples Add branded ID types: CallId, SessionId, AgentId 2026-06-11 15:17:56 +08:00
packages Add branded ID types: CallId, SessionId, AgentId 2026-06-11 15:17:56 +08:00
scripts Add lefthook git hooks with a vendor-manifest guard 2026-06-11 15:07:55 +08:00
vendor Enable maximum-strict TypeScript across our packages 2026-06-11 14:02:47 +08:00
.gitignore Enforce 100% per-file test coverage on packages/*/src 2026-06-11 14:58:36 +08:00
.yarnrc.yml Set up monorepo infra: Yarn 4 workspaces, tsc -b + dumble build, vitest 2026-06-11 10:52:45 +08:00
AGENTS.md Document the codebase thoroughly and tighten type safety 2026-06-11 13:01:00 +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 Add ESLint: typescript-eslint strict-type-checked + stylistic formatting 2026-06-11 14:17:58 +08:00
knip.json Add repo hygiene gates: knip, publint, yarn constraints 2026-06-11 15:04:50 +08:00
lefthook.yml Add lefthook git hooks with a vendor-manifest guard 2026-06-11 15:07:55 +08:00
LICENSE Initialize repo with README, AGENTS.md, and CLAUDE.md symlink 2026-06-10 22:58:56 +08:00
package.json Add lefthook git hooks with a vendor-manifest guard 2026-06-11 15:07:55 +08:00
README.md Document the codebase thoroughly and tighten type safety 2026-06-11 13:01:00 +08:00
tsconfig.base.json Enable maximum-strict TypeScript across our packages 2026-06-11 14:02:47 +08:00
tsconfig.build.json Set up monorepo infra: Yarn 4 workspaces, tsc -b + dumble build, vitest 2026-06-11 10:52:45 +08:00
tsconfig.json Set up monorepo infra: Yarn 4 workspaces, tsc -b + dumble build, vitest 2026-06-11 10:52:45 +08:00
tsconfig.test.json Set up monorepo infra: Yarn 4 workspaces, tsc -b + dumble build, vitest 2026-06-11 10:52:45 +08:00
tsconfig.typecheck.json Fix schema-DSL findings from the second Codex review 2026-06-11 13:46:01 +08:00
vitest.config.ts Enforce 100% per-file test coverage on packages/*/src 2026-06-11 14:58:36 +08:00
yarn.config.cjs Add repo hygiene gates: knip, publint, yarn constraints 2026-06-11 15:04:50 +08:00
yarn.lock Add lefthook git hooks with a vendor-manifest guard 2026-06-11 15:07:55 +08:00

DeepSeek Harness

Monorepo for the DeepSeek Harness group.

Projects

  • DeepSeek Code — DeepSeek's coding agent product.

Development

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

yarn install
yarn test        # vitest
yarn demo        # runnable echo-agent example

For agent instructions see AGENTS.md. For the architecture design see docs/architecture.md. Each subdirectory has its own README.md with local context: packages/, vendor/.