AI Newsletter Digest improvements: fixed QP soft line break decoding, URL extraction, and content cleaning

This commit is contained in:
Krilly
2026-03-04 13:29:22 +00:00
parent 29a98137a7
commit 57dd294675
13706 changed files with 2114953 additions and 237629 deletions

View File

@@ -0,0 +1,350 @@
{
"version": 1,
"jobs": [
{
"id": "fbe52aa7-b6d1-4038-8787-cedc0b7ff57a",
"agentId": "main",
"name": "Daily OpenClaw Backup",
"enabled": true,
"notify": false,
"createdAtMs": 1771343375836,
"updatedAtMs": 1771610497169,
"schedule": {
"kind": "cron",
"expr": "0 2 * * *",
"tz": "Australia/Perth"
},
"sessionTarget": "isolated",
"wakeMode": "now",
"payload": {
"kind": "agentTurn",
"message": "Run the OpenClaw backup script: /home/openclaw/.openclaw/workspace/scripts/backup-to-gitea.sh\n\nIf it succeeds, reply NO_REPLY. If it fails, send a Gotify alert using:\n- URL: http://runtipi.kangaroo-eel.ts.net:8129\n- Token: AGKnHafW3FGzBlt\n- Title: 🚨 Backup Failed\n- Message: The OpenClaw backup to Gitea failed. Check logs for details.\n- Priority: 8 (high)\n- Use curl to POST to /message?token=AGKnHafW3FGzBlt with JSON: {\"title\": \"...\", \"message\": \"...\", \"priority\": 8}",
"model": "opencode/kimi-k2.5-free"
},
"state": {
"nextRunAtMs": 1771696800000,
"lastRunAtMs": 1771610400006,
"lastStatus": "error",
"lastDurationMs": 97163,
"consecutiveErrors": 1,
"lastError": "cron announce delivery failed"
},
"delivery": {
"mode": "announce"
}
},
{
"id": "a2a136e5-75a7-4e62-bc9c-63af5e8a8188",
"agentId": "main",
"name": "Morning Briefing",
"enabled": true,
"createdAtMs": 1771343566895,
"updatedAtMs": 1771628927093,
"schedule": {
"expr": "5 7 * * *",
"kind": "cron",
"tz": "Australia/Perth"
},
"sessionTarget": "isolated",
"wakeMode": "now",
"payload": {
"kind": "agentTurn",
"message": "🌅 Good morning! Run the daily briefing for Anthony:\n\n1. Get Perth weather: curl -s \"wttr.in/Perth+Australia?format=%l:+%c+%t+%h+%w\"\n2. Run AI newsletter digest: /home/openclaw/.openclaw/workspace/automations/ai-newsletter-digest/daily-digest.sh\n3. Combine weather + newsletter digest into a morning briefing\n4. Send via Telegram to Anthony (channel: telegram, to: telegram:1793951355)\n\nSign off as Krilly the Crab 🦀",
"model": "opencode/kimi-k2.5-free"
},
"state": {
"nextRunAtMs": 1771715100000,
"lastRunAtMs": 1771628700009,
"lastStatus": "ok",
"lastDurationMs": 227084,
"consecutiveErrors": 0
},
"delivery": {
"mode": "none"
}
},
{
"id": "e9dbcf5b-5d1b-477e-a804-97b2f1b9855e",
"agentId": "main",
"name": "Weekend Briefing",
"enabled": true,
"createdAtMs": 1771343574470,
"updatedAtMs": 1771632229038,
"schedule": {
"expr": "0 8 * * 0,6",
"kind": "cron",
"tz": "Australia/Perth"
},
"sessionTarget": "isolated",
"wakeMode": "now",
"payload": {
"kind": "agentTurn",
"message": "Generate weekend briefing:\n\n1. Get Perth weekend weather: curl -s \"wttr.in/Perth+Australia?format=%l:+%c+%t+%h+%w\"\n2. Get weekend forecast: curl -s \"wttr.in/Perth+Australia?F\"\n3. Run AI newsletter digest: /home/openclaw/.openclaw/workspace/automations/ai-newsletter-digest/daily-digest.sh\n4. Create weekend digest with weather + top AI/Tech stories\n5. Send via Telegram to Anthony (channel: telegram, to: telegram:1793951355)\n\nSign off as Krilly the Crab 🦀",
"model": "opencode/kimi-k2.5-free"
},
"delivery": {
"mode": "announce"
},
"state": {
"nextRunAtMs": 1771718400000,
"lastRunAtMs": 1771632000007,
"lastStatus": "error",
"lastDurationMs": 229031,
"consecutiveErrors": 2,
"lastError": "cron announce delivery failed"
}
},
{
"id": "9225c88a-8616-4e02-8196-257a2eb9c8b1",
"agentId": "main",
"name": "OpenClaw Daily Digest",
"enabled": true,
"notify": true,
"createdAtMs": 1771392667779,
"updatedAtMs": 1771626807184,
"schedule": {
"expr": "30 6 * * *",
"kind": "cron",
"tz": "Australia/Perth"
},
"sessionTarget": "isolated",
"wakeMode": "now",
"payload": {
"kind": "agentTurn",
"message": "## OpenClaw Daily Intelligence Briefing\n\nRun a comprehensive OpenClaw news scan (web_search + web_fetch + any available RSS sources), curate the best items, and deliver:\n\n1) Telegram highlights to Anthony (channel: telegram, to: telegram:1793951355)\n- Header: 🦀 OpenClaw Daily Digest — [date]\n- Top 35 items with links\n- One-line summary\n\n2) Full HTML email via Anthony's AgentInbox account (NOT SendClaw)\n- From: Anthony's AgentInbox sender address\n- To: anthony@martinwa.org\n- Subject: 🦀 OpenClaw Daily Digest — [date]\n- Use whatever AgentInbox sending method is already configured on this machine/account.\n- If AgentInbox credentials/config are missing, include that failure clearly in the Telegram note.\n\n3) Gotify high-priority notification\n- URL: http://runtipi.kangaroo-eel.ts.net:8129\n- Token: AGKnHafW3FGzBlt\n- Title: 🦀 OpenClaw Daily Digest\n- Message: 12 sentence summary\n- Priority: 8\n\nNotes:\n- Be concise on Telegram, detailed in email.\n- Sign off as Krilly the Crab 🦀",
"model": "opencode/kimi-k2.5-free"
},
"delivery": {
"mode": "announce",
"channel": "telegram"
},
"state": {
"nextRunAtMs": 1771713000000,
"lastRunAtMs": 1771626600007,
"lastStatus": "error",
"lastDurationMs": 207177,
"consecutiveErrors": 1,
"lastError": "cron announce delivery failed"
}
},
{
"id": "10e22343-fbb4-4018-bb08-c5b249662411",
"agentId": "main",
"name": "Check Krilly Email",
"enabled": true,
"notify": false,
"createdAtMs": 1771410489851,
"updatedAtMs": 1771657262727,
"schedule": {
"kind": "cron",
"expr": "*/30 * * * *",
"tz": "Australia/Perth"
},
"sessionTarget": "isolated",
"wakeMode": "now",
"payload": {
"kind": "agentTurn",
"message": "Run this shell script silently: /home/openclaw/.openclaw/workspace/automations/check-krilly-email.sh\n\nThe script checks for new emails and sends its own Telegram notification if any are found. It produces no output when there's nothing new. Run it and reply with NO_REPLY unless there's an error.",
"model": "opencode/kimi-k2.5-free"
},
"state": {
"lastRunAtMs": 1771657200011,
"lastStatus": "ok",
"lastDurationMs": 62716,
"consecutiveErrors": 0,
"nextRunAtMs": 1771659000000
},
"delivery": {
"mode": "none"
}
},
{
"id": "5128ea89-27cc-4e44-94e9-ba01161bdb70",
"agentId": "main",
"sessionKey": "agent:main:main:thread:15152",
"name": "Weekend Planner 2.0 (OpenClaw Native)",
"enabled": true,
"createdAtMs": 1771550432144,
"updatedAtMs": 1771574430914,
"schedule": {
"kind": "cron",
"expr": "0 16 * * 5",
"tz": "Australia/Perth"
},
"sessionTarget": "isolated",
"wakeMode": "now",
"payload": {
"kind": "agentTurn",
"model": "openrouter/arcee-ai/trinity-large-preview:free",
"message": "It's Friday 4:00 PM Perth. Create a concise weekend plan DRAFT for Anthony.\n\nRequirements:\n- Use available context/tools to include weather and any upcoming calendar items.\n- Structure: Saturday, Sunday, Prep List, Optional Fun Idea.\n- Keep it practical, warm, and short.\n- End with: \"Reply APPROVE to lock this in, or REGEN for another version.\"\n- Send the draft as your final user-facing response."
},
"delivery": {
"mode": "announce"
},
"state": {
"nextRunAtMs": 1772179200000,
"lastRunAtMs": 1771574430912,
"lastStatus": "error",
"lastDurationMs": 2,
"lastError": "model not allowed: openrouter/arcee-ai/trinity-large-preview:free",
"consecutiveErrors": 1
}
},
{
"id": "90cba09e-f3c2-41d0-90c5-c5858bd163bc",
"name": "Birthday Tracker",
"enabled": true,
"createdAtMs": 1771638024893,
"updatedAtMs": 1771638024893,
"schedule": {
"kind": "cron",
"expr": "0 9 * * *",
"tz": "Australia/Perth"
},
"sessionTarget": "isolated",
"wakeMode": "now",
"payload": {
"kind": "agentTurn",
"message": "Run birthday tracker script: /home/openclaw/.openclaw/workspace/automations/birthday-tracker/birthday-tracker.sh check"
},
"delivery": {
"mode": "announce",
"channel": "last",
"to": "1793951355"
},
"state": {
"nextRunAtMs": 1771722000000
}
},
{
"id": "d84c4292-bb60-4aae-848a-a09313c4f6ce",
"name": "FreshRSS Morning Digest",
"enabled": false,
"createdAtMs": 1771638658580,
"updatedAtMs": 1771638658580,
"schedule": {
"kind": "cron",
"expr": "45 6 * * *",
"tz": "Australia/Perth"
},
"sessionTarget": "isolated",
"wakeMode": "now",
"payload": {
"kind": "agentTurn",
"message": "Run FreshRSS digest: /home/openclaw/.openclaw/workspace/automations/freshrss-digest/daily-digest.sh"
},
"delivery": {
"mode": "announce",
"channel": "last",
"to": "1793951355"
},
"state": {}
},
{
"id": "42026e97-31c9-4820-8c71-35a52cf01393",
"name": "FreshRSS Lunch Digest",
"enabled": false,
"createdAtMs": 1771638661469,
"updatedAtMs": 1771646458709,
"schedule": {
"kind": "cron",
"expr": "0 12 * * *",
"tz": "Australia/Perth"
},
"sessionTarget": "isolated",
"wakeMode": "now",
"payload": {
"kind": "agentTurn",
"message": "Run FreshRSS digest: /home/openclaw/.openclaw/workspace/automations/freshrss-digest/daily-digest.sh"
},
"delivery": {
"mode": "announce",
"channel": "last",
"to": "1793951355"
},
"state": {
"lastRunAtMs": 1771646439928,
"lastStatus": "error",
"lastDurationMs": 18781,
"lastError": "cron announce delivery failed",
"consecutiveErrors": 1
}
},
{
"id": "080c70a8-7305-4738-b4d1-993b2a72f6d4",
"name": "FreshRSS Evening Digest",
"enabled": false,
"createdAtMs": 1771638664007,
"updatedAtMs": 1771638664007,
"schedule": {
"kind": "cron",
"expr": "0 17 * * *",
"tz": "Australia/Perth"
},
"sessionTarget": "isolated",
"wakeMode": "now",
"payload": {
"kind": "agentTurn",
"message": "Run FreshRSS digest: /home/openclaw/.openclaw/workspace/automations/freshrss-digest/daily-digest.sh"
},
"delivery": {
"mode": "announce",
"channel": "last",
"to": "1793951355"
},
"state": {}
},
{
"id": "ddc03d83-3ec4-438a-aa4e-059c489e675a",
"name": "Google Calendar Birthday Sync",
"enabled": true,
"createdAtMs": 1771639696568,
"updatedAtMs": 1771639696568,
"schedule": {
"kind": "cron",
"expr": "0 10 * * 0",
"tz": "Australia/Perth"
},
"sessionTarget": "isolated",
"wakeMode": "now",
"payload": {
"kind": "agentTurn",
"message": "Sync Google Calendar birthdays: /home/openclaw/.openclaw/workspace/automations/birthday-tracker/sync-google-calendar.sh"
},
"delivery": {
"mode": "announce",
"channel": "last",
"to": "1793951355"
},
"state": {
"nextRunAtMs": 1771725600000
}
},
{
"id": "0eb758ad-2db3-4579-b622-c2de68d66640",
"name": "Smart Newsletter Digest",
"enabled": true,
"createdAtMs": 1771642787862,
"updatedAtMs": 1771642787862,
"schedule": {
"kind": "cron",
"expr": "0 20 * * *",
"tz": "Australia/Perth"
},
"sessionTarget": "isolated",
"wakeMode": "now",
"payload": {
"kind": "agentTurn",
"message": "Run smart newsletter digest: /home/openclaw/.openclaw/workspace/automations/newsletter-digest/smart-digest.sh"
},
"delivery": {
"mode": "announce",
"channel": "last",
"to": "1793951355"
},
"state": {
"nextRunAtMs": 1771675200000
}
}
]
}