FN-6018: allow stopping and deleting failed agents
Let failed agents be stopped and deleted consistently across the dashboard and agent lifecycle. - allow agents in the error state to transition to paused and cover the new lifecycle path in core tests - expose delete controls for failed agents in the agents list and mobile detail view with dashboard regression coverage - update CLI stop-tool guidance and add a patch changeset for the published package Files changed: .changeset/fn-6018-agent-error-stop-delete.md | 7 ++++ packages/cli/src/__tests__/extension.test.ts | 16 ++++++++ packages/cli/src/extension.ts | 4 +- packages/core/src/__tests__/agent-store.test.ts | 16 ++++++++ packages/core/src/types.ts | 2 +- .../dashboard/app/components/AgentDetailView.tsx | 4 ++ packages/dashboard/app/components/AgentsView.tsx | 2 +- .../__tests__/AgentDetailView.core.test.tsx | 24 +++++++++++- .../app/components/__tests__/AgentsView.test.tsx | 44 +++++++++++++++++++++- 9 files changed, 112 insertions(+), 7 deletions(-) Fusion-Task-Id: FN-6018 Fusion-Task-Lineage: 40159b9b-4d14-4f1e-9bd9-d018e54db7ee
This commit is contained in:
7
.changeset/fn-6018-agent-error-stop-delete.md
Normal file
7
.changeset/fn-6018-agent-error-stop-delete.md
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
"@runfusion/fusion": patch
|
||||
---
|
||||
|
||||
Allow failed agents to be stopped and deleted consistently across the dashboard and CLI guidance.
|
||||
|
||||
Agents in the error state can now transition to paused, the dashboard exposes delete actions for failed agents in list/detail views, and regression coverage protects the updated behavior.
|
||||
Reference in New Issue
Block a user