dsh-personalization-local: DeepSeek Harness Personalization Plugin

Introduction

DeepSeek Harness (DSH) adopts a plugin-based architecture, allowing community developers to extend its functionality. When developing or using agents, the default models often lack specific identity settings or reply styles. Without intervention via external tools, manually adjusting system prompts for every new conversation is inefficient.

The dsh-personalization-local plugin adds a “Personalization” section to the DSH settings page, allowing you to configure how the AI addresses you, your profession, self-introduction, and reply preferences in one go. Once the configuration is saved, the system automatically injects this information into the system prompt of every new conversation, ensuring the AI operates according to your settings from the very first message.

Core Features

This plugin primarily provides the following configuration options:

  1. About You: Set how the AI addresses you, your profession/role, and additional self-introduction text.
  2. Chat Reply Preferences: Control the verbosity of replies, emoji usage, tone style, and answer structure.
  3. System Prompt Injection: Configuration takes effect immediately upon saving, directly applying to the next new conversation.
  4. Persistence: Configuration content is written to the DSH profile patch and persists after application restart.

Installation and Activation

Ensure that the installed version of DeepSeek Harness is 0.2.0-rc.2 before use.

Web Version Installation

Execute the following command in the terminal to add the plugin:

dsh plugin --profile web add dsh-personalization-local@latest

Desktop Version Installation

The desktop profile is exclusively managed by the application and cannot be installed via the dsh plugin add command. Manual installation is required:

  1. Install the plugin into the desktop profile:
    pnpm --dir ~/.dsh/profiles/desktop add dsh-personalization-local
  1. Append the package name to the bundles list:
    node -e "
    const fs = require('fs'), p = process.env.HOME + '/.dsh/profiles/desktop/package.json';
    const j = JSON.parse(fs.readFileSync(p, 'utf8'));
    if (!j.dsh.profile.bundles.includes('dsh-personalization-local')) {
      j.dsh.profile.bundles.push('dsh-personalization-local');
      fs.writeFileSync(p, JSON.stringify(j, null, 2) + '\n');
    }
    console.log('bundles =', j.dsh.profile.bundles.join(', '));
    "
  1. Quit the application completely (Cmd+Q) and restart DeepSeek Harness.

Typical Usage

  1. Open the Settings page in DSH, where a Personalization section will appear in the left navigation bar.
  2. Under this section, fill in the “About You” information and select the “Chat Reply Preferences” options, then click Save Settings. Upon successful saving, the system will indicate that the configuration is active.
  3. Close the current conversation, start a new conversation, and ask the AI a question (e.g., “What do you call me”) to verify the system prompt injection effect.

Notes

  • Version Requirement: DeepSeek Harness 0.2.0-rc.2 is required. The plugin is implemented based on the settings, systemPrompt, and client slots interfaces of this version.
  • Runtime Scope: The plugin only registers a systemPrompt segment and does not modify model requests, tool schemas, or provider routing.
  • Data Storage: Configuration is managed by the DSH settings service and persisted to the profile patch file; the plugin itself does not write to disk directly.
  • Compatibility: Uninstalling the plugin does not affect previously generated conversation history.

Conclusion

dsh-personalization-local is a lightweight DSH plugin designed to unify AI behavior patterns through configuration. If you wish to get consistently styled replies in specific scenarios, or use it as a foundational configuration for agent development, you can install and use it directly via the commands above.

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

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

Xiaoye