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,8 +1,8 @@
import type { AnyAgentTool } from "../agents/tools/common.js";
import { normalizeToolName } from "../agents/tool-policy.js";
import { createSubsystemLogger } from "../logging/subsystem.js";
import { loadMoltbotPlugins } from "./loader.js";
import type { MoltbotPluginToolContext } from "./types.js";
import { loadOpenClawPlugins } from "./loader.js";
import type { OpenClawPluginToolContext } from "./types.js";
const log = createSubsystemLogger("plugins");
@@ -35,11 +35,11 @@ function isOptionalToolAllowed(params: {
}
export function resolvePluginTools(params: {
context: MoltbotPluginToolContext;
context: OpenClawPluginToolContext;
existingToolNames?: Set<string>;
toolAllowlist?: string[];
}): AnyAgentTool[] {
const registry = loadMoltbotPlugins({
const registry = loadOpenClawPlugins({
config: params.context.config,
workspaceDir: params.context.workspaceDir,
logger: {