remove tray and clipboard-to-chat feature

This commit is contained in:
CREDO23 2026-03-24 19:12:04 +02:00
parent f783b00d2e
commit 59e7f8f068
9 changed files with 0 additions and 119 deletions

View file

@ -330,16 +330,6 @@ const Composer: FC = () => {
const composerRuntime = useComposerRuntime();
const hasAutoFocusedRef = useRef(false);
// Clipboard content
const [clipboardText, setClipboardText] = useState<string | undefined>();
useEffect(() => {
const api = window.electronAPI;
if (!api?.getClipboardContent) return;
api.getClipboardContent().then((text) => {
if (text) setClipboardText(text);
});
}, []);
const isThreadEmpty = useAssistantState(({ thread }) => thread.isEmpty);
const isThreadRunning = useAssistantState(({ thread }) => thread.isRunning);
@ -546,7 +536,6 @@ const Composer: FC = () => {
onDocumentRemove={handleDocumentRemove}
onSubmit={handleSubmit}
onKeyDown={handleKeyDown}
initialText={clipboardText}
className="min-h-[24px]"
/>
</div>