fix(pi): keep active runs alive during background sleep

This commit is contained in:
2026-08-25 20:56:17 +08:00
parent 92f4c91088
commit 621ebb1781
22 changed files with 1061 additions and 68 deletions

View File

@@ -40,7 +40,7 @@ export interface CodingProductComposition {
conversations: CodingConversationService;
runtime: CodingConversationRuntime;
host: CodingProductHost;
sleep(): Promise<void>;
sleep(reason: 'background_sleep' | 'auth_cleanup'): Promise<void>;
shutdown(): Promise<void>;
}