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

@@ -1,7 +1,7 @@
import fs from "node:fs";
import path from "node:path";
import type { BrowserProfileConfig, ClawdbotConfig } from "../config/config.js";
import type { BrowserProfileConfig, MoltbotConfig } from "../config/config.js";
import { loadConfig, writeConfigFile } from "../config/config.js";
import { deriveDefaultBrowserCdpPortRange } from "../config/port-defaults.js";
import { DEFAULT_BROWSER_DEFAULT_PROFILE_NAME } from "./constants.js";
@@ -93,7 +93,7 @@ export function createBrowserProfilesService(ctx: BrowserRouteContext) {
};
}
const nextConfig: ClawdbotConfig = {
const nextConfig: MoltbotConfig = {
...cfg,
browser: {
...cfg.browser,
@@ -162,7 +162,7 @@ export function createBrowserProfilesService(ctx: BrowserRouteContext) {
}
const { [name]: _removed, ...remainingProfiles } = profiles;
const nextConfig: ClawdbotConfig = {
const nextConfig: MoltbotConfig = {
...cfg,
browser: {
...cfg.browser,