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,16 +1,16 @@
import { describe, expect, it } from "vitest";
import type { MoltbotConfig } from "../config/config.js";
import type { OpenClawConfig } from "../config/config.js";
import { resolveHumanDelayConfig } from "./identity.js";
describe("resolveHumanDelayConfig", () => {
it("returns undefined when no humanDelay config is set", () => {
const cfg: MoltbotConfig = {};
const cfg: OpenClawConfig = {};
expect(resolveHumanDelayConfig(cfg, "main")).toBeUndefined();
});
it("merges defaults with per-agent overrides", () => {
const cfg: MoltbotConfig = {
const cfg: OpenClawConfig = {
agents: {
defaults: {
humanDelay: { mode: "natural", minMs: 800, maxMs: 1800 },