openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
3 lines • 496 B
JavaScript
import{n as normalizeAgentId}from"./agent-id-cOfqmfln.mjs";import"./session-key-BPgKfU2m.mjs";import{r as resolveAgentConfig}from"./agent-scope-config-CG9CFpGX.mjs";
//!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}export{resolveExecCommandHighlighting as t};