dsh-mood: DeepSeek Harness Mood System Plugin

Introduction

DeepSeek Harness (DSH) supports extending model capabilities through plugins. dsh-mood is a plugin designed to add a mood system to the models within DSH. It maintains values for 33 distinct moods, automatically determines the current mood, and injects it into prompts, thereby influencing the tone of replies and the “inner voice” during deep thinking.

The plugin operates independently of any persona plugins. It only overlays emotions without modifying the persona. It reads whale-persona/config.json solely to reference the persona name within prompts but does not write to that file.

Feature Overview

The plugin includes the following core capabilities:

  1. 33 Mood System: Contains three categories of moods—basic, complex, and contemporary—each holding a value from 0 to 100.
  2. Auto-Determination & Mixing: Automatically determines the mood every 3 to 6 hours; scores that are close are retained as “mixed moods.”
  3. Prompt Injection: Injects the current mood into the prompt, affecting the tone of replies and the inner monologue during deep thought.
  4. Daily Mood Diary: Generates a mood diary at a set time.
  5. Current Affairs: Supports configuring RSS, web, or video sources to fetch current events.
  6. Proactive Messaging: Supports the model initiating conversations proactively (disabled by default).
  7. Storage Relocation: Supports moving the data storage location to any directory.
  8. Voice Analysis: Supports voice analysis (uses the zero-shot model by default).

Installation

The plugin must be installed within the profile directory. Since the npm name is already taken, you must use a github: or file: path during installation.

  1. Open a terminal and navigate to the target profile directory:
    cd ~/.dsh/profiles/<profile>
  1. Run the installation command:
    pnpm add github:JMX-4869/dsh-mood
  1. After installation is complete, DSH must be restarted.
  2. Note: Version 0.14.5 has a missing module bug; please upgrade to 0.14.6+.

Configuration & Usage

After installation and restarting DSH, you can view and use the relevant features in the settings.

  1. View Mood & Prompts:
    • Go to Settings → Mood Diary to view the current mood bar chart.
    • On the Mood Diary page, click the tab at the top to view the injected prompt.
  2. Configure Current Affairs:
    • Go to Settings → Current Affairs. No sources are added by default, meaning no requests will be initiated.
  3. Proactive Messaging:
    • Go to Settings → Proactive Messaging. Disabled by default.
  4. Disable Individually:
    • Set enabled: false in the configuration to turn off the mood system individually without affecting persona operations.

Notes

  • Installation Path: Must be installed in the profile directory; installation in an empty directory is not possible.
  • npm Name Conflict: The name is already taken on npm; ensure you use github:JMX-4869/dsh-mood or a file: path for installation.
  • Restart Requirement: After installation, upgrading, or modifying configurations, you must completely exit DSH and reopen it.
  • Permission Restrictions: The plugin only reads whale-persona/config.json and does not write to any configuration files.
羽毛球分组比赛记分
小程序二维码

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

Xiaoye