mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-08 07:21:23 +00:00
fix (sandbox/prompts): align workspace guidance with container workdir
This commit is contained in:
@@ -13,6 +13,7 @@ export function buildEmbeddedSandboxInfo(
|
||||
return {
|
||||
enabled: true,
|
||||
workspaceDir: sandbox.workspaceDir,
|
||||
containerWorkspaceDir: sandbox.containerWorkdir,
|
||||
workspaceAccess: sandbox.workspaceAccess,
|
||||
agentWorkspaceMount: sandbox.workspaceAccess === "ro" ? "/agent" : undefined,
|
||||
browserBridgeUrl: sandbox.browser?.bridgeUrl,
|
||||
|
||||
@@ -83,6 +83,7 @@ export type EmbeddedPiCompactResult = {
|
||||
export type EmbeddedSandboxInfo = {
|
||||
enabled: boolean;
|
||||
workspaceDir?: string;
|
||||
containerWorkspaceDir?: string;
|
||||
workspaceAccess?: "none" | "ro" | "rw";
|
||||
agentWorkspaceMount?: string;
|
||||
browserBridgeUrl?: string;
|
||||
|
||||
Reference in New Issue
Block a user