mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 11:37:38 +00:00
fix: apply oxfmt 0.32.0 formatting (match CI version)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
committed by
Peter Steinberger
parent
2977f7325d
commit
cc3c25e413
@@ -1,4 +1,5 @@
|
|||||||
import crypto from "node:crypto";
|
import crypto from "node:crypto";
|
||||||
|
import type { SandboxBrowserContext, SandboxConfig } from "./types.js";
|
||||||
import { startBrowserBridgeServer, stopBrowserBridgeServer } from "../../browser/bridge-server.js";
|
import { startBrowserBridgeServer, stopBrowserBridgeServer } from "../../browser/bridge-server.js";
|
||||||
import { type ResolvedBrowserConfig, resolveProfile } from "../../browser/config.js";
|
import { type ResolvedBrowserConfig, resolveProfile } from "../../browser/config.js";
|
||||||
import {
|
import {
|
||||||
@@ -21,7 +22,6 @@ import {
|
|||||||
import { readBrowserRegistry, updateBrowserRegistry } from "./registry.js";
|
import { readBrowserRegistry, updateBrowserRegistry } from "./registry.js";
|
||||||
import { resolveSandboxAgentId, slugifySessionKey } from "./shared.js";
|
import { resolveSandboxAgentId, slugifySessionKey } from "./shared.js";
|
||||||
import { isToolAllowed } from "./tool-policy.js";
|
import { isToolAllowed } from "./tool-policy.js";
|
||||||
import type { SandboxBrowserContext, SandboxConfig } from "./types.js";
|
|
||||||
|
|
||||||
const HOT_BROWSER_WINDOW_MS = 5 * 60 * 1000;
|
const HOT_BROWSER_WINDOW_MS = 5 * 60 * 1000;
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ import fs from "node:fs";
|
|||||||
import os from "node:os";
|
import os from "node:os";
|
||||||
import path from "node:path";
|
import path from "node:path";
|
||||||
import WebSocket from "ws";
|
import WebSocket from "ws";
|
||||||
|
import type { ResolvedBrowserConfig, ResolvedBrowserProfile } from "./config.js";
|
||||||
import { ensurePortAvailable } from "../infra/ports.js";
|
import { ensurePortAvailable } from "../infra/ports.js";
|
||||||
import { createSubsystemLogger } from "../logging/subsystem.js";
|
import { createSubsystemLogger } from "../logging/subsystem.js";
|
||||||
import { CONFIG_DIR } from "../utils.js";
|
import { CONFIG_DIR } from "../utils.js";
|
||||||
@@ -17,7 +18,6 @@ import {
|
|||||||
ensureProfileCleanExit,
|
ensureProfileCleanExit,
|
||||||
isProfileDecorated,
|
isProfileDecorated,
|
||||||
} from "./chrome.profile-decoration.js";
|
} from "./chrome.profile-decoration.js";
|
||||||
import type { ResolvedBrowserConfig, ResolvedBrowserProfile } from "./config.js";
|
|
||||||
import {
|
import {
|
||||||
DEFAULT_OPENCLAW_BROWSER_COLOR,
|
DEFAULT_OPENCLAW_BROWSER_COLOR,
|
||||||
DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME,
|
DEFAULT_OPENCLAW_BROWSER_PROFILE_NAME,
|
||||||
|
|||||||
Reference in New Issue
Block a user