refactor: rename clawdbot to moltbot with legacy compat
This commit is contained in:
@@ -75,10 +75,10 @@ async function main() {
|
||||
}
|
||||
|
||||
const baseDir = await fs.mkdtemp(
|
||||
path.join(os.tmpdir(), "clawdbot-zai-fallback-"),
|
||||
path.join(os.tmpdir(), "moltbot-zai-fallback-"),
|
||||
);
|
||||
const stateDir = path.join(baseDir, "state");
|
||||
const configPath = path.join(baseDir, "clawdbot.json");
|
||||
const configPath = path.join(baseDir, "moltbot.json");
|
||||
await fs.mkdir(stateDir, { recursive: true });
|
||||
|
||||
const config = {
|
||||
@@ -127,7 +127,7 @@ async function main() {
|
||||
const run1 = await runCommand(
|
||||
"run1",
|
||||
[
|
||||
"clawdbot",
|
||||
"moltbot",
|
||||
"agent",
|
||||
"--local",
|
||||
"--session-id",
|
||||
@@ -159,7 +159,7 @@ async function main() {
|
||||
const run2 = await runCommand(
|
||||
"run2",
|
||||
[
|
||||
"clawdbot",
|
||||
"moltbot",
|
||||
"agent",
|
||||
"--local",
|
||||
"--session-id",
|
||||
|
||||
Reference in New Issue
Block a user