PivotStackIntelligence/dsh-github 预览 preview

PivotStackIntelligence/dsh-github

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

Project Overview项目介绍

This is a native plugin built exclusively for DeepSeek Harness (DSH) that adds a third "Source Control" tab to DSH's session view ring, right alongside the existing chat and trajectory tabs. It mirrors the layout and functionality of VS Code's native Git Source Control panel, providing a full set of common Git operations including change staging, commit, branch management, diff viewing, conflict resolution, stash handling, and tag management. It runs entirely on the user's existing local Git configuration and credentials, and does not store or request GitHub authentication tokens.

This plugin is designed for developers who do their daily coding work directly within DSH sessions and want a built-in Git interface to avoid switching to external tools. After you install the plugin and restart the DSH web client, the Source Control tab appears automatically in the session bar. You can perform every routine version control action without leaving the DSH interface, keeping your entire development workflow contained within DSH. This eliminates unnecessary context switching between DSH and external terminals or standalone Git GUI tools, helping you stay focused on your work.

The plugin is released under the open-source MIT license, and requires DSH version 0.1.0-rc.6 or newer, plus a working Git binary available on the system PATH. It also requires that your local Git repository has a configured remote and credential helper for push, fetch, and pull operations. To install from a local checkout, you need to run pnpm install, pnpm run build, then use the DSH CLI to add the local plugin before restarting the web DSH. For development, you need Node.js 22.19 or newer and pnpm 9 or newer, and the standard development command runs typecheck, lint, test, and build.

这是一个专为DeepSeek Harness(DSH)打造的原生插件,在DSH的会话视图栏新增一个「源代码管理」标签页,紧邻聊天和轨迹标签页,完全复刻了VS Code原生的Git源代码管理面板体验。它提供了完整的Git本地操作能力,包括变更查看、暂存、提交、分支管理、差异对比、合并变基处理、贮藏、标签管理等常用操作,完全依托本地已有的Git配置和认证信息运行。

该插件面向日常在DSH中进行开发工作、需要内置Git版本控制能力的开发者。安装重启DSH后,源代码管理标签会自动出现在会话视图栏,用户可以在不离开DSH界面的情况下完成绝大多数常用Git操作,不需要切换到外部终端或者其他Git工具,能让开发工作流完全在DSH中闭环完成,适配开发者的日常操作习惯。

该插件基于MIT许可开源,要求DSH版本不低于0.1.0-rc.6,系统环境变量PATH中需要有可用的Git,同时要求本地仓库已配置好Git远程和凭证助手。安装需要从本地检出代码后,使用pnpm安装依赖、构建,再通过dsh cli添加插件,最后重启Web DSH即可生效,开发环境要求Node.js 22.19以上和pnpm 9以上版本。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 no risk signal found未发现风险信号
  • This site's static screen found no obvious risk signal (stars, license, activity, manifest)本站静态筛查没发现明显风险信号(星标、许可证、更新活跃度、清单完整度)
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 github:PivotStackIntelligence/dsh-github

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

READMEREADME

dsh-github

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

Features

  • Source Control tab — a third "Source Control" tab in the session view ring (alongside chat and trajectory); when active it fills the main area and splits into the SCM panel (left) and the diff viewer (right) with no overlay, shows only the current session's workspace, and switching back to chat restores the conversation.
  • Repository header — repository (workspace) name, current branch, ahead/behind counts, GitHub link, and refresh button.
  • Commit bar — multi-line commit message, Amend checkbox, Commit button with a dropdown (Commit / Commit & Push / Commit & Sync / Undo Last Commit), and a round Sync/Publish button with ↑n ↓n counts.
  • Change groups — STAGED CHANGES / CHANGES / MERGE CHANGES (untracked files live inside CHANGES), collapsible, with count badges and group actions (+ stage all / − unstage all / ↶ discard all). File status badges use VS Code colors: A green, M brown-yellow, D red, R/C blue, U green, ! yellow.
  • Diff viewer — side-by-side and inline modes with line numbers and added/removed coloring; the file header shows old path → new path. Conflict files expose Accept Current / Accept Incoming / Accept Both.
  • Discard with confirmation — discard a single file or all changes through an inline confirmation dialog (never a bare window.confirm).
  • Commits — searchable history (message/author), short SHA + subject + author + relative date + refs badges; expand a commit for full details and per-file diffs, with Copy SHA, Checkout Commit, Create Branch, and Create Tag.
  • Branches — current branch highlighted; checkout, rename, delete, merge-into-current, and rebase-onto.
  • Remotes — fetch/push URLs per remote; fetch, fetch (prune), add, and remove.
  • Tags — list, create, push, and delete.
  • Stashes — list, apply, apply & drop, drop, and view diff.
  • Merge / rebase state — continue and abort an in-progress merge or rebase from the panel.
  • Git output — a collapsible section of recent git commands and their (redacted) output.
  • Auto-refresh — refreshes on open, every 3 seconds while the tab is active (paused when switched away), and on window focus / visibility change; the lazy sections (commits, branches, remotes, tags, stashes) load on first expand and refresh with each status poll.

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

← 上一个 Prev hello-dsh 下一个 Next dsh-green-meter →