UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

13 lines (12 loc) • 567 B
import { n as normalizeAgentId } from "./agent-id-CQjtp2ft.mjs"; import "./session-key-CqAyZeVk.mjs"; import { r as resolveAgentConfig } from "./agent-scope-config-DmXgFGKP.mjs"; //#region src/config/exec-command-highlighting.ts function resolveExecCommandHighlighting(e) { const t = e.config ?? {}; const n = t.tools?.exec?.commandHighlighting; const r = e.agentId ? normalizeAgentId(e.agentId) : null; return (r ? resolveAgentConfig(t, r)?.tools?.exec?.commandHighlighting : void 0) ?? n ?? false; } //#endregion export { resolveExecCommandHighlighting as t };