mirror of
https://github.com/deepseek-ai/deepseek-harness
synced 2026-08-15 21:04:50 +00:00
c4d637300dbf8af4c6a075f6303d9bb103d1a571
- session.md § TurnEndReasonMap now carries the full precedence rule the old architecture.md stated and the loop implements (loop.ts's stepFinishReason carry-forward): max-tokens wins over completed only; disposed/aborted/error take precedence. The architecture.md pointer was otherwise citing an incomplete home. - The cookbook feature-map compaction row no longer reads as if a model-facing /compact tool ships: a manual trigger invokes the same ctx.compact routine; the consumer tool is deferred per the compaction RFC.
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 before package work. Local context lives in packages/ and vendor/.
For agents, follow AGENTS.md.
Languages
TypeScript
97%
CSS
1.6%
Python
0.7%
JavaScript
0.6%