The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
chore(webhook): drop external-product attribution from code, tests and docs
teknium1ee51e8bf8b4c
diff --git a/tests/gateway/test_webhook_cron_trigger.py b/tests/gateway/test_webhook_cron_trigger.pyindex dc9966d0407..0a7114dfcdf 100644--- a/tests/gateway/test_webhook_cron_trigger.py+++ b/tests/gateway/test_webhook_cron_trigger.py@@ -1,7 +1,6 @@"""Tests for the webhook adapter's ``cron_job`` route mode.-``cron_job`` routes turn an existing cron job into an event-triggered task-(inspired by ChatGPT Work's webhook-triggered scheduled tasks, Aug 2026):+``cron_job`` routes turn an existing cron job into an event-triggered task:an inbound webhook event fires the referenced job through the sameclaimed-run body a manual ``cronjob(action='run')`` uses, instead ofstarting a fresh webhook agent session.diff --git a/tests/hermes_cli/test_webhook_cli.py b/tests/hermes_cli/test_webhook_cli.pyindex 0b5ad883fe3..314e0dcaf62 100644--- a/tests/hermes_cli/test_webhook_cli.py+++ b/tests/hermes_cli/test_webhook_cli.py@@ -99,7 +99,7 @@ class TestSubscribe:class TestCronJobSubscribe:- """--cron-job: event-triggered cron jobs (ChatGPT Work-inspired)."""+ """--cron-job: event-triggered cron jobs."""def test_valid_job_ref_stored_as_id(self, monkeypatch):# resolve_job_ref is imported inside _cmd_subscribe from cron.jobsdiff --git a/tools/cronjob_tools.py b/tools/cronjob_tools.pyindex 9281b7b5149..79048541b86 100644--- a/tools/cronjob_tools.py+++ b/tools/cronjob_tools.py@@ -347,8 +347,7 @@ def execute_job_for_event("""Fire an existing cron job in response to an external event.Public entry point for event-driven triggers (the webhook adapter's- ``cron_job`` routes — inspired by ChatGPT Work's webhook-triggered- scheduled tasks, Aug 25 2026). Resolves ``job_ref`` (ID or name) and+ ``cron_job`` routes). Resolves ``job_ref`` (ID or name) andfires it through the exact same claimed-run body a manual``cronjob(action='run')`` uses, so at-most-once claiming, in-flightdedupe, delivery, and ``[SILENT]`` handling stay identical across thediff --git a/website/docs/user-guide/messaging/webhooks.md b/website/docs/user-guide/messaging/webhooks.mdindex b4302023c70..ca258573edb 100644--- a/website/docs/user-guide/messaging/webhooks.md+++ b/website/docs/user-guide/messaging/webhooks.md@@ -402,8 +402,6 @@ hermes webhook subscribe antenna-matches \Set `cron_job` on a route to fire an **existing cron job** whenever an event arrives — instead of polling on a fixed cadence or starting a fresh webhook agent session. This turns any scheduled job into an event-driven task: keep the schedule as a fallback sweep (or make it a rarely-firing one) and let the webhook fire it the moment something actually changes.-Inspired by ChatGPT Work's webhook-triggered scheduled tasks (August 2026), which let a scheduled task respond to new Gmail messages, Slack channel activity, or GitHub pull request changes instead of checking on a timer.-How it works:1. The event passes the same HMAC auth, rate limiting, `events`/`filters`/`script` filtering, and idempotency as any other route.diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/messaging/webhooks.md b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/messaging/webhooks.mdindex 9139ed4cd33..8034e5f3611 100644--- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/messaging/webhooks.md+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/messaging/webhooks.md@@ -400,7 +400,6 @@ hermes webhook subscribe antenna-matches \在路由上设置 `cron_job`,即可在事件到达时触发一个**已有的 cron 任务**——无需按固定周期轮询,也不会启动新的 webhook agent 会话。这让任何定时任务都能变成事件驱动的任务:把原有的定时计划保留为兜底扫描(或设为低频),让 webhook 在事情真正发生的那一刻立即触发它。-灵感来自 ChatGPT Work 的 webhook 触发定时任务(2026 年 8 月):定时任务可以响应新的 Gmail 邮件、Slack 频道消息或 GitHub PR 变化,而不是靠定时检查。工作原理: