dsh-github
Manifest validGitHub account management plus a local Git workflow for the web GUI with clone, fast-forward pull, status, commit, push, and host-side push guards.
dsh-github
中文文档 | English
DSH Web UI 的 GitHub 与本地 Git 工作流插件。
Features
- GitHub Personal Access Token account management with secret-free summaries.
- GitHub REST repository listing for github.com and GitHub Enterprise API URLs.
- Local Git operations: clone, fast-forward pull, status, commit, push, and force-with-lease.
- Sidebar panel with account, repository, local Git, and settings tabs.
- Push and force push are disabled by default and are guarded on the Host side.
- Token storage uses ~/.dsh/dsh-github.json with an atomic write and mode 0600.
- Git HTTP authentication uses an ephemeral http.extraheader environment configuration; tokens are not placed in clone URLs or process arguments.
Install in a profile
Download the newest dsh-github-*.tgz from Releases and add it to the profile:
dsh plugin --profile web add D:\downloads\dsh-github-0.1.2.tgz
For local development, build and install from a checkout instead:
pnpm install
pnpm run build
dsh plugin --profile web add link:D:\项目\dsh-github
Restart the existing DSH Web process after installation. Open the GitHub sidebar entry and add a replacement token there. The plugin deliberately does not ship a token in source, package metadata, logs, or documentation.
Agent tools
- github_auth_list, github_auth_test
- github_repo_list
- github_clone, github_pull, github_status
- github_commit, github_push
Compatibility
- DSH Host
0.1.0-rc.8or newer compatible release. - Node.js
22.19.0or newer. - Git must be available through the configured executable.
Security
The account file is local configuration, not a system secret vault. Use a fine-grained GitHub token with only the repositories and permissions needed by DSH. Revoke any token pasted into chat or source control and create a new one through the panel.
Compatibility
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.1.2 | — | — |
| 0.1.0 | — | — |
Comments
Loading…
Similar plugins
by liufangrui1105
Agent-facing GitHub repository tools: binds an account through a first-run prompt, then clones into the workspace and reads, exact-replaces, commits and pushes files, with writes off by default.
★ 0
MIT
JavaScript
Oct 15, 2026
dsh plugin --profile web add dsh-plugin-githubGit and GitHub panel for the DSH web profile: stage/unstage/discard/diff, branches, commit, push/pull/sync, log, file browser, workflow board, and GitHub OAuth with PR creation.
★ 0
dsh plugin --profile web add dsh-git-nexusby JiangHuai24
Registers the github-push skill, so every DSH session follows one fixed GitHub commit, push and release procedure.
★ 0
MIT
JavaScript
Oct 21, 2026
dsh plugin --profile web add @local/github-flowOne-step GitHub uploader: initializes git, auto-creates or improves README, sets repository topics, and pushes a local project to GitHub.
★ 0
dsh plugin --profile web add @dsh-external/dsh-github-pushby lonelymoon87
Adds approval-gated Git status, diff, log, commit, branch, and optional checkpoint tools.
★ 1
↓ 126/wk
MIT
TypeScript
Aug 21, 2026
dsh plugin --profile web add dsh-gitflowby bitxeno
Sidebar Git panel for the DSH web GUI: Local Changes and All Commits views, branch, tag and stash management with fetch, pull and push dialogs, merge with conflict handling, and a zsh-style branch mar
★ 0
NOASSERTION
TypeScript
Oct 28, 2026
dsh plugin --profile web add dsh-git-plus