2nd dokployH
Find a file
Yichen Jiang 83931a5f3e fix(llm): correct the refusal's recorded rationale
`LlmRuntime.adapterStream` normalizes a thrown `LlmError` into the same error
`finish` the loop routes to `agent/request-error`, so throwing would reach
retry too. The Note claimed otherwise. Yielding is chosen because it reports
the attempt's billed usage first and matches the neighbouring `EMPTY_RESPONSE`
refusal.

The rejection comment repeats the corrected durability wording, and the
assembler's delta-only fallback carries a TODO for the empty name it still
invents for adapters that never close a tool-call block.
2026-09-02 10:08:42 +08:00
.agents fix(llm): correct the refusal's recorded rationale 2026-09-02 10:08:42 +08:00
.claude
.github Merge branch 'master' into turtle/pr-open-start-date 2026-08-31 16:27:41 +08:00
apps fix(llm): refresh web and packed-fixture expectations for the new retry code 2026-09-02 09:36:54 +08:00
docs refactor(session)!: distinguish event seqs from log offsets 2026-09-01 20:36:00 +08:00
native
packages fix(llm): correct the refusal's recorded rationale 2026-09-02 10:08:42 +08:00
patches
python chore(sdk-runtime): adopt master's manifest (drop the code-runtime-python peer) 2026-08-31 14:56:11 +08:00
scripts refactor(session)!: distinguish event seqs from log offsets 2026-09-01 20:36:00 +08:00
snapshots fix(llm): cover the malformed tool-call path and correct its records 2026-09-02 10:01:56 +08:00
vendor release(vendor): cordis 4.0.2, cosmokit 1.8.3, group 1.0.2, hmr 1.0.17, include 1.0.7, loader 1.0.3, logger-console 1.0.2, schemastery 3.18.2, timer 1.1.4 2026-08-30 11:04:50 +08:00
website
.editorconfig
.gitattributes
.gitignore fix(code-runtime-python): bound three child-side walks by depth, not width 2026-08-31 14:24:59 +08:00
.gitlab-ci.yml
.jscpd.json
.oxlintrc.json
.oxlintrc.staged.json
.rgignore
AGENTS.md Merge master into codex/omit-unneeded-invariants 2026-08-31 14:38:55 +08:00
BENCHMARK.md
BRAND_GUIDELINES.i18n.yaml
BRAND_GUIDELINES.md
BRAND_GUIDELINES.zh.md
CLAUDE.md
CONTRIBUTING.i18n.yaml
CONTRIBUTING.md
CONTRIBUTING.zh.md
lefthook.yml
LICENSE
package.json release(dsh): 0.1.2-alpha.3 2026-08-31 23:39:37 +08:00
pnpm-lock.yaml refactor(session)!: distinguish event seqs from log offsets 2026-09-01 20:36:00 +08:00
pnpm-workspace.yaml
pytest.ini
README.i18n.yaml
README.md
README.zh.md
SAFETY.i18n.yaml
SAFETY.md
SAFETY.zh.md
THIRD_PARTY_NOTICES.md chore: commit the master third-party notices (SDK 0.3.241) 2026-08-31 14:59:01 +08:00
tsconfig.base.client.json
tsconfig.base.json Merge remote-tracking branch 'origin/master' into feat/3220-steer-service 2026-09-01 13:46:35 +08:00
tsconfig.client.json
tsconfig.host.json Merge remote-tracking branch 'origin/master' into feat/3220-steer-service 2026-09-01 13:46:35 +08:00
tsconfig.json
tsdown.config.ts
vitest.config.ts Merge remote-tracking branch 'origin/master' into turtle/omit-unneeded-invariants 2026-09-01 11:54:10 +08:00
vitest.e2e.config.ts
vitest.expected.config.ts
vitest.shared.ts
vitest.snapshot.config.ts
vitest.web-stress.config.ts
vitest.web.config.ts
vitest.web.perf.config.ts

DeepSeek Harness

English | 中文

DeepSeek Harness (dsh) is an open-source agent harness developed by DeepSeek AI.

It is built on an everything-is-a-plugin architecture and powered by Cordis, whose design is described in A Programming Paradigm for Spatiotemporal Composability.

Documentation: https://deepseek-harness.github.io/deepseek-harness/

Developer preview

DeepSeek Harness is in developer preview and iterating rapidly. THERE WILL BE COMPATIBILITY-BREAKING CHANGES.

Review the safety notice before running the project.

Run

Run from npm

Install Node.js, then run:

npx @deepseek-ai/dsh web

The command starts the Web UI at http://127.0.0.1:3080 by default and opens it in the default browser for a local launch. An SSH launch only prints the host URL because the SSH client or editor owns the local forwarded address. Pass --no-open to run the server without opening a browser. See Web UI guide.

Run from source

To run from a repository checkout:

git clone https://github.com/deepseek-ai/deepseek-harness.git
cd deepseek-harness
pnpm install
pnpm run build
pnpm dsh web

pnpm run build prepares the repository artifacts. pnpm dsh web uses those built artifacts without rebuilding.

Community and support

Contributing

See CONTRIBUTING.md.

Development

Start with the development guide and architecture documentation.

For agents, follow AGENTS.md.

License

MIT

Third-party dependencies and their licenses are disclosed in THIRD_PARTY_NOTICES.md.