PL-PRISM:给 DSH 配一位记得住你、也接得住情绪的本地赛博伴侣

Introduction

In DSH, connecting with large language models for chat often presents a common issue: a lack of conversational continuity. The bot acts like it hasn’t heard what was just said in the next round, and switching topics reverts the tone to the default customer service tone. If you need to switch between different personas within the same environment and are worried about settings and memories getting mixed together, you need to handle role isolation, memory, and unified tone scheduling at the plugin layer.

Below is an introduction to the community plugin PL-PRISM (maintainer ZSY060116, GitHub repository ZSY060116/PL-PRISM). It serves as a cyber companion control hub for DSH: the open-source Lite version (this repository, version 1.0.0, MIT) is ready to use out of the box; the more capable Full version is available as an encrypted package in the repository’s Releases. Do not install both versions at the same time to avoid setting overwrites.

What is it

PL-PRISM (package name prism) is positioned as a companion plugin for DSH that “truly remembers you and can handle your emotions.” Data defaults to local storage. The Lite version focuses on daily companionship: multiple role profiles, chat memory, tone changes based on conversation, local sticker libraries, and a graphical settings panel; the Full version enhances emotional sensitivity, long-term memory, and role profile lookup (see the comparison table in the README for itemized details).

Runtime requirements (from package.json): Node >=20, DSH >=0.1.0.

Core Features

Multi-role and Independent Profiles

There is no limit on the number of role cards. Each card can include name and address, personality, catchphrases, likes and dislikes, background story, birthday, and exclusive settings; when switching roles, their personalities, speaking styles, and remembered facts do not interfere with each other. Different chat windows can bind different roles, allowing each conversation to proceed independently.

Memory and Emotion

The plugin remembers items you mentioned across multiple rounds of conversation (e.g., dietary restrictions, recent status) and brings them up naturally in the appropriate context, rather than robotic repetition. The tone changes continuously with the conversational context; memory and emotion accumulate over time. Each conversation has a context length limit; if chatting for a long time, you can adjust it in the panel or use “Start Over.”

Local Stickers

Supports batch importing images, with files saved locally. After importing, they are first sorted by emotion category (e.g., Happy, Sad, Angry; unrecognized ones go to “Uncategorized”), and category names can be customized. The panel provides “One-click Smart Sorting”; if the service is disconnected or temporarily unable to display images, it clearly indicates failure rather than guessing. When chatting, images are selected from the corresponding category based on the current emotion; if that category is empty, it falls back to “Uncategorized”; if the sticker library is empty, only text is sent; the sticker library is independent of the chat history.

The Full version is stronger in GIF understanding and sorting capabilities compared to the Lite version (see the comparison table in Section 8 of the README).

Schedule and Do Not Disturb

Time-related settings use a “Start + End” interval that can cross midnight. You can configure active time, lunch break do-not-disturb, night rest, scheduled greetings, etc. When in the “Rest” period, it will not reply immediately; it waits until the allowed time to reply and will not send the same greeting repeatedly within the same day.

Control Hub Panel

Click the sidebar crystal prism icon to enter. Settings are divided into four groups: Soul Settings (Roles and Personas), Memory and Rhythm, Social Boundaries, and Stickers & More (including the selected chat service). Most are switches and sliders; changes take effect immediately. The panel temporarily stores unsaved edits and supports undo. The right side displays diagnostic tips to locate disconnected or incorrectly filled items.

Privacy (Lite Version)

Role cards, chat memory, and stickers are stored locally; the Lite version does not connect to the internet on its own; external connections depend on the chat service you configured in the “Diagnosis Brain Interface.”

Installation and Enablement

It is recommended to install from the DSH Plugin Market (steps as per the original README):

  1. Search for PL-PRISM in the DSH Plugin Market.
  2. Click Install.
  3. Restart DSH.

After completion, the crystal prism icon will appear in the left sidebar icon bar.

Manual Install: Download the repository files and place them in the DSH plugin folder, then restart DSH.

Full Version: Download the encrypted package from the repository Releases, extract it, place it in the DSH plugin folder, and restart. The process is the same as for the Lite version. Before switching versions, it is recommended to use the panel’s Export to backup role cards and settings.

First Use

After installation and restart, follow the order in Section 7 of the README:

  1. Click the left crystal prism icon to enter the Control Hub.
  2. Fill in your QQ number in [Global Settings] to complete “Ownership Recognition” (认主).
  3. Manually write role profiles in [Role Profiles], or generate them with one click and then edit.
  4. If you need to connect a chat service outside of DSH, follow the prompts in [Diagnosis Brain Interface] to fill in and test connectivity; this can be skipped if you are only chatting within DSH.

When you need stickers, simply upload images in the “Sticker Gallery,” and the plugin can handle the categorization.

Applicable Scenarios and Notes

  • Suitable for: Developers or users who want to maintain fixed personas in DSH long-term, need to remember fine-grained preferences, want a local sticker library for “meme battles,” and want to adjust memory and schedule via the panel rather than editing configuration files.
  • Lite vs. Full Version: If unsure, start with Lite; consider the Full version from Releases only if you need more delicate emotions, longer memory, or role profile lookup. Do not run both versions simultaneously.
  • Permissions and Security: The plugin runs with the permissions of the current DSH process and can read and write the local plugin data directory; please read the MIT License and repository source code before installing to confirm trustworthiness. The community directory SkillHub PL-PRISM Page and GitHub are both community maintenance entry points, with no official affiliation to DeepSeek / Huafan.
  • Troubleshooting: If there is no change after installation, confirm that the plugin is enabled, role cards have been created, and the current window has assigned a role; when the panel shows “Disconnected,” check [Diagnosis Brain Interface] and view the red explanation on the right. For issue feedback, use GitHub Issues or the email listed in the README (refer to the current version panel).

Conclusion

PL-PRISM brings multi-role capabilities, local memory, emotionally continuous tone, local stickers, and a unified settings panel into DSH, reducing the “amnesiac customer service” style of conversation experience. You can search for the name in the plugin market to install and try the Lite version; details and version differences follow the repository README.

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

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

Xiaoye