multica/server/pkg/db/generated
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
..
activity.sql.go fix(activity): address code review feedback and improve timeline UX 2026-03-29 00:21:46 +08:00
agent.sql.go feat(agent): add per-task session persistence for Claude Code resumption 2026-03-29 16:53:28 +08:00
comment.sql.go feat(activity): unified activity timeline with comment reply support 2026-03-28 21:53:08 +08:00
db.go feat(server): implement full REST API with JWT auth and real-time WebSocket 2026-03-22 11:50:03 +08:00
inbox.sql.go feat(inbox): add priority/due_date notifications, structured details, and hover card 2026-03-29 00:22:17 +08:00
issue.sql.go refactor: remove acceptance_criteria and context_refs from issues 2026-03-26 19:24:34 +08:00
member.sql.go feat(server): implement full REST API with JWT auth and real-time WebSocket 2026-03-22 11:50:03 +08:00
models.go feat(agent): add per-task session persistence for Claude Code resumption 2026-03-29 16:53:28 +08:00
personal_access_token.sql.go feat(auth): email verification login and personal access tokens 2026-03-26 14:32:30 +08:00
runtime.sql.go fix(runtime): add server-side sweeper to detect stale runtimes 2026-03-29 14:22:12 +08:00
runtime_usage.sql.go feat(runtimes): add usage charts, activity heatmap, and hourly distribution 2026-03-29 15:44:10 +08:00
skill.sql.go feat: structured skills system with meta skill runtime injection 2026-03-25 15:17:59 +08:00
subscriber.sql.go feat(notifications): replace hardcoded inbox notifications with subscriber-driven model 2026-03-28 19:33:20 +08:00
user.sql.go feat(server): implement full REST API with JWT auth and real-time WebSocket 2026-03-22 11:50:03 +08:00
verification_code.sql.go feat(auth): email verification login and personal access tokens 2026-03-26 14:32:30 +08:00
workspace.sql.go feat(workspace): add repos JSONB field for GitHub repository URLs 2026-03-27 15:49:30 +08:00