Back to catalog

QingshanYousi /

QingshanYousi/DSH-Plugin-RedAi-Base

Topic repository only

This plugin has no description yet.

★ 0 Stars0 Forks0 IssuesN/A Community rating0 Confirmed installs
READMESource: main@3eedf278

dsh-plugin-redai-base

R 版本的基础服务层。为后续功能提供承载空间——没有它,其它插件没有展示的位置。

当前模块

模块 id 内容 状态
accountPopover 账户浮层里的套餐/积分与成长区 静态占位

设计原则

  1. 只加不改:不接管官方「设置 / 意见反馈 / 退出登录」,它们是官方元素,功能与快捷键不变。
  2. 模块隔离:每个模块独立 try/catch,一个模块异常不影响其它模块,也不影响客户端启动。
  3. 单独开关:cordis.patch.yml 的 config.modules.<id>: false 即可关闭某个模块。
  4. 优雅降级:识别不到宿主 DOM 就什么都不做,官方界面照常可用。

新增模块

在 lib/client.js 的 MODULES 数组里追加 { id, mount },并在 cordis.patch.yml 登记开关。

—/ 5

No ratings yet

Community comments

No comments yet. Be the first to write one.