Bridges DeepSeek Harness lifecycle status, errors, and approval requests to a locally running OpenPets desktop companion.
Install
# from npm (prebuilt)
dsh plugin --profile web add @open-pets/dsh
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:OpenPetsHQ/openpets#path:/packages/dsh
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
Cordis plugin connecting the DeepSeek Harness (DSH) agent runtime directly to the OpenPets desktop companion.
Features
- Lifecycle Reactions: Synchronizes DSH agent status (
running⇄idle), errors, and approval requests with companion emotions. - Status Stream Awareness: Extracts
⏵status lines from assistant stream chunks and displays them in companion speech bubbles. - Tool Operation Reactions: Maps
bashexecutions (running),edit/writeoperations (editing), andreadoperations (working). - Toggleable Configuration: Enable or disable per profile or dynamically via Cordis plugin configuration.
- Safe & Fail-safe: Automatically sanitizes paths and messages, strips URLs/secrets, throttles speech rate, and isolates IPC failures so the agent loop never stalls.
Installation
Add to your DSH profile or user configuration (~/.dsh/cordis.patch.yml):
- insert:
- id: plugin-openpets-dsh
name: '@open-pets/dsh'
disabled: false
config:
enabled: true
minSpeechIntervalMs: 1200
enableStatusLineStream: true
enableToolEvents: true
enableApprovalEvents: true
Configuration Options
| Option | Type | Default | Description |
|---|---|---|---|
enabled |
boolean |
true |
Master switch to enable or disable listener registration. |
minSpeechIntervalMs |
number |
1200 |
Minimum interval (in ms) between speech bubble notifications. |
enableStatusLineStream |
boolean |
true |
Forward ⏵ status lines from assistant stream chunks. |
enableToolEvents |
boolean |
true |
React to tool executions (bash, edit, write, read). |
enableApprovalEvents |
boolean |
true |
Announce when an approval request is waiting for human permission. |
Event Mappings
| DSH Event | OpenPets Reaction | Speech Behavior |
|---|---|---|
agent/status: running |
thinking |
Curated thinking speech |
agent/status: idle |
success |
Curated success speech (suppressed for 5s after errors) |
agent/error |
error |
Curated error speech |
approval/request |
waiting |
Curated permission speech |
agent/assistant-stream |
working |
Sanitized ⏵ status line |
tools/result (bash) |
running |
Sanitized tool description |
tools/result (edit/write) |
editing |
Sanitized file action |
tools/result (read) |
working |
Sanitized read action |
License
MIT
Links
More in this category
xmanrui/dsh-im★ 3118
Connect IM bots to DeepSeek Harness via QR codes or bot credentials (9 channels: Feishu, WeChat, DingTalk, WeCom, QQ, Slack, Telegram, Discord, and WhatsApp).
shaobeichen/dsh-pocket★ 2685
Remote phone access to the DSH Web UI: scan a QR code for LAN or public (cloudflared tunnel) access with real-time sync, a mobile-adaptive layout, and a settings tab.
c1overzz/dsh-bili-scroll★ 1150
Let your DSH agent browse Bilibili on its own, read subtitles, write a daily digest, and @ you when it finds something worth your attention.
inclusionAI/Avernet#deepseek-harness-channel-bcn★ 599
Connects DeepSeek Harness to Avernet's Bot Collaboration Network over WebSocket V2, with automatic onboarding, isolated agent sessions, tool-call events, and multi-bot routing tools.
zaofan-make/dsh-qqbot★ 213
QQ official bot channel for DeepSeek Harness (feature-rich fork of tencent-connect/dsh-qqbot): group and private chat with the full agent, sticker library with auto-tagging and AI meme replies, group management (join approval and mute), botplay interactive card events with paginated catalogs, user extension registry (custom slash commands and QQ tools), scheduled wakeups, remote approvals over QQ, and a floating dock web UI.
Yuuyuko-uu/dsh-qq-link★ 157
Bridges a DSH session and QQ over NapCat HTTP, forwarding agent replies to QQ and feeding messages you send in QQ back into the session.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.