
No description provided.
Install Dsh Mobile
Likely fails to load: not on npm, needs a build, and ships no `prepare` script — a git install fetches sources, not built artifacts, so the entry point is never produced.
This install is expected to fail
prepare script to run it, and is not published to npm — so nothing produces the compiled output the loader then goes looking for.Three things would fix it, all of them on the author's side: publish the package to npm, add a prepare script that builds on install, or commit the build output to the repository. Until one of those happens, the command below is here so you can reproduce the failure, not so you can install it.
What would be run — expected to install and then fail to load
# 1. add the bundle to a profile — --profile my-profile points at $DSH_HOME/profiles/my-profile
dsh plugin --profile my-profile add github:lehhair/dsh-mobile
# 2. verify: the bundle should show up as a layer in the resolved config
dsh --profile my-profile --dump-config
# 3. boot the profile
dsh --profile my-profileBefore you run it
- A plugin runs with your permissions once loaded: it can read your files, use your credentials and reach the network. Tool approvals do not sandbox it.
- Installing from git resolves a moving branch. Pin a commit —
github:lehhair/dsh-mobile#<commit-sha>— so the code you reviewed is the code you install.
Prerequisites
- API key
- Not required.
- Network access
- Not required at runtime.
- Language
- TypeScript — a git install pulls this source, not build output.
Install check
Every field the verdict was derived from, so you can re-derive it yourself
| Field checked | Result | Weight | What the spec says about it |
|---|---|---|---|
| lifecycleScripts | pass | info | no install-time scripts |
| dsh.bundle | pass | fatal | package.json declares a `dsh.bundle` layer |
| dsh.bundle.patch file | pass | fatal | patch file present at `cordis.patch.yml` |
| npm registry | missing | warn | `@dsh-external/dsh-mobile` is not published to npm |
| prepare script | missing | fatal | needs a build but ships no `prepare` script — a git install fetches sources, not built artifacts |
- Verdict reason
- git-only + needs build + no prepare script
- package.json read
- package.json
- Rules applied from
- docs/user/develop/basic/publish.md
- Checked at
- 2026-08-15
From the README
Excerpt as published by the author, plain text, unedited
DSH WebUI 移动端适配插件(**PiUI 翻页器结构**):窄屏下框架本身就是横向 scroll-snap 翻页器,两页卡片——**半开侧边栏页**(`min(360px, 50vw)`)+ **全宽聊天页**。滑到侧边栏页后聊天卡片仍在右边露出一半(PiUI 同款 overlayWidth 效果),聊天渲染零改动。纯客户端适配,零核心改动——官方 rc.2 发行版直接可用。 - **PiUI 翻页器**:≤768px 时三栏框架重排为两页横向 snap 轨道——侧边栏页半开宽(约半个视口),聊天页全宽;**滑到侧边栏页时聊天卡片在右半露出(半边信息流)**,PiUI 同款结构 - **侧边栏始终完整渲染**:窄屏下控制器自动展开 AppFrame 折叠的侧边栏并保持(滑动翻页**不同步状态**)——侧边栏列的内容在聊天全屏时也完整留在 DOM 里,滑回来立即可见,**绝不"滑动才跟着渲染"** - **同色区分**:侧边栏与信息流同色(平页,无圆角阴影);**只有信息流是卡片**(16px 圆角 + 阴影 + 细边框),PiUI 同款视觉 - **PiUI 3D 翻页**:滚动时聊天卡片 `rotateY/scale` 跟随(`transform-origin` 偏向滑动侧),`prefers-reduced-motion` 关闭 - **吸附修正**:滑动停止后自动吸附最近整页(滑不到位自动回弹/修正),永不卡半页 - **安全区与键盘**:`viewport-fit=cover` + safe-area env() 变量 + visualViewport 驱动的 `--dshm-keyboard-inset`;`100dvh` 动态视口 - **原生视觉**:桌面宽度下逐字节等同原生(全部规则以 ` ` 为作用域,卸载
Topics
GitHub topics on this repository