feat: migrate hook callers to SDK message finders on SQLite backend

This commit is contained in:
YeonGyu-Kim
2026-02-15 14:56:58 +09:00
parent a18ec856c6
commit ca622cbfb9
6 changed files with 71 additions and 17 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ export function createAtlasEventHandler(input: {
return
}
const lastAgent = getLastAgentFromSession(sessionID)
const lastAgent = await getLastAgentFromSession(sessionID, ctx.client)
const requiredAgent = (boulderState.agent ?? "atlas").toLowerCase()
const lastAgentMatchesRequired = lastAgent === requiredAgent
const boulderAgentWasNotExplicitlySet = boulderState.agent === undefined