multica/apps/web/shared/api
Jiang Bohan 365b5b5f0e feat(agent): add task cancellation with stop button
Users can now interrupt running agents via a "Stop" button on the live
card. The daemon polls task status every 5 seconds and kills the agent
process when cancellation is detected.

Changes:
- New CancelAgentTask SQL query and CancelTask service method
- POST /api/issues/{id}/tasks/{taskId}/cancel endpoint
- Daemon polls GetTaskStatus during execution, cancels context on match
- Frontend: Stop button on AgentLiveCard, task:cancelled WS event
2026-03-31 18:43:37 +08:00
..
client.ts feat(agent): add task cancellation with stop button 2026-03-31 18:43:37 +08:00
index.ts fix: resolve merge conflicts with main, preserve PAT functionality 2026-03-26 17:19:24 +08:00
ws-client.ts feat(realtime): WS invalidation + refetch pattern, inbox bugfixes, UI polish 2026-03-29 13:49:40 +08:00