refactor: rename clawdbot to moltbot with legacy compat

This commit is contained in:
Peter Steinberger
2026-01-27 12:19:58 +00:00
parent 83460df96f
commit 6d16a658e5
1839 changed files with 11250 additions and 11199 deletions

View File

@@ -22,10 +22,10 @@ vi.mock("../config/config.js", async (importOriginal) => {
});
import "./test-helpers/fast-core-tools.js";
import { createClawdbotTools } from "./clawdbot-tools.js";
import { createMoltbotTools } from "./moltbot-tools.js";
import { resetSubagentRegistryForTests } from "./subagent-registry.js";
describe("clawdbot-tools: subagents", () => {
describe("moltbot-tools: subagents", () => {
beforeEach(() => {
configOverride = {
session: {
@@ -59,7 +59,7 @@ describe("clawdbot-tools: subagents", () => {
return {};
});
const tool = createClawdbotTools({
const tool = createMoltbotTools({
agentSessionKey: "agent:research:main",
agentChannel: "discord",
}).find((candidate) => candidate.name === "sessions_spawn");
@@ -108,7 +108,7 @@ describe("clawdbot-tools: subagents", () => {
return {};
});
const tool = createClawdbotTools({
const tool = createMoltbotTools({
agentSessionKey: "main",
agentChannel: "whatsapp",
}).find((candidate) => candidate.name === "sessions_spawn");
@@ -143,7 +143,7 @@ describe("clawdbot-tools: subagents", () => {
return {};
});
const tool = createClawdbotTools({
const tool = createMoltbotTools({
agentSessionKey: "main",
agentChannel: "whatsapp",
}).find((candidate) => candidate.name === "sessions_spawn");