mirror of
https://github.com/deepseek-ai/deepseek-harness
synced 2026-08-15 21:04:50 +00:00
5d6db0cd56ea5eca255c4234d8908b6b6aee0d0d
The test 'labels the default DSH home as ~/.dsh when HOME points at the configured default' mocks node:os to return a temporary home directory and expects discoverBaselineInstructionFiles to fall back to the default ~/.dsh path. However, when DSH_HOME is externally set (e.g. in the DSH agent environment), resolveDshHome(undefined) reads that external value instead of falling back to defaultDshHome(), causing the test to look for AGENTS.md in the wrong directory and return an empty result. Stub DSH_HOME to undefined so the test controls the full resolution path.
…
…
…
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
# Agent demos require DEEPSEEK_API_KEY.
pnpm run demo:tui # full-screen TUI coding agent
pnpm run demo:headless "task" # one-shot coding agent
pnpm run demo:cordis # self-referential agent demo
pnpm run demo:acp # ACP server agent demo
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.
Languages
TypeScript
97%
CSS
1.6%
Python
0.7%
JavaScript
0.6%