refactor: rename to openclaw

This commit is contained in:
Peter Steinberger
2026-01-30 03:15:10 +01:00
parent 4583f88626
commit 9a7160786a
2357 changed files with 16688 additions and 16788 deletions

View File

@@ -9,10 +9,10 @@ import { loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow.js";
describe("doctor config flow", () => {
it("preserves invalid config for doctor repairs", async () => {
await withTempHome(async (home) => {
const configDir = path.join(home, ".clawdbot");
const configDir = path.join(home, ".openclaw");
await fs.mkdir(configDir, { recursive: true });
await fs.writeFile(
path.join(configDir, "moltbot.json"),
path.join(configDir, "openclaw.json"),
JSON.stringify(
{
gateway: { auth: { mode: "token", token: 123 } },
@@ -37,10 +37,10 @@ describe("doctor config flow", () => {
it("drops unknown keys on repair", async () => {
await withTempHome(async (home) => {
const configDir = path.join(home, ".clawdbot");
const configDir = path.join(home, ".openclaw");
await fs.mkdir(configDir, { recursive: true });
await fs.writeFile(
path.join(configDir, "moltbot.json"),
path.join(configDir, "openclaw.json"),
JSON.stringify(
{
bridge: { bind: "auto" },