From ae35b580d866da0dccd1dbcf9e58db639db3db8b Mon Sep 17 00:00:00 2001 From: RainbowBird Date: Tue, 28 Jul 2026 19:34:14 +0800 Subject: [PATCH] feat(stage): group chat controls and track speech mute (#2139) --- .../renderer/components/InteractiveArea.vue | 12 --- .../stage-islands/controls-island/index.vue | 18 ++--- .../src/renderer/pages/chat.vue | 28 ++++++- .../runtime/chat-orchestrator-runtime.test.ts | 28 +++++++ .../src/runtime/chat-orchestrator-runtime.ts | 11 ++- packages/core-agent/src/types/chat.ts | 2 + .../Layouts/MobileInteractiveArea.vue | 56 +++++++------- .../components/Widgets/ChatActionButtons.vue | 52 ++++++++----- .../src/components/Widgets/ChatArea.vue | 18 +---- .../composables/useStopSpeakingButton.test.ts | 74 +++++++++++++++++-- .../src/composables/useStopSpeakingButton.ts | 34 ++++++++- .../stage-ui/src/components/scenes/Stage.vue | 25 +++++-- .../src/composables/use-analytics.test.ts | 15 ++++ .../stage-ui/src/composables/use-analytics.ts | 13 ++++ packages/stage-ui/src/services/speech/bus.ts | 11 ++- .../stage-ui/src/stores/chat.contract.test.ts | 9 ++- 16 files changed, 299 insertions(+), 107 deletions(-) diff --git a/apps/stage-tamagotchi/src/renderer/components/InteractiveArea.vue b/apps/stage-tamagotchi/src/renderer/components/InteractiveArea.vue index 9996f5d92..4ddb9bb92 100644 --- a/apps/stage-tamagotchi/src/renderer/components/InteractiveArea.vue +++ b/apps/stage-tamagotchi/src/renderer/components/InteractiveArea.vue @@ -44,7 +44,6 @@ const { activeCard, activeCardId } = storeToRefs(airiCardStore) const { t } = useI18n() const { openImagePreview } = journalPreviewStore const isComposing = ref(false) -const sessionsDrawerOpen = defineModel('sessionsDrawerOpen', { default: false }) const DOUBLE_ENTER_INTERVAL_MS = 300 const TRAILING_NEWLINES_REGEX = /[\r\n]+$/ const SEND_MODES = ['enter', 'ctrl-enter', 'double-enter'] as const @@ -329,17 +328,6 @@ async function handleCleanupMessages() {
-