mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-26 11:11:16 +00:00
feat(setup): rename Crestodian to OpenClaw system agent
User-facing name is now OpenClaw (the system speaks); internal code name is system-agent. Gateway methods crestodian.* -> openclaw.chat/openclaw.setup.*, agent tool -> openclaw, reserved agent ids openclaw + retired crestodian. openclaw setup routes: onboarding flags -> onboard, -m/--yes -> system agent, bare configured interactive -> OpenClaw chat, unconfigured -> onboarding. Hidden crestodian CLI and /crestodian TUI aliases kept; docs moved to docs/cli/openclaw.md with redirect stub. macOS/Android strings in lockstep. Refs #107237
This commit is contained in:
@@ -4,7 +4,7 @@ import { sanitizeForLog } from "../../../packages/terminal-core/src/ansi.js";
|
||||
import type { NamedCommandDescriptor } from "./command-group-descriptors.js";
|
||||
|
||||
/** Minimal descriptor shape used before a command is fully registered. */
|
||||
type CommandDescriptorLike = Pick<NamedCommandDescriptor, "name" | "description">;
|
||||
type CommandDescriptorLike = Pick<NamedCommandDescriptor, "name" | "description" | "hidden">;
|
||||
|
||||
const SAFE_COMMAND_NAME_PATTERN = /^[A-Za-z0-9][A-Za-z0-9_-]*$/;
|
||||
|
||||
@@ -97,7 +97,9 @@ export function addCommandDescriptorsToProgram(
|
||||
if (existingCommands.has(name)) {
|
||||
continue;
|
||||
}
|
||||
program.command(name).description(sanitizeCommandDescriptorDescription(descriptor.description));
|
||||
program
|
||||
.command(name, { hidden: descriptor.hidden })
|
||||
.description(sanitizeCommandDescriptorDescription(descriptor.description));
|
||||
existingCommands.add(name);
|
||||
}
|
||||
return existingCommands;
|
||||
|
||||
Reference in New Issue
Block a user