nexus/packages/shared/src
Forgotten 4e3da49116 Add agent task sessions table, session types, and programmatic DB backup
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>
2026-02-19 14:01:40 -06:00
..
types Add agent task sessions table, session types, and programmatic DB backup 2026-02-19 14:01:40 -06:00
validators Add agent task sessions table, session types, and programmatic DB backup 2026-02-19 14:01:40 -06:00
api.ts Add shared types for agent hiring, config revisions, costs breakdown, and sidebar badges 2026-02-19 13:02:25 -06:00
config-schema.ts Remove contextMode, consolidate wake policies, and default serveUi to true 2026-02-18 16:46:29 -06:00
constants.ts Scaffold agent permissions, approval comments, and hiring governance types 2026-02-19 09:10:48 -06:00
index.ts Add agent task sessions table, session types, and programmatic DB backup 2026-02-19 14:01:40 -06:00