mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-09 16:21:15 +00:00
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:
committed by
Peter Steinberger
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;
|
||||
|
||||
Reference in New Issue
Block a user