DeepSeek Harness Plugin: dsh-clock

Introduction

The design philosophy of DeepSeek Harness (DSH) is “everything is a plugin.” During development or usage, there are times when one needs to constantly check the current time. dsh-clock is a client-side plugin that persistently displays the current date and time in the bottom status bar (composer dock) of the chat interface and provides a visual configuration entry.

Core Features

  • Persistent Display: Displays the current date and time in the bottom status bar, refreshing every second by default.
  • Visual Configuration: Provides a settings panel where you can configure options directly by clicking or toggling controls.
  • Display Content Configuration: Supports three modes: “Date + Time”, “Date Only”, and “Time Only”.
  • Detail Configuration: Allows controlling whether to display the day of the week and whether to show seconds.
  • Refresh Interval: Supports custom refresh frequencies ranging from 250–60000ms.
  • Persistence: Configuration is persisted to the current profile’s Cordis patch (cordis.patch.yml).
  • Command Line Support: Supports presetting default values via configuration files.

Installation and Enablement

Prerequisites: After installing the plugin as a dependency, it must be added to the profile’s dsh.profile.bundles, otherwise it will not load.

Desktop: Install or enable via Settings → Plugins.

Command Line Installation (choose one of the following):

dsh plugin --profile <name> add github:DeepCodec/dsh-clock
dsh plugin --profile <name> add https://github.com/DeepCodec/dsh-clock.git
dsh plugin --profile <name> add /path/to/dsh-clock
dsh plugin --profile <name> add @deepcodec/dsh-clock

Activation: You must restart DSH Desktop after installation.

Configuration Methods

Visual Configuration: Open Settings → General → Clock, and simply click or toggle controls; changes take effect immediately.

Configuration File: Preset default values in the profile’s cordis.patch.yml. The configuration items are described as follows:
- mode: Display content. Options: date (Date Only), time (Time Only), dateTime (Date + Time).
- weekday: Whether the date line includes the day of the week (Boolean).
- showSeconds: Whether to display seconds in the time (Boolean).
- intervalMs: Refresh interval (Number), range 250–60000ms.

Example configuration:

- id: dsh-clock
  name: dsh-clock
  config:
    mode: dateTime
    weekday: true
    showSeconds: true
    intervalMs: 1000

Notes

  • Namespace: The plugin’s settings namespace corresponds to the profile entry id (i.e., dsh-clock). All configuration reads and writes are based on this key.
  • Restart Required: Changes to configuration or plugin installation require a restart of DSH Desktop to take effect.
  • Ecosystem Note: The DSH plugin directory is not officially affiliated with DeepSeek or High-Flyer.
羽毛球分组比赛记分
小程序二维码

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

Xiaoye