← 返回
未分类 中文

Changelog Watcher

Monitor GitHub repos and npm packages for new releases and version updates. Summarizes changelogs and highlights breaking changes. Use when the user asks to...
监控 GitHub 仓库和 npm 包的新版本和更新,摘要更新日志并标注破坏性变更。在用户需要时使用。
newageinvestments25-byte newageinvestments25-byte 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 341
下载
💾 0
安装
1
版本
#latest

概述

Changelog Watcher

Maintains a watchlist of GitHub repos and npm packages, detects new releases, and produces markdown reports with breaking changes highlighted.

Files

  • watchlist.json — user config (create from assets/watchlist.example.json)
  • state.json — auto-managed last-seen versions (do not edit)
  • scripts/compare_versions.py — main entry point; calls the others
  • scripts/check_github.py — GitHub releases API
  • scripts/check_npm.py — npm registry
  • scripts/format_report.py — markdown report generator

For setup, watchlist format, cron scheduling, and rate limit guidance → read references/setup-guide.md.

Skill Directory

~/.openclaw/workspace/skills/changelog-watcher/

All script paths below are relative to this directory.

Usage

Check for new releases and print report

python3 scripts/compare_versions.py --update-state | python3 scripts/format_report.py

Dry-run (check without advancing state)

python3 scripts/compare_versions.py | python3 scripts/format_report.py

First-time setup (set baseline, no output)

cp assets/watchlist.example.json watchlist.json
# edit watchlist.json to your packages
python3 scripts/compare_versions.py --update-state

Workflow

  1. Confirm watchlist.json exists. If not, guide user to copy from assets/watchlist.example.json and fill it in.
  2. Run compare_versions.py (with --update-state unless doing a dry-run).
  3. Pipe output to format_report.py.
  4. Present the markdown report to the user.
  5. If the user wants to schedule this: provide the cron line from references/setup-guide.md.

Adding Entries

To add a GitHub repo:

{"source": "github", "owner": "OWNER", "repo": "REPO", "name": "Display Name"}

To add an npm package:

{"source": "npm", "package": "package-name", "name": "Display Name"}

Append to the watch array in watchlist.json, then run the full pipeline.

Error Handling

  • Rate limited (exit 2): Wait for the retry window; check how many GitHub entries are in the watchlist vs the 60/hr limit.
  • Not found (exit 3): Verify the owner/repo or package name in the watchlist.
  • Network error: Check connectivity; retry.
  • First-run shows zero releases: Expected — first run sets the baseline only.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-31 19:09 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 72 📥 182,076
it-ops-security

Homelab Runbook

newageinvestments25-byte
扫描并记录本机所有运行中的服务 — Docker 容器、系统服务(launchd/systemd)以及开放的监听端口,生成可读的文档。
★ 0 📥 488
dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 679 📥 328,157