refactor: rename clawdbot to moltbot with legacy compat

This commit is contained in:
Peter Steinberger
2026-01-27 12:19:58 +00:00
parent 83460df96f
commit 6d16a658e5
1839 changed files with 11250 additions and 11199 deletions

View File

@@ -1,6 +1,6 @@
import type { ChannelId } from "../channels/plugins/types.js";
import { normalizeAccountId } from "../routing/session-key.js";
import type { ClawdbotConfig } from "./config.js";
import type { MoltbotConfig } from "./config.js";
import type { GroupToolPolicyBySenderConfig, GroupToolPolicyConfig } from "./types.tools.js";
export type GroupPolicyChannel = ChannelId;
@@ -80,7 +80,7 @@ export function resolveToolsBySender(
}
function resolveChannelGroups(
cfg: ClawdbotConfig,
cfg: MoltbotConfig,
channel: GroupPolicyChannel,
accountId?: string | null,
): ChannelGroups | undefined {
@@ -103,7 +103,7 @@ function resolveChannelGroups(
}
export function resolveChannelGroupPolicy(params: {
cfg: ClawdbotConfig;
cfg: MoltbotConfig;
channel: GroupPolicyChannel;
groupId?: string | null;
accountId?: string | null;
@@ -128,7 +128,7 @@ export function resolveChannelGroupPolicy(params: {
}
export function resolveChannelGroupRequireMention(params: {
cfg: ClawdbotConfig;
cfg: MoltbotConfig;
channel: GroupPolicyChannel;
groupId?: string | null;
accountId?: string | null;
@@ -156,7 +156,7 @@ export function resolveChannelGroupRequireMention(params: {
export function resolveChannelGroupToolsPolicy(
params: {
cfg: ClawdbotConfig;
cfg: MoltbotConfig;
channel: GroupPolicyChannel;
groupId?: string | null;
accountId?: string | null;