feat: add heartbeat service for periodic task checking
Adds a heartbeat timer that reads /spiffs/config/HEARTBEAT.md every 30 minutes and sends a prompt to the agent if actionable tasks are found. Skips empty lines, headers, and completed checkboxes. Includes a heartbeat_trigger CLI command for manual testing. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -89,6 +89,10 @@
|
||||
#define MIMI_CRON_CHECK_INTERVAL_MS (30 * 1000)
|
||||
#define MIMI_CRON_MAX_JOBS 8
|
||||
|
||||
/* Heartbeat */
|
||||
#define MIMI_HEARTBEAT_FILE "/spiffs/config/HEARTBEAT.md"
|
||||
#define MIMI_HEARTBEAT_INTERVAL_MS (30 * 60 * 1000)
|
||||
|
||||
/* WebSocket Gateway */
|
||||
#define MIMI_WS_PORT 18789
|
||||
#define MIMI_WS_MAX_CLIENTS 4
|
||||
|
||||
Reference in New Issue
Block a user