mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-25 07:49:30 +00:00
10 lines
482 B
TypeScript
10 lines
482 B
TypeScript
// Android node capability policy source fixture describes gateway connection inputs.
|
|
import type { GatewayConnectionDetails } from "../../../src/gateway/call.js";
|
|
|
|
// Test helper for deciding when Android node policy config should be fetched remotely.
|
|
|
|
/** Return true when gateway details represent a remote node, not local loopback. */
|
|
export function shouldFetchRemotePolicyConfig(details: GatewayConnectionDetails): boolean {
|
|
return details.urlSource !== "local loopback";
|
|
}
|