Repair OpenClaw exec approvals symlink
This commit is contained in:
@@ -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,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user