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 { describe, expect, it, vi } from "vitest";
import type { MoltbotConfig } from "../../../config/config.js";
import type { OpenClawConfig } from "../../../config/config.js";
import { telegramOutbound } from "./telegram.js";
describe("telegramOutbound.sendPayload", () => {
@@ -8,7 +8,7 @@ describe("telegramOutbound.sendPayload", () => {
const sendTelegram = vi.fn(async () => ({ messageId: "m1", chatId: "c1" }));
const result = await telegramOutbound.sendPayload?.({
cfg: {} as MoltbotConfig,
cfg: {} as OpenClawConfig,
to: "telegram:123",
text: "ignored",
payload: {
@@ -41,7 +41,7 @@ describe("telegramOutbound.sendPayload", () => {
.mockResolvedValueOnce({ messageId: "m2", chatId: "c1" });
const result = await telegramOutbound.sendPayload?.({
cfg: {} as MoltbotConfig,
cfg: {} as OpenClawConfig,
to: "telegram:123",
text: "ignored",
payload: {