fix(core): close imported-session stores before the temp dirs are removed
The session-import tests opened a SqliteSessionStore per case and never closed it, so afterEach's rmSync ran against a directory still holding an open SQLite file. POSIX allows that; Windows does not, and all seven persisting cases failed the sdk-publish Windows job with EPERM on the cline-db-* temp dir. Route every store through a sessionStore() helper that registers it for close, and close them before removing the dirs.
S
Saoud Rizwan committed
595f1dbf2ea819e987afeadb4ed4dd9a0ae9a55e
Parent: 3501d4b