Preface¶
When using DeepSeek Harness (DSH) for development or automation tasks, agents often require user intervention, such as answering questions, requesting approval for tool calls, or completing the current turn. If you step away from the DSH interface, these critical events can easily be missed. The dsh-ping plugin sends notifications via Telegram to ensure you receive these alerts regardless of your location, thereby preventing workflow interruptions.
Plugin Overview¶
dsh-ping is a DSH plugin focused solely on notification functionality. It does not intercept DSH interactions, generate custom question cards, or implement answer or approval logic. The plugin simply observes the DSH event stream and pushes key information to Telegram. Maintained by chintoleung, this plugin is released under the MIT License and has zero runtime dependencies.
Core Functions¶
The plugin currently provides notifications for three types of core events:
- Question Notification: Triggered when the agent calls the native DSH
ask_user_question. - Approval Notification: Triggered when approval for a tool call is required.
- Completion Notification: Triggered when a turn ends (enabled by default).
The plugin relies entirely on the native DSH GUI for interaction; it does not support answering questions or approving actions directly within Telegram.
Installation and Activation¶
Before installation, ensure your environment meets the following requirements:
* DSH is installed (using the next channel is recommended).
* Node.js version >= 22.
1. Obtain Telegram Credentials¶
Create a bot in Telegram via @BotFather and use the /getUpdates method to obtain your chat.id. Please keep your botToken secure.
2. Install the Plugin¶
Execute the installation command under your current profile (e.g., web):
dsh plugin --profile web add github:chintoleung/dsh-ping
3. Configure Credentials¶
Edit the cordis.patch.yml file in your profile directory and add the following configuration:
- id: dsh-ping
config:
telegram:
botToken: !!js "process.env.DSH_PING_TG_TOKEN || ''"
chatId: !!js "process.env.DSH_PING_TG_CHAT || ''"
4. Set Environment Variables¶
Set the environment variables and ensure they are visible to the process launching DSH:
export DSH_PING_TG_TOKEN='your-bot-token'
export DSH_PING_TG_CHAT='your-chat-id'
5. Restart DSH¶
Restart the DSH service and check the logs to confirm the plugin has loaded (e.g., [dsh-ping] armed: question/approval/turnEnd).
Compatibility¶
The plugin maintainer monitors the DSH next channel and performs compatibility checks upon new releases. As of October 17, 2026, the plugin has been verified for compatibility with DSH version 0.2.1-rc.2. The plugin itself does not perform npm dependency checks or updates; it is strictly for notifications.
Important Notes¶
- No Inbound Connections: The plugin does not perform inbound polling, utilize webhooks, or maintain an admin console or runtime state files.
- Privacy Risks: Notification content (question summaries, approval details, session titles) may contain sensitive information. Please ensure the security of the transmission channel.
- Interaction Permissions: DSH retains all interaction permissions. The plugin is responsible only for notifications and does not interfere with the approval workflow.
Conclusion¶
dsh-ping provides a lightweight bridge between DSH and Telegram. You can visit the Community Directory for more details or view the source code on GitHub.