Repository navigation
Releases
Releases · ban-sky/dsh-github
v1.1.1
Full Changelog: v1.1.0...v1.1.1
v1.1.0
v1.0.0
v0.4.2
v0.4.1
v0.4.0
v0.3.0
两个安装包 / Two installation packages
| 包 | 给谁用 |
|---|---|
dsh-github-0.3.0.tgz |
DSH 网页版 / 桌面端:只有 Web UI |
dsh-github-0.3.0-dsh-go.tgz |
DSH GO 手机 App:Web UI + 原生面板和输入框入口 |
两个包都解出 package/ 目录;下载后先 sha256sum -c SHA256SUMS.txt。
Both unpack to package/; check them with sha256sum -c SHA256SUMS.txt.
0.3.0 改了什么 / What changed
- DSH GO 原生界面 —— 面板(账号状态、设备码登录、Agent 工具开关,以及会话目录的
刷新/更新/拉取/推送/提交/克隆/新建并推送)+ 三个输入框入口(存 ID / 提交 / 克隆)。 - 同一份源码出两个包 —— 网页版不含
lib/dsh-go.js与dshGo清单。 - 原生表单只在 App 上报
form/textField时才画,否则面板改用输入框入口。 - DSH GO native surface: one panel plus composer entries, sharing the Web UI's
service instance (one token, one settings file). - Two packages from one source: the web artifact omits the native module and manifest.
完整变更 / Full notes: CHANGELOG.zh.md · CHANGELOG.md
dsh-github 0.2.1
dsh-github 0.2.1
GitHub integration for DSH (DeepSeek Harness): official device-flow sign-in, repository management, and in-session folder operations — security first.
Highlights
- Session folder actions (0.2.0) — the GitHub button above the composer clones, creates + publishes, pulls, fetches and commits inside the current session's working directory. The client only sends a
sessionId; the Host resolves the directory from the session itself, so a browser can never point the plugin at an arbitrary path. - Mobile pill fix (0.2.1) — the composer button collapses to a 26px branch icon at ≤640px, so a narrow composer can no longer squeeze the "GitHub" label into a vertical column. The icon keeps its
aria-label. - Expired-token UX (0.2.1) — the dock now shows the sign-in hint instead of action buttons when the stored token has expired.
- Settings page — sign in with GitHub, list/create/clone repositories, inspect local clones, pull, commit, push, and toggle the optional agent tool.
Security model
- The access token is stored only in the DSH credential store (
$DSH_HOME/.credentials.yaml, mode 0600). It never appears in plugin config, argv,.git/config, or remote URLs. - Git receives the token through the child environment and an inline
!credential helper; nothing is written to disk. - Repo names, owners, local paths and remotes are validated host-side; clones must stay inside the configured clone root and only
https://github.com/owner/nameremotes are accepted. - Every error is redacted before it reaches the UI.
- Local-only reads (status, log) run without the token at all.
Install
- Download
dsh-github-0.2.1.tgzfrom this release. - Extract it:
tar -xzf dsh-github-0.2.1.tgz(produces apackage/folder). - Install the bundle from that folder:
plugin_manager install_bundle target:/path/to/package(or point the DSH plugin installer at the extracted folder). - Reload the Web UI. A GitHub section appears in Settings.
Get started
- GitHub → Settings → Developer settings → OAuth Apps → New OAuth App, and enable Device flow.
- Paste the OAuth App Client ID into Settings → GitHub and save.
- Click Sign in with GitHub, then enter the shown code at https://github.com/login/device.
If the OAuth App has "Expire user authorization tokens" enabled the token lasts 8 hours; disable it for a long-lived token (this version does not refresh tokens yet).
See README.md / README.zh.md for the full manual, permission scope (repo), and limitations.