mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-17 16:30:46 +00:00
fix(gateway): trim startup imports
This commit is contained in:
@@ -8,7 +8,7 @@ import {
|
||||
type ResolvedGatewayAuth,
|
||||
} from "../auth.js";
|
||||
import { CANVAS_CAPABILITY_TTL_MS } from "../canvas-capability.js";
|
||||
import { getBearerToken, resolveHttpBrowserOriginPolicy } from "../http-utils.js";
|
||||
import { getBearerToken, resolveHttpBrowserOriginPolicy } from "../http-auth-utils.js";
|
||||
import type { GatewayWsClient } from "./ws-types.js";
|
||||
|
||||
export function isCanvasPath(pathname: string): boolean {
|
||||
|
||||
@@ -3,7 +3,7 @@ import {
|
||||
getHeader,
|
||||
resolveTrustedHttpOperatorScopes,
|
||||
type AuthorizedGatewayHttpRequest,
|
||||
} from "../http-utils.js";
|
||||
} from "../http-auth-utils.js";
|
||||
import { CLI_DEFAULT_OPERATOR_SCOPES, WRITE_SCOPE } from "../method-scopes.js";
|
||||
|
||||
export type PluginRouteRuntimeScopeSurface = "write-default" | "trusted-operator";
|
||||
|
||||
Reference in New Issue
Block a user