A team of long-lived bots for DeepSeek Harness, with main bots, bot-to-bot messages and group chats.
Hand over to a team window that was hidden while it waited
AdamPlatin12395890a1419eb
diff --git a/app/src/start-window.mjs b/app/src/start-window.mjsindex c4b4e032..c92abce9 100644--- a/app/src/start-window.mjs+++ b/app/src/start-window.mjs@@ -878,6 +878,8 @@ export class StartWindow {// window fades out over it. With a whale handed over, the team page holds it where the start// page's whale is through this fade, so the two stay on each other.#crossfade(main, win, how) {+ // A team window hidden while it waited (closed to the tray) comes back for the fade.+ if (!main.isVisible()) main.showInactive()main.setSkipTaskbar(false)win.setSkipTaskbar(true)note(`cross-fade at ready + ${String(Date.now() - this.#readyAt)} ms`)diff --git a/app/test/helpers/app-harness.mjs b/app/test/helpers/app-harness.mjsindex 47f340fe..00692bf7 100644--- a/app/test/helpers/app-harness.mjs+++ b/app/test/helpers/app-harness.mjs@@ -65,6 +65,9 @@ export const handOff = async () => {win.webContents.mainFrame.url = win.urlstate.ipc.get('ds-bot:ready')({ sender: win.webContents, senderFrame: win.webContents.mainFrame })await waitFor(() => win.visible === true, 'show the team window')+ // It shows see-through under the start window from ready() on (start-window §8): the hand-off+ // is over once the start window is gone.+ await waitFor(() => startWindows().every(start => start.destroyed), 'hand over to the team window')}/** The entries of the tray's menu: Open, a line, Quit. */