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

@@ -3,7 +3,7 @@ import path from "node:path";
import { describe, expect, it } from "vitest";
import type { ClawdbotConfig } from "../config/config.js";
import type { MoltbotConfig } from "../config/config.js";
import {
applyAgentBindings,
applyAgentConfig,
@@ -13,7 +13,7 @@ import {
describe("agents helpers", () => {
it("buildAgentSummaries includes default + configured agents", () => {
const cfg: ClawdbotConfig = {
const cfg: MoltbotConfig = {
agents: {
defaults: {
workspace: "/main-ws",
@@ -59,7 +59,7 @@ describe("agents helpers", () => {
});
it("applyAgentConfig merges updates", () => {
const cfg: ClawdbotConfig = {
const cfg: MoltbotConfig = {
agents: {
list: [{ id: "work", workspace: "/old-ws", model: "anthropic/claude" }],
},
@@ -80,7 +80,7 @@ describe("agents helpers", () => {
});
it("applyAgentBindings skips duplicates and reports conflicts", () => {
const cfg: ClawdbotConfig = {
const cfg: MoltbotConfig = {
bindings: [
{
agentId: "main",
@@ -111,7 +111,7 @@ describe("agents helpers", () => {
});
it("pruneAgentConfig removes agent, bindings, and allowlist entries", () => {
const cfg: ClawdbotConfig = {
const cfg: MoltbotConfig = {
agents: {
list: [
{ id: "work", default: true, workspace: "/work-ws" },