multica/server/internal
Jiayuan ffda18c809 feat(agent): add per-task session persistence for Claude Code resumption
Store the Claude Code session ID and working directory when a task
completes. On the next task for the same (agent, issue) pair, look up
the prior session and pass --resume <session_id> to Claude Code so
the agent retains conversation context across multiple tasks on the
same issue.

Changes:
- Migration 020: add session_id and work_dir columns to agent_task_queue
- CompleteAgentTask stores session_id and work_dir on completion
- GetLastTaskSession query retrieves prior session for (agent, issue)
- ClaimTaskByRuntime handler populates prior_session_id in response
- Daemon passes ResumeSessionID through to Claude backend Execute()
- Claude backend adds --resume flag when ResumeSessionID is set
2026-03-29 16:53:28 +08:00
..
auth feat(auth): email verification login and personal access tokens 2026-03-26 14:32:30 +08:00
cli fix: resolve merge conflict in login page, adopt main's CLI auth flow 2026-03-26 17:42:55 +08:00
daemon feat(agent): add per-task session persistence for Claude Code resumption 2026-03-29 16:53:28 +08:00
events feat(realtime): WS invalidation + refetch pattern, inbox bugfixes, UI polish 2026-03-29 13:49:40 +08:00
handler feat(agent): add per-task session persistence for Claude Code resumption 2026-03-29 16:53:28 +08:00
logger feat(logging): add structured logging across server and SDK 2026-03-26 10:57:11 +08:00
middleware feat(auth): email verification login and personal access tokens 2026-03-26 14:32:30 +08:00
realtime feat(logging): add structured logging across server and SDK 2026-03-26 10:57:11 +08:00
service feat(agent): add per-task session persistence for Claude Code resumption 2026-03-29 16:53:28 +08:00
util feat(server): add task service layer and daemon REST protocol 2026-03-23 18:34:51 +08:00