Add read-only production runtime audit

This commit is contained in:
2026-08-17 11:17:40 +07:00
parent 057d4ed9dc
commit a1de4715a4
106 changed files with 6869 additions and 1782 deletions
+14
View File
@@ -53,6 +53,18 @@ export interface MedicationCandidateAssessment {
safetySourceIds: string[];
}
export interface DrugSectionOption {
sectionKey: string;
sectionTitle: string;
}
export interface MonographPickerState {
drugId: string;
drugName: string;
sections: DrugSectionOption[];
selectedSectionKeys: string[];
}
export interface ChatMessage {
id: string;
role: "user" | "assistant";
@@ -79,6 +91,8 @@ export interface ChatMessage {
answerMode?: "concise" | "normal" | "detailed";
answerPlan?: AnswerPlan;
candidateAssessments?: MedicationCandidateAssessment[];
/** Present on the assistant turn that opens the deterministic monograph picker. */
sectionOptions?: DrugSectionOption[];
}
export interface SendMessageRequest {