refactor: rename to openclaw
This commit is contained in:
@@ -47,7 +47,7 @@ type NodeDaemonStatusOptions = {
|
||||
};
|
||||
|
||||
function renderNodeServiceStartHints(): string[] {
|
||||
const base = [formatCliCommand("moltbot node install"), formatCliCommand("moltbot node start")];
|
||||
const base = [formatCliCommand("openclaw node install"), formatCliCommand("openclaw node start")];
|
||||
switch (process.platform) {
|
||||
case "darwin":
|
||||
return [
|
||||
@@ -169,7 +169,7 @@ export async function runNodeDaemonInstall(opts: NodeDaemonInstallOptions) {
|
||||
});
|
||||
if (!json) {
|
||||
defaultRuntime.log(`Node service already ${service.loadedText}.`);
|
||||
defaultRuntime.log(`Reinstall with: ${formatCliCommand("moltbot node install --force")}`);
|
||||
defaultRuntime.log(`Reinstall with: ${formatCliCommand("openclaw node install --force")}`);
|
||||
}
|
||||
return;
|
||||
}
|
||||
@@ -561,7 +561,7 @@ export async function runNodeDaemonStatus(opts: NodeDaemonStatusOptions = {}) {
|
||||
};
|
||||
const hintEnv = {
|
||||
...baseEnv,
|
||||
CLAWDBOT_LOG_PREFIX: baseEnv.CLAWDBOT_LOG_PREFIX ?? "node",
|
||||
OPENCLAW_LOG_PREFIX: baseEnv.OPENCLAW_LOG_PREFIX ?? "node",
|
||||
} as NodeJS.ProcessEnv;
|
||||
|
||||
if (runtime?.missingUnit) {
|
||||
|
||||
@@ -23,7 +23,8 @@ export function registerNodeCli(program: Command) {
|
||||
.description("Run a headless node host (system.run/system.which)")
|
||||
.addHelpText(
|
||||
"after",
|
||||
() => `\n${theme.muted("Docs:")} ${formatDocsLink("/cli/node", "docs.molt.bot/cli/node")}\n`,
|
||||
() =>
|
||||
`\n${theme.muted("Docs:")} ${formatDocsLink("/cli/node", "docs.openclaw.ai/cli/node")}\n`,
|
||||
);
|
||||
|
||||
node
|
||||
|
||||
Reference in New Issue
Block a user