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

@@ -13,7 +13,7 @@ const tempDirs: string[] = [];
const EMPTY_PLUGIN_SCHEMA = { type: "object", additionalProperties: false, properties: {} };
function makeTempDir() {
const dir = path.join(os.tmpdir(), `moltbot-plugin-tools-${randomUUID()}`);
const dir = path.join(os.tmpdir(), `openclaw-plugin-tools-${randomUUID()}`);
fs.mkdirSync(dir, { recursive: true });
tempDirs.push(dir);
return dir;
@@ -24,7 +24,7 @@ function writePlugin(params: { id: string; body: string }): TempPlugin {
const file = path.join(dir, `${params.id}.js`);
fs.writeFileSync(file, params.body, "utf-8");
fs.writeFileSync(
path.join(dir, "moltbot.plugin.json"),
path.join(dir, "openclaw.plugin.json"),
JSON.stringify(
{
id: params.id,