mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-28 10:11:14 +00:00
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
22 lines
711 B
TypeScript
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;
|
|
};
|