fix: add missing normalizeAgentId import in hooks

This commit is contained in:
Xiaofan Wu 2026-03-16 14:23:08 +08:00
parent 2380409732
commit 17925251e2

View File

@ -5,7 +5,7 @@ import { listChannelPlugins } from "../channels/plugins/index.js";
import type { ChannelId } from "../channels/plugins/types.js";
import type { OpenClawConfig } from "../config/config.js";
import { readJsonBodyWithLimit, requestBodyErrorToText } from "../infra/http-body.js";
import { parseAgentSessionKey } from "../routing/session-key.js";
import { normalizeAgentId, parseAgentSessionKey } from "../routing/session-key.js";
import { normalizeMessageChannel } from "../utils/message-channel.js";
import { type HookMappingResolved, resolveHookMappings } from "./hooks-mapping.js";
import { resolveAllowedAgentIds } from "./hooks-policy.js";