Files
multica/packages/core
Jiayuan Zhang 5ed2d0e067 feat(sessions): add rich metadata to session cards
Backend:
- Enhance ListWorkspaceTasks SQL to JOIN with issue (title, number),
  task_usage (input/output tokens), and task_message (tool count, events)
- New WorkspaceTaskResponse type with issue_title, issue_number,
  total_input_tokens, total_output_tokens, tool_use_count, total_events
- Compute issue identifier (prefix-number) in handler

Frontend:
- New WorkspaceTask type extending AgentTask with metadata fields
- Redesign session rows as cards showing:
  - Agent avatar + name + status dot
  - Issue number + title (from backend join, no more client-side lookup)
  - Metadata chips: duration, tool calls, event count, token usage, timestamp
  - Active tasks highlighted with accent border + background
- Remove dependency on issue list query (data comes from backend now)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-10 13:13:31 +08:00
..