一个原生的 DeepSeek Harness 插件,把 VS Code 风格的 Git 源代码管理与 GitHub 仓库面板带入会话视图环——无需离开 Harness 即可提交、管理分支、查看差异和浏览历史。
DSH 适配
原生运行时
作者声明
安全审计
未审计
最后核验
2026-08-30
许可证
MIT
01它能帮你完成什么?
Manage a session workspace's Git source control directly inside DeepSeek Harness
A VS Code-style Source Control panel with commit/stage/discard, branch/remote/tag management, and a side-by-side diff viewer
DeepSeek Harness users who want in-session Git control without leaving the harness or switching to an external Git tool
Inspect and operate a GitHub-backed repository (history, remotes, tags, stashes) from the harness
Repository header with branch and ahead/behind counts, searchable commit history with per-file diffs, and remote/tag/stash management
Developers who run DeepSeek Harness and push/pull to GitHub remotes and want a native in-harness repository surface
02如何接入 DeepSeek Harness?
前置条件
- DeepSeek Harness `>=0.1.0-rc.6`
- Git available on `PATH`
- A configured Git remote and credential helper for push/fetch/pull operations
安装步骤
- 01
Check out the repository locally
- 02
Run `pnpm install`
- 03
Run `pnpm run build`
- 04
Run `dsh plugin --profile web add .`
$ dsh plugin --profile web add .
- 05
Restart the Web Harness after rebuilding the plugin
验证接入成功
- After restart, a third “Source Control” tab appears in the session view ring (next to chat and trajectory)
03DSH 适配与能力边界
Installed as a DSH plugin from a local checkout via `dsh plugin --profile web add .`; renders inside the Web Harness session view ring as a third “Source Control” tab.
Source Control tab (SCM panel)
the current session's local Git workspace→a third “Source Control” tab that fills the main area with an SCM panel (left) and diff viewer (right)
Commit, stage & discard
staged/unstaged/merge changes in the workspace→multi-line commit with Amend; Commit / Commit & Push / Commit & Sync / Undo Last Commit; group stage/unstage/discard actions; inline discard confirmation
Diff viewer
a changed or conflicted file→side-by-side and inline diff with line numbers and added/removed coloring; conflict files expose Accept Current / Accept Incoming / Accept Both
Repository operations (branches, remotes, tags, stashes, commits)
the repository's Git refs and history→checkout/rename/delete/merge/rebase branches; fetch/push/add/remove remotes; list/create/push/delete tags; stash list/apply/drop; searchable commit history with per-file diffs
Repository state is reloaded after each Git operation
04适合谁?何时不该用?
适合
- DeepSeek Harness users who want in-session Git control without leaving the harness or switching to an external Git tool
- Developers who run DeepSeek Harness and push/pull to GitHub remotes and want a native in-harness repository surface
不适合
- Requires DeepSeek Harness `>=0.1.0-rc.6`, Git on `PATH`, and a configured Git remote with a credential helper for push/fetch/pull.
05兼容性、维护与安全提示
- The plugin uses the repository's normal local Git configuration, SSH keys, HTTPS credential helpers, and Git remotes. It does not call the GitHub API, store GitHub tokens, implement OAuth, depend on GitHub CLI, or expose arbitrary shell commands.
- Git writes require an explicit user action, and repository state is reloaded after each operation.
- Requires DeepSeek Harness `>=0.1.0-rc.6`, Git on `PATH`, and a configured Git remote with a credential helper for push/fetch/pull.
MIT · actively developed on `main` (no tagged release yet); last push 2026-08-26.
06常见问题
如何使用 DeepSeek Harness 安装 dsh-github?
在本地检出仓库后,依次运行 `pnpm install`、`pnpm run build` 和 `dsh plugin --profile web add .`。重启 Web Harness 后,会话视图环中(聊天与轨迹旁边)会出现第三个“源代码管理”标签页。
安装前提是什么?
需要 DeepSeek Harness `>=0.1.0-rc.6`、已在 `PATH` 中的 Git,以及配置了凭据助手、可用于 push/fetch/pull 的 Git 远程。
插件如何与 DeepSeek Harness 连接?
它通过 `dsh plugin --profile web add .` 以 DSH 插件形式安装,并在 Web Harness 内渲染为会话视图环中的第三个标签页。它使用 Harness 本地的常规 Git 配置、SSH 密钥与凭据助手。
它与 GitHub CLI 或 GitHub API 集成有何不同?
dsh-github 不会调用 GitHub API、存储 GitHub 令牌、实现 OAuth、依赖 GitHub CLI,也不会暴露任意 shell 命令。GitHub 链接会打开对应的浏览器页面,Compare 页面则用于发起 Pull Request。
故障排查:安装后“源代码管理”标签页没有出现。
请确认已运行 `pnpm run build`,并在 `dsh plugin --profile web add .` 之后重启了 Web Harness。该标签页只有在插件构建完成且 Web Harness 重启后才会显示;同时确认 DeepSeek Harness 版本为 `>=0.1.0-rc.6`。
07相关的 DSH 工作流
dsh-routing-suite
作者 yjh051108
DeepSeek Harness(dsh)路由套件:先装运行时注入器,再加载任务感知的推理模式路由预设(已实测 P1-P23)。
brooks-lint
作者 hyhmrright
基于 12 本经典工程书籍的 AI 代码评审工具,提供腐化风险诊断、书籍引用、严重度标签及 6 种分析模式。
oh-dsh
作者 hust-open-atom-club
一套 DSH runtime,Desktop、Web 与 TUI 三种开发体验。
perfect-web-clone
作者 ericshang98
网页像素级克隆工具:粘贴 URL,即可得到一份精确测量还原的 Vite + React 复刻页面。
08数据与来源
A Source Control and GitHub repository panel for DeepSeek Harness that mirrors the VS Code native Git Source Control vie…
Restart the Web Harness after rebuilding the plugin. A third "Source Control" tab appears in the session view ring (next…
pnpm install pnpm run build dsh plugin --profile web add .
页面基于项目公开文档、仓库元数据和 DSH Plugins 的结构化解析生成;最后核验于 2026-08-30。发现错误?提交更正。
最佳 DeepSeek Harness 插件
从全目录挑出的 12 个值得优先安装的插件,覆盖各个分类。
