fix(domain,application,infrastructure,backend,app-tauri,frontend): Stop demande agent préserve la conversation ouverte — arrêt sans fermeture/clôture du chat, états cohérents après cancel sur les 3 adapters de session, cellule et workstate synchronisés — #343 (QA verte)

This commit is contained in:
2026-09-13 10:03:36 +02:00
parent a1e8a6466f
commit c37638ff24
26 changed files with 1210 additions and 232 deletions

View File

@ -13,6 +13,7 @@ import type {
AgentDrift,
AgentProfile,
AppExitWorkGuardState,
CancelAgentChatResult,
CustomProviderConfig,
DomainEvent,
EffortSelection,
@ -398,7 +399,7 @@ export interface AgentGateway {
/** Clears a persisted custom chat draft. */
clearChatDraft?(scope: ChatDraftScope): Promise<void>;
/** Interrupts only the current turn of a live structured session. */
cancelAgentChat?(sessionId: string): Promise<void>;
cancelAgentChat?(sessionId: string): Promise<CancelAgentChatResult>;
/** Shuts a live structured session down. */
closeAgentChat?(sessionId: string): Promise<void>;
/**