PrismScopes/dsh-account-alias ↗★ 0
dsh-account-alias
DSH 插件:左下角账户入口不再显示手机号前2后3位,改用自定义 id(可界面配置) | DSH plugin: use a custom id instead of the server-masked phone number in the sidebar account entry 适合需要保护隐私、在界面上隐藏手机号并自定义账户名称的用户。
インストール
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:PrismScopes/dsh-account-aliasドキュメント
README 全文を読む ↗使用
打开 侧栏「插件」→ dsh-account-alias → 行 account-alias → 配置,可以改三项:
| 字段 | 默认 | 说明 |
|---|---|---|
| 自定义 id | User | 左下角账户入口与账号设置页显示的内容。留空 = 保留服务端昵称;支持 {uid} 占位符,展开成账号 UID |
| 脱敏联系方式 | 不显示 | 服务端下发的就是已脱敏手机号或邮箱。选「不显示」后两处界面都不再出现它 |
| 占位文本 | 空 | 「不显示」时用这段文字顶上;留空则该字段直接不出现 |
保存后即时生效,不需要重启(配置字段以 volatile 形式下发)。
等价的配置文件写法(profile 的 cordis.patch.yml):
- id: account-alias
name: dsh-account-alias
config:
alias: PrismScope
contact: hide
contactText: ''