Files
openclaw/src/config/types.system-agent.ts
Peter Steinberger a6a0716486 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
2026-07-14 11:03:02 -07:00

22 lines
711 B
TypeScript

/**
* System-agent config types for local control-plane and remote rescue behavior.
* Rescue config is deliberately narrow because it can approve state-changing maintainer actions.
*/
/** Remote rescue gate and approval retention policy. */
type SystemAgentRescueConfig = {
/**
* Remote message rescue gate.
* "auto" enables only for YOLO host posture with sandboxing off.
*/
enabled?: "auto" | boolean;
/** Restrict rescue to owner DMs. Default: true. */
ownerDmOnly?: boolean;
/** Pending write approval TTL in minutes. Default: 15. */
pendingTtlMinutes?: number;
};
/** Top-level system-agent config block. */
export type SystemAgentConfig = {
rescue?: SystemAgentRescueConfig;
};