dsh-desktop-enhance 0.6.10 → 0.6.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/client.js +9 -6
  2. package/package.json +1 -1
package/lib/client.js CHANGED
@@ -7081,14 +7081,17 @@ window.__ModuleLoader__.load({
7081
7081
  `body.dsh-remote-portrait header:has([data-slot="conversation.session.header"]) [class$="_crumbs"]{flex:1;min-width:0;max-width:100%}`,
7082
7082
  `body.dsh-remote-portrait header:has([data-slot="conversation.session.header"]) [class$="_headerActions"]{flex:none;margin-left:0;flex-wrap:nowrap;gap:0}`,
7083
7083
  `body.dsh-remote-portrait header:has([data-slot="conversation.session.header"]) [class$="_tabs"]{height:28px;box-sizing:border-box;margin-top:0}`,
7084
- `body.dsh-remote-portrait header:has([data-slot="conversation.session.header"]) button[data-desktop-enhance-mobile-header-action]{position:relative;height:40px;min-height:40px;padding:0 4px;gap:4px;border:0;background:transparent;font-variant-numeric:tabular-nums}`,
7085
- `body.dsh-remote-portrait [data-desktop-enhance-mobile-header-count]{font-size:0 !important;margin:0}`,
7084
+ `body.dsh-remote-portrait header:has([data-slot="conversation.session.header"]) :is(button[data-desktop-enhance-mobile-header-action],[data-team-action] > button){position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;height:40px;min-height:40px;padding:0 4px;gap:4px;border:0;background:transparent;color:var(--dsw-alias-label-tertiary);font-variant-numeric:tabular-nums}`,
7085
+ `body.dsh-remote-portrait [data-desktop-enhance-mobile-header-count]{display:inline-flex;align-items:center;height:18px;line-height:18px;font-size:0 !important;margin:0}`,
7086
7086
  `body.dsh-remote-portrait [data-desktop-enhance-mobile-header-count]::after{content:attr(data-desktop-enhance-mobile-header-count);font-size:12px}`,
7087
- `body.dsh-remote-portrait [data-desktop-enhance-mobile-header-action] > svg{display:none}`,
7088
- `body.dsh-remote-portrait [data-desktop-enhance-mobile-header-action]::before{content:"";width:17px;height:17px;flex:none;background:currentColor;mask:var(--desktop-enhance-header-icon) center/contain no-repeat}`,
7089
- `body.dsh-remote-portrait [data-desktop-enhance-mobile-header-action="subagent"]{--desktop-enhance-header-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 20v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2M16 3a4 4 0 0 1 0 8M22 20v-2a4 4 0 0 0-3-3.87'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3C/svg%3E")}`,
7087
+ `body.dsh-remote-portrait [data-desktop-enhance-mobile-header-action] > svg,body.dsh-remote-portrait [data-team-action] > button > svg,body.dsh-remote-portrait [data-team-action] > button > span{display:none}`,
7088
+ `body.dsh-remote-portrait :is([data-desktop-enhance-mobile-header-action],[data-team-action] > button)::before{content:"";display:block;width:18px;height:18px;flex:none;background:currentColor;mask:var(--desktop-enhance-header-icon) center/contain no-repeat}`,
7089
+ `body.dsh-remote-portrait [data-team-action] > button{--desktop-enhance-header-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='5' r='2.5'/%3E%3Ccircle cx='5' cy='18' r='2.5'/%3E%3Ccircle cx='19' cy='18' r='2.5'/%3E%3Cpath d='M10.6 7.2 6.5 15.5M13.4 7.2l4.1 8.3M8 18h8'/%3E%3C/svg%3E")}`,
7090
+ `body.dsh-remote-portrait [data-desktop-enhance-mobile-header-action="subagent"]{--desktop-enhance-header-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='5' height='5' rx='1.2'/%3E%3Crect x='16' y='3' width='5' height='5' rx='1.2'/%3E%3Crect x='16' y='16' width='5' height='5' rx='1.2'/%3E%3Cpath d='M8 5.5h8M10.5 5.5v10a3 3 0 0 0 3 3H16'/%3E%3C/svg%3E")}`,
7090
7091
  `body.dsh-remote-portrait [data-desktop-enhance-mobile-header-action="jobs"]{--desktop-enhance-header-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.65' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='15' rx='3'/%3E%3Cpath d='M9 5V3h6v2M9 10l3 3-3 3M15 16h2'/%3E%3C/svg%3E")}`,
7091
- `body.dsh-remote-portrait [data-desktop-enhance-mobile-header-action] > [class$="_activitySlot"],body.dsh-remote-portrait [data-desktop-enhance-mobile-header-action] > [class$="_triggerDot"]{position:absolute;left:17px;top:8px;transform:scale(.7);transform-origin:center}`,
7092
+ `body.dsh-remote-portrait [data-desktop-enhance-mobile-header-action] > [class$="_activitySlot"]{display:none}`,
7093
+ `body.dsh-remote-portrait [data-desktop-enhance-mobile-header-action]:has(> [class$="_activitySlot"],> [class*="_triggerDot"])::after{content:"";position:absolute;left:18px;top:9px;width:5px;height:5px;border-radius:50%;background:var(--dsw-alias-state-business-primary);box-shadow:0 0 0 2px var(--dsw-alias-bg-module-platform);pointer-events:none;animation:desktop-enhance-connection-pulse 1.7s ease-in-out infinite}`,
7094
+ `@media(prefers-reduced-motion:reduce){body.dsh-remote-portrait [data-desktop-enhance-mobile-header-action]::after{animation:none !important}}`,
7092
7095
  `#dshRemoteWhale{position:fixed;top:calc(4px + env(safe-area-inset-top));left:calc(8px + env(safe-area-inset-left));z-index:2147482999;width:34px;height:34px;min-width:34px;padding:0;border-radius:10px;background:var(--dsw-alias-bg-module-platform);border:1px solid var(--dsw-alias-border-l2);color:var(--dsw-alias-label-primary);display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 1px 6px rgba(0,0,0,.25);touch-action:none}`,
7093
7096
  `#dshRemoteWhale{translate:0 var(--desktop-enhance-viewport-top,0px)}`,
7094
7097
  `#dshRemoteWhale svg{width:20px;height:15px;display:block}`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-desktop-enhance",
3
- "version": "0.6.10",
3
+ "version": "0.6.11",
4
4
  "description": "DSH Desktop 界面增强:页内查找(Cmd+F)、轮次编号、上下文压缩行常显、建议、每步耗时、折叠文件夹状态计数、会话信息(含上下文注入 C1 视图)、工具管理、Skill 管理、独立远程接入与手机体验。",
5
5
  "type": "module",
6
6
  "icon": "./icon.svg",