multica/server/pkg/protocol
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
..
events.go feat(agent): add task cancellation with stop button 2026-03-31 18:43:37 +08:00
messages.go feat(agent): stream live agent output to issue detail page 2026-03-30 22:53:28 +08:00