Replace heuristic room read with Ollama sidecar

This commit is contained in:
Meta Vens 2026-05-02 20:37:13 +01:00
commit 8bd43c2c3a
14 changed files with 423 additions and 6 deletions

View file

@ -73,6 +73,7 @@ export interface SourceMessage {
authorName: string;
content: string;
timestamp: string;
isBot?: boolean;
}
export interface RetrievalResult {
@ -183,6 +184,15 @@ export interface SourceGroundingHint {
matchedRepoNames: string[];
}
export interface SituationalSocialRead {
summary: string;
roomTone: string;
speakerCurrentRead: string;
socialFrame: string;
responseGuidance: string;
supportingSignals: string[];
}
export interface ContextBundle {
prompt: string;
actor: Actor;
@ -190,6 +200,7 @@ export interface ContextBundle {
recentMessages: SourceMessage[];
retrieval: RetrievalResult[];
interactionMemory?: InteractionMemoryProfile;
situationalSocialRead?: SituationalSocialRead;
sourceGrounding?: SourceGroundingHint;
stylePack?: StylePack;
createdAt: string;