DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Git Auth — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins
G

dsh-git-auth

Git Auth

DSH 主机工具包:管理 glab / gh 授权和 SSH 密钥

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:Wisdoverse/dsh-git-auth-plugin#8ac4a5ed9962fcaa052a659e7c55d0558490446a
README兼容性版本

兼容性与来源证明

Git Auth 以 dsh-git-auth 发布,当前版本为 0.1.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/9/4

版本

0.1.0stable
2026/9/4

相关插件

正在加载相关插件…

最新版
0.1.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 0
周下载
0
最近提交
2026/9/5
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 security-access 分类下经过校验的插件。

Doctor@linxin666/dsh-doctorDSH 配置档案的事务性救援模式,配备受监督的启动器、隔离的恢复容器、确定性修复、健康监控以及本地 Web 恢复控制台Pocketdsh-pocket把 DeepSeek Harness 装进你的口袋:一个包、一个设置页,手机扫码即同步访问电脑上的 DSH(局域网 + 公网,实时同屏)。DSCODE@toddzheng024/dscode-bundle完整的 DeepSeek 编码代理,支持持久化 shell、Ultra 协作和自动权限审查。Auto Reviewdsh-auto-review针对 DeepSeek Harness 审批请求的第二模型 AI 自动审查:只读审查子代理在审批应答链上决定允许或拒绝,并采用故障关闭回退机制和完整的会话日志审计。

README

dsh-git-auth

GitHub, GitLab, and SSH authentication tools for DeepSeek Harness

English · 简体中文

Give DSH agents a small, approval-aware toolset for inspecting and managing gh, glab, and SSH credentials on the host.

Check authentication                 →  auth_status
Sign in with GH_TOKEN / GITLAB_TOKEN →  client_auth
Generate or inspect an SSH key       →  ssh_key

Contents

  • Features
  • Tools
  • Installation
  • Configuration
  • Token handling
  • Security
  • Development
  • License

Features

FeatureDescription
Unified statusReports gh, glab, SSH-agent, and public-key status in one call.
Non-interactive loginAuthenticates gh or glab with a token supplied by the DSH host environment.
SSH key managementGenerates, lists, and displays Ed25519 keys directly under ~/.ssh.
Approval-aware writesRequests DSH approval before login, logout, key generation, or ssh-add.
Settings UIExposes hosts, timeout, key path, comment, and ssh-add defaults under Settings → Plugins.

[!IMPORTANT] Access tokens are not accepted as tool arguments. Put them in the DSH host environment so they do not enter the model context or tool-call log.

Tools

ToolPurposeWrites state
auth_statusShow GitHub CLI, GitLab CLI, SSH-agent, and public-key status.No
client_authLog gh or glab in or out.Yes; approval required
ssh_keyGenerate, list, or display an Ed25519 key.Generation and ssh-add require approval

Example requests:

Check my GitHub, GitLab, and SSH authentication status.
Use the configured GH_TOKEN to sign in to GitHub.
Generate ~/.ssh/id_ed25519 and add it to ssh-agent.
Show the public key for ~/.ssh/id_ed25519.

Installation

From source

  1. Clone the plugin into a path visible to the DSH host:

    git clone https://github.com/Wisdoverse/dsh-git-auth-plugin.git \
      /path/to/local-plugins/dsh-git-auth
    
  2. Add it to the target profile:

    dsh plugin --profile web add /path/to/local-plugins/dsh-git-auth
    
  3. Restart the profile.

The package declares its DSH bundle in package.json, and cordis.patch.yml mounts the tool plugin in the host's global tool layer.

Configuration

Open Settings → Plugins → Plugin configuration, or edit the git-auth section in the DSH settings document (normally $DSH_HOME/settings.yaml).

SettingDefaultAccepted value
ghHostgithub.comBare GitHub hostname, optionally with a port
glabHostgitlab.comBare GitLab hostname, optionally with a port
commandTimeoutMs60000Integer greater than or equal to 1
sshPathEmptyDirect child of ~/.ssh; empty means ~/.ssh/id_ed25519
sshCommentEmptyDefault comment passed to ssh-keygen
sshAddAgentfalseWhether generated keys are loaded with ssh-add by default
git-auth:
  glabHost: gitlab.example.com
  commandTimeoutMs: 60000
  sshPath: ~/.ssh/id_ed25519
  sshComment: developer@example.com
  sshAddAgent: true

Settings are resolved at tool-call time, so host-side settings-file updates do not require a plugin reinstall. DSH may restrict settings writes from remote browsers; edit the host settings file if the UI is read-only.

Token handling

The plugin configuration card includes write-only GitHub Token and GitLab Token fields. They store GH_TOKEN and GITLAB_TOKEN through the DSH credentials service; saved values are never returned to the browser, so the inputs stay blank and show only configured/source status.

The login tool resolves credential references in this order:

ClientPrecedence
ghGH_TOKEN → GITHUB_TOKEN
glabGITLAB_TOKEN → GLAB_TOKEN → GITLAB_ACCESS_TOKEN

Existing deployment environment variables remain supported. A live environment value is read-only and takes precedence over the DSH credential store. Do not paste tokens into chat or commit them to this repository.

An environment token can be sent only to that client's configured host. To use a different host, update ghHost or glabHost first, then restart DSH if the host process also needs a new environment token.

Security

This plugin manages host credentials, so its boundary is deliberately narrow:

  • Tokens are resolved per login through the DSH credentials service and passed to the CLI over stdin; they never appear in settings responses, tool arguments, or command strings.
  • Authentication hosts are validated as bare hostnames and encoded as single shell arguments.
  • SSH key paths must resolve to direct children of ~/.ssh; existing symlinks at the directory, private-key, or public-key path are rejected.
  • Read operations keep the calling session's sandbox policy.
  • Credential mutations request one-time DSH approval before running with the wider filesystem access required for host credential stores.
  • Generated keys use Ed25519 and an empty passphrase for non-interactive agent use. Protect the DSH host and its credential directory accordingly.

Development

Commands

CommandPurpose
node test/compose.test.jsRun dependency-free command, token, host, and path assertions.
node --check lib/index.jsSyntax-check the host plugin.
node --check lib/client.jsSyntax-check the settings client.

Project structure

PathResponsibility
lib/index.jsTool registration, approvals, settings, and shell execution.
lib/compose.jsPure host, token, shell-argument, and SSH-path helpers.
lib/client.jsBrowser-side settings card.
cordis.patch.ymlDSH bundle mounting.
test/compose.test.jsDependency-free regression checks.

The running Web profile loads the plugin at startup. Restart it after changing the source files.

License

Released under the MIT License.