fix(browser): narrow browser support facades

This commit is contained in:
Peter Steinberger
2026-03-27 23:20:24 +00:00
parent a27624437e
commit c720fa83bb
26 changed files with 58 additions and 26 deletions

View File

@@ -1 +1 @@
export * from "openclaw/plugin-sdk/browser-support";
export { formatCliCommand } from "openclaw/plugin-sdk/browser-support";

View File

@@ -1 +1,9 @@
export * from "openclaw/plugin-sdk/browser-support";
export {
createConfigIO,
getRuntimeConfigSnapshot,
loadConfig,
writeConfigFile,
type BrowserConfig,
type BrowserProfileConfig,
type OpenClawConfig,
} from "openclaw/plugin-sdk/browser-support";

View File

@@ -1 +1 @@
export * from "openclaw/plugin-sdk/browser-support";
export { resolveGatewayPort } from "openclaw/plugin-sdk/browser-support";

View File

@@ -1 +1,5 @@
export * from "openclaw/plugin-sdk/browser-support";
export {
DEFAULT_BROWSER_CONTROL_PORT,
deriveDefaultBrowserCdpPortRange,
deriveDefaultBrowserControlPort,
} from "openclaw/plugin-sdk/browser-support";

View File

@@ -1 +1 @@
export * from "openclaw/plugin-sdk/browser-support";
export { resolveGatewayAuth } from "openclaw/plugin-sdk/browser-support";

View File

@@ -1 +1 @@
export * from "openclaw/plugin-sdk/browser-support";
export { isLoopbackHost } from "openclaw/plugin-sdk/browser-support";

View File

@@ -1 +1 @@
export * from "openclaw/plugin-sdk/browser-support";
export { ensureGatewayStartupAuth } from "openclaw/plugin-sdk/browser-support";

View File

@@ -1 +1 @@
export * from "openclaw/plugin-sdk/browser-support";
export { extractErrorCode, formatErrorMessage } from "openclaw/plugin-sdk/browser-support";

View File

@@ -1 +1,5 @@
export * from "openclaw/plugin-sdk/browser-support";
export {
SafeOpenError,
openFileWithinRoot,
writeFileFromPathWithinRoot,
} from "openclaw/plugin-sdk/browser-support";

View File

@@ -1 +1 @@
export * from "openclaw/plugin-sdk/browser-support";
export { hasProxyEnvConfigured } from "openclaw/plugin-sdk/browser-support";

View File

@@ -1 +1,7 @@
export * from "openclaw/plugin-sdk/browser-support";
export {
SsrFBlockedError,
isPrivateNetworkAllowedByPolicy,
resolvePinnedHostnameWithPolicy,
type LookupFn,
type SsrFPolicy,
} from "openclaw/plugin-sdk/browser-support";

View File

@@ -1 +1 @@
export * from "openclaw/plugin-sdk/browser-support";
export { isNotFoundPathError, isPathInside } from "openclaw/plugin-sdk/browser-support";

View File

@@ -1 +1 @@
export * from "openclaw/plugin-sdk/browser-support";
export { ensurePortAvailable } from "openclaw/plugin-sdk/browser-support";

View File

@@ -1 +1 @@
export * from "openclaw/plugin-sdk/browser-support";
export { generateSecureToken } from "openclaw/plugin-sdk/browser-support";

View File

@@ -1 +1 @@
export * from "openclaw/plugin-sdk/browser-support";
export { resolvePreferredOpenClawTmpDir } from "openclaw/plugin-sdk/browser-support";

View File

@@ -1 +1 @@
export * from "openclaw/plugin-sdk/browser-support";
export { rawDataToString } from "openclaw/plugin-sdk/browser-support";

View File

@@ -1 +1 @@
export * from "openclaw/plugin-sdk/browser-support";
export { redactSensitiveText } from "openclaw/plugin-sdk/browser-support";

View File

@@ -1 +1 @@
export * from "openclaw/plugin-sdk/browser-support";
export { createSubsystemLogger } from "openclaw/plugin-sdk/browser-support";

View File

@@ -1 +1,6 @@
export * from "openclaw/plugin-sdk/browser-support";
export {
IMAGE_REDUCE_QUALITY_STEPS,
buildImageResizeSideGrid,
getImageMetadata,
resizeToJpeg,
} from "openclaw/plugin-sdk/browser-support";

View File

@@ -1 +1 @@
export * from "openclaw/plugin-sdk/browser-support";
export { ensureMediaDir, saveMediaBuffer } from "openclaw/plugin-sdk/browser-support";

View File

@@ -1 +1 @@
export * from "openclaw/plugin-sdk/browser-support";
export { runExec } from "openclaw/plugin-sdk/browser-support";

View File

@@ -1 +1 @@
export * from "openclaw/plugin-sdk/browser-support";
export { safeEqualSecret } from "openclaw/plugin-sdk/browser-support";

View File

@@ -1 +1 @@
export * from "openclaw/plugin-sdk/browser-support";
export { withFetchPreconnect } from "openclaw/plugin-sdk/browser-support";

View File

@@ -1 +1 @@
export * from "openclaw/plugin-sdk/browser-support";
export type { MockFn } from "openclaw/plugin-sdk/browser-support";

View File

@@ -1 +1,6 @@
export * from "openclaw/plugin-sdk/browser-support";
export {
CONFIG_DIR,
escapeRegExp,
resolveUserPath,
shortenHomePath,
} from "openclaw/plugin-sdk/browser-support";

View File

@@ -1 +1 @@
export * from "openclaw/plugin-sdk/browser-support";
export { parseBooleanValue } from "openclaw/plugin-sdk/browser-support";