管理 GitHub 账号并完成克隆提交推送等本地 Git 操作
28.6/100
综合分
1
GitHub 星标
—
npm 周下载
—/5
用户评分
数据截至 2026/9/16 · 周下载取自 npm 全网(含 CI / 镜像),非本站安装数;综合分由星标、活跃度与兼容性检查合成。
安装命令 · 需先装 dsh CLI 引擎
dsh plugin --profile web add andyfan1094/dsh-github该包不可直接 npm 安装,改从 GitHub 源安装(明细见下方安装检查)
状态速览
判定依据:实装验证 · 静态安装检查 · 自动扫描 · 仓库维护状态信任档位:仅索引
是什么
dsh 原生插件 · market
装得上吗
本站尚未做安装检查
安全吗
本站尚未对该插件做风险分级
暂未覆盖,不等同于无风险
还在维护吗
更新放缓:最近一次提交在 69 天前
档位由哪些信号合成
本站实装验证(真实安装 L4 覆盖全站;L5 为运行时冒烟或实机截图,覆盖范围小于 L4) · 验证所用 dsh 版本 · 静态安装检查 · 风险分级 · 仓库维护状态。 下方各区块是它的证据明细。
社区实装还没有人打卡 · 装过的第一个就是你
安全扫描自动 · 静态分析源码v2.7.0🔵 扫描:含敏感能力尚无人工评估展开查看扫描说明与证据 ↓
安全扫描自动 · 静态分析源码
v2.7.0静态扫描发现插件具备触达本地系统的能力:执行外部命令、读写/删除本地文件、读取剪贴板或密钥类环境变量(至少其一)。这是能力清单,不是危险判定——具体能力项与证据见下方,安装前请自行判断是否需要。
可执行外部命令读写/删除本地文件发起外部网络请求
查看扫描证据(共 20 处,展示前 18 条)
- 发起网络请求src/client/api.ts:6
async listAccounts(): Promise<AccountSummary[]> { return (await json<{ accounts: AccountSummary[] }>(await fetch(GITHUB_API.accounts))).accounts } - 发起网络请求src/client/api.ts:7
async saveAccount(payload: { alias: string; token?: string; apiUrl?: string }): Promise<AccountSummary> { return (await json<{ account: AccountSummary - 发起网络请求src/client/api.ts:8
async deleteAccount(alias: string): Promise<void> { await json(await fetch(GITHUB_API.accounts, { method: 'DELETE', headers: { 'content-type': 'applic - 发起网络请求src/client/api.ts:9
async testAccount(alias?: string): Promise<{ ok: boolean; alias: string; username?: string; error?: string }> { return (await json<{ result: { ok: boo - 发起网络请求src/client/api.ts:10
async listRepos(account?: string, search?: string): Promise<RepoSummary[]> { return (await json<{ repos: RepoSummary[] }>(await fetch(GITHUB_API.repos - 发起网络请求src/client/api.ts:11
async getConfig(): Promise<GitHubSettings> { return (await json<{ config: GitHubSettings }>(await fetch(GITHUB_API.config))).config } - 读取本地文件src/engine.ts:29
if (existsSync(destination)) throw new Error('clone destination already exists: ' + destination) - 读取本地文件src/git.ts:10
if (cwd !== undefined && !existsSync(cwd)) throw new Error('repository path does not exist: ' + cwd) - 执行外部命令来自配置/变量src/git.ts:18
const child = spawn(executable, args, { cwd, env, windowsHide: true }) - 发起网络请求src/github-api.ts:22
const response = await fetch(account.apiUrl + path, { headers: { accept: 'application/vnd.github+json', authorization: 'Bearer ' + account.token, 'x-g - 读取本地文件src/store.ts:73
try { stats = statSync(this.path) } catch { return { version: 1, settings: { ...DEFAULT_SETTINGS }, accounts: [] } } - 读取本地文件src/store.ts:76
const parsed = JSON.parse(readFileSync(this.path, 'utf8')) as Partial<StoreFile> - 写入本地文件src/store.ts:81
try { renameSync(this.path, this.path + '.corrupt-' + Date.now()) } catch { } - 读取本地文件src/store.ts:86
const dir = dirname(this.path); if (!existsSync(dir)) mkdirSync(dir, { recursive: true, mode: 0o700 }) - 写入本地文件src/store.ts:86
const dir = dirname(this.path); if (!existsSync(dir)) mkdirSync(dir, { recursive: true, mode: 0o700 }) - 写入本地文件src/store.ts:87
const tmp = this.path + '.tmp'; writeFileSync(tmp, JSON.stringify(file, null, 2) + '\n', { encoding: 'utf8', mode: 0o600 }) - 写入本地文件src/store.ts:88
try { chmodSync(tmp, 0o600) } catch { } - 写入本地文件src/store.ts:89
renameSync(tmp, this.path); this.cache = undefined
扫描于 2026/11/3(1 天前) · 范围 入口闭包 + 发布文件清单 · 来源 GitHub 仓库
静态扫描只反映源码中出现的调用,不构成安全背书;人工评估与自动扫描相互独立、互不覆盖。
依赖的 DSH / Cordis 模块
@deepseek-ai/cordis@deepseek-ai/dsh-client-connection@deepseek-ai/dsh-client-locale@deepseek-ai/dsh-client-runtime@deepseek-ai/dsh-client-ui-settings@deepseek-ai/dsh-host-webserver@deepseek-ai/dsh-settings@deepseek-ai/dsh-system-prompt@deepseek-ai/dsh-tools给这个插件打分还没有人投票↓
用户评分
还没有人投票,来当第一个
功能亮点
- GitHub账号认证
- 仓库浏览与克隆
- 提交推送等Git操作
dsh 网页界面用的 GitHub 认证与本地 Git 工作流插件:账号、仓库浏览、clone、pull、push、status、commit,外加设置面板。
README
由 DeepSeek 最新模型翻译生成dsh-github
DSH Web UI 的 GitHub 与本地 Git 工作流插件。
功能
- GitHub Personal Access Token 账号管理,摘要信息不回显密钥。
- 支持 github.com 与 GitHub Enterprise API 地址的 REST 仓库列表。
- 本地 Git 操作:clone、快进 pull、status、commit、push 与 force-with-lease。
- 侧边栏面板,含账号、仓库、本地 Git 与设置四个页签。
- push 与 force push 默认关闭,宿主侧双重把关。
- Token 保存在 ~/.dsh/dsh-github.json,原子写入,权限 0600。
- Git HTTP 认证使用临时的 http.extraheader 环境配置;Token 不进 clone URL,也不出现在进程参数里。
展开完整文档(README 剩余 1 节)
dsh-github DSH Web UI 的 GitHub 与本地 Git 工作流插件。 功能 - GitHub Personal Access Token 账号管理,摘要信息不回显密钥。 - 支持 github.com 与 GitHub Enterprise API 地址的 REST 仓库列表。 - 本地 Git 操作:clone、快进 pull、status、commit、push 与 force-with-lease。 - 侧边栏面板,含账号、仓库、本地 Git 与设置四个页签。 - push 与 force push 默认关闭,宿主侧双重把关。 - Token 保存在 ~/.dsh/dsh-github.json,原子写入,权限 0600。 - Git HTTP 认证使用临时的 http.extraheader 环境配置;Token 不进 clone URL,也不出现在进程参数里。 截图 dsh-github 截图 安装到 profile 从 Releases 下载最新的 dsh-github-*.tgz 并加入 profile: dsh plugin --profile web add D:\downloads\dsh-github-0.1.2.tgz 本地开发可构建后从 checkout 安装: pnpm install pnpm run build dsh plugin --profile web add link:D:\项目\dsh-github 安装后重启现有 DSH Web 进程。打开侧边栏「GitHub」入口,在面板里添加替换用的 Token。本插件刻意不在源码、包元数据、日志或文档中携带任何 Token。 Agent 工具 - github_auth_list、github_auth_test - github_repo_list - github_clone、github_pull、github_status - github_commit、github_push 兼容性 - DSH Host 0.1.0-rc.8 或更新的兼容版本。 - Node.js 22.19.0 或更新。 - 需要可通过配置的可执行文件调用 Git。 安全 账号文件是本机配置,不是系统级密钥保险库。请使用细粒度 GitHub Token,只授予 DSH 所需的仓库与权限。任何粘贴进聊天或版本库的 Token 都应吊销,并通过面板重新创建。
预览分享卡片长什么样 ↓
分享 · DeepSeek Harness Hub
andyfan1094/dsh-github
管理 GitHub 账号并完成克隆提交推送等本地 Git 操作
相关插件 · 市场 / 管理
插件精选列表awesome-dsh-plugin/awesome-dsh-plugin
DeepSeek Harness(dsh)插件精选列表
★ 22,225未汉化DSH
73.6
新词雷达zhuyansen/new-term-radar
new-term-radar新词雷达
★ 2,049已汉化MCP
72.8
插件生态导航0xsline/awesome-deepseek-harness
安装 贡献指南 DeepSeek Docs 公开插件目录 Issues
★ 1,188已汉化DSH
72.6
技能注册中心iflytek/skillhub
企业级开源智能体技能注册中心——发布、发现并管理组织内可复用的技能包。
★ 5,370已汉化DSH
71.9
插件市场目录imsai-sh/awesome-deepseek-harness-plugins
面向 DeepSeek Harnessdsh生态的社区插件目录,共收录 13941 个插件含 PR 收录与…
★ 355已汉化DSH
71.8
插件精选清单Anil-matcha/awesome-dsh-plugin
DeepSeek Harnessdsh精选指南——DeepSeek…
★ 1,013已汉化DSH
71.7
这是你的仓库?认领条目