mirror of https://github.com/openclaw/openclaw.git
fix: widen HostExecApprovalParams.cwd to string | undefined
Remote node exec may have no explicit cwd when the gateway's own process.cwd() is omitted. Allow undefined to flow through the approval request type.
This commit is contained in:
parent
302c6e30bb
commit
50b270a86b
|
|
@ -11,7 +11,7 @@ export type RequestExecApprovalDecisionParams = {
|
|||
commandArgv?: string[];
|
||||
systemRunPlan?: SystemRunApprovalPlan;
|
||||
env?: Record<string, string>;
|
||||
cwd: string;
|
||||
cwd: string | undefined;
|
||||
nodeId?: string;
|
||||
host: "gateway" | "node";
|
||||
security: ExecSecurity;
|
||||
|
|
|
|||
Loading…
Reference in New Issue