dsh-mobile-flow 0.2.0 → 0.3.0

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.
package/README.md CHANGED
@@ -19,6 +19,7 @@ On viewports ≤720px (the same breakpoint the official question card uses):
19
19
  3. **Floating controls re-anchor** — the back-to-bottom button and turn navigator no longer reserve height for the sticky seat and sit close to the viewport floor again.
20
20
  4. **Slim edges** — the content-layer paddings that keep the transcript, header, input card, and confirmation cards well off the screen edges (16–32px per side) shrink to a slim 4px side inset (8px top), reclaiming most of the wasted width without the cramped feel of full-bleed. The page shell itself never adds whitespace; the gaps come entirely from these paddings.
21
21
  5. **No auto-focus on session switch** — the stock UI returns focus to the input box on every mount / session switch (a desktop convenience), which pops the on-screen keyboard over half the screen on phones. In narrow viewports the programmatic focus is swallowed; tapping the input box still focuses it normally.
22
+ 6. **Workspace row actions always visible** — the trailing buttons on workspace and session rows (the ⋯ menu with rename/delete and the + for a new session in that workspace) surface on hover only; touch has no hover, so narrow viewports show them whenever the sidebar list is rendered.
22
23
 
23
24
  Desktop (wide viewports) is completely unaffected.
24
25
 
package/README.zh.md CHANGED
@@ -19,6 +19,7 @@
19
19
  3. **浮动控件重新锚定** —— 回到底部按钮、轮次导航不再为吸底座位预留高度,回到贴近视口底的位置。
20
20
  4. **纤细边距** —— 消息区、会话头部、输入卡、确认卡片与屏幕边缘之间的内容层 padding(每边 16–32px)收窄为左右 4px、顶部 8px 的纤细边距,收复大部分被浪费的宽度,又不像完全贴边那样局促。页面外壳本身不产生空白,间隙完全来自这些 padding。
21
21
  5. **切会话不自动聚焦** —— 官方在每次挂载/切换会话时把焦点还给输入框(桌面便利设计),手机上会弹出输入法占掉半屏。窄屏时拦截这类程序化聚焦;你主动点输入框时照常聚焦。
22
+ 6. **workspace 行操作按钮常显** —— 分组行与会话行尾部的按钮(⋯ 菜单含重命名/删除、+ 在该 workspace 新建会话)官方仅在悬停时显示;触屏没有悬停,窄屏下侧边栏列表渲染时常显这两个按钮。
22
23
 
23
24
  桌面端(宽视口)完全不受影响。
24
25
 
package/lib/client.js CHANGED
@@ -70,6 +70,19 @@ window.__ModuleLoader__.load({
70
70
  " [data-composer-seat] [class*='_frame'] {",
71
71
  " padding: 6px 4px 10px !important;",
72
72
  " }",
73
+ " /* 5) Workspace row actions always visible: the stock trailing buttons",
74
+ " (the ellipsis menu with rename/delete and the plus for a new",
75
+ " session in that workspace) surface on row hover only, and touch",
76
+ " has no hover. In narrow viewports show them whenever the list is",
77
+ " rendered — the collapsed rail never mounts the rows, so the media",
78
+ " query alone is the right gate. The session row's trailing",
79
+ " timestamp hides to make room, mirroring the stock hover trade-off. */",
80
+ " [class*='_rowActions'] {",
81
+ " display: inline-flex !important;",
82
+ " }",
83
+ " [class*='_sessionRow'] [class*='_time'] {",
84
+ " display: none !important;",
85
+ " }",
73
86
  "}",
74
87
  ].join("\n");
75
88
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dsh-mobile-flow",
3
- "version": "0.2.0",
4
- "description": "Mobile in-flow composer for the DeepSeek Harness Web UI: on narrow (≤720px) screens the input bar and AI confirmation cards scroll with the page instead of pinning to the viewport floor, edges slim down, and session switches no longer auto-focus the input. Client-side CSS overlay plus a narrow-only focus guard.",
3
+ "version": "0.3.0",
4
+ "description": "Mobile in-flow composer for the DeepSeek Harness Web UI: on narrow (≤720px) screens the input bar and AI confirmation cards scroll with the page instead of pinning to the viewport floor, edges slim down, session switches no longer auto-focus the input, and workspace row actions stay visible. Client-side CSS overlay plus a narrow-only focus guard.",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "main": "lib/index.js",