界面与主题 · v0.1.6
@dsh-external/dsh-mobile
DSH mobile-friendly web UI plugin (PiUI chat-pager mode): on narrow screens the stock three-column frame becomes a horizontal scroll-snap pager — sidebar | chat — with the chat column rendered completely untouched as a flush rounded card with a PiUI-style 3D flip; swipe or the top-left button flips pages, a settle re-snap always lands on a whole page, and the sidebar page shares the chat background. Safe-area + virtual-keyboard insets, touch-sized controls, hidden scrollbars on coarse pointers. Pure client-side adaptation over the stock frame — zero core changes, works on official dsh 0.1.2+ distributions.
该插件尚未翻译,显示作者原文。
安装命令
dsh plugin --profile web add git+https://github.com/lehhair/dsh-mobile
实测:这条命令在隔离环境里装得上,并且已经挂载。
检测报告
能力清单
- 写入文件
writes-files需留意2 处命中…thub/workflows/build-release.yml:86node -e "const fs=require('fs');const p=JSON.parse(fs.readFileSync('package.json','utf8'));delete p.devDependencies;fs.w……thub/workflows/build-release.yml:92node -e "const fs=require('fs');const p=JSON.parse(fs.readFileSync('package.json','utf8'));const fixed=p.name.replace(/^…- 看写入位置。写自己的配置目录是正常的,写系统目录不是。
- 运行时改写自身配置
modifies-own-manifest需留意1 处命中…thub/workflows/build-release.yml:86node -e "const fs=require('fs');const p=JSON.parse(fs.readFileSync('package.json','utf8'));delete p.devDependencies;fs.w…- 运行时改写自身配置会让下次启动的行为和你看过的源码不一致。
- 读取文件
reads-files一般7 处命中…thub/workflows/build-release.yml:86node -e "const fs=require('fs');const p=JSON.parse(fs.readFileSync('package.json','utf8'));delete p.devDependencies;fs.w……thub/workflows/build-release.yml:92node -e "const fs=require('fs');const p=JSON.parse(fs.readFileSync('package.json','utf8'));const fixed=p.name.replace(/^……question-takeover.client.spec.ts:20const css = readFileSync(resolve(process.cwd(), 'src/client/mobile.css'), 'utf8')…s/settings-dialog.client.spec.ts:14const css = readFileSync(resolve(process.cwd(), 'src/client/mobile.css'), 'utf8')- 读文件是绝大多数插件的正常工作方式,本身不构成顾虑。
- 读取环境变量
reads-env一般2 处命中tsdown.config.ts:82'process.env.NODE_ENV': JSON.stringify(process.env.NODE_ENV ?? 'production'),- 环境变量里常混有密钥。看它是否把整个 env 都读走。
逐条扫描明细
| 能力 | 标识 | 关注度 | 命中次数 |
|---|---|---|---|
| 写入文件 | writes-files | 需留意 | 2 |
| 运行时改写自身配置 | modifies-own-manifest | 需留意 | 1 |
| 读取文件 | reads-files | 一般 | 7 |
| 读取环境变量 | reads-env | 一般 | 2 |
这份报告的口径
扫描读的是包里的源码,全程不执行第三方代码。 本次读了 18 个文件,扫描于 2026-10-22。 命中次数只说明源码里出现过这类调用,不说明行为好坏——一个插件读写文件 500 次和 1 次 都会被记为「读取文件」。这是能力清单,不是信任评分,也不是安全结论: 没扫出来的能力可能只是写法没被规则覆盖。
可信度
这个插件只在 GitHub 上发布,没有走过 npm 的分发链路。下面的梯子按 GitHub 通道的证据计算:补丁审计、钉在 commit 上的源码快照、隔离试装;L2 的「宿主启动」这一层还没有对 git 通道跑过,所以等级停在 L1。
- -10声明与实物不符:entry-missingmajor:['./lib/client.js', './lib/index.js', 'lib/index.js']
- -5声明与实物不符:types-missingwarn:['./lib/index.d.ts', 'lib/index.d.ts']
- -10声明与实物不符:client-present-undeclaredmajor:['src/client/controller.ts', 'src/client/index.ts', 'src/client/mobile.css']
- -5cordis entry id「dsh-mobile」被 2 个包共用,同时安装会互相替换warn:@local/dsh-mobile
- -2没有 READMEminor
认证等级 未评级
- L0静态结构与契约—契约不符:entry-missing
- L1配置组合与依赖图—entry id dsh-mobile 被 2 个包共用
- L2隔离沙箱冒烟—还没有宿主启动记录
- L3运行时健康监控—未抽样(本层是抽样检测:没有会话不等于干净)
评分口径与作者信息
从 100 分开始按规则扣减:fail −20 / major −10 / warn −5 / minor −2;star 数、下载量、LLM 输出都不参与评分
- 维护者
- —
- 仓库
- https://github.com/lehhair/dsh-mobile
- 许可
- BSD-3-Clause
- 最后发布
- —
- 周下载
- —
- star
- —
扫描状态:已扫描。能力是事实,不是缺陷; 周下载与 star 只作参考,不参与评分。
认证等级只回答四件事:包本身是否完整可解析(L0)、能不能与别的插件组合(L1)、隔离环境里装不装得上并起得来(L2)、抽样运行时有没有异常(L3)。依赖漏洞、仓库存活、下载量都不参与评级,只作为独立信号标注。可信 ≠ 无漏洞,上架 ≠ 推荐。
| DSH peer 依赖 | 2 个dsh-client-ui-primitivesdsh-client-ui-slots均为 @deepseek-ai/ 下的包 |
|---|---|
| 第三方依赖 | 0 个(纯自包含) |
| 依赖安全公告 | 已查询全部依赖,没有匹配到已公开的安全公告(含 DSH 框架包在内的 @deepseek-ai/* 不作查询——那是运行时自己的问题,不是插件的。) |
DSH