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

@@ -5,15 +5,15 @@
* These commands are processed before built-in commands and before agent invocation.
*/
import type { MoltbotConfig } from "../config/config.js";
import type { OpenClawConfig } from "../config/config.js";
import type {
MoltbotPluginCommandDefinition,
OpenClawPluginCommandDefinition,
PluginCommandContext,
PluginCommandResult,
} from "./types.js";
import { logVerbose } from "../globals.js";
type RegisteredPluginCommand = MoltbotPluginCommandDefinition & {
type RegisteredPluginCommand = OpenClawPluginCommandDefinition & {
pluginId: string;
};
@@ -104,7 +104,7 @@ export type CommandRegistrationResult = {
*/
export function registerPluginCommand(
pluginId: string,
command: MoltbotPluginCommandDefinition,
command: OpenClawPluginCommandDefinition,
): CommandRegistrationResult {
// Prevent registration while commands are being processed
if (registryLocked) {
@@ -221,7 +221,7 @@ export async function executePluginCommand(params: {
channel: string;
isAuthorizedSender: boolean;
commandBody: string;
config: MoltbotConfig;
config: OpenClawConfig;
}): Promise<PluginCommandResult> {
const { command, args, senderId, channel, isAuthorizedSender, commandBody, config } = params;