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

@@ -9,7 +9,7 @@ import {
type ChannelMessageActionName,
} from "../../channels/plugins/types.js";
import { BLUEBUBBLES_GROUP_ACTIONS } from "../../channels/plugins/bluebubbles-actions.js";
import type { MoltbotConfig } from "../../config/config.js";
import type { OpenClawConfig } from "../../config/config.js";
import { loadConfig } from "../../config/config.js";
import { GATEWAY_CLIENT_IDS, GATEWAY_CLIENT_MODES } from "../../gateway/protocol/client-info.js";
import { normalizeTargetForProvider } from "../../infra/outbound/target-normalization.js";
@@ -242,7 +242,7 @@ const MessageToolSchema = buildMessageToolSchemaFromActions(AllMessageActions, {
type MessageToolOptions = {
agentAccountId?: string;
agentSessionKey?: string;
config?: MoltbotConfig;
config?: OpenClawConfig;
currentChannelId?: string;
currentChannelProvider?: string;
currentThreadTs?: string;
@@ -250,7 +250,7 @@ type MessageToolOptions = {
hasRepliedRef?: { value: boolean };
};
function buildMessageToolSchema(cfg: MoltbotConfig) {
function buildMessageToolSchema(cfg: OpenClawConfig) {
const actions = listChannelMessageActions(cfg);
const includeButtons = supportsChannelMessageButtons(cfg);
const includeCards = supportsChannelMessageCards(cfg);
@@ -288,7 +288,7 @@ function filterActionsForContext(params: {
}
function buildMessageToolDescription(options?: {
config?: MoltbotConfig;
config?: OpenClawConfig;
currentChannel?: string;
currentChannelId?: string;
}): string {