fix: harden session transcript path resolution

This commit is contained in:
Peter Steinberger
2026-02-13 01:27:33 +01:00
parent 3eb6a31b6f
commit 4199f9889f
13 changed files with 322 additions and 66 deletions

View File

@@ -30,7 +30,7 @@ describe("gateway chat.inject transcript writes", () => {
return {
...original,
loadSessionEntry: () => ({
storePath: "/tmp/store.json",
storePath: path.join(dir, "sessions.json"),
entry: {
sessionId: "sess-1",
sessionFile: transcriptPath,