opencode icon indicating copy to clipboard operation
opencode copied to clipboard

fix: guard storage migration path checks

Open T1mn opened this issue 1 week ago • 1 comments

Summary

  • replace use of non-existent fs.promises.exists with an async pathExists helper
  • prevent storage migrations from throwing at startup when project/worktree paths are missing
  • keep migration flow intact for session/project data

Notes

  • This is a defensive guard; no current breakage observed, but it prevents runtime errors if the migration hits missing paths.

T1mn avatar Jan 06 '26 06:01 T1mn