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
+5 -5
View File
@@ -10,7 +10,7 @@ import {
type SessionNotification,
} from "@agentclientprotocol/sdk";
import { ensureMoltbotCliOnPath } from "../infra/path-env.js";
import { ensureOpenClawCliOnPath } from "../infra/path-env.js";
export type AcpClientOptions = {
cwd?: string;
@@ -75,8 +75,8 @@ export async function createAcpClient(opts: AcpClientOptions = {}): Promise<AcpC
const verbose = Boolean(opts.verbose);
const log = verbose ? (msg: string) => console.error(`[acp-client] ${msg}`) : () => {};
ensureMoltbotCliOnPath({ cwd });
const serverCommand = opts.serverCommand ?? "moltbot";
ensureOpenClawCliOnPath({ cwd });
const serverCommand = opts.serverCommand ?? "openclaw";
const serverArgs = buildServerArgs(opts);
log(`spawning: ${serverCommand} ${serverArgs.join(" ")}`);
@@ -122,7 +122,7 @@ export async function createAcpClient(opts: AcpClientOptions = {}): Promise<AcpC
fs: { readTextFile: true, writeTextFile: true },
terminal: true,
},
clientInfo: { name: "moltbot-acp-client", version: "1.0.0" },
clientInfo: { name: "openclaw-acp-client", version: "1.0.0" },
});
log("creating session");
@@ -146,7 +146,7 @@ export async function runAcpClientInteractive(opts: AcpClientOptions = {}): Prom
output: process.stdout,
});
console.log("Moltbot ACP client");
console.log("OpenClaw ACP client");
console.log(`Session: ${sessionId}`);
console.log('Type a prompt, or "exit" to quit.\n');
+3 -3
View File
@@ -27,12 +27,12 @@ export function serveAcpGateway(opts: AcpServerOptions = {}): void {
const token =
opts.gatewayToken ??
(isRemoteMode ? remote?.token?.trim() : undefined) ??
process.env.CLAWDBOT_GATEWAY_TOKEN ??
process.env.OPENCLAW_GATEWAY_TOKEN ??
auth.token;
const password =
opts.gatewayPassword ??
(isRemoteMode ? remote?.password?.trim() : undefined) ??
process.env.CLAWDBOT_GATEWAY_PASSWORD ??
process.env.OPENCLAW_GATEWAY_PASSWORD ??
auth.password;
let agent: AcpGatewayAgent | null = null;
@@ -122,7 +122,7 @@ function parseArgs(args: string[]): AcpServerOptions {
}
function printHelp(): void {
console.log(`Usage: moltbot acp [options]
console.log(`Usage: openclaw acp [options]
Gateway-backed ACP server for IDE integration.
+2 -2
View File
@@ -24,7 +24,7 @@ export type AcpServerOptions = {
};
export const ACP_AGENT_INFO = {
name: "moltbot-acp",
title: "Moltbot ACP Gateway",
name: "openclaw-acp",
title: "OpenClaw ACP Gateway",
version: VERSION,
};