refactor: rename to openclaw

This commit is contained in:
Peter Steinberger
2026-01-30 03:15:10 +01:00
parent 4583f88626
commit 9a7160786a
2357 changed files with 16688 additions and 16788 deletions

View File

@@ -1,7 +1,7 @@
import { getOAuthApiKey, type OAuthCredentials, type OAuthProvider } from "@mariozechner/pi-ai";
import lockfile from "proper-lockfile";
import type { MoltbotConfig } from "../../config/config.js";
import type { OpenClawConfig } from "../../config/config.js";
import { refreshChutesTokens } from "../chutes-oauth.js";
import { refreshQwenPortalCredentials } from "../../providers/qwen-portal-oauth.js";
import { AUTH_STORE_LOCK_OPTIONS, log } from "./constants.js";
@@ -84,7 +84,7 @@ async function refreshOAuthTokenWithLock(params: {
}
async function tryResolveOAuthProfile(params: {
cfg?: MoltbotConfig;
cfg?: OpenClawConfig;
store: AuthProfileStore;
profileId: string;
agentDir?: string;
@@ -117,7 +117,7 @@ async function tryResolveOAuthProfile(params: {
}
export async function resolveApiKeyForProfile(params: {
cfg?: MoltbotConfig;
cfg?: OpenClawConfig;
store: AuthProfileStore;
profileId: string;
agentDir?: string;