multica/server/internal/daemon
Jiayuan 3c93ebaf1c feat(agent): stream live agent output to issue detail page
When an agent is working on an issue, users can now see real-time output
in the issue detail page instead of waiting for completion.

Backend:
- Add task_message table and migration for persisting agent messages
- Add POST /api/daemon/tasks/{id}/messages endpoint for daemon to report
  structured messages (tool_use, tool_result, text, error) in batches
- Add GET /api/daemon/tasks/{id}/messages for catch-up after reconnect
- Add GET /api/issues/{id}/active-task to check for running tasks
- Broadcast task:message events via WebSocket
- Daemon forwards agent session messages with 500ms text throttling

Frontend:
- Add AgentLiveCard component showing live tool calls, text output,
  and progress indicators with auto-scroll
- Wire into issue detail timeline with WS subscription and HTTP catch-up
- Card appears when agent is working, disappears on completion/failure
2026-03-30 22:53:28 +08:00
..
execenv feat(daemon): group task directories by workspace ID 2026-03-30 20:13:30 +08:00
repocache feat(daemon): agent-driven repo checkout with bare clone cache 2026-03-29 19:37:48 +08:00
usage fix(daemon): fix Codex token usage parsing from session logs 2026-03-28 00:03:47 +08:00
client.go feat(agent): stream live agent output to issue detail page 2026-03-30 22:53:28 +08:00
config.go feat(daemon): add --profile flag for multi-environment isolation 2026-03-30 20:21:23 +08:00
daemon.go feat(agent): stream live agent output to issue detail page 2026-03-30 22:53:28 +08:00
daemon_test.go refactor: decouple task lifecycle from issue status (#151) 2026-03-27 18:30:21 +08:00
health.go feat(daemon): agent-driven repo checkout with bare clone cache 2026-03-29 19:37:48 +08:00
helpers.go fix(daemon): prevent stuck tasks from blocking queue and add concurrent execution 2026-03-30 03:08:52 +08:00
prompt.go refactor: decouple task lifecycle from issue status (#151) 2026-03-27 18:30:21 +08:00
types.go feat(api): strict workspace isolation + agent parity fixes 2026-03-30 16:49:13 +08:00