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
+3 -3
View File
@@ -71,10 +71,10 @@ describe("logger helpers", () => {
resetLogger();
setLoggerOverride({}); // force defaults regardless of user config
const today = localDateString(new Date());
const todayPath = path.join(DEFAULT_LOG_DIR, `clawdbot-${today}.log`);
const todayPath = path.join(DEFAULT_LOG_DIR, `moltbot-${today}.log`);
// create an old file to be pruned
const oldPath = path.join(DEFAULT_LOG_DIR, "clawdbot-2000-01-01.log");
const oldPath = path.join(DEFAULT_LOG_DIR, "moltbot-2000-01-01.log");
fs.mkdirSync(DEFAULT_LOG_DIR, { recursive: true });
fs.writeFileSync(oldPath, "old");
fs.utimesSync(oldPath, new Date(0), new Date(0));
@@ -91,7 +91,7 @@ describe("logger helpers", () => {
});
function pathForTest() {
const file = path.join(os.tmpdir(), `clawdbot-log-${crypto.randomUUID()}.log`);
const file = path.join(os.tmpdir(), `moltbot-log-${crypto.randomUUID()}.log`);
fs.mkdirSync(path.dirname(file), { recursive: true });
return file;
}