Introduction¶
DeepSeek Harness (DSH) adopts a plugin-based architecture that allows developers to enhance core functionality through extensions. When client-side logic needs to be implemented without network calls, directly integrating local Node.js plugins is a common approach. The following section introduces a sleep advice tool implemented purely with Node.js.
What It Is¶
This is a client-side plugin named dsh-sleep-hygiene, maintained by developer uckkk. It mainly addresses the need to obtain sleep hygiene advice locally, and is suitable for scenarios that require outputting sleep guidance in conversations or task flows.
Core Functionality¶
The plugin registers a tool named sleep_hygiene. When this tool is invoked, it returns clear sleep hygiene suggestions based on the parameters passed in.
Please note that the returned suggestions fall within the scope of mental health and are for reference only.
Installation and Enabling¶
Use the DSH command line to install the plugin.
dsh plugin add github:uckkk/dsh-sleep-hygiene
Typical Usage¶
After installation, simply invoke the tool registered by the plugin directly in the session.
Since the plugin is implemented purely with Node.js, no network dependencies are required at runtime.
Use Cases and Notes¶
This plugin is suitable for scenarios that require lightweight, network-independent sleep advice.
It is recommended to review the source code before use to ensure compliance with security requirements.
Summary¶
With this plugin, sleep advice can be generated for users without relying on the network. For more details, check the GitHub repository.