D
@wishp3/dsh-friend-settings
v0.1.1 · 3 天前发布
设置父卡片、配置中心小窗与路由
README
@wishp3/dsh-friend-settings
设置父卡片、配置中心小窗(十分区)与数据/关于。
rc.6 没有整页/路由级 client 槽位。本包:
settings.section 注册 dsh-Friend 父卡片(可选再挂 settings.general.item)#/friend/config/<section>hasApiKey验证
1. dsh web 打开设置 → 导航里出现 dsh-Friend。
2. 关总开关后,卡片里悬浮层/音量/角色控件禁用。
3. 点「打开配置中心」→ 十分区都能点开;刷新后 hash 仍停在当前分区。
4. 切界面语言为 en,卡片与覆盖层无中文残留。
5. 「数据与关于」可导出 zip(不含 cache/、vendor/)。
6. 浏览器 DevTools 看 /friend/settings/snapshot,响应里不能出现 API key。
版本兼容矩阵
| DSH 版本 | 状态 | 说明 |
|---|---|---|
dsh@0.1.0-rc.6 | ✅ 兼容 | cordis patch ✅ |
dsh@0.1.0 | ✅ 兼容 | 标准 patch ✅ |
dsh@0.2.0 | ⚠️ 待验证 | 待实测(API 可能在变) |
dsh@0.3.0+ | ❓ 未知 | 尚未发布 |
💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正
元数据
- License
- MIT
- npm
- @wishp3/dsh-friend-settings
- Repo
- https://github.com/wanghehe123/dsh-Friend.git
- Engines
{}- Weekly DL
- 0
- Monthly DL
- 0
- dsh.bundle
{"client":{"platform":"web","inject":["slots","settingsScope"]}}