
bkMoon1024/dsh-ci-cd-bot
31最近提交 2026年8月15日
dsh-ci-cd-bot DSH 插件
dsh-ci-cd-bot 是一个 DSH Web GUI 插件,可监控你账户下所有仓库的 GitHub Issue 和 Pull Request。它能自动修复本地已检出仓库中的 Bug,并将功能请求、问题、PR 转化为看板队列,让你通过 AI Agent 一键审核、运行并推送变更。
如何安装 dsh-ci-cd-bot DSH 插件
dsh plugin --profile web add dsh-ci-cd-bot复制不会执行命令。安装 dsh-ci-cd-bot DSH 插件前请核对仓库和版本。
dsh-ci-cd-bot DSH 插件数据来源
dsh-ci-cd-bot DSH 插件快照日期:2026年8月16日
discovered
dsh-ci-cd-bot DSH 插件能做什么
- 自动修复本地已检出仓库的 Bug Issue:Agent 修复、自测、提交并推送(或创建 PR)
- 通过看板队列管理功能请求和其他 Issue:点击 Run 让 Agent 实现并推送变更
- 审查 Pull Request:Agent 生成代码审查,然后批准、请求修改或评论;批准后自动合并
- 可配置轮询间隔、推送策略(自动或确认)、Bug/Feature 标签、仓库过滤、并发限制等
- 所有 Agent 运行记录保存在会话列表中,可查看完整转录
- GitHub Token 仅存储在宿主机,不发送到浏览器;配置持久化在 ~/.dsh/dsh-ci-cd-bot.json
dsh-ci-cd-bot DSH 插件适合哪些场景
- 自动修复开源项目中的已报告 Bug,无需人工介入
- 审查并合并传入的 Pull Request,附带 AI 生成的代码审查摘要
- 将功能请求转化为可执行任务:加入队列,运行 Agent 实现并推送代码
- 使用看板对 Issue 分类,决定哪些任务自动化、哪些手动处理
- 为小型项目启用类 CI/CD 工作流,让 AI 处理常规变更
dsh-ci-cd-bot DSH 插件适合谁
- 维护多个 GitHub 仓库并希望自动化常规 Issue/PR 工作流的开发者
- 希望将 AI Agent 能力集成到 GitHub 项目管理的 DSH 用户
dsh-ci-cd-bot DSH 插件的限制
- 侧边栏的其他面板(任务看板、SSH)不会在此看板可见时完全关闭;需要额外一次点击才能切换回
- Issue 分类基于规则(标签+关键词);基于 LLM 的后备方案已规划但尚未实现
- 超时的 Agent 运行会被标记为失败,但 Agent 不会在运行中被取消
- 仅支持 github.com,不支持 GitHub Enterprise
- 看板通过轮询刷新,而非 SSE(服务器推送事件)
dsh-ci-cd-bot DSH 插件的仓库 README 摘录
以下文字摘自 dsh-ci-cd-bot DSH 插件的上游仓库 bkMoon1024/dsh-ci-cd-bot 的 README,版权归原作者,仅作引用。
| Item | Handling | | --- | --- | | Bug issue, repo checked out locally | **Fully automatic**: an agent fixes the issue in the local checkout and self-tests → the plugin commits and pushes (optionally opens a PR) → replies to the issue | | Feature request | Enters the board queue → click **Run** → agent implements → push → reply to the issue | | Other issue (question / maintenance) | Enters the board queue → implements and pushes when a local checkout exists; otherwise the agent drafts a reply and the plugin posts it as a comment | | Pull request | Enters the board queue → click **Review** → fetch the diff → agent reviews → submits APPROVE / REQUEST_CHANGES / COMMENT according to the verdict, auto-merges on approve (configurable) | Every run is a **real agent session** (kept in the session list so you can watch the full transcript). All git plumbing — branch, commit, push — is done by the plugin itself, deterministically; the push policy can be set to **auto** or **confirm in the board**. --- ## How it works The host half polls GitHub every N minutes (configurable): it lists the account's repositories, fetches recently updated issues/PRs per repo with a watermark (first poll ba
阅读完整 README仓库许可: MIT
dsh-ci-cd-bot DSH 插件常见问题
如何安装 dsh-ci-cd-bot?
在终端中运行 `dsh plugin --profile web add dsh-ci-cd-bot`,然后重启 DSH Web(`dsh web`)。重启后侧边栏会出现 CI/CD 入口。你也可以从源码安装:克隆仓库后运行 `dsh plugin --profile web add link:$(pwd)`。
GitHub Token 需要什么权限?
Token 需要具备 `repo` 范围(完全控制私有仓库),这样插件才能读取 Issue/PR、创建评论、推送分支、创建 PR、合并 PR 以及提交审查。Token 安全存储在宿主机 `~/.dsh/dsh-ci-cd-bot.json` 中,不会发送到浏览器。
我可以选择只监控某些仓库吗?
可以,在插件的设置页面中可以配置包含/排除仓库过滤器。格式为 `owner/repo`(例如 `bkMoon1024/dsh-ci-cd-bot`)。默认情况下会监控你账户下的所有仓库。你还可以设置扫描根目录,告诉插件到哪里查找本地 git 仓库。
插件会自动推送变更到 GitHub 吗?
取决于你设置的推送策略。在 'auto' 模式下,Agent 运行成功后立即推送。在 'confirm' 模式下,运行会在看板中等待你确认后才推送。你可以在设置页面中修改此配置。
如果 Agent 运行超时怎么办?
该运行会被标记为 'failed',但 Agent 不会被强制终止。你可以从会话列表中查看完整的会话转录,了解 Agent 当时在做什么。默认超时时间为 30 分钟(1800000 ms),可在设置中调整。