Download Latest Version dshapp-runtime-debian-arm64-0.1.0.zip (202.1 MB)
Home / v1.5.6
Name Modified Size InfoDownloads / Week
Parent folder
0.2.2-rc.2.tar.zst < 13 hours ago 122.8 MB
dshapp-runtime-debian-arm64-0.1.0.zip < 13 hours ago 202.1 MB
dshbox-v1.5.6-gecko-release.apk < 13 hours ago 256.3 MB
dshbox-v1.5.6-system-release.apk < 13 hours ago 162.9 MB
DSHBox v1.5.6 source code.tar.gz < 14 hours ago 31.4 MB
DSHBox v1.5.6 source code.zip < 14 hours ago 32.6 MB
README.md < 14 hours ago 14.1 kB
Totals: 7 Items   808.1 MB 0

v1.5.6(versionCode 15)— 设置页通用设置·权限与保活·悬浮球相关

本版主线:设置页二级结构、悬浮球会话面板与通知、开机/应用自启与保活、容器文件入口,并修复若干 issue。

新增

DSH 本机 API 与通知

  • 会话接入:悬浮球面板接入 DSH 本机 API,支持会话列表、当前会话转录、流式回复与发送消息;新会话或运行中的会话自动跟随,快速完成的会话可补发完成信号。
  • 会话发送:支持 queue / steer 两种发送模式;发送失败在面板显示明确状态并记录错误码。
  • 完成通知与震动:新增「对话结束通知」「任务完成震动」开关(默认关闭);进行中显示静音 ongoing 通知,完成后显示完成通知(正文上限 600 字)并按开关震动;同一会话按 seq 去重,断线重放不重复提醒。

悬浮球与悬浮面板

  • 桌面悬浮球:新增可拖动、贴边吸附、空闲收边的悬浮球,点击展开面板;支持开始、重启、关闭快捷动作。
  • 实时会话面板:面板提供「对话 / 虚拟屏」两个常驻页签;对话页展示用户与 DSH 的多轮转录、流式光标与发送状态,点击标题打开会话列表并切换。
  • 底部输入行:键盘图标展开内联输入框,可直接向 DSH 发送消息;输入行与面板底边保持紧凑间距。
  • 面板操作:支持图钉常驻、顶部拖动、右下角双轴缩放;缩放保持当前位置,不再吸附屏幕边缘;展开态仍可拖动和缩放。
  • 虚拟屏页签:虚拟屏未启动时仍保留页签并显示空态,不再整行隐藏。
  • 虚拟屏预览面板:新增独立低频 JPEG 预览通道,不占用截图、录屏与右侧栏实时流;服务端按 display 节流,客户端固定节拍刷新,取不到新帧保留上一帧。
  • 虚拟屏展开预览:虚拟屏页签可展开为只填满悬浮面板的预览态,仅保留右上角收起入口;不会变成整屏,也不影响面板移动和缩放。
  • 虚拟屏降级处理:虚拟屏不存在、未启动、预览编码失败或被节流时保留上一帧或显示空态,不静默黑屏。

开机、应用自启与保活

  • 开机启动:新增开机接收器;仅当「打开应用自启沙箱和 DSH」开启时,开机后走组合启动。
  • 应用自启:打开应用时按开关静默拉起沙箱与 DSH,复用通知栏「启动」的幂等路径,并等待 bootstrap 完成后再启动 DSH。
  • 组合启动顺序:等待 bootstrap / 版本仲裁完成后再启动 DSH,避免只起沙箱。
  • 前台亮屏:新增「保持屏幕常亮」开关,作用范围为整个应用前台。
  • 熄屏继续运行:DSH READY 且开关开启时持有部分唤醒锁;离开 READY、关闭开关或服务销毁时释放。
  • 桌面悬浮球开关:迁入「通用设置」,与亮屏、唤醒锁分开控制。

容器文件入口

  • 系统文件选择器入口:新增 DocumentsProvider,向系统文件选择器与外部应用提供容器 /root 合并视图。
  • 目录范围:覆盖工作区 projects、共享区 share/<挂载> 与 guest home 其余目录,支持浏览、读取与写入。
  • 边界处理:三段根不可改名;symlink 跨段按「无此文档」处理。

设置页二级结构

  • 通用设置:主题、语言、DSH 状态栏、回车键、更新要点、对话通知、震动、桌面悬浮球统一收进「通用设置」二级页。
  • 权限与保活:电池优化、自启动、后台高耗电 / 弹窗入口,以及亮屏、悬浮球、唤醒锁统一收进「权限与保活」二级页。
  • 系统页解析:统一解析电池优化、自启动与弹窗管理页面;候选不可用时退到应用详情页。

修复

  • Gecko 端口被占:Gecko 版不再固定 3080,与 System WebView 一样在 3080..3099 区间自适应;状态桥、page-compat 与健康检查整链支持区间端口。
  • 健康检查误判:带 launchToken 探活,端口上的其他服务返回 401/403 时不再被当成 DSH 就绪。
  • System WebView 键盘空隙:移除固定 -20px 底部留白,页面高度直接贴键盘顶,并对已缩容器做上限约束。
  • Gecko 键盘侧栏不跟随:原生按 IME inset 缩 GeckoView;页面侧按 visualViewport 收窄 AppFrame,左右侧栏与 composer 跟随;两分支隔离。
  • 插件市场误判已安装:安装身份只认 npm 名,不再用 GitHub 短名兜底,避免同名撞车。
  • 唤醒锁销毁竞态:销毁标记与锁获取在同一临界区复核,服务销毁后不再残留唤醒锁。
  • 开发者模式恢复:新增 Root 开启标记,进程重启后恢复 RootExecutor;记录 ADB 连接目标并在重启后恢复 server / connect;面板显示恢复中状态;启动时不再无条件删除 root CLI。
  • 适配器插件回滚方向:安装失败只清理半装配文件,不在卸载失败后重复卸载。

优化

  • 设置页信息密度:主页收敛为入口行,二级页分组承载详细设置。
  • 滚动保持:从二级页返回主页时保留原滚动位置。
  • 路径映射复用:SandboxFiles 同时服务文件页与 DocumentsProvider,避免两份路径映射。

四个包说明

包 作用
dshbox-v1.5.6-system-release.apk 系统 WebView 版,约 155 MB;体积较小,适合系统 WebView 较新的设备
dshbox-v1.5.6-gecko-release.apk 内置 Gecko 版,约 244 MB;不依赖系统 WebView,适合低版本或特殊 WebView 环境

两个 APK 选择其中一个安装即可,同包名、同签名,可互相覆盖安装;


以下两包为运行环境包构建资产,不用下载:

包 作用
dshapp-runtime-debian-arm64-0.1.0.zip 运行环境整包,在设置页「离线导入运行环境包」中导入
0.2.2-rc.2.tar.zst 官方 DSH 离线更新包,在设置页「更新 DSH(离线)」中导入

感谢你使用 DSHBox!如果使用中遇到问题或有改进建议,欢迎通过 Issues 反馈。

用户交流QQ群:2163082322


v1.5.6 (versionCode 15) — General settings · Permissions & keep-alive · Floating ball

Highlights: A two-level settings structure, floating-ball session panel and notifications, boot/app auto-start and keep-alive, container file access, plus several issue fixes.

New

DSH local API and notifications

  • Session integration: The floating-ball panel connects to the DSH local API for session lists, current-session transcripts, streamed replies and message sending; new or running sessions are followed automatically, and fast completions can still re-send the completion signal.
  • Session sending: Supports queue and steer send modes; failures show a clear status in the panel and record error codes.
  • Completion notifications and vibration: Adds “Conversation finished notification” and “Task completion vibration” switches (off by default); an ongoing silent notification is shown while running, then a completion notification (body up to 600 characters) and vibration according to the switch; notifications are deduplicated by session seq so reconnects do not repeat alerts.

Floating ball and floating panel

  • Desktop floating ball: Adds a draggable floating ball with edge snapping and idle edge-collapse; tap to open the panel, with quick Start / Restart / Close actions.
  • Live session panel: The panel provides two persistent tabs, Chat / Virtual display; the Chat tab shows the user–DSH transcript, streaming cursor and send status, and tapping the title opens the session list to switch sessions.
  • Bottom input row: The keyboard icon expands an inline input field for sending messages directly to DSH; the input row keeps compact spacing from the panel bottom.
  • Panel controls: Supports pinning, top drag and two-axis resize from the bottom-right; resizing keeps the current position and no longer snaps to the screen edge; the expanded state remains draggable and resizable.
  • Virtual-display tab: The tab remains visible with an empty state when the virtual display is not running, instead of hiding the whole row.
  • Virtual-display preview panel: Adds an independent low-frequency JPEG preview channel that does not occupy screenshots, screen recording or the right-sidebar live stream; the server throttles per display and the client refreshes at a fixed cadence, keeping the previous frame when no new frame is available.
  • Expanded virtual-display preview: The Virtual display tab can expand into a preview that fills only the floating panel, leaving only a collapse control at the top-right; it does not become full-screen and does not affect panel movement or resizing.
  • Virtual-display degradation: When the virtual display is absent, not running, preview encoding fails or the request is throttled, the panel keeps the previous frame or shows an empty state instead of a silent black screen.

Boot, app auto-start and keep-alive

  • Boot start: Adds a boot receiver; only when “Auto-start sandbox and DSH when opening the app” is enabled does boot trigger the combined startup.
  • App auto-start: On app open, starts the sandbox and DSH silently according to the switch, reusing the notification “Start” idempotent path and waiting for bootstrap before starting DSH.
  • Combined startup order: Auto-start waits for bootstrap / version arbitration to finish before starting DSH, avoiding a sandbox-only start.
  • Keep screen on: Adds a “Keep screen on” switch scoped to the whole app foreground.
  • Continue with screen off: When DSH is READY and the switch is on, holds a partial wake lock; releases it when leaving READY, turning the switch off or destroying the service.
  • Desktop floating-ball switch: Moved into General settings, controlled separately from keep-screen-on and wake lock.

Container file access

  • System file picker entry: Adds a DocumentsProvider that exposes a merged container /root view to the system file picker and external apps.
  • Directory scope: Covers the projects workspace, the share/<mount> shared area and the rest of guest home, with browse, read and write access.
  • Boundaries: The three segment roots cannot be renamed; symlinks across segments are treated as “no such document”.

Two-level settings structure

  • General settings: Theme, language, DSH status bar, Enter-key behavior, update highlights, conversation notifications, vibration and the desktop floating ball are grouped into the General settings subpage.
  • Permissions & keep-alive: Battery optimization, auto-start, background high battery use / pop-up entries, keep screen on, floating ball and wake lock are grouped into the Permissions & keep-alive subpage.
  • System page resolution: Resolves battery optimization, auto-start and pop-up management pages consistently; falls back to app details when no candidate page is available.

Fixes

  • Gecko port occupied: The Gecko build no longer pins 3080 and adapts across 3080..3099 like System WebView; the status bridge, page-compat and health checks all support the port span.
  • False health checks: Probes with launchToken; other services returning 401/403 on the port are no longer treated as DSH ready.
  • System WebView keyboard gap: Removes the fixed -20px bottom gap; page height now meets the keyboard top, with an upper bound for already-shrunk containers.
  • Gecko keyboard sidebars not following: Native sizes GeckoView by IME inset; the page narrows AppFrame by visualViewport, so sidebars and composer follow; the two branches are isolated.
  • Plugin marketplace false installed state: Installation identity uses only the npm name, with no GitHub short-name fallback, avoiding same-name collisions.
  • Wake-lock destruction race: Destroy flag and lock acquisition are rechecked in the same critical section; no wake lock remains after service destruction.
  • Developer mode recovery: Adds a Root enabled marker and restores RootExecutor after process restart; records ADB connection targets and restores server/connect after restart; the panel shows a recovery state; root CLI is no longer removed unconditionally at startup.
  • Adapter plugin rollback direction: On install failure, only half-assembled files are cleaned; the uninstall-failure path is no longer retried.

Optimizations

  • Settings density: The settings home becomes entry rows, with detailed settings grouped in subpages.
  • Scroll preservation: Returning from a subpage keeps the previous scroll position.
  • Path mapping reuse: SandboxFiles serves both the file page and DocumentsProvider, avoiding duplicate path mapping.

Four packages

Package Purpose
dshbox-v1.5.6-system-release.apk System WebView build, about 155 MB; smaller, for devices with a recent system WebView
dshbox-v1.5.6-gecko-release.apk Embedded Gecko build, about 244 MB; no system WebView dependency, for older or special WebView environments

Install either APK; both share the same package name and signature and can overwrite each other.


The following two packages are runtime build assets and do not need to be downloaded:

Package Purpose
dshapp-runtime-debian-arm64-0.1.0.zip Full runtime package; import via “Offline runtime package import” in Settings
0.2.2-rc.2.tar.zst Official DSH offline update package; import via “Update DSH (offline)” in Settings

Thanks for using DSHBox! If you run into problems or have suggestions, please report them via Issues.

QQ group: 2163082322

Source: README.md, updated 2026-11-30