From 0e888d62af1434fef231e11a5c307a5b48a8deb1 Mon Sep 17 00:00:00 2001
From: Matthias Nott <mnott@mnsoft.org>
Date: Sat, 07 Mar 2026 10:49:07 +0100
Subject: [PATCH] feat: singleton audio, transcript reflection, voice persistence

---
 types/index.ts |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/types/index.ts b/types/index.ts
index 9c59488..57d1765 100644
--- a/types/index.ts
+++ b/types/index.ts
@@ -34,6 +34,7 @@
   type: "voice";
   audioBase64: string;
   content: string;
+  messageId?: string;
 }
 
 export interface WsImageMessage {
@@ -95,6 +96,12 @@
   name: string;
 }
 
+export interface WsIncomingTranscript {
+  type: "transcript";
+  messageId: string;
+  content: string;
+}
+
 export interface WsIncomingError {
   type: "error";
   message: string;
@@ -112,5 +119,6 @@
   | WsIncomingSessions
   | WsIncomingSessionSwitched
   | WsIncomingSessionRenamed
+  | WsIncomingTranscript
   | WsIncomingError
   | WsIncomingStatus;

--
Gitblit v1.3.1