{"version":3,"file":"session-identity.d.ts","sourceRoot":"","sources":["../../../src/shared/session-identity.ts"],"names":[],"mappings":"AAAA,UAAU,sBAAsB;IAC/B,cAAc,IAAI,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC5C,YAAY,IAAI,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;CAC1C;AAED,wBAAgB,uBAAuB,CAAC,cAAc,EAAE,sBAAsB,GAAG,MAAM,CAItF","sourcesContent":["interface SessionIdentityManager {\n\tgetSessionFile(): string | null | undefined;\n\tgetSessionId(): string | null | undefined;\n}\n\nexport function resolveCurrentSessionId(sessionManager: SessionIdentityManager): string {\n\tconst sessionId = sessionManager.getSessionFile() ?? sessionManager.getSessionId();\n\tif (!sessionId) throw new Error(\"Current session identity is unavailable.\");\n\treturn sessionId;\n}\n"]}