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

@@ -3,7 +3,9 @@ import type { PortListener, PortListenerKind, PortUsage } from "./ports-types.js
export function classifyPortListener(listener: PortListener, port: number): PortListenerKind {
const raw = `${listener.commandLine ?? ""} ${listener.command ?? ""}`.trim().toLowerCase();
if (raw.includes("moltbot")) return "gateway";
if (raw.includes("openclaw")) {
return "gateway";
}
if (raw.includes("ssh")) {
const portToken = String(port);
const tunnelPattern = new RegExp(
@@ -21,7 +23,7 @@ export function buildPortHints(listeners: PortListener[], port: number): string[
const hints: string[] = [];
if (kinds.has("gateway")) {
hints.push(
`Gateway already running locally. Stop it (${formatCliCommand("moltbot gateway stop")}) or use a different port.`,
`Gateway already running locally. Stop it (${formatCliCommand("openclaw gateway stop")}) or use a different port.`,
);
}
if (kinds.has("ssh")) {