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
+4 -4
View File
@@ -5,11 +5,11 @@ import {
normalizeAccountId,
type ChannelOnboardingAdapter,
type WizardPrompter,
} from "clawdbot/plugin-sdk";
} from "openclaw/plugin-sdk";
import { listTlonAccountIds, resolveTlonAccount } from "./types.js";
import type { TlonResolvedAccount } from "./types.js";
import type { MoltbotConfig } from "clawdbot/plugin-sdk";
import type { OpenClawConfig } from "openclaw/plugin-sdk";
const channel = "tlon" as const;
@@ -18,7 +18,7 @@ function isConfigured(account: TlonResolvedAccount): boolean {
}
function applyAccountConfig(params: {
cfg: MoltbotConfig;
cfg: OpenClawConfig;
accountId: string;
input: {
name?: string;
@@ -29,7 +29,7 @@ function applyAccountConfig(params: {
dmAllowlist?: string[];
autoDiscoverChannels?: boolean;
};
}): MoltbotConfig {
}): OpenClawConfig {
const { cfg, accountId, input } = params;
const useDefault = accountId === DEFAULT_ACCOUNT_ID;
const base = cfg.channels?.tlon ?? {};