Dax Raad 2bab5e8c39 fix: derive all IDs from file paths during json migration
Earlier migrations moved data to new directories without updating JSON
fields. Now consistently derives all IDs from file paths:

- Projects: id from filename
- Sessions: id from filename, projectID from parent directory
- Messages: id from filename, sessionID from parent directory
- Parts: id from filename, messageID from parent directory

This ensures migrated data matches the actual file layout regardless of
stale values in JSON content.
2026-02-14 20:37:17 -05:00
..
2026-02-13 07:50:43 +10:00
2026-02-14 04:19:48 +00:00
2026-02-14 04:19:02 +00:00
2026-02-14 04:19:02 +00:00
2026-02-14 04:19:02 +00:00
2026-02-15 00:34:56 +00:00

js

To install dependencies:

bun install

To run:

bun run index.ts

This project was created using bun init in bun v1.2.12. Bun is a fast all-in-one JavaScript runtime.