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

@@ -15,7 +15,7 @@ import type {
ChannelMessageActionName,
ChannelThreadingToolContext,
} from "../../channels/plugins/types.js";
import type { MoltbotConfig } from "../../config/config.js";
import type { OpenClawConfig } from "../../config/config.js";
import {
isDeliverableMessageChannel,
normalizeMessageChannel,
@@ -54,7 +54,7 @@ export type MessageActionRunnerGateway = {
};
export type RunMessageActionParams = {
cfg: MoltbotConfig;
cfg: OpenClawConfig;
action: ChannelMessageActionName;
params: Record<string, unknown>;
defaultAccountId?: string;
@@ -168,7 +168,7 @@ function applyCrossContextMessageDecoration({
}
async function maybeApplyCrossContextMarker(params: {
cfg: MoltbotConfig;
cfg: OpenClawConfig;
channel: ChannelId;
action: ChannelMessageActionName;
target: string;
@@ -224,7 +224,7 @@ function resolveSlackAutoThreadId(params: {
}
function resolveAttachmentMaxBytes(params: {
cfg: MoltbotConfig;
cfg: OpenClawConfig;
channel: ChannelId;
accountId?: string | null;
}): number | undefined {
@@ -298,7 +298,7 @@ function normalizeBase64Payload(params: { base64?: string; contentType?: string
}
async function hydrateSetGroupIconParams(params: {
cfg: MoltbotConfig;
cfg: OpenClawConfig;
channel: ChannelId;
accountId?: string | null;
args: Record<string, unknown>;
@@ -355,7 +355,7 @@ async function hydrateSetGroupIconParams(params: {
}
async function hydrateSendAttachmentParams(params: {
cfg: MoltbotConfig;
cfg: OpenClawConfig;
channel: ChannelId;
accountId?: string | null;
args: Record<string, unknown>;
@@ -444,7 +444,7 @@ function parseCardParam(params: Record<string, unknown>): void {
}
}
async function resolveChannel(cfg: MoltbotConfig, params: Record<string, unknown>) {
async function resolveChannel(cfg: OpenClawConfig, params: Record<string, unknown>) {
const channelHint = readStringParam(params, "channel");
const selection = await resolveMessageChannelSelection({
cfg,
@@ -454,7 +454,7 @@ async function resolveChannel(cfg: MoltbotConfig, params: Record<string, unknown
}
async function resolveActionTarget(params: {
cfg: MoltbotConfig;
cfg: OpenClawConfig;
channel: ChannelId;
action: ChannelMessageActionName;
args: Record<string, unknown>;
@@ -499,7 +499,7 @@ async function resolveActionTarget(params: {
}
type ResolvedActionContext = {
cfg: MoltbotConfig;
cfg: OpenClawConfig;
params: Record<string, unknown>;
channel: ChannelId;
accountId?: string | null;