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

@@ -59,7 +59,7 @@ describe("cli credentials", () => {
});
it("falls back to the file store when the keychain update fails", async () => {
const tempDir = fs.mkdtempSync(path.join(os.tmpdir(), "clawdbot-"));
const tempDir = fs.mkdtempSync(path.join(os.tmpdir(), "moltbot-"));
const credPath = path.join(tempDir, ".claude", ".credentials.json");
fs.mkdirSync(path.dirname(credPath), { recursive: true, mode: 0o700 });
@@ -182,7 +182,7 @@ describe("cli credentials", () => {
});
it("reads Codex credentials from keychain when available", async () => {
const tempHome = fs.mkdtempSync(path.join(os.tmpdir(), "clawdbot-codex-"));
const tempHome = fs.mkdtempSync(path.join(os.tmpdir(), "moltbot-codex-"));
process.env.CODEX_HOME = tempHome;
const accountHash = "cli|";
@@ -211,7 +211,7 @@ describe("cli credentials", () => {
});
it("falls back to Codex auth.json when keychain is unavailable", async () => {
const tempHome = fs.mkdtempSync(path.join(os.tmpdir(), "clawdbot-codex-"));
const tempHome = fs.mkdtempSync(path.join(os.tmpdir(), "moltbot-codex-"));
process.env.CODEX_HOME = tempHome;
execSyncMock.mockImplementation(() => {
throw new Error("not found");