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
@@ -15,7 +15,7 @@ export function createPrometheusMdOnlyHook(ctx: PluginInput) {
input: { tool: string; sessionID: string; callID: string },
output: { args: Record<string, unknown>; message?: string }
): Promise<void> => {
const agentName = getAgentFromSession(input.sessionID, ctx.directory)
const agentName = await getAgentFromSession(input.sessionID, ctx.directory, ctx.client)
if (!isPrometheusAgent(agentName)) {
return