Skip to content

A team of long-lived bots for DeepSeek Harness, with main bots, bot-to-bot messages and group chats.

fix(client): restore the macOS drag strip over the floating header

Fei24118434448f0cbf
diff --git a/ds-bot/client.js b/ds-bot/client.js
index cc54a653..95cba167 100644
--- a/ds-bot/client.js
+++ b/ds-bot/client.js
@@ -3353,6 +3353,14 @@ header[class*="_header"]:has(.bt-head){position:absolute!important;top:0;left:0;
header[class*="_header"]:has(.bt-head)::before{content:"";position:absolute;inset:0 0 auto;height:calc(60px + env(safe-area-inset-top,0px));background:linear-gradient(to bottom,var(--bt-main),color-mix(in srgb,var(--bt-main) 0%,transparent));pointer-events:none;z-index:-1}
header[class*="_header"]:has(.bt-head)>[class*="_headerLeading"]{position:absolute;left:12px;top:10px;pointer-events:auto}
header[class*="_header"] .bt-head{flex:1 1 auto;width:100%}
+/* On macOS the shell's header row is the window's drag strip (data-window-drag
+ becomes -webkit-app-region:drag). pointer-events:none would keep the row from
+ ever being hit, so its drag mark is dead while the floating header shows.
+ Restoring hit-testing on darwin brings the drag back; the pill is a button and
+ the leading seat is marked no-drag by the shell's own darwin rules. */
+html[data-platform=darwin] header[class*="_header"]:has(.bt-head){pointer-events:auto}
+html[data-platform=darwin] .bt-head{pointer-events:auto}
+html[data-platform=darwin] header[class*="_header"]:has(.bt-head) :is(a,button,input,textarea,select,[role=button],[role=menuitem],[role=menu],[contenteditable=true],[data-slot]){-webkit-app-region:no-drag}
[class*="_body"]:has(> [class*="_scrollBody"]){--dsh-chat-content-width:min(960px,100%)}
/* The shell writes the column's width on the conversation root at every resize, only to
derive the content width that the rule above replaces. Inherited, each write restyled
diff --git a/ds-bot/src/client/styles.js b/ds-bot/src/client/styles.js
index eac6ea54..0bc3ddf6 100644
--- a/ds-bot/src/client/styles.js
+++ b/ds-bot/src/client/styles.js
@@ -964,6 +964,14 @@ header[class*="_header"]:has(.bt-head){position:absolute!important;top:0;left:0;
header[class*="_header"]:has(.bt-head)::before{content:"";position:absolute;inset:0 0 auto;height:calc(60px + env(safe-area-inset-top,0px));background:linear-gradient(to bottom,var(--bt-main),color-mix(in srgb,var(--bt-main) 0%,transparent));pointer-events:none;z-index:-1}
header[class*="_header"]:has(.bt-head)>[class*="_headerLeading"]{position:absolute;left:12px;top:10px;pointer-events:auto}
header[class*="_header"] .bt-head{flex:1 1 auto;width:100%}
+/* On macOS the shell's header row is the window's drag strip (data-window-drag
+ becomes -webkit-app-region:drag). pointer-events:none would keep the row from
+ ever being hit, so its drag mark is dead while the floating header shows.
+ Restoring hit-testing on darwin brings the drag back; the pill is a button and
+ the leading seat is marked no-drag by the shell's own darwin rules. */
+html[data-platform=darwin] header[class*="_header"]:has(.bt-head){pointer-events:auto}
+html[data-platform=darwin] .bt-head{pointer-events:auto}
+html[data-platform=darwin] header[class*="_header"]:has(.bt-head) :is(a,button,input,textarea,select,[role=button],[role=menuitem],[role=menu],[contenteditable=true],[data-slot]){-webkit-app-region:no-drag}
[class*="_body"]:has(> [class*="_scrollBody"]){--dsh-chat-content-width:min(960px,100%)}
/* The shell writes the column's width on the conversation root at every resize, only to
derive the content width that the rule above replaces. Inherited, each write restyled