import type { CreateConfigValues } from "@paperclipai/adapter-utils"; export function buildOpenClawConfig(v: CreateConfigValues): Record { const ac: Record = {}; if (v.url) ac.url = v.url; ac.method = "POST"; ac.timeoutSec = 30; ac.streamTransport = "sse"; ac.sessionKeyStrategy = "fixed"; ac.sessionKey = "paperclip"; return ac; }