返回目录

dsh-github

编辑精选维护状态: 活跃

pivotstackintelligence/dsh-github

DSH 的源代码与 GitHub 仓库管理面板,支持仓库浏览与管理,需 DSH >= 0.1.0-rc.6。

前往 GitHub
$ dsh plugin --profile web add .

65

星标

0

Fork

TypeScript

语言

MIT

许可证

2026-08-13

创建于

2026-08-26

最近推送

一个原生的 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

安装步骤

  1. 01

    Check out the repository locally

  2. 02

    Run `pnpm install`

  3. 03

    Run `pnpm run build`

  4. 04

    Run `dsh plugin --profile web add .`

    $ dsh plugin --profile web add .

  5. 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 适配与能力边界

DSH 适配原生运行时

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 workspacea 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 workspacemulti-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 fileside-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 historycheckout/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.
2026-08-132026-08-26作者未说明

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`。

08数据与来源

  • 作者声明github.com781722d799c5…

    A Source Control and GitHub repository panel for DeepSeek Harness that mirrors the VS Code native Git Source Control vie…

  • 作者声明github.com781722d799c5…

    Restart the Web Harness after rebuilding the plugin. A third "Source Control" tab appears in the session view ring (next…

  • 作者声明github.com781722d799c5…

    pnpm install pnpm run build dsh plugin --profile web add .

页面基于项目公开文档、仓库元数据和 DSH Plugins 的结构化解析生成;最后核验于 2026-08-30。发现错误?提交更正。

🏆

最佳 DeepSeek Harness 插件

从全目录挑出的 12 个值得优先安装的插件,覆盖各个分类。

DSH Plugins 是独立的 DeepSeek Harness 插件市场,与 DeepSeek 官方无关,也不代表官方背书。第三方插件未经安全审计,安装前请审查源码。

每周获取最新的 DeepSeek Harness 插件,绝不滥发。