diff --git a/frontend/app/components/workspace/CrmWorkspaceApp.vue b/frontend/app/components/workspace/CrmWorkspaceApp.vue index 81acc78..f1d4ddd 100644 --- a/frontend/app/components/workspace/CrmWorkspaceApp.vue +++ b/frontend/app/components/workspace/CrmWorkspaceApp.vue @@ -4783,7 +4783,7 @@ async function decideFeedCard(card: FeedCard, decision: "accepted" | "rejected") :chat-thread-picker-open="chatThreadPickerOpen" :selected-chat-id="selectedChatId" :chat-archiving-id="chatArchivingId" - :pilot-input-ref="pilotInput" + :pilot-input="pilotInput" :pilot-recording="pilotRecording" :context-scope-chips="contextScopeChips" :context-picker-enabled="contextPickerEnabled" @@ -4805,6 +4805,7 @@ async function decideFeedCard(card: FeedCard, decision: "accepted" | "rejected") :format-chat-thread-meta="formatChatThreadMeta" :archive-chat-conversation="archiveChatConversation" :handle-pilot-composer-enter="handlePilotComposerEnter" + :on-pilot-input="(value) => { pilotInput = value; }" :set-pilot-wave-container-ref="setPilotWaveContainerRef" :toggle-context-picker="toggleContextPicker" :remove-context-scope="removeContextScope" diff --git a/frontend/app/components/workspace/pilot/CrmPilotSidebar.vue b/frontend/app/components/workspace/pilot/CrmPilotSidebar.vue index 80f757c..bb949b5 100644 --- a/frontend/app/components/workspace/pilot/CrmPilotSidebar.vue +++ b/frontend/app/components/workspace/pilot/CrmPilotSidebar.vue @@ -38,7 +38,7 @@ defineProps<{ chatThreadPickerOpen: boolean; selectedChatId: string; chatArchivingId: string; - pilotInputRef: { value: string }; + pilotInput: string; pilotRecording: boolean; contextScopeChips: ContextScopeChip[]; contextPickerEnabled: boolean; @@ -66,6 +66,7 @@ defineProps<{ formatChatThreadMeta: (conversation: ChatConversation) => string; archiveChatConversation: (id: string) => void; handlePilotComposerEnter: (event: KeyboardEvent) => void; + onPilotInput: (value: string) => void; setPilotWaveContainerRef: (element: HTMLDivElement | null) => void; toggleContextPicker: () => void; removeContextScope: (scope: string) => void; @@ -253,9 +254,10 @@ defineProps<{