feat(FN-4199): complete Step 5 — docs and changeset

Fusion-Task-Id: FN-4199
Fusion-Task-Lineage: fd530f3d-ef2e-4684-ab05-5aaab6856f15
This commit is contained in:
Fusion
2026-05-13 04:13:25 -07:00
committed by gsxdsm
parent 19c4573439
commit 7d12b9e406
3 changed files with 12 additions and 0 deletions

View File

@@ -927,6 +927,12 @@ The client treats mapping persistence as part of onboarding success. If mapping
| POST | `/api/update-check/refresh` | Clear cached update data and force a fresh npm update check. |
| GET | `/api/updates/check` | Perform an on-demand npm registry check for the latest `@runfusion/fusion` version (no cache). |
### Agent stats endpoint
| Method | Path | Description |
|---|---|---|
| GET | `/api/agents/stats` | Aggregate agent/task stats used by operator summaries and capacity-risk signaling. Returns `activeCount`, `assignedTaskCount`, `completedRuns`, `failedRuns`, `successRate`, plus `idleNonEphemeralCount` (idle agents excluding ephemeral/runtime workers via `isEphemeralAgent`) and `todoTaskCount` (tasks currently in Todo). |
### Docker provisioning endpoints
Initial container provisioning and lifecycle routes are registered by `register-docker-provisioning-routes.ts`.