DeepSHPlugins
dsh-ci-co-pilot 项目预览
GITHUB / COMMUNITY PROJECT

dsh-ci-co-pilot

工具与集成JavaScriptMIT

让 DeepSeek Harness Agent 化身 GitHub 副驾:PR 审查、CI 失败修复、Issue 分类与自动发版说明。

2 Starstemotee2103 更新时间 2026-08-22
访问 GitHub 仓库
dsh-ci-co-pilot 项目预览

项目介绍

中文

让 DeepSeek Harness Agent 化身 GitHub 副驾:PR 审查、CI 失败修复、Issue 分类与自动发版说明。

English

GitHub CI co-pilot for DeepSeek Harness: PR review, CI failure fixing, issue triage and release notes.

项目信息与收录信号

快照 2026-09-11
作者 / 组织
temotee2103
仓库
temotee2103/dsh-ci-co-pilot
GitHub Stars
2
Forks
0
开发语言
JavaScript
许可证
MIT
最近推送
2026-08-22
Manifest
数据中检测到声明

公开仓库不自动等于可商用;许可证与当前兼容性以原项目文档为准。Manifest 和数据评分不构成安装安全认证。

数据评分

50/ 100
维护活跃
87
文档与实用信息
50
生态关注度
14
安装便捷信号
80
项目声明信号
100

近 20 天仍在更新;关注度尚低(2)。

评分来自已有数据快照的五维模型,仅作浏览参考,不是实际使用评测或安全检测结论。

安装与使用

所有项目资料与许可均以对应 GitHub 仓库为准。

dsh plugin --profile web add github:temotee2103/dsh-ci-co-pilot

复制命令不会自动执行。请先阅读仓库文档,确认环境要求与许可证。

项目截图

仓库 README

GitHub 原文

已保存的仓库文档快照;文档抓取时间未记录,可能与上方目录介绍处于不同版本。安装前请核对当前仓库说明。

dsh-ci-co-pilot

GitHub CI co-pilot for DeepSeek Harness.
Everything is a plugin: PR review, CI failure fixing, issue triage, and release notes.

License: MIT Node dsh-plugin Listed in awesome-dsh-plugin

dsh-ci-co-pilot turns your DeepSeek Harness agent into a GitHub co-pilot that can review pull requests, debug failing CI, triage issues and draft release notes — all with structured data from the GitHub REST API, and zero extra runtime dependencies.

✨ Features

ToolWhat it does
gh_review_prPull a PR with its changed files, unified diff, existing reviews and CI status — the agent then writes the review.
gh_submit_reviewApprove, request changes, comment — with optional inline comments anchored to the diff.
gh_fix_ciInspect failing checks/annotations/log tails for a commit, branch or workflow run.
gh_triage_issuesList issues with triage signals: age, staleness, comments, labels.
gh_update_issueSet labels, assign, comment, set milestone, close/reopen.
gh_release_notesGenerate grouped release notes from PRs merged since the last release, a tag, or a date.
gh_rerun_ciRerun a workflow run — failed jobs only, or everything (verify a fix).
gh_create_releasePublish release notes as a GitHub release (creates the tag too).
gh_list_pullsList PRs by state / base / head branch with age, label and draft signals — find PRs to review or track a release train.
gh_repo_statusOne-call repo health snapshot: stars, open PR / issue counts, recent workflow runs.

🚀 Install

# from npm (recommended)
dsh plugin --profile web add @temotee2103/dsh-ci-co-pilot

# from GitHub (zero build step — works immediately)
dsh plugin --profile web add github:temotee2103/dsh-ci-co-pilot

# or via the community index (CN mirror + sha256 check)
xlings install dsh:dsh-ci-co-pilot -y

Then restart your Harness session (or start dsh web).

Tip: pin a commit for reproducible installs:
dsh plugin --profile web add github:temotee2103/dsh-ci-co-pilot#<40-hex-sha>

🔑 Authentication

Public repos work without a token (GitHub's unauthenticated rate limit applies). For private repos and heavier usage:

# any of these is read by the plugin at startup
export GITHUB_TOKEN=github_pat_...
export GH_TOKEN=...            # gh CLI style

You can also set a default repo and API base in your profile's cordis.patch.yml:

- id: ci-co-pilot
  name: '@dsh-external/dsh-ci-co-pilot'
  config:
    repo: myorg/myrepo
    apiBase: https://github.example.com/api/v3   # GitHub Enterprise Server

💬 Usage examples

Ask your agent things like:

  • Review a PR
Review PR #42 in deepseek-ai/deepseek-harness. Focus on race conditions and suggest concrete fixes, then submit a review.
  • Fix failing CI
CI is red on main. Find the failures and fix them, then push.
  • Triage issues
Triage the open issues in this repo: label the unlabeled ones, close stale duplicates, and leave a comment on the top 3 by comments.
  • Release notes
Draft release notes since the last release and save them to CHANGELOG.md.
  • Find PRs to review
List the open PRs in o/r sorted by update time, and review the riskiest one.
  • Repo health check
Give me a snapshot of o/r: open PR/issue counts and the latest CI results.

⚙️ Configuration

All knobs are validated config values you can override from your profile's cordis.patch.yml (see the defaults in cordis.patch.yml): review.maxFiles, review.maxDiffChars, ci.maxLogLines, ci.maxFailedChecks, triage.perPage, triage.staleDays, release.perPage, pulls.limit, status.runs. The API client also retries rate-limited responses (403 / 429) automatically, honoring Retry-After and x-ratelimit-reset.

🧑‍💻 Development

pnpm install
pnpm test        # vitest, mocked fetch — no network, no API key
pnpm check       # syntax checks + tests

🧩 How it works

dsh-ci-co-pilot is a standard Cordis bundle for DeepSeek Harness:

  • cordis.patch.yml — the bundle layer that mounts the plugin row.
  • index.js — plugin entry: registers the ten tools on the tools service.
  • src/github.js — a tiny fetch-based GitHub REST client (auth header, pagination, rate-limit retry, error mapping, AbortSignal).
  • src/tools/* — one module per tool, returning structured canonical values; src/format.js renders them to model-facing markdown.

The plugin ships plain ESM JavaScript — no build step, so dsh plugin add github:... installs and runs immediately.

📚 Listings

Listed in community indexes and curated lists:

ListEntry
awesome-dsh-plugin (community pick)dsh-ci-co-pilot
dsh-index (official plugin index)dsh-ci-co-pilot
0xsline/awesome-deepseek-harnessdsh-ci-co-pilot
Dominic789654/awesome-deepseek-harnessdsh-ci-co-pilot
imsai-sh/awesome-deepseek-harness-pluginsdsh-ci-co-pilot
Anil-matcha/awesome-dsh-plugindsh-ci-co-pilot
losebird/dsh-plugin-marketdsh-ci-co-pilot

📄 License

MIT © temotee2103

使用前核对

安装步骤、兼容版本与授权范围以原项目当前文档为准。Stars 和评分是快照中的导航信号。

安装与排错 · 项目问题反馈

同类项目