一個原生的 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 個值得優先安裝的外掛,涵蓋各個分類。
