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

@@ -16,7 +16,7 @@ describe("getApiKeyForModel", () => {
const previousStateDir = process.env.CLAWDBOT_STATE_DIR;
const previousAgentDir = process.env.CLAWDBOT_AGENT_DIR;
const previousPiAgentDir = process.env.PI_CODING_AGENT_DIR;
const tempDir = await fs.mkdtemp(path.join(os.tmpdir(), "clawdbot-oauth-"));
const tempDir = await fs.mkdtemp(path.join(os.tmpdir(), "moltbot-oauth-"));
try {
process.env.CLAWDBOT_STATE_DIR = tempDir;
@@ -99,7 +99,7 @@ describe("getApiKeyForModel", () => {
const previousAgentDir = process.env.CLAWDBOT_AGENT_DIR;
const previousPiAgentDir = process.env.PI_CODING_AGENT_DIR;
const previousOpenAiKey = process.env.OPENAI_API_KEY;
const tempDir = await fs.mkdtemp(path.join(os.tmpdir(), "clawdbot-auth-"));
const tempDir = await fs.mkdtemp(path.join(os.tmpdir(), "moltbot-auth-"));
try {
delete process.env.OPENAI_API_KEY;