gsxdsm
863ebfaa96
FN-6464: add CLI session relaunch route
Enable exhausted CLI sessions to request a fresh task-backed relaunch from the dashboard.
- Add an authenticated project-scoped relaunch endpoint for task-bound CLI sessions.\n- Wire relaunch intent through the dashboard server to clear resume linkage and re-enqueue the owning task.\n- Enable the session banner Relaunch fresh action and cover API, UI, transport, and runtime wiring behavior.\n- Document the CLI session action contract and add a published package changeset.\n\nFiles changed:\n .changeset/fn-6464-cli-relaunch-route.md | 5 ++
docs/agents.md | 4 +
packages/cli/src/commands/dashboard.ts | 2 +
packages/dashboard/app/App.tsx | 20 +++--
.../app/__tests__/app-cli-action-wiring.test.tsx | 31 +++++++-
packages/dashboard/app/api/legacy.ts | 7 ++
.../__tests__/SessionNotificationBanner.test.tsx | 52 ++++++++++---
.../src/__tests__/cli-agent-runtime-wiring.test.ts | 49 +++++++++++-
.../src/__tests__/cli-session-transport.test.ts | 36 +++++++++
.../src/__tests__/cli-sessions-routes.test.ts | 50 +++++++++++-
packages/dashboard/src/cli-session-transport.ts | 38 +++++++++
packages/dashboard/src/index.ts | 3 +-
packages/dashboard/src/routes/cli-sessions.ts | 26 ++++++-
packages/dashboard/src/server.ts | 89 ++++++++++++++++++++++
14 files changed, 390 insertions(+), 22 deletions(-)
Fusion-Task-Id: FN-6464
Fusion-Task-Lineage: f1ce171b-84a7-4893-9288-e1c8f01c3305
2026-06-15 02:30:41 -07:00
..
2026-06-15 02:30:41 -07:00
2026-06-14 22:43:49 -07:00
2026-06-15 02:29:08 -07:00
2026-06-15 02:30:41 -07:00
2026-06-14 22:43:49 -07:00
2026-06-14 22:43:49 -07:00
2026-06-15 02:30:41 -07:00
2026-06-14 22:43:49 -07:00
2026-06-14 22:43:49 -07:00
2026-06-14 22:43:49 -07:00
2026-06-08 15:19:27 -07:00
2026-06-14 22:43:49 -07:00