mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 02:48:27 +00:00
refactor: rename to openclaw
This commit is contained in:
@@ -217,7 +217,7 @@ export function registerBrowserAgentActRoutes(
|
||||
403,
|
||||
[
|
||||
"wait --fn is disabled by config (browser.evaluateEnabled=false).",
|
||||
"Docs: /gateway/configuration#browser-clawd-managed-browser",
|
||||
"Docs: /gateway/configuration#browser-openclaw-managed-browser",
|
||||
].join("\n"),
|
||||
);
|
||||
}
|
||||
@@ -257,7 +257,7 @@ export function registerBrowserAgentActRoutes(
|
||||
403,
|
||||
[
|
||||
"act:evaluate is disabled by config (browser.evaluateEnabled=false).",
|
||||
"Docs: /gateway/configuration#browser-clawd-managed-browser",
|
||||
"Docs: /gateway/configuration#browser-openclaw-managed-browser",
|
||||
].join("\n"),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -112,7 +112,7 @@ export function registerBrowserAgentDebugRoutes(
|
||||
const pw = await requirePwAi(res, "trace stop");
|
||||
if (!pw) return;
|
||||
const id = crypto.randomUUID();
|
||||
const dir = "/tmp/moltbot";
|
||||
const dir = "/tmp/openclaw";
|
||||
await fs.mkdir(dir, { recursive: true });
|
||||
const tracePath = out.trim() || path.join(dir, `browser-trace-${id}.zip`);
|
||||
await pw.traceStopViaPlaywright({
|
||||
|
||||
@@ -127,7 +127,7 @@ export function registerBrowserBasicRoutes(app: BrowserRouteRegistrar, ctx: Brow
|
||||
const color = toStringOrEmpty((req.body as { color?: unknown })?.color);
|
||||
const cdpUrl = toStringOrEmpty((req.body as { cdpUrl?: unknown })?.cdpUrl);
|
||||
const driver = toStringOrEmpty((req.body as { driver?: unknown })?.driver) as
|
||||
| "clawd"
|
||||
| "openclaw"
|
||||
| "extension"
|
||||
| "";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user