Add agent_task_sessions table for per-task session state keyed by (agent, adapter, taskKey). Add AgentTaskSession type, resetAgentSessionSchema validator, and sessionDisplayId/sessionParamsJson to AgentRuntimeState. Rework migration hash-resolution fallback ordering to prefer hash-based matching over timestamp-based journal matching. Move backup-db.sh logic into packages/db/src/backup.ts for programmatic use and simplify the shell script to call the TypeScript implementation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
18 lines
932 B
TypeScript
18 lines
932 B
TypeScript
export { companies } from "./companies.js";
|
|
export { agents } from "./agents.js";
|
|
export { agentConfigRevisions } from "./agent_config_revisions.js";
|
|
export { agentApiKeys } from "./agent_api_keys.js";
|
|
export { agentRuntimeState } from "./agent_runtime_state.js";
|
|
export { agentTaskSessions } from "./agent_task_sessions.js";
|
|
export { agentWakeupRequests } from "./agent_wakeup_requests.js";
|
|
export { projects } from "./projects.js";
|
|
export { goals } from "./goals.js";
|
|
export { issues } from "./issues.js";
|
|
export { issueApprovals } from "./issue_approvals.js";
|
|
export { issueComments } from "./issue_comments.js";
|
|
export { heartbeatRuns } from "./heartbeat_runs.js";
|
|
export { heartbeatRunEvents } from "./heartbeat_run_events.js";
|
|
export { costEvents } from "./cost_events.js";
|
|
export { approvals } from "./approvals.js";
|
|
export { approvalComments } from "./approval_comments.js";
|
|
export { activityLog } from "./activity_log.js";
|