Mark Henderson
28b48b74af
fix: surface agent_sessions 500 and add db migration
- sessions/route.ts: replace inline CREATE TABLE DDL with a lightweight
existence check; add `details` to all 500 responses; fix type-unsafe
`p.id = $1::uuid` comparisons to `p.id::text = $1` to avoid the
Postgres `text = uuid` operator error
- app/api/admin/migrate: one-shot idempotent migration endpoint secured
with ADMIN_MIGRATE_SECRET, creates fs_* tables + agent_sessions
- scripts/migrate-fs-tables.sql: formal schema for all fs_* tables
Made-with: Cursor
2026-03-07 12:16:16 -08:00
..
2026-03-07 12:16:16 -08:00
2026-02-19 12:07:03 -08:00
2026-02-18 15:13:29 -08:00
2026-02-15 19:25:52 -08:00
2026-02-19 14:35:44 -08:00
2026-02-15 19:25:52 -08:00
2026-02-15 19:25:52 -08:00
2026-02-15 19:25:52 -08:00
2026-02-15 19:25:52 -08:00
2026-02-15 19:25:52 -08:00
2026-02-27 13:25:38 -08:00
2026-02-15 19:25:52 -08:00
2026-02-15 19:25:52 -08:00
2026-02-15 19:25:52 -08:00
2026-03-07 12:16:16 -08:00
2026-02-27 13:25:38 -08:00
2026-02-15 19:25:52 -08:00
2026-02-15 19:25:52 -08:00
2026-02-19 13:14:21 -08:00
2026-02-27 13:25:38 -08:00
2026-02-15 19:25:52 -08:00
2026-02-15 19:25:52 -08:00
2026-02-18 14:48:46 -08:00
2026-02-15 19:25:52 -08:00