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,4 +1,4 @@
import type { MoltbotConfig } from "../config/config.js";
import type { OpenClawConfig } from "../config/config.js";
import type { SlackChannelConfig } from "../config/types.slack.js";
import { normalizeAccountId } from "../routing/session-key.js";
@@ -13,7 +13,7 @@ export type SlackChannelMigrationResult = {
};
function resolveAccountChannels(
cfg: MoltbotConfig,
cfg: OpenClawConfig,
accountId?: string | null,
): { channels?: SlackChannels } {
if (!accountId) return {};
@@ -43,7 +43,7 @@ export function migrateSlackChannelsInPlace(
}
export function migrateSlackChannelConfig(params: {
cfg: MoltbotConfig;
cfg: OpenClawConfig;
accountId?: string | null;
oldChannelId: string;
newChannelId: string;