storkit: merge 421_story_timer_command_for_deferred_agent_start

This commit is contained in:
dave
2026-03-28 08:59:36 +00:00
parent 1ec9aaab8a
commit cf5424f9a6
7 changed files with 836 additions and 0 deletions
@@ -215,6 +215,15 @@ pub async fn run_bot(
.unwrap_or_else(|| "Assistant".to_string());
let announce_bot_name = bot_name.clone();
let timer_store = Arc::new(crate::chat::timer::TimerStore::load(
project_root.join(".storkit").join("timers.json"),
));
crate::chat::timer::spawn_timer_tick_loop(
Arc::clone(&timer_store),
Arc::clone(&agents),
project_root.clone(),
);
let ctx = BotContext {
bot_user_id,
target_room_ids,
@@ -231,6 +240,7 @@ pub async fn run_bot(
agents,
htop_sessions: Arc::new(TokioMutex::new(HashMap::new())),
transport: Arc::clone(&transport),
timer_store,
};
slog!("[matrix-bot] Cryptographic identity verification is always ON — commands from unencrypted rooms or unverified devices are rejected");