File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import fs from "node:fs" ;
22import path from "node:path" ;
3- import { CONFIG_PATH , type HookMappingConfig , type HooksConfig } from "../config/config.js" ;
3+ import { CONFIG_PATH } from "../config/paths.js" ;
4+ import type { HookMappingConfig , HooksConfig } from "../config/types.hooks.js" ;
45import { importFileModule , resolveFunctionModuleExport } from "../hooks/module-loader.js" ;
56import { normalizeOptionalString , readStringValue } from "../shared/string-coerce.js" ;
67import type { HookMessageChannel } from "./hooks.types.js" ;
Original file line number Diff line number Diff line change 11import { randomUUID } from "node:crypto" ;
22import type { IncomingMessage } from "node:http" ;
3- import { listAgentIds , resolveDefaultAgentId } from "../agents/agent-scope.js" ;
3+ import { listAgentIds , resolveDefaultAgentId } from "../agents/agent-scope-config .js" ;
44import { listChannelPlugins } from "../channels/plugins/index.js" ;
55import type { OpenClawConfig } from "../config/types.openclaw.js" ;
66import { readJsonBodyWithLimit , requestBodyErrorToText } from "../infra/http-body.js" ;
@@ -10,7 +10,7 @@ import {
1010 normalizeLowercaseStringOrEmpty ,
1111 normalizeOptionalString ,
1212} from "../shared/string-coerce.js" ;
13- import { normalizeMessageChannel } from "../utils/message-channel.js" ;
13+ import { normalizeMessageChannel } from "../utils/message-channel-core .js" ;
1414import { type HookMappingResolved , resolveHookMappings } from "./hooks-mapping.js" ;
1515import { resolveAllowedAgentIds } from "./hooks-policy.js" ;
1616import type { HookMessageChannel } from "./hooks.types.js" ;
You can’t perform that action at this time.
0 commit comments