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:
Peter Steinberger
2026-07-14 00:56:53 -07:00
parent 8456719a90
commit a6a0716486
223 changed files with 4961 additions and 4484 deletions

View File

@@ -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;