mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-01 09:06:14 +00:00
refactor: rename clawdbot to moltbot with legacy compat
This commit is contained in:
@@ -13,7 +13,7 @@ describe("config pruning defaults", () => {
|
||||
const configDir = path.join(home, ".clawdbot");
|
||||
await fs.mkdir(configDir, { recursive: true });
|
||||
await fs.writeFile(
|
||||
path.join(configDir, "clawdbot.json"),
|
||||
path.join(configDir, "moltbot.json"),
|
||||
JSON.stringify({ agents: { defaults: {} } }, null, 2),
|
||||
"utf-8",
|
||||
);
|
||||
@@ -41,7 +41,7 @@ describe("config pruning defaults", () => {
|
||||
const configDir = path.join(home, ".clawdbot");
|
||||
await fs.mkdir(configDir, { recursive: true });
|
||||
await fs.writeFile(
|
||||
path.join(configDir, "clawdbot.json"),
|
||||
path.join(configDir, "moltbot.json"),
|
||||
JSON.stringify(
|
||||
{
|
||||
auth: {
|
||||
@@ -72,7 +72,7 @@ describe("config pruning defaults", () => {
|
||||
const configDir = path.join(home, ".clawdbot");
|
||||
await fs.mkdir(configDir, { recursive: true });
|
||||
await fs.writeFile(
|
||||
path.join(configDir, "clawdbot.json"),
|
||||
path.join(configDir, "moltbot.json"),
|
||||
JSON.stringify(
|
||||
{
|
||||
auth: {
|
||||
@@ -110,7 +110,7 @@ describe("config pruning defaults", () => {
|
||||
const configDir = path.join(home, ".clawdbot");
|
||||
await fs.mkdir(configDir, { recursive: true });
|
||||
await fs.writeFile(
|
||||
path.join(configDir, "clawdbot.json"),
|
||||
path.join(configDir, "moltbot.json"),
|
||||
JSON.stringify({ agents: { defaults: { contextPruning: { mode: "off" } } } }, null, 2),
|
||||
"utf-8",
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user