refactor: rename to openclaw

This commit is contained in:
Peter Steinberger committed 2026-01-30 03:16:21 +01:00
1 parent 4583f88626
commit 9a7160786a
2357 files changed
+16688 -16788

No files matched your search

+4 -7
View File
@@ -27,13 +27,13 @@ function killGatewayListeners(port: number): PortProcess[] {
function runTests() {
const isolatedLock =
process.env.CLAWDBOT_GATEWAY_LOCK ??
path.join(os.tmpdir(), `moltbot-gateway.lock.test.${Date.now()}`);
process.env.OPENCLAW_GATEWAY_LOCK ??
path.join(os.tmpdir(), `openclaw-gateway.lock.test.${Date.now()}`);
const result = spawnSync("pnpm", ["vitest", "run"], {
stdio: "inherit",
env: {
...process.env,
CLAWDBOT_GATEWAY_LOCK: isolatedLock,
OPENCLAW_GATEWAY_LOCK: isolatedLock,
},
});
if (result.error) {
@@ -44,10 +44,7 @@ function runTests() {
}
function main() {
const port = Number.parseInt(
process.env.CLAWDBOT_GATEWAY_PORT ?? `${DEFAULT_PORT}`,
10,
);
const port = Number.parseInt(process.env.OPENCLAW_GATEWAY_PORT ?? `${DEFAULT_PORT}`, 10);
console.log(`🧹 test:force - clearing gateway on port ${port}`);
const killed = killGatewayListeners(port);