Skip to content
Back to search

dsh-github

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

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/pivotstackintelligence--dsh-github/badge.svg)](/listings/pivotstackintelligence--dsh-github)

HTML

<a href="/listings/pivotstackintelligence--dsh-github"><img src="/api/listings/pivotstackintelligence--dsh-github/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

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

Restart the Web Harness after rebuilding the plugin. A third "Source Control" tab appears in the session view ring (next to chat and trajectory).

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 53 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. # dsh-github
  2. A Source Control and GitHub repository panel for DeepSeek Harness that mirrors the VS Code native Git Source Control view.
  3. ## Features
  4. - **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.
  5. - **Repository header** — repository (workspace) name, current branch, ahead/behind counts, GitHub link, and refresh button.
  6. - **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.
  7. - **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.
  8. - **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.
  9. - **Discard with confirmation** — discard a single file or all changes through an inline confirmation dialog (never a bare `window.confirm`).
  10. - **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.
  11. - **Branches** — current branch highlighted; checkout, rename, delete, merge-into-current, and rebase-onto.
  12. - **Remotes** — fetch/push URLs per remote; fetch, fetch (prune), add, and remove.
  13. - **Tags** — list, create, push, and delete.
  14. - **Stashes** — list, apply, apply & drop, drop, and view diff.
  15. - **Merge / rebase state** — continue and abort an in-progress merge or rebase from the panel.
  16. - **Git output** — a collapsible section of recent git commands and their (redacted) output.
  17. - **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.
  18. 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. GitHub links open the corresponding browser pages; the Compare page is the handoff for creating a pull request. Git writes require an explicit user action, and repository state is reloaded after each operation.
  19. ## Design notes
  20. See [docs/ANALYSIS.md](docs/ANALYSIS.md) for the state model, VS Code Git alignment, local authentication boundary, and GitHub browser handoff design. The panel's visual design follows the DeepSeek design spec — see [docs/UI_DESIGN.md](docs/UI_DESIGN.md).
  21. ## Requirements
  22. - DeepSeek Harness `>=0.1.0-rc.6`
  23. - Git available on `PATH`
  24. - A configured Git remote and credential helper for push/fetch/pull operations
  25. ## Install from a local checkout
  26. ```sh
  27. pnpm install
  28. pnpm run build
  29. dsh plugin --profile web add .
  30. ```
  31. Restart the Web Harness after rebuilding the plugin. A third "Source Control" tab appears in the session view ring (next to chat and trajectory).
  32. ## Development
  33. - Node.js `>= 22.19`
  34. - pnpm `>= 9`
  35. ```sh
  36. pnpm run check
  37. ```
  38. `pnpm run check` runs `typecheck`, `lint`, `test`, and `build`. CI runs the same command after `pnpm install --frozen-lockfile`.

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.