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,5 +1,5 @@
import { afterEach, describe, expect, it, vi } from "vitest";
import type { MoltbotConfig } from "../config/config.js";
import type { OpenClawConfig } from "../config/config.js";
import { startHeartbeatRunner } from "./heartbeat-runner.js";
describe("startHeartbeatRunner", () => {
@@ -17,7 +17,7 @@ describe("startHeartbeatRunner", () => {
const runner = startHeartbeatRunner({
cfg: {
agents: { defaults: { heartbeat: { every: "30m" } } },
} as MoltbotConfig,
} as OpenClawConfig,
runOnce: runSpy,
});
@@ -36,7 +36,7 @@ describe("startHeartbeatRunner", () => {
{ id: "ops", heartbeat: { every: "15m" } },
],
},
} as MoltbotConfig);
} as OpenClawConfig);
await vi.advanceTimersByTimeAsync(10 * 60_000 + 1_000);