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,7 +1,7 @@
import { beforeEach, describe, expect, it, vi } from "vitest";
import type { CliDeps } from "../cli/deps.js";
import type { MoltbotConfig } from "../config/config.js";
import type { OpenClawConfig } from "../config/config.js";
import type { RuntimeEnv } from "../runtime.js";
import type { SessionEntry } from "../config/sessions.js";
@@ -37,7 +37,7 @@ describe("deliverAgentCommandResult", () => {
});
it("prefers explicit accountId for outbound delivery", async () => {
const cfg = {} as MoltbotConfig;
const cfg = {} as OpenClawConfig;
const deps = {} as CliDeps;
const runtime = {
log: vi.fn(),
@@ -74,7 +74,7 @@ describe("deliverAgentCommandResult", () => {
});
it("falls back to session accountId for implicit delivery", async () => {
const cfg = {} as MoltbotConfig;
const cfg = {} as OpenClawConfig;
const deps = {} as CliDeps;
const runtime = {
log: vi.fn(),
@@ -110,7 +110,7 @@ describe("deliverAgentCommandResult", () => {
});
it("does not infer accountId for explicit delivery targets", async () => {
const cfg = {} as MoltbotConfig;
const cfg = {} as OpenClawConfig;
const deps = {} as CliDeps;
const runtime = {
log: vi.fn(),
@@ -150,7 +150,7 @@ describe("deliverAgentCommandResult", () => {
});
it("skips session accountId when channel differs", async () => {
const cfg = {} as MoltbotConfig;
const cfg = {} as OpenClawConfig;
const deps = {} as CliDeps;
const runtime = {
log: vi.fn(),
@@ -186,7 +186,7 @@ describe("deliverAgentCommandResult", () => {
});
it("uses session last channel when none is provided", async () => {
const cfg = {} as MoltbotConfig;
const cfg = {} as OpenClawConfig;
const deps = {} as CliDeps;
const runtime = {
log: vi.fn(),
@@ -221,7 +221,7 @@ describe("deliverAgentCommandResult", () => {
});
it("uses reply overrides for delivery routing", async () => {
const cfg = {} as MoltbotConfig;
const cfg = {} as OpenClawConfig;
const deps = {} as CliDeps;
const runtime = {
log: vi.fn(),
@@ -261,7 +261,7 @@ describe("deliverAgentCommandResult", () => {
});
it("prefixes nested agent outputs with context", async () => {
const cfg = {} as MoltbotConfig;
const cfg = {} as OpenClawConfig;
const deps = {} as CliDeps;
const runtime = {
log: vi.fn(),