kelai141/dsh-github-watchdog ↗★ 0
@dsh-external/dsh-github-watchdog
一个 DeepSeek Harness 智能体预设插件:会话级、仅读/写评论的 GitHub 仓库监视器,用于观察拉取请求、CI、提交和问题,并生成去重的安全意识初步分析。
AI 分析
核心用途是作为 GitHub 仓库监视器,自动分析 PR、CI 及 Issue。适合需要 AI 辅助进行代码安全审查和项目动态监控的开发者。
安裝
此插件尚未提供可驗證的 bundle,或相容性檢查未通過。請先閱讀倉庫說明。 閱讀完整 README ↗
說明文件
閱讀完整 README ↗3. Create the configuration
mkdir -p ~/.dsh/github-watchdog
Create ~/.dsh/github-watchdog/config.json:
{
"repositories": [
{ "repository": "owner/repository", "workspace": "D:/path/to/local/checkout" }
],
"tokenEnv": "GH_TOKEN",
"intervalMs": 120000,
"comments": { "enabled": false, "maxPerHour": 4 }
}
repositories may be an empty array at first — the model will discover candidates from the
conversation workspace and ask you which to track.
Configuration reference
| Key | Type | Default | Meaning |
|---|---|---|---|
repositories | array | [] | Explicit { repository, workspace? } whitelist |
tokenEnv | string | DSH_GITHUB_WATCHDOG_TOKEN | Env var holding the GitHub token |
intervalMs | number | 120000 | Poll interval (60 000–3 600 000 ms) |
comments.enabled | boolean | false | Publish automated analysis comments to PRs |
comments.maxPerHour | number | 4 | Per-repository hourly comment budget (1–20) |
stateFile | string | ~/.dsh/github-watchdog/state.json | Deduplication/snapshot state |
diagnostics.enabled | boolean | true | Write the rotating diagnostic log |
diagnostics.logFile | string | next to config, watchdog.log | Diagnostic log path |
The configuration is read on every poll, so edits apply without restarting.