dsh-account-alias: Replace masked phone numbers with custom IDs

Introduction

After logging into DeepSeek Harness (DSH), if no nickname is set, the account entry at the bottom of the sidebar often displays server-issued masked contact information, such as a phone number like 13*****678 or a masked email. This same field also appears in the profile card under “Settings → Account”. For those who record screens, give demos, or use the client in public, this information can still create a sense of unwanted exposure. The community plugin dsh-account-alias is introduced below: without changing the account UID or touching credentials, it replaces the display in the bottom left corner and settings page with a custom ID, which can be adjusted anytime in the plugin configuration.

What is this

dsh-account-alias is published by maintainer PrismScopes and categorized as “Fun Dress-up” in the SkillHub Plugin Directory; the capability classification in the README is “Interface & Experience”. The plugin does exactly one thing: it wraps the host’s existing getProfile return value, rewriting the name / contact for display purposes. It does not replace official account menu components nor modify data on the Platform side.

What problem it solves

When the official package @deepseek-ai/dsh-client-ui-settings-account renders the sidebar account label, the logic is equivalent to prioritizing profile.name, then profile.contact, and finally displaying text like “Logged in”. However, contact comes from the projection of the Platform response by @deepseek-ai/dsh-deepseek-account-platform (masked phone numbers or emails), and the frontend displays them as is. This plugin replaces these two UI displays with a custom ID from the configuration, with an option to choose whether to show masked contact information.

Core Features

  • Custom ID: Defaults to User; if left blank, the server nickname is retained; supports the {uid} placeholder, which expands to the account UID.
  • Masked Contact Info: Defaults to “Don’t show”; when “Don’t show” is selected, the server-issued masked phone number or email will no longer appear in the sidebar account entry or the “Settings → Account” profile card.
  • Placeholder Text: When “Don’t show” is selected for contact info, this can be used as a replacement text; if left blank, the field simply does not appear.
  • Instant Configuration: Changes take effect immediately after saving in the sidebar “Plugins” page (volatile configuration), generally requiring no restart; however, a one-time restart of the Harness is required after the initial installation so the host can read the profile.
  • Clear Boundaries: No networking, no reading tokens, no writing files; the account UID (id) remains unchanged, and inference authentication and credit notifications still follow official links.

Installation and Activation

For the Web client profile, the installation command is:

dsh plugin --profile web add github:PrismScopes/dsh-account-alias

After installation, restart DeepSeek Harness (the host only reads the profile at startup).

You can also search for dsh-account-alias in “Settings → Plugin Market” to install with one click. On Windows, if installing via local source code using the link: method, the README suggests using the install.ps1 script in the repository for a real copy installation and load self-check; this step is not required for installations from the plugin market (git).

The plugin runs with the permissions of the current DSH process; you can view the source code and the MIT license at the GitHub repository before installing.

Typical Usage

  1. After installing and restarting the Harness, open Sidebar “Plugins” → dsh-account-alias → row account-alias → Config.
  2. Fill in “Custom ID”, “Masked Contact Info”, and “Placeholder Text” as needed, and save.
Field Default Description
Custom ID User Content displayed in the bottom left corner and account settings page
Masked Contact Info Don't show Controls whether server masked phone/email is still displayed
Placeholder Text Empty Replacement text when “Don’t show” is selected

An equivalent handwritten profile snippet (cordis.patch.yml) example:

- id: account-alias
  name: dsh-account-alias
  config:
    alias: PrismScope
    contact: hide
    contactText: ''

If the sidebar label does not change immediately after saving the configuration, reopen the settings panel once to trigger a refresh of the account profile.

Use Cases and Notes

Suitable for: Desktop / Web users (README indicates Windows / macOS are both supported, targeting DSH 0.2.x, depending on @deepseek-ai/schemastery ≥ 3.18.4) who want to stop seeing masked phone/email fragments in the sidebar and settings page, but want to retain the official account menu and login state behavior.

Notes:

  • Only changes the display; the server still issues masked contact info, the plugin only controls whether it appears in the UI.
  • Depends on the host having ctx.deepseekAccount (Desktop login state); when not logged in, the sidebar does not have the phone number line anyway.
  • If the host’s native @deepseek-ai/schemastery is unavailable, the plugin still works, but the settings form may be unusable, and the logs will indicate this.

Conclusion

dsh-account-alias uses a lightweight getProfile wrapper to change the bottom-left account entry from a “first 2 last 3 masked number” to a configurable custom ID. It belongs to the category of small tools focused on interface and privacy display within the DSH “Everything is a Plugin” ecosystem. Directory page: SkillHub - dsh-account-alias; Source code and full instructions: GitHub - PrismScopes/dsh-account-alias.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye