
Security News
vlt 1.5.0 Adds Agent Skills Management
vlt 1.5.0 links skills from JavaScript dependencies to coding agents, with lockfile versioning and Socket data to filter out known malicious packages.
dsh-mobile-ux
Advanced tools
一个独立、可维护的通用 DSH Web 移动端体验插件。它以 CSS 调整窄视口下的 shell 布局,在 PWA 中提供 sidebar 手势,并在窄屏触控浏览器(包括普通移动浏览器标签页)中提供上拉刷新,不参与 session、认证、权限、传输或业务状态管理。只要 DSH 构建保留下面的 web-profile 兼容契约,官方 DSH 及兼容构建都可以复用这个包。
本项目的移动端体验实现参考了 qingshanyuluo/dsh-mobile-ux。
本仓库同样以 MIT License 发布,完整许可文本见 LICENSE。
styles/mobile.css 是行为核心:桌面端不添加任何规则;窄视口将三列布局收缩为 0 / 1fr / 0,把 sidebar 变成覆盖层,并保留折叠态的 36px 入口。dist/client.js 是 DSH 浏览器模块入口:沿用 window.__ModuleLoader__.load(...) 的形状,负责幂等 CSS 注入、目标 DOM 兼容性检测、PWA 内的 sidebar 手势绑定,以及窄屏触控浏览器中的上拉刷新,不搬运布局状态机。data-* 钩子,结构兜底使用 _frame、_sidebarCol 等语义后缀;不依赖构建时生成的 hash class。dvh 与 safe-area bottom,避免键盘和 Safari 地址栏遮挡发送按钮。preventDefault(),因此 iOS 可能同时执行同源历史返回,这是已接受的产品边界。cordis.patch.yml,并在 profiles/node_modules/dsh-mobile-ux 建立指向本插件目录的链接。兼容性失败时不会写 patch 或链接。npm run build
npm run check
npm test
npm test 会先构建,然后执行 CSS 契约、通用 web-profile artifact 契约、profile 持久化以及 client.js 的真实模块注册/执行测试。
独立的鲸鱼上拉刷新交互 demo 保存在 docs/prototypes/whale-refresh-demo.html。它只用于观察页面位移、喷水动画和提示文字的时序,不属于插件运行时,也不会随安装器自动启用。
正式刷新模块提供独立启停和 whale / text 渲染器切换,供未来设置界面接入。其他插件可通过 dsh-mobile-ux/pull-refresh 复用;接口及设备验收边界见 模块文档。当前尚无设置界面或设置持久化。
dist/ 是可运行的发布产物,已随仓库保留;但从 checkout 使用前仍应显式执行:
npm run build
npm run check
prepare 会在 npm/pnpm 安装 Git 依赖时重新生成 dist/。DSH 的插件添加流程可能只是链接本地目录而不执行 npm lifecycle,因此不能只依赖 prepare;直接从 checkout 安装或调试时请先运行上面的构建命令。
如果包管理器的脚本 allowlist 阻止 Git 依赖执行 prepare,应在明确允许该包构建脚本后再依赖 lifecycle;已跟踪的 dist/ 仍提供 checkout 和打包安装所需的运行时兜底。
安装器只有一个通用 dsh-web 兼容契约。显式传入实际的 DSH home;省略时使用 DSH_HOME 或 ~/.dsh。--profile 默认为 web,用于兼容保留相同目录布局但 profile 名称不同的构建。
node .\bin\dsh-mobile-ux.mjs install --dsh-home <dsh-home>
node .\bin\dsh-mobile-ux.mjs install --dsh-home <dsh-home> --profile web
node .\bin\dsh-mobile-ux.mjs status --dsh-home <dsh-home> --profile web --json
node .\bin\dsh-mobile-ux.mjs uninstall --dsh-home <dsh-home> --profile web
省略 --dsh-home 时,安装器按 DSH_HOME、~/.dsh 顺序解析;显式参数优先,并按原样作为最终 home。安装器不会自动启动、重启或停止 DSH,完成安装后由 owner 决定何时重新启动。
home-level patch 是持久边界:部分 launcher 会刷新 profiles/<profile>/package.json 和 profiles/<profile>/cordis.patch.yml,因此只改 profile 内 patch 不能形成可靠安装。这个包使用 <dsh-home>/cordis.patch.yml,并把模块链接放在 <dsh-home>/profiles/node_modules。
安装前同时检查本插件的 dist/client.js、CSS、package metadata,以及目标 home 中 layout/conversation 的稳定钩子。任何缺失都会终止安装并说明缺少的 token。安装只管理带有 dsh-mobile-ux: BEGIN/END MANAGED ENTRY 标记的 patch 行,卸载会保留其他用户 patch;非本插件链接或无标记同名 patch 会拒绝操作。
至少覆盖:
FAQs
CSS-first mobile shell adaptation for DeepSeek Harness web profiles.
The npm package dsh-mobile-ux receives a total of 3 weekly downloads. As such, dsh-mobile-ux popularity was classified as not popular.
We found that dsh-mobile-ux demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
vlt 1.5.0 links skills from JavaScript dependencies to coding agents, with lockfile versioning and Socket data to filter out known malicious packages.

Security News
Rust 1.100 will add opt-in dependency cooldowns to Cargo, giving security scanners and maintainers time to catch malicious crate releases.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.