English | 中文
A fork of DeepSeek Harness that adds a right-side context-and-files panel, panel-file drag into the conversation, and conversation reserve. Everything else tracks upstream.
A persistent, resizable panel pinned to the right edge of the Web UI, with three tabs:
- Files (文件夹) — browse the session's workspace directory with directories-first order, a basename filter, git working-tree status badges, and per-row open/copy actions.
- Context (上下文) — the injected-context documents read from the session log, split into the live window (当前有效) and the compaction history stream (历史流水), with search over both. The view re-projects itself as the session streams and pulls the complete history out-of-band on activation (up to 1,000 messages, folded privately, the conversation window untouched), so both sections hold the complete log without manual paging.
- Git — a framed working-tree block (branch position, uncommitted files) above a read-only commit graph in IDE-history style, with a refresh control; expand a commit to see its changed files, click a workspace row or a commit file to open its diff in the centered pop-out. Diff previews are colored by line role (additions, deletions, hunk headers).
File rows in the panel drag their absolute path into the conversation. For image files on an image-capable model, the image content is read and attached to the message directly; any other model (or a read failure) receives the path sentence, which the agent can act on with its tools. Nothing is copied into the workspace.
Dropping text files anywhere on the page attaches them as chips; their content is folded into the message at submit, never pasted into the text box.
The conversation reserves right-side space for the panel, so the panel never overlaps the chat.
The panel's host routes are loopback-only, body-capped, fully-qualified-path-only, and fail closed on oversized or malformed reads; git access is read-only and image drags never copy files into the workspace. The context tab's document stream is signature-gated (re-renders only on real document changes), and complete history arrives through /dir/injected-docs, which filters the durable log server-side — on a session with 181k events this replaced roughly 120 MB of history-page JSON per activation with a single KB-scale response. All reads and listings are bounded and abort with the caller.
From npm (upstream package):
npx @deepseek-ai/dsh webFrom source:
git clone https://github.com/Happy2Git/deepseek-harness.git
cd deepseek-harness
pnpm install
pnpm run build
pnpm dsh webThe Web UI is served at http://127.0.0.1:3080 by default.
The panel and its git/directory backends are published separately as ecosystem plugins — see dsh-compass. A terminal TUI (dsh-terminal) is packaged the same way and stays local until its feature set grows.
MIT. Copyright (c) 2026 DeepSeek. This fork keeps the upstream LICENSE.





