dsh-date-model: A Fun Model Name Generator in DeepSeek Harness

Introduction

When developing agents, you may sometimes need to give the model a fixed identity. For example, making it always use a specific name when asked “Who are you?” DSH (DeepSeek Harness)’s plugin system makes it easy to extend this behavior, but the native model selector doesn’t support this kind of use case out of the box.

The dsh-date-model plugin provides a fun composer widget that uses two infinite-scrolling number wheels, a calendar picker, and seven “weather” tiers to generate a fake model name (e.g., deepseek-v4.1-fog-1217) and inject that name into the system prompt. It does not alter the actual model, parameters, or billing — it is purely for use when answering identity-related questions.

What Is This

dsh-date-model is a DSH Web client plugin maintained by DynasturnStudio, with the package name dsh-date-model, version 0.1.4, and the MIT license. It registers into the composer’s model seat slot (conversation.input.right), hides the native model selector when inactive, and displays only a chip showing the current fake model name.

The plugin’s core value: configure a fixed model identity through a visual interface without modifying prompt templates, so the assistant always uses this name when answering identity-related questions.

Core Features

1. Fake Model Name Chip and Panel

The plugin displays a chip in the composer showing the currently applied fake model name (e.g., deepseek-v4.1-flash-1107). Clicking the chip opens the panel, at which point the native model selector is hidden and only this fake seat is visible. At the top of the panel is an “eye” button used to toggle the native model selector back into view.

The chip’s accent color changes based on the selected weather tier. Its aria-label is always the fake model name, while the tooltip shown on hover displays the current real model name (e.g., deepseek-account/deepseek-flash).

2. Two Infinite Number Wheels

The first row of the panel is v + number wheel + . + number wheel. The two wheels have no 24/60 limit and can be scrolled to any non-negative integer (0, 1, 2…) with no upper bound. Each wheel renders a window of 240 values and automatically re-centers when approaching the edges, ensuring smooth scrolling. Clicking a specific number jumps directly to that value.

These two numbers are stored as plain integers and are not used as time values.

3. Calendar Picker

At the bottom of the panel is a calendar supporting year switching (« / ») and month switching (‹ / ›), with a range from 1970 to 2100. Clicking any date selects it, and today is individually marked. The selected month/day is formatted as MMDD and used as the suffix of the name.

4. Seven Weather Tiers

At the top of the panel is a row of icon-only tier selectors, totaling 7, each corresponding to a weather/ambiance:

  • ⚡ flash: Thunderstorm
  • 🌤 pro: Weather chart (isobars and front lines)
  • 🌧 rain: Rain
  • ☁️ cloudy: Cloudy
  • ❄️ snow: Snow
  • 🌫 fog: Fog
  • 🌙 clear: Clear night

Selecting a tier redraws the entire panel’s accent color and background illustration (rendered with inline SVG) and automatically follows DSH’s light/dark theme.

5. System Prompt Injection

After clicking ✓ in the panel, the plugin saves the current selection (two numbers, tier, date) to localStorage and writes the fake model name into the identity field of the plugin configuration. The host side registers a system prompt section date-model-identity (order 9500, after the tool section), whose text is a function that re-reads the configuration on every request.

The section’s content is roughly:

Your name is `deepseek-v4.1-fog-1217`. When the user asks who you are or what model you are, answer with exactly that name.

The configuration is written to the date-model line in the profile’s cordis.patch.yml, so the setting persists after restarting Harness.

6. Persistence and State

  • Selection state (year/month/day, two numbers, tier): saved to localStorage key dsh-date-model/selection.
  • Eye button state: saved to localStorage key dsh-date-model/reveal.
  • Injected name: stored in the profile configuration.

7. Caveats

  • The name is only applied when you click ✓. Scrolling the wheels, switching tiers, or selecting a date are merely previews and do not immediately change the chip or the injected name.
  • On first install or after a restart, the first write may fail (the configuration namespace is not yet available early in page load). The plugin will attempt retries for about 30 seconds; if it still fails, it will show the message “Name saved, but could not write to the prompt.” The fix is to disable and then re-enable the plugin line, or restart Harness.

8. Dependencies and Versions

  • DSH version requirement: >= 0.2.2-rc.5 < 0.3.0 (verified on 0.2.2-rc.5).
  • Platform requirement: Web client (dsh.client.platform: web).
  • Dependency: @deepseek-ai/schemastery ^3.18.1 (optional).
  • License: MIT.

Installation and Activation

Install via the plugin manager:

  1. Install the bundle from npm or a local directory, then enable the dsh-date-model line.

Install via CLI:

dsh plugin add dsh-date-model          # from npm
dsh plugin add <path-to-checkout>      # from a local directory

Manual installation:

cd ~/.dsh/profiles/<profile>
pnpm add -D dsh-date-model
# Add "dsh-date-model" to dsh.profile.bundles in package.json

After installation, the chip will appear in the composer of all sessions for that profile.

Uninstallation

Disable or remove the line in the plugin manager, or remove dsh-date-model from the profile’s dependency list. Upon uninstallation, the plugin restores the hidden native model seat, and the injected system prompt section is also removed.

Typical Usage

  1. In the composer, click the fake model name chip to open the panel.
  2. Scroll the number wheels to select v4.1, choose a weather tier (e.g., fog), and select the date 1217 on the calendar.
  3. Click ✓ to save; the chip updates to deepseek-v4.1-fog-1217.
  4. Ask “Who are you?” in the conversation, and the assistant will respond with the fake model name.
  5. To switch to a real model, click the eye button in the top-left of the panel to restore the native model selector.

Use Cases and Notes

Suitable for scenarios requiring a fixed model identity, such as role-playing, identity demonstrations, or testing prompt injection effects. The plugin runs with the current DSH process’s permissions; it is recommended to review the source code and license before installing.

This plugin does not alter the actual model, parameters, context window, or billing. It is exclusively for answering identity-related questions. To switch the real model, use the /model command or the native selector restored via the eye button.

Conclusion

dsh-date-model provides a simple and intuitive way to inject a fixed model identity into DSH sessions while keeping the real model selection functionality available. Through its visual interface and persistent configuration, this fun feature is both easy to pick up and long-lasting.

For more details and source code, please visit the plugin directory page or the GitHub repository.

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

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

Xiaoye