PLG-CAL-003 fix deferred slot replanning

This commit is contained in:
zhi
2026-04-01 08:52:11 +00:00
parent 97021f97c0
commit 24c4a7ad14
5 changed files with 71 additions and 2 deletions

View File

@@ -147,6 +147,12 @@ export declare class CalendarScheduler {
* Resume a paused slot.
*/
resumeCurrentSlot(): Promise<void>;
/**
* Trigger an immediate replanning pass after the current slot lifecycle ends.
* This lets previously deferred/not-started slots compete again as soon as
* the agent becomes idle.
*/
private triggerReplan;
/**
* Get a stable ID for a slot (real or virtual).
*/