UNPKG

@gguf/claw

Version:

Multi-channel AI gateway with extensible messaging integrations

15 lines (14 loc) 553 B
/** * pi-coding-agent's ModelRegistry/AuthStorage expects credentials in auth.json. * * OpenClaw stores credentials in auth-profiles.json instead. This helper * bridges all credentials into agentDir/auth.json so pi-coding-agent can * (a) consider providers authenticated and (b) include built-in models in its * registry/catalog output. * * Syncs all credential types: api_key, token (as api_key), and oauth. */ export declare function ensurePiAuthJsonFromAuthProfiles(agentDir: string): Promise<{ wrote: boolean; authPath: string; }>;