dshbase

插件目录 / Developer / gitee-ai-employee

gitee-ai-employee

未验证 wangbobo-coder

✓ 持续维护

查看 GitHub ↗ ← 返回插件目录

1Stars
0Forks
0未关闭 issue
语言
2026-08-24最近推送
跨平台平台

功能简介

Gitee AI 员工:在 issue 里 @ 机器人并指定目标分支,它自动克隆仓库开发、提交 PR,可自动合并并关闭 issue。Issue-driven Gitee AI developer for DeepSeek Harness.

我们的评价
未验证 — 尚未实测

Gitee AI 员工:在 issue 里 @ 机器人并指定目标分支,它自动克隆仓库开发、提交 PR,可自动合并并关闭 issue。Issue-driven Gitee AI developer for DeepSeek Harness. 尚未验证——请自行安装测试。

「未验证」表示我们的自动化 CI 尚未安装过该插件。功能描述与版本兼容性均为作者声明。这不是安全审计,也不代表对第三方代码的背书。

你是插件作者? 想拿到「已验证」标签——提交你自己的验证证据(截图、日志或短视频),我们审核通过后即改为「已验证」。

提交验证证据 ↗

README

Gitee AI 员工 (gitee-ai-employee)

An issue-driven AI developer for DeepSeek Harness, working against Gitee (码云) and GitHub.

Mention your bot in an issue, and the plugin clones the repository, dispatches an
AI worker agent to implement the change, pushes a branch, opens a Pull Request to the
branch you ask for, and can auto-merge and auto-close the issue. You can watch Gitee and
GitHub repositories at the same time.

中文说明见 README.zh.md

What it does

  • Polling: periodically scans the issues of the repositories you watch for a new
    mention of your bot (@botName). Dual platform: each watch row can be prefixed
    gitee: or github: (unprefixed rows use defaultPlatform, default gitee), so you can
    watch both platforms at once.
  • AI development: creates a worker agent in a profile that clones the repo (via
    PowerShell + curl on Windows), explores it, implements the issue, runs checks, and
    commits on a ai-fix/issue-<number> branch.
  • Branch-aware: it reads branch instructions written in natural language and uses that
    branch as both the development base and the PR target:
    • 需要修改 release-v1.2 分支 / 修改 X 分支 / 改 X 分支
    • 基于 X 分支 / 在 X 分支上 / 以 X 分支为基础
    • 合并到 X / 合到 X / 目标分支 X / base: X
      The requested branch is validated against the remote with git ls-remote; if it does not
      exist, the plugin falls back to the repository default branch and says so in a comment.
  • PR & close: pushes the branch, creates a PR (base = the chosen branch), optionally
    auto-merges it (autoMerge), and optionally closes the issue on success (autoCloseIssue).
  • Webhook / manual trigger: optional webhook endpoint and a manual trigger URL for
    instant processing without waiting for the poll.

Requirements

  • DeepSeek Harness (dsh) 0.1.x, Windows (the plugin drives git and the Gitee API through
    PowerShell + C:\Windows\System32\curl.exe), a Gitee account with a personal access token.
  • The worker preset is bundled and auto-installed into $DSH_HOME/.agent-presets/gitee-worker
    on first load — no manual setup.

Install

dsh plugin --profile <your-profile> add gitee-ai-employee

(or if you prefer installing straight from GitHub: dsh plugin --profile <p> add github:wangbobo-coder/gitee-ai-employee)

Restart dsh, then open Settings → Plugins → Plugin configuration, find the
Gitee AI 员工 card and configure:

Setting Meaning
giteeToken Gitee personal access token (kept secret; never returned by the status API)
githubToken GitHub personal access token, optional (kept secret; only needed for github: repos)
defaultPlatform Platform for unprefixed watchRepos rows: gitee (default) or github
botName The account/issues mention that triggers the bot, e.g. gitee-ai. ASCII is recommended.
workRoot Where repositories are cloned; empty = $DSH_HOME/gitee-workers
watchRepos Repos to poll, one per line: owner/repo (uses defaultPlatform) or gitee:owner/repo / github:owner/repo
pollEnabled / pollIntervalMs Poll on/off and interval (milliseconds)
autoMerge Auto-merge the created PR
autoCloseIssue Close the issue once the task succeeds
workerPreset Agent preset id used for the worker (default gitee-worker)

Usage

  1. Make sure pollEnabled is on (or use the manual trigger URL shown in the status API).
  2. Open (or edit) an issue in a watched repo and mention your bot:
    @gitee-ai
    需要修改 release-v1.2 分支
    参会人员选择增加学生选项,注意回显处理。
    
  3. The plugin picks it up (usually within one poll interval), comments "已接单", runs the
    worker, and later posts the result with the PR link. With autoCloseIssue on, the issue
    is closed on success.

For GitHub repos the same flow applies — just configure githubToken and add the repo as
github:owner/repo in watchRepos (or set defaultPlatform to github). For one-off runs
you can also trigger directly:

http://<dsh-host>:<port>/gitee-ai/go?platform=github&owner=octo&repo=hello&number=5

The bot name match uses a lookahead ((?![A-Za-z0-9_])) so both ASCII and CJK bot names
trigger correctly.

Security notes

  • User configuration is persisted to the user's own profile patch layer; the shipped
    cordis.patch.yml contains only an empty default and never a token.
  • The token is marked secret in the schema and is never echoed by the status/config API
    (only a tokenConfigured boolean).
  • The plugin runs with the same privileges as your dsh process; its worker agent gets
    danger-full-access inside the cloned workspace only.

Development

  • dsh/index.js — host plugin (Cordis object plugin with dsh.bundle manifest).
  • dsh/client.js — web client half (settings card hover/status).
  • preset/gitee-worker/ — the bundled worker agent preset, auto-copied to
    $DSH_HOME/.agent-presets/gitee-worker on load if missing.

License

MIT

安装

🧩 让 Agent 自动装(推荐)

装一次目录插件,之后本站所有插件都能让 DeepSeek Harness 自动找、自动装:

dsh plugin add dshbase-catalog

然后对 agent 说「帮我装 gitee-ai-employee」,它会在目录里找到并自动安装。文档:dshbase-catalog · 已验证场景包

该插件是 GitHub 源码(未发 npm)——直接从仓库装:

Web profile:

dsh plugin --profile web add github:wangbobo-coder/gitee-ai-employee

Headless(CLI)profile:

dsh plugin --profile headless add github:wangbobo-coder/gitee-ai-employee

实测报告

尚未 L3 验证——若已跑过,见下方失败备注。

状态:pending · 最近测试 2026-08-26 · 标记 webonly
备注:验证: web-only;待 L4 web CDP;L4 web CDP runtime-fail on dsh 0.1.0-rc.8. 浏览全部待验证失败 →
安全:尚未扫描——我们的每日静态扫描将很快覆盖它。

分享徽章

Developer 里更多

浏览全部 7789 个插件 →