diff --git a/docs/4-implementation/web-ui/swarm-ui.md b/docs/4-implementation/web-ui/swarm-ui.md index f915d161a..503d75f69 100644 --- a/docs/4-implementation/web-ui/swarm-ui.md +++ b/docs/4-implementation/web-ui/swarm-ui.md @@ -491,7 +491,10 @@ title, with the **agents** it fires for, the message, how often it repeats and when it fires next. **edit** turns the card into its own form; **fire now** sends `PATCH /api/schedules/{id}` with the current second as `anchor_unix`, so a start that has passed fires its latest time right away and a repeating schedule goes on -from there at its interval (a paused schedule has no fire now); **pause** and +from there at its interval. On a paused schedule **fire now** sends the message +to its agents as a broadcast (`POST /api/agents/broadcast`) after a +confirmation and leaves the schedule paused with its start unchanged; a toast +says who got it, and the error banner names any agent that didn't. **pause** and **resume** stop and restart it; **remove** deletes it after a confirmation. **+ schedule** opens an empty form above the list, and the filters narrow the list by name, agent or state (`active`, `paused`, or `past` for a one-shot diff --git a/frontend/packages/swarm-ui/src/pages/schedules/ScheduleCard.tsx b/frontend/packages/swarm-ui/src/pages/schedules/ScheduleCard.tsx index 3c64527b2..2e03a6694 100644 --- a/frontend/packages/swarm-ui/src/pages/schedules/ScheduleCard.tsx +++ b/frontend/packages/swarm-ui/src/pages/schedules/ScheduleCard.tsx @@ -87,7 +87,7 @@ export function ScheduleCard({