feat: add optional Codex warm-up scheduler

This commit is contained in:
ejclaw
2026-04-24 18:40:36 +09:00
parent 9b0ddce337
commit bd56a5d765
8 changed files with 706 additions and 5 deletions

View File

@@ -78,6 +78,19 @@ export interface AppConfig {
usageDashboardEnabled: boolean;
timezone: string;
};
codexWarmup: {
enabled: boolean;
prompt: string;
model: string;
intervalMs: number;
minIntervalMs: number;
staggerMs: number;
maxUsagePct: number;
maxD7UsagePct: number;
commandTimeoutMs: number;
failureCooldownMs: number;
maxConsecutiveFailures: number;
};
sessionCommands: {
allowedSenders: Set<string>;
};