feat(FN-3773): default non-ephemeral agents to active and add polling task
Non-ephemeral agents now default to `active` state on creation (FN-3773), with aligned test coverage across the agent store and dashboard routes. The even-realities plugin gains a polling notification system including a notification store, card rendering, diff logic, and API routes. Review state per Fusion-Task-Id: FN-3773
This commit is contained in:
7
.changeset/FN-3773-agents-default-active.md
Normal file
7
.changeset/FN-3773-agents-default-active.md
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
"@runfusion/fusion": minor
|
||||
---
|
||||
|
||||
Newly created non-ephemeral agents now start in `state: "active"` so they immediately participate in heartbeat scheduling without requiring a manual Start action. Ephemeral/task-worker agents still start in `state: "idle"` and are activated by the engine when work is assigned. Existing agents are unaffected; operators who want a paused-from-birth durable agent can call `fn_agent_stop` (or click Stop in the dashboard) right after creation.
|
||||
|
||||
Audit note: heartbeat scheduler state handling and dashboard create-response consumption were reviewed and required no downstream code changes.
|
||||
Reference in New Issue
Block a user