WhitePlusMS/dsh-git-graph 预览 preview

WhitePlusMS/dsh-git-graph

Plugin插件 Native原生 ⭐ 2 MIT Dev Workflow开发与代码工作流

用于DeepSeek Harness Web界面的只读Git图谱视图。在聊天和轨迹视图旁,通过专用视图查看提交拓扑、分支、标签、远程仓库、HEAD以及工作树状态。

Project Overview项目介绍

This is a native plugin built exclusively for the DeepSeek Harness (DSH) web interface. It adds a dedicated Git Graph view accessible via the view switcher next to the existing Chat and Trajectory panels, letting users inspect the Git history of their current DSH workspace. Unlike other DSH tools that generate trajectory entries on refresh, refreshing the Git Graph here does not create new conversation messages or add tool trace entries to the conversation trajectory. To install the latest version, run the provided DSH CLI command, then restart dsh web to load the new plugin.

The plugin offers a full suite of inspection features for Git repositories. It displays commit topology with clear branch, merge, and parent relationships, and labels local branches, remote branches, tags, and the current HEAD reference. Users can run full-range searches across commit hashes, subjects, authors, emails, and reference names, filter branches by glob patterns, and sort commits by multiple options. Selecting a commit expands inline details including hash, author, change stats, and line-by-line diffs, and you can compare changes between any two commits.

This plugin is currently released as a read-only tool, so it does not support any operations that modify Git data like creating branches, merging, rebasing, pushing, pulling, or creating new tags. It loads up to 500 commits per request, defaulting to 100, and handles non-Git directories and empty repositories gracefully by showing a clean empty state instead of throwing errors. It is released under the open-source MIT license, so it is free to use, modify, and redistribute. To uninstall the plugin, run the provided DSH CLI remove command.

这是专为DeepSeek Harness(DSH)Web界面开发的原生插件,在Chat和Trajectory面板旁新增了一个专门的Git Graph视图,用于查看当前工作区的Git提交历史。刷新视图不会生成新的对话消息,也不会向轨迹中添加额外的工具调用记录。用户可以通过DSH内置的安装命令一键添加,安装完成后重启DSH Web即可正常使用。

该插件支持查看提交拓扑结构、分支合并关系、标签和HEAD引用状态,可搜索提交哈希、提交信息、作者、邮箱、引用名等内容,也支持按分支名过滤、按日期或拓扑排序提交。选中提交可展开查看详情,还能对比任意两个提交之间的文件变更,在线查看逐行差异,也能查看当前工作区未提交更改的差异。

该插件当前为只读模式,不支持创建、删除、合并、推送拉取等修改Git数据的操作,单次最多可加载500条提交记录,默认加载100条。它遵循MIT许可免费开放使用,可通过DSH的CLI命令完成安装、更新或卸载,二次开发需要pnpm来构建生成构件。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

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

把 WhitePlusMS/dsh-git-graph 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

dsh-git-graph

Git Graph for the DeepSeek Harness web interface. Open a dedicated Git Graph view beside Chat and Trajectory to inspect the current workspace's Git history; refreshing the graph does not create a conversation message or write to the trajectory.

Git Graph view in the DeepSeek Harness web interface

Features

  • A dedicated Git Graph entry beside Chat and Trajectory.
  • Commit topology with branch, merge, and parent relationships.
  • Local branch, remote branch, tag, and HEAD reference labels.
  • The clean or dirty working-tree state in the graph header.
  • Full-range search across commit hashes, subjects, authors, email addresses, and reference names.
  • Branch-name glob filters (e.g. main,release-*), reference-kind filtering, and an option to include all refs.
  • Date, author-date, and topological commit ordering, plus a first-parent mode for the mainline history.
  • Selecting a commit expands its details inline below the commit's row: hash, author, committer, date, parents, signature status, and references, with a layout aligned to vscode-git-graph.
  • File changes in tree or list view: folder icons with compacted single-child folders, change-type colouring, and (+added|−deleted) stats.
  • Click a file to view its line-by-line diff with old/new line numbers and add/remove highlighting.
  • Expand the Uncommitted Changes row to inspect working-tree files and their per-file diffs.
  • Compare file changes between any two commits.
  • A metadata strip listing the repository's tags and stashes.
  • An in-results find bar with case sensitivity, regex, and previous/next navigation.
  • A display settings panel: date/author/hash columns, date format, and graph style, persisted per repository.
  • Keyboard support: ↑ / ↓ to move the selection, Ctrl+F to find, Ctrl+Shift+F for settings.
  • Refresh the current repository without creating a conversation message or tool trace entry.
  • Load more commits as needed, up to 500 commits.
  • Display an empty state instead of an error when the current directory is not a Git repository or the repository has no commits yet.

The current release is read-only. It does not create, delete, rename, merge, rebase, push, pull, fetch, create tags, stash, or reset Git data.

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev deepseek-harness-workbench 下一个 Next dsh-bio-genie →