词元之母TOK.MOM - 平台充值汇率 1:1 即 1 人民币充值到账 1 美元,支持一个 Key 调用近 600+ 海内外模型,限时特价模型低至 1 折,欢迎上岸!
| 来源 | 内置(默认安装) |
| 路径 | skills/devops/webhook-subscriptions |
| 版本 | 1.1.0 |
| 平台 | linux, macos, windows |
| 标签 | webhook, events, automation, integrations, notifications, push |
~/.hermes/config.yaml 中添加:~/.hermes/.env 中添加:hermes webhook CLI 命令完成:{dot.notation} 访问嵌套的 payload 字段:{issue.title} — GitHub issue 标题{pull_request.user.login} — PR 作者{data.object.amount} — Stripe 支付金额{sensor.temperature} — IoT 传感器读数--deliver-only。渲染后的 --prompt 模板将作为字面消息体直接分发到目标适配器。200 OK,目标失败时返回 502——以便上游服务能够智能重试。HMAC 认证、速率限制和幂等性仍然适用。--deliver 为真实目标(telegram、discord、slack、github_comment 等)——--deliver log 会被拒绝,因为仅记录日志的直接投递毫无意义。--secret 自行提供)config.yaml 中的静态路由不会被动态订阅覆盖~/.hermes/webhook_subscriptions.jsonhermes webhook subscribe 写入 ~/.hermes/webhook_subscriptions.jsonsystemctl --user status hermes-gateway 或 ps aux | grep gateway 检查curl http://localhost:8644/health 应返回 {"status": "ok"}grep webhook ~/.hermes/logs/gateway.log | tail -20hermes webhook list 返回的一致。GitHub 发送 X-Hub-Signature-256,GitLab 发送 X-Gitlab-Token。--events 过滤器是否与服务发送的事件匹配。使用 hermes webhook test <name> 验证路由是否正常工作。