summaryrefslogtreecommitdiffhomepage
path: root/packages/function
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2026-02-14 20:35:43 -0500
committerDax Raad <[email protected]>2026-02-14 20:37:17 -0500
commit2bab5e8c39f4ed70dbfe6d971728d8d899b88e4f (patch)
treeee11d5cd1a8c9144ffb97dee81046effe0ad654a /packages/function
parent85b5f5b705e8f7852184a4ef147bdc826639d224 (diff)
downloadopencode-2bab5e8c39f4ed70dbfe6d971728d8d899b88e4f.tar.gz
opencode-2bab5e8c39f4ed70dbfe6d971728d8d899b88e4f.zip
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.
Diffstat (limited to 'packages/function')
0 files changed, 0 insertions, 0 deletions