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

@@ -28,7 +28,7 @@ ${body ?? `# ${name}\n`}
describe("loadWorkspaceSkillEntries", () => {
it("handles an empty managed skills dir without throwing", async () => {
const workspaceDir = await fs.mkdtemp(path.join(os.tmpdir(), "clawdbot-"));
const workspaceDir = await fs.mkdtemp(path.join(os.tmpdir(), "moltbot-"));
const managedDir = path.join(workspaceDir, ".managed");
await fs.mkdir(managedDir, { recursive: true });
@@ -41,14 +41,14 @@ describe("loadWorkspaceSkillEntries", () => {
});
it("includes plugin-shipped skills when the plugin is enabled", async () => {
const workspaceDir = await fs.mkdtemp(path.join(os.tmpdir(), "clawdbot-"));
const workspaceDir = await fs.mkdtemp(path.join(os.tmpdir(), "moltbot-"));
const managedDir = path.join(workspaceDir, ".managed");
const bundledDir = path.join(workspaceDir, ".bundled");
const pluginRoot = path.join(workspaceDir, ".clawdbot", "extensions", "open-prose");
await fs.mkdir(path.join(pluginRoot, "skills", "prose"), { recursive: true });
await fs.writeFile(
path.join(pluginRoot, "clawdbot.plugin.json"),
path.join(pluginRoot, "moltbot.plugin.json"),
JSON.stringify(
{
id: "open-prose",
@@ -80,14 +80,14 @@ describe("loadWorkspaceSkillEntries", () => {
});
it("excludes plugin-shipped skills when the plugin is not allowed", async () => {
const workspaceDir = await fs.mkdtemp(path.join(os.tmpdir(), "clawdbot-"));
const workspaceDir = await fs.mkdtemp(path.join(os.tmpdir(), "moltbot-"));
const managedDir = path.join(workspaceDir, ".managed");
const bundledDir = path.join(workspaceDir, ".bundled");
const pluginRoot = path.join(workspaceDir, ".clawdbot", "extensions", "open-prose");
await fs.mkdir(path.join(pluginRoot, "skills", "prose"), { recursive: true });
await fs.writeFile(
path.join(pluginRoot, "clawdbot.plugin.json"),
path.join(pluginRoot, "moltbot.plugin.json"),
JSON.stringify(
{
id: "open-prose",