UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

20 lines (19 loc) 799 B
import { p as logToolLoopAction } from "./diagnostic-TmaJRyPq.js"; import { n as getDiagnosticSessionState } from "./diagnostic-session-state-Gz0nXz2K.js"; import { n as recordToolCall, r as recordToolCallOutcome, t as detectToolCallLoop } from "./tool-loop-detection-B6iub_ig.js"; //#region src/agents/agent-tools.before-tool-call.runtime.ts /** * Lazy runtime dependencies for before_tool_call handling. * Keeps diagnostics and loop-detection imports behind a seam that tests can * replace without loading the full runtime graph. */ /** Runtime seam for before_tool_call diagnostics and loop detection. */ const beforeToolCallRuntime = { getDiagnosticSessionState, logToolLoopAction, detectToolCallLoop, recordToolCall, recordToolCallOutcome }; //#endregion export { beforeToolCallRuntime };