fix(acp): preserve legacy replay state during doctor repair (#109685)

* fix(acp): move legacy replay migration to doctor

* refactor(acp): use Kysely for replay migration

* style(acp): remove redundant replay coercions

* style(acp): format replay migration
This commit is contained in:
Peter Steinberger
2026-07-16 23:29:29 -07:00
committed by GitHub
parent fb946267ae
commit 2030ac7438
11 changed files with 882 additions and 337 deletions

View File

@@ -122,6 +122,7 @@ const allowedRuntimeMigrationPaths = [
"src/commands/doctor-usage-cost-cache.ts",
"src/infra/session-state-migration.ts",
"src/infra/state-migrations.ts",
"src/infra/state-migrations.acp-replay.ts",
"src/infra/state-migrations.tui-last-session.ts",
"src/infra/state-migrations.commitments.ts",
"src/infra/state-migrations.managed-outgoing-images.ts",