feat(FN-3810): define room responder policy helper for hybrid room chat

Defines a room responder policy helper in `@fusion/core` with corresponding types, implements supporting logic in the dashboard chat module, and adds comprehensive tests for the hybrid room manager scenario (FN-3810 step 2).

Fusion-Task-Id: FN-3810
This commit is contained in:
Fusion
2026-05-09 11:39:17 -07:00
committed by gsxdsm
parent be539b7623
commit 72f5c59494
3 changed files with 155 additions and 0 deletions

View File

@@ -21,6 +21,12 @@ export type ChatMessageRole = "user" | "assistant" | "system";
*/
export interface ChatSession {
id: string;
/** Session routing kind; legacy sessions default to direct */
kind?: "direct" | "room";
/** Room ID when kind is room */
roomId?: string | null;
/** Optional room name for prompt context */
roomName?: string | null;
/** ID of the agent participating in this session */
agentId: string;
/** Human-readable title for the session (optional, can be auto-generated) */