feat: schedule cache, workflow-aligned prompts, dispatchInbound wakeup #5

Merged
hzhang merged 1 commits from zhi-2026-04-18 into main 2026-05-01 07:23:25 +00:00
Contributor
  1. ScheduleCache: local cache of today's schedule, synced every 5 min
    from HF backend via new getDaySchedule() API

  2. Wakeup prompts updated to reference daily-routine skill workflows
    (task-handson, plan-schedule, slot-complete)

  3. Agent wakeup via dispatchInboundMessageWithDispatcher (in-process)

    • Same mechanism as Discord plugin
    • Creates unique session per slot: agent:{agentId}:hf-calendar:slot-{slotId}
    • No WebSocket, CLI, or cron dependency
    • Verified working on test environment

Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

1. ScheduleCache: local cache of today's schedule, synced every 5 min from HF backend via new getDaySchedule() API 2. Wakeup prompts updated to reference daily-routine skill workflows (task-handson, plan-schedule, slot-complete) 3. Agent wakeup via dispatchInboundMessageWithDispatcher (in-process) - Same mechanism as Discord plugin - Creates unique session per slot: agent:{agentId}:hf-calendar:slot-{slotId} - No WebSocket, CLI, or cron dependency - Verified working on test environment Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
hzhang added 1 commit 2026-05-01 07:23:20 +00:00
1. ScheduleCache: local cache of today's schedule, synced every 5 min
   from HF backend via new getDaySchedule() API

2. Wakeup prompts updated to reference daily-routine skill workflows
   (task-handson, plan-schedule, slot-complete)

3. Agent wakeup via dispatchInboundMessageWithDispatcher (in-process)
   - Same mechanism as Discord plugin
   - Creates unique session per slot: agent:{agentId}:hf-calendar:slot-{slotId}
   - No WebSocket, CLI, or cron dependency
   - Verified working on test environment

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
hzhang merged commit 957bcbb4a8 into main 2026-05-01 07:23:25 +00:00
hzhang deleted branch zhi-2026-04-18 2026-05-01 07:23:25 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: zhi/HarborForge.OpenclawPlugin#5