mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-07 14:30:44 +00:00
28 lines
762 B
TypeScript
28 lines
762 B
TypeScript
import type { ExecAsk, ExecSecurity } from "../infra/exec-approvals.js";
|
|
|
|
export type ExecuteNodeHostCommandParams = {
|
|
command: string;
|
|
workdir: string | undefined;
|
|
env: Record<string, string>;
|
|
requestedEnv?: Record<string, string>;
|
|
requestedNode?: string;
|
|
boundNode?: string;
|
|
sessionKey?: string;
|
|
turnSourceChannel?: string;
|
|
turnSourceTo?: string;
|
|
turnSourceAccountId?: string;
|
|
turnSourceThreadId?: string | number;
|
|
trigger?: string;
|
|
agentId?: string;
|
|
security: ExecSecurity;
|
|
ask: ExecAsk;
|
|
strictInlineEval?: boolean;
|
|
timeoutSec?: number;
|
|
defaultTimeoutSec: number;
|
|
approvalRunningNoticeMs: number;
|
|
warnings: string[];
|
|
notifySessionKey?: string;
|
|
notifyOnExit?: boolean;
|
|
trustedSafeBinDirs?: ReadonlySet<string>;
|
|
};
|