Heartbeat — dead-man switch for cron jobs & AI agents

io.github.aniripsaretro-max由 GitHub 帳號 aniripsaretro-max 發布v0.4.0更新於 Oct 24, 2026

Dead-man switch monitors for cron & AI agents with dependency-cascade alerts. No account needed.

發布方自己的服務:Croncool Cron Jobs

已驗證Streamable HTTP可網頁執行效率與工作流安全與監控

概覽

AI 產生的概覽

遠端死人開關服務,讓助理為排程工作與 AI 代理建立、回報並檢視心跳監控。

可以做什麼
  • 建立並啟用新的心跳監控,取得金鑰與工作每次執行後必須呼叫的 ping 網址
  • 透過 ping 記錄一次成功執行,或明確標記某次執行失敗,使監控立即進入故障狀態並觸發告警
  • 列出執行個體上的所有監控及其目前狀態(新建、正常、延遲、故障)
  • 檢視單一監控的完整狀態:狀態、30 天可用率、排程、最近一次 ping、告警設定與近期事件紀錄
  • 為自檢類監控提交端點檢查結果,狀態變化時觸發告警
適用情境
適合需要讓助理為排程工作、cron 任務或代理執行建立並維護存活監控,或確認這些工作是否已停止回報的情境。
執行需求
透過 streamable HTTP 連線至 golemreach.com 的遠端端點;未宣告需要帳號、環境變數或標頭。每個監控的金鑰是存取私有 ping 與失敗網址的憑證。
安裝前請注意
金鑰是監控的唯一憑證,應妥善保管。監控名稱全域唯一,且每個監控都有公開狀態頁,名稱與狀態對所有人可見。回報 ping 與記錄失敗會改變監控狀態,並可能觸發告警。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Heartbeat — dead-man switch for cron jobs & AI agents,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.aniripsaretro-max%2Fgolemreach-heartbeat/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "heartbeat-dead-man-switch-for-cron-jobs": {
      "type": "http",
      "url": "https://golemreach.com/heartbeat/mcp"
    }
  }
}

README

該儲存庫沒有 README。

工具

5

create_heartbeat

Arm a new dead-man switch monitor. Returns the key plus a ping_url your job must hit after every run. No account needed. Names are globally unique on this instance and each name gets a PUBLIC status page; the secret key is the only credential — keep it.

輸入參數kindname必填grace_spass_keyperiod_sdepends_ontarget_urlwebhook_url

ping_heartbeat

Record one successful run for a monitor (same as GETting https://golemreach.com/heartbeat/ping/<key>). Call this every time your job runs. For kind=selfcheck monitors pass an 'endpoints' array of {"name","status_code","cf_mitigated","tls_ms"} objects instead — alerts fire on trusted->challenged / recovery transitions only.

輸入參數key必填endpoints

record_failure

Explicitly mark a run as FAILED for a monitor (same as GET https://golemreach.com/heartbeat/fail/<key>). The monitor goes DOWN immediately and alerts fire.

輸入參數key必填

list_heartbeats

List monitors on this Heartbeat instance with current status (new/up/late/down). Names and statuses are public by design — every monitor has a public status page. Pass your secret key to also include that monitor's private ping/fail URLs in the result.

輸入參數key

get_status

Full current state of one monitor: status, 30-day uptime %, schedule, last ping, alert config, recent event history and its public URLs. Look up by name OR by your secret key; key lookups additionally return the private ping/fail URLs.

輸入參數keyname

版本歷史

1
  1. v0.4.0最新Sep 16, 2026

評分

已滿足適用檢查項的 75%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。

其他 Cron 整合