Skip to content

About

Read-only Git Graph sidebar for DeepSeek Harness Web: commit history, file diffs, two-commit comparison and full historical source. DSH 原生侧栏 Git 可视化插件。

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

dsh-git-graph — read-only Git Graph for DeepSeek Harness Web

Version 0.5.0 · DSH 0.2.0-rc.2 · MIT
中文说明 · Static title

DSH Git Graph

dsh-git-graph by WhitePlusMS is a read-only Git visualization plugin for the native right sidebar of DeepSeek Harness (DSH) Web. Browse your workspace's commit history, branches, and file changes without an API key or conversation message.

Install · Usage · Keyboard controls · FAQ · Scope · Uninstall · Documentation

Native sidebar, commit graph, and filtering demo

The GIFs were recorded with 0.4.0. Screenshots of the new 0.5.0 comparison and full-source views are included below.

More screenshots: commit comparison, full source, English, and narrow screens

Real author avatars and inline commit details

Two-commit file diff

Full historical file text

Full source at 360px

English light theme

360px sidebar

Features

  • History — Commit topology, branches, tags, HEAD, search, and history filters.
  • Commit details — Inline details with author/committer dates, parents, references, signature status, and copying.
  • References — Three reference layouts and combined labels for matching local/remote branches at the same commit.
  • File changes — File tree/list views, per-file diffs, and uncommitted changes; select two commits and open each changed file's diff.
  • Historical source — Read and copy the complete text of an old or new file version, with its path, commit hash, line numbers, and size.
  • Messages & authors — Commit messages with links, bold, italic, and inline code; real GitHub/Gravatar author avatars.
  • Display settings — Resizable columns, date display options, compact rows, line styles, and colour presets, saved per repository.
  • Interface — Chinese/English, light/dark themes, pane fullscreen, and narrow-screen support.

Commit details and file diffs

Commit details and per-file diff demo

Commit comparison and uncommitted changes

Changed-file comparison and working-tree diff demo

Install or update

Requires DSH 0.2.0-rc.2, the dsh CLI, and Git installed on the DSH Host.

Install v0.5.0 from its GitHub tag:

dsh plugin --profile web add https://github.com/WhitePlusMS/dsh-git-graph/archive/refs/tags/v0.5.0.tar.gz
dsh web

For updates, stop DSH Web, run add for the desired version, then restart it.

For a custom profile, local .tgz installation, or source builds, see the development guide.

Usage

  1. Select a workspace in DSH Web and open the right sidebar.
  2. Select Git Graph from the sidebar's start page.
  3. Select a commit for inline details, or a file for its diff. Select Uncommitted Changes to inspect working-tree changes.
  4. Choose Compare commit… and a base commit, then select a changed file. In a historical file viewer, switch between Diff and Full source, and choose the old or new version.

Use Settings to adjust the display. Settings are saved separately for each repository.

Real avatars are enabled by default and access GitHub/Gravatar. GitHub queries use the commit author's email; Gravatar uses an email hash. You can disable them in Settings; missing images or failed requests retain initials.

Uninstall

dsh plugin --profile web remove dsh-git-graph

Use the profile you installed into, and restart it after removal.

Keyboard controls

Control Action
Ctrl/Cmd+F Find within loaded results
Ctrl/Cmd+Shift+F Toggle display settings
↑ / ↓ Select a commit when Find is closed and cleared
H Locate HEAD, or show an out-of-range hint
Enter / Space on a row or node Select that commit
Drag a column divider / ← / → Resize a column; arrow keys work when the divider is focused
Double-click a divider Restore its default width

Shortcuts apply while focus is inside Git Graph. Normal navigation keys do not intercept typing in inputs or scrolling in a file viewer.

FAQ

How do I view commits and file diffs in DeepSeek Harness Web?

Install the plugin for DSH 0.2.0-rc.2, then open Git Graph from the native right sidebar. See Usage for two-commit comparisons and full historical source.

Do I need an API key or a conversation message?

No. Git Graph reads the current workspace's local Git data directly.

Can Git Graph commit, merge, push, pull, or fetch?

No. The plugin is read-only; refreshing the graph does not fetch remote changes or modify the repository.

Scope

  • Initially loads 100 commits, with manual loading up to 500. Search scans up to 2,000 commits; Find searches loaded results. Reference-type filters show commits directly carrying the selected kind of label.
  • Historical file viewers provide unified diffs and full text up to 1 MiB per file. Binary and oversized files show their status; text is not truncated and presented as complete. Renamed, added, and deleted files use the available version and corresponding path.
  • Side-by-side diffs, syntax highlighting, tag signature verification, and stash diffs are not available. Tag/stash entries provide summaries and copying.

Documentation


Inspired by vscode-git-graph. Thanks to its authors and contributors.

Licensed under MIT.

About

Read-only Git Graph sidebar for DeepSeek Harness Web: commit history, file diffs, two-commit comparison and full historical source. DSH 原生侧栏 Git 可视化插件。

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages