fixes to make the timer trigger properly

This commit is contained in:
bryan
2026-03-08 18:44:42 -07:00
parent f474d0bc8e
commit 4d9d0362a0
6 changed files with 492 additions and 49 deletions
+2
View File
@@ -145,6 +145,8 @@ class SessionState(BaseModel):
active_triggers: list[str] = Field(default_factory=list)
# Per-trigger task strings (user overrides, keyed by trigger ID)
trigger_tasks: dict[str, str] = Field(default_factory=dict)
# True after first successful worker execution (gates trigger delivery on restart)
worker_configured: bool = Field(default=False)
model_config = {"extra": "allow"}