fix(stage-tamagotchi): replace streaming caption corrections (#2263)

This commit is contained in:
Neko
2026-08-12 02:57:03 +08:00
committed by GitHub
parent b04cc02a5a
commit 82b82c644f
7 changed files with 95 additions and 18 deletions
+9
View File
@@ -0,0 +1,9 @@
/** A caption update sent through the cross-window caption channel. */
export interface CaptionChannelEvent {
/** Controls whether the overlay appends text or replaces the current source text. */
operation?: 'append' | 'replace'
/** Text rendered by the caption overlay. Empty text clears this source. */
text: string
/** Identifies the speaker that owns this caption text. */
type: 'caption-speaker' | 'caption-assistant'
}
+1
View File
@@ -1,4 +1,5 @@
export * from './artistry'
export * from './caption'
export * from './env-vars'
export * from './environment'
export * from './error-message'