Repair OpenClaw exec approvals symlink

This commit is contained in:
mmckeen-nv
2026-04-30 10:30:52 -07:00
parent df8e075730
commit 503229f914
4 changed files with 54 additions and 1 deletions
+3 -1
View File
@@ -5,7 +5,7 @@ import {
syncSandboxOpenClawMcpConfig,
revokeSandboxOpenClawMcpConfig,
} from "./sandboxOpenClawMcpConfig"
import { writeSandboxFilePrivileged } from "./sandboxPrivilegedFiles"
import { repairOpenClawExecApprovalsFile, writeSandboxFilePrivileged } from "./sandboxPrivilegedFiles"
export const SANDBOX_MCP_MANIFEST_PATH = "/sandbox/openshell_control_mcp.md"
@@ -88,6 +88,7 @@ export async function syncSandboxMcpManifest(
options.brokerBaseUrl,
handoff.token,
)
const execApprovals = await repairOpenClawExecApprovalsFile(sandboxName)
return {
path: uploaded.path,
@@ -101,6 +102,7 @@ export async function syncSandboxMcpManifest(
expiresAt: handoff.session.expiresAt,
},
openClaw,
execApprovals,
markdown: handoff.markdown,
}
}