kelai141/dsh-github-watchdog0

@dsh-external/dsh-github-watchdog

A DeepSeek Harness Agent Preset plugin: session-scoped, read/comment-only GitHub repository watchdog that observes pull requests, CI, commits, and issues, then produces deduplicated security-aware preliminary analysis.

包名
@dsh-external/dsh-github-watchdog
版本
0.0.1
许可证
MIT
最近更新
2026年8月18日

安装

此插件尚未提供可验证的 bundle,或兼容性检查未通过。请先阅读仓库说明。 阅读完整 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

KeyTypeDefaultMeaning
repositoriesarray[]Explicit { repository, workspace? } whitelist
tokenEnvstringDSH_GITHUB_WATCHDOG_TOKENEnv var holding the GitHub token
intervalMsnumber120000Poll interval (60 000–3 600 000 ms)
comments.enabledbooleanfalsePublish automated analysis comments to PRs
comments.maxPerHournumber4Per-repository hourly comment budget (1–20)
stateFilestring~/.dsh/github-watchdog/state.jsonDeduplication/snapshot state
diagnostics.enabledbooleantrueWrite the rotating diagnostic log
diagnostics.logFilestringnext to config, watchdog.logDiagnostic log path

The configuration is read on every poll, so edits apply without restarting.