Repository navigation
Releases: lehhair/dsh-mobile
Release list
v0.1.6 — touch-Enter newlines (both composer generations)
Merged #3 (touch composer newlines) with a follow-up fix: the PR targeted the textarea composer, which only exists on dsh <= 0.1.1 — on dsh >= 0.1.2 the composer is a Lexical contenteditable, so the check never matched. The interception now accepts both surfaces. On the contenteditable, stopping the bare-Enter keydown prevents the stock submit while the OS keyboard's beforeinput insertParagraph lands the newline through Lexical's own model. Modifier / IME / slash-menu Enter paths stay untouched.
v0.1.5 — dsh 0.1.2+ compatibility
Adapt to dsh 0.1.2 client package reorganization: the client-runtime package was removed upstream, so the client entry now types against the plain cordis Context with the sessions service merged from dsh-api-session-controller. No behavior changes; the plugin inject list and engines range were updated accordingly.
dsh-mobile v0.1.4
新功能(会话统计条移动端可滚动):
- 输入框下方的会话统计条(轮数/耗时/tok 速率/缓存命中/token 总量)在手机上不再被省略号截断:左右滑动即可查看完整内容
- 滚动被严格限制在原来的显示窗口内:文字只在 padding 边界处整齐截断,不会滑到屏幕边缘,任何滚动位置两端都对称
- 滚到两端极限时文字边缘恰好停在窗口边界,无多余空程;静止文字零遮挡、无渐隐变暗
- 短统计行放得下时依旧居中显示,完全不受影响
- 包版本同步至 0.1.4
dsh-mobile v0.1.3
修复(移动端会话切换体验):
- 选择 session 后不再自动弹出输入法:选完会话回到聊天页时键盘不会自己弹起(600ms 抑制窗口 + 区分用户自点击),翻页动画不再被打断,想输入时点一下输入框即可
- 归位滚动不再生硬:回到会话页的过程全程平滑,若滚动被系统取消会以平滑方式自然补发(永不瞬时跳变)
- 键盘弹出等纯高度变化不再干扰翻页定位(宽度变化仍正常重定位,旋转/分屏不受影响)
- 包版本同步至 0.1.3
dsh-mobile v0.1.2
修复/改进(移动端样式):
- 输入栏不再换行:官方工具行自带 flex-wrap,窄屏下右侧模型区会被挤到第二行;手机端强制单行,空间不足时优先压缩模型选择按钮(推理等级角标先省略、≤390px 直接隐藏),按钮区永不变成两行
- 模型名宽度自适应:行宽足够时直接显示完整模型名,不再固定限宽滚动;行位真正紧张时才限宽 96px 走带间距的单向跑马灯(@container 查询随行宽自动切换),超长名不裁剪丢失
- 包版本同步至 0.1.2
dsh-mobile v0.1.1
修复(移动端样式):
- 宿主 edge-to-edge(如 dsh-app Android)注入状态栏 padding 后不再出现垂直滚动条:#root 高度改为 body 内容盒的 100%,不再用 100dvh 覆盖宿主 padding
- 聊天页阅读时不再看到卡片圆角/阴影:停在聊天页(data-dshm-page=chat)时卡片全宽直角无阴影,与 OpenCodeUI 移动端一致;侧栏页保留 PiUI 圆角卡片感
- 包版本同步至 0.1.1
dsh-mobile v0.1.0
dsh-mobile v0.1.0
DSH 移动端适配插件(bundle patch + client UI)。
安装
dsh plugin --profile web add "https://github.com/lehhair/dsh-mobile/releases/download/v0.1.0/dsh-external-dsh-mobile-0.1.0.tgz"安装后重启 dsh web 服务并刷新页面。