Merge fix/session-subject-required: require readSubject on the external session owner

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
donghyeon-ka
2026-09-27 13:32:40 +09:00
co-authored by Claude Opus 5.5
10 changed files with 250 additions and 50 deletions
+2
View File
@@ -134,6 +134,7 @@ function toReleaseInfo(manifest: Readonly<ReleaseManifest>): ReleaseInfo {
const EXTERNAL_OWNER_METHODS = Object.freeze([
"readState",
"readSubject",
"subscribe",
"beginSignIn",
"signOut",
@@ -403,6 +404,7 @@ export async function createRuntimeAdapters(
});
const serverStateScope = createServerStateScopeRuntime({
session: authSession,
diagnostics,
queryInvalidation: {
resetLocal: () => serverStateGeneration.resetCurrent(),
},