You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add task scheduler and heartbeat for autonomous operation #1
The MCP schedule_task tool writes task IPC files, but nothing on the host executes scheduled tasks — the loop is incomplete. jsclaw also has no equivalent of openclaw's heartbeat, the periodic wake-up that makes an agent autonomous rather than purely reactive.
src/task-store.js — JSON file-backed task persistence with atomic writes; writes current_tasks.json snapshots into group folders so the list_tasks MCP tool works
src/task-scheduler.js — polls for due tasks, executes them via a consumer-provided runner, computes next run (cron/interval/once), logs runs
src/heartbeat.js — periodic agent wake reading HEARTBEAT.md from the group folder, HEARTBEAT_OK suppression, quiet hours, manual trigger
Default IPC task handler wiring schedule_task / pause_task / resume_task / cancel_task into the task store
Config additions: schedulerPollInterval, heartbeatInterval, plus JSCLAW_* env vars.
Activity