import type { CreateConfigValues } from "@paperclipai/adapter-utils"; export function buildOpenClawGatewayConfig(v: CreateConfigValues): Record { const ac: Record = {}; if (v.url) ac.url = v.url; ac.timeoutSec = 120; ac.waitTimeoutMs = 120000; ac.sessionKeyStrategy = "issue"; ac.role = "operator"; ac.scopes = ["operator.admin"]; return ac; }