From 0a7db3b48cce5f064c20f280e345a8bf1feb5ecb Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Thu, 29 Oct 2026 10:12:17 +0100 Subject: companion: remove from the tree, archived as tag archive/companion The chibi 2B companion is retired for now. Its last state is kept in the signed tag archive/companion (the commit before this one), so it can be revisited with `git checkout archive/companion`; hypr-theme carries a tag of the same name for its compositor hooks (typing/delete events and the SUPER+\ bind). Removed with it, since nothing else used them: the Companion, phrases and artists settings pages, the five companion prefs in Prefs.qml and Prefs.ready, the wallpaper heart (Admired.qml's list), the assistant's replied() signal and cardTop, and the keybinds reminder's name for the code:49 bind. The design specs and plans under docs/ stay as history. Co-Authored-By: Claude Opus 5.5 --- desktop/assistant/Assistant.qml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'desktop/assistant/Assistant.qml') diff --git a/desktop/assistant/Assistant.qml b/desktop/assistant/Assistant.qml index 4144910..a4fda72 100644 --- a/desktop/assistant/Assistant.qml +++ b/desktop/assistant/Assistant.qml @@ -86,9 +86,6 @@ Scope { property var convs: [] property var results: [] readonly property bool busy: root.state !== "idle" - // A reply finished (not stopped). The canvas notifies through notifyDone; - // the desktop companion waves. - signal replied() // A daemon gone mid-reply sends no idle; its hello on return redraws. onConnectedChanged: if (!root.connected) { @@ -113,10 +110,9 @@ Scope { Quickshell.screens.find(s => s.name === root.monitor) ?? Quickshell.screens[0] // The tall card (a chat, or a panel) is fullHeight and centred, so its - // top only moves on entering or leaving tall. The companion sits there. + // top only moves on entering or leaving tall. readonly property bool tall: root.mode === "chat" || root.historyOpen || root.pickerOpen || root.modelsOpen readonly property int fullHeight: Math.round(root.screenObj.height * 0.7) - readonly property int cardTop: Math.round((root.screenObj.height - root.fullHeight) / 2) function toggle() { if (root.open) root.close(); else root.show(); } @@ -451,10 +447,7 @@ Scope { } if (!e.stopped) root.convId = e.id; root.lastActive = Date.now(); - if (!e.stopped && i >= 0) { - root.notifyDone(turns.get(i).reply); - root.replied(); - } + if (!e.stopped && i >= 0) root.notifyDone(turns.get(i).reply); break; case "progress": if (root.opDaemon) root.opChars = e.chars; break; case "written": -- cgit v1.2.3