dsh-composer-clock: Display Local Time Next to the Message Composer

Introduction

In the DeepSeek Harness (DSH) conversation interface, the message editor (composer) is the most frequently used operation area. While composing a message, having a quick reference to the local time helps gauge the timing of sending. Existing approaches require switching to the system taskbar or relying on timestamps in session metadata, which is not very intuitive. dsh-composer-clock adds a persistent capsule-style time display at the bottom of the editor, positioned after the activity and usage statistics entries.

Plugin Overview

dsh-composer-clock is a DSH plugin developed by maintainer omori-sun. It inserts a row into the dock area of the conversation editor, displaying the current local time and day of the week. Colors automatically adapt to the active DSH theme, supporting light, dark, and custom themes.

Core Features

  • Local time display: Shows the current local time and day of the week below the message editor, formatted as 14:09 Wed.
  • Theme adaptation: Colors are pulled from the current theme’s tokens, requiring no manual adjustment.
  • Click-through: The entry is set with pointer-events: none, so it does not intercept user clicks and will not interfere with normal interactions.

Installation & Activation

Run the following command in your terminal to install the plugin from the GitHub repository:

dsh plugin --profile <profile> add github:omori-sun/dsh-composer-clock

Alternatively, in the DeepSeek Harness interface, navigate to Plugins → Add plugin and install from a local folder. After installation, restart the application (or wait for the hot reload to take effect), open any conversation, and the time capsule will appear in the editor dock, right after the activity and usage statistics entries.

Technical Details

The plugin uses cordis.patch.yml to inject a composer-clock row, with client.js registering the entry into conversation.composer.dock. index.js is empty; actual rendering is handled by the client module. The plugin does not rely on build tools, has no additional dependencies, and requires no host capabilities.

Requirements & Limitations

  • Requires the DSH Web UI with a version that includes conversation.composer.dock (dsh 0.1.0-rc.6 or later).
  • Displays only the local machine time; timezone configuration is not supported.
  • Conversation-scoped: the entry will not render on the blank “New Conversation” screen.

Usage Recommendations

Well suited for DSH users who need to quickly confirm the local time, especially in scenarios where precise send timing matters. Before use, please review the source code and license to confirm compatibility with your current workflow.

dsh-composer-clock provides a minimally intrusive way to glance at the time, enhancing the experience of composing messages. The plugin directory and source code are available on SkillHub and GitHub.

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

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

Xiaoye