From a2342012352fe534623f40107e889533a708a361 Mon Sep 17 00:00:00 2001 From: uncle6me-web Date: Sun, 28 Jun 2026 15:45:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E7=A4=BA=E4=BE=8B=20yaml?= =?UTF-8?q?=EF=BC=9Atelegram=20=E6=94=B9=E7=94=A8=20recipe=20canonical=5Fi?= =?UTF-8?q?d=EF=BC=9Bgmail=20=E8=AE=80=E5=8F=96=E7=95=99=20TODO=EF=BC=88is?= =?UTF-8?q?sue=20#13=20=E6=AD=A5=E9=A9=9F1=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.8 (1M context) --- registry/examples/daily-digest/workflow.yaml | 2 +- registry/examples/email-summary/workflow.yaml | 3 ++- registry/examples/error-retry/workflow.yaml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/registry/examples/daily-digest/workflow.yaml b/registry/examples/daily-digest/workflow.yaml index d0581fb..1a69f91 100644 --- a/registry/examples/daily-digest/workflow.yaml +++ b/registry/examples/daily-digest/workflow.yaml @@ -54,7 +54,7 @@ config: 格式:markdown bullets,每條 < 30 字,標明來源。 push_digest: - component: telegram + component: telegram_send chat_id: "{{secret.LEO_TELEGRAM_CHAT_ID}}" text: | ☀️ 早安 {{_today}} diff --git a/registry/examples/email-summary/workflow.yaml b/registry/examples/email-summary/workflow.yaml index c11394d..d14f543 100644 --- a/registry/examples/email-summary/workflow.yaml +++ b/registry/examples/email-summary/workflow.yaml @@ -12,6 +12,7 @@ config: cron_expr: "0 8 * * *" # 每天 08:00 UTC(依需求調時區) fetch_unread: + # TODO(#13): gmail 讀取尚無對應 recipe,待 seed 補 gmail_list 後再映射;gmail_send 是送信端點,不可用於 action:list component: gmail action: "list" query: "is:unread newer_than:1d" @@ -35,7 +36,7 @@ config: {{fetch_unread.messages}} push_to_telegram: - component: telegram + component: telegram_send chat_id: "{{secret.LEO_TELEGRAM_CHAT_ID}}" text: | 📬 今日 email 摘要 diff --git a/registry/examples/error-retry/workflow.yaml b/registry/examples/error-retry/workflow.yaml index 2913bbf..94caa25 100644 --- a/registry/examples/error-retry/workflow.yaml +++ b/registry/examples/error-retry/workflow.yaml @@ -35,7 +35,7 @@ config: # 純記錄成功,下游若需要可繼續鏈 final_fail_notify: - component: telegram + component: telegram_send chat_id: "{{secret.LEO_TELEGRAM_CHAT_ID}}" text: | ⚠️ workflow {{input.workflow_name}} 兩次重試都失敗