Skip to content

About

DeepSeek Harness fork: right-side context/files panel (dsh-compass), drag-file input, and the terminal TUI

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

12,345 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DeepSeek Harness — context-panel fork

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.

What this fork adds

Right-side context and files panel

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).

Files tab Git tab Context tab Files tab, directories first Working-tree diff preview

Drag panel files onto the conversation

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.

Panel file drag

Text-file drop intake

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.

Conversation reserve

The conversation reserves right-side space for the panel, so the panel never overlaps the chat.

Security and performance

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.

Run

From npm (upstream package):

npx @deepseek-ai/dsh web

From source:

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

The Web UI is served at http://127.0.0.1:3080 by default.

The extractable plugins

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.

License

MIT. Copyright (c) 2026 DeepSeek. This fork keeps the upstream LICENSE.

About

DeepSeek Harness fork: right-side context/files panel (dsh-compass), drag-file input, and the terminal TUI

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages