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,6 +1,6 @@
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
import type { MoltbotConfig } from "../../config/config.js";
import type { OpenClawConfig } from "../../config/config.js";
import { setActivePluginRegistry } from "../../plugins/runtime.js";
import { createIMessageTestPlugin, createTestRegistry } from "../../test-utils/channel-plugins.js";
import { slackPlugin } from "../../../extensions/slack/src/channel.js";
@@ -26,7 +26,7 @@ const slackConfig = {
appToken: "xapp-test",
},
},
} as MoltbotConfig;
} as OpenClawConfig;
const whatsappConfig = {
channels: {
@@ -34,7 +34,7 @@ const whatsappConfig = {
allowFrom: ["*"],
},
},
} as MoltbotConfig;
} as OpenClawConfig;
describe("runMessageAction context isolation", () => {
beforeEach(async () => {
@@ -263,7 +263,7 @@ describe("runMessageAction context isolation", () => {
token: "tg-test",
},
},
} as MoltbotConfig;
} as OpenClawConfig;
const result = await runMessageAction({
cfg: multiConfig,
@@ -305,7 +305,7 @@ describe("runMessageAction context isolation", () => {
},
},
},
} as MoltbotConfig;
} as OpenClawConfig;
await expect(
runMessageAction({
@@ -423,7 +423,7 @@ describe("runMessageAction sendAttachment hydration", () => {
password: "test-password",
},
},
} as MoltbotConfig;
} as OpenClawConfig;
const result = await runMessageAction({
cfg,
@@ -491,7 +491,7 @@ describe("runMessageAction accountId defaults", () => {
it("propagates defaultAccountId into params", async () => {
await runMessageAction({
cfg: {} as MoltbotConfig,
cfg: {} as OpenClawConfig,
action: "send",
params: {
channel: "discord",