Attach repo Face speech to conversation contexts

This commit is contained in:
Meta Vens 2026-06-14 18:42:33 +01:00
commit b76f6c54a7
9 changed files with 241 additions and 16 deletions

View file

@ -457,6 +457,8 @@ export interface ContextBundle {
actor: Actor;
guildContext: GuildContext;
recentMessages: SourceMessage[];
repoFaceConversationFocus?: RepoFaceConversationFocus;
repoFaceConversationThreads?: RepoFaceConversationFocus[];
imageAttachments?: PromptImageAttachment[];
retrieval: RetrievalResult[];
interactionMemory?: InteractionMemoryProfile;
@ -467,6 +469,18 @@ export interface ContextBundle {
createdAt: string;
}
export interface RepoFaceConversationFocus {
contextId?: string;
channelId: string;
channelLabel?: string;
messageId?: string;
authorName?: string;
timestamp?: string;
reason: "pending_mention" | "latest_human_message" | "latest_visible_message";
isCurrentRoom: boolean;
hasMedia?: boolean;
}
export interface JobApprovalRecord {
stage: "run" | "post";
status: "approved" | "rejected";