openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
11 lines • 583 B
TypeScript
import { gt as ExecApprovalRequestPayload } from "./approval-types-ClyNB7BE.js";
//#region src/infra/exec-approval-command-display.d.ts
/** Resolves sanitized command and preview text for exec approval prompts. */
declare function resolveExecApprovalCommandDisplay(request: ExecApprovalRequestPayload): {
/** Primary command text rendered in the approval prompt. */
commandText: string;
/** Optional shorter preview, omitted when it would duplicate the primary command text. */
commandPreview: string | null;
};
//#endregion
export { resolveExecApprovalCommandDisplay as t };