Introduction¶
The common pattern for building agents in DSH is “open session → ask a question → close the window.” For tasks that need to be monitored across days or restarts, users often rely on external cron jobs, self-built bots, or integrating alerts into other IM platforms. Once a session is closed, the context and “who authorized it to act” are easily lost.
Below is an introduction to the community plugin dsh-den (maintainer dingchenhui0618-arch, cataloged as “Memory”). It positions itself as a resident assistant within the Harness: featuring heartbeats, a status panel, restart-related self-check and wake-up logic. Its README emphasizes “read everything, draft everything, write nothing”—write operations to external environments remain subject to host approval and permission boundaries.
What is this?¶
dsh-den is a plugin for the DeepSeek Harness (current package version 0.1.0, license MIT). In one sentence, its self-described capability is: 7×24 residency, “standing autonomy” bound to human messages, self-awakening after restarts, expiry-aware notifications (remaining silent when not important), and read-only reach across sessions, local machine, and work channels.
The README states: The core is implemented, tested, and running in real profiles; when loaded in a DSH 0.2.0-rc.2 desktop profile, the host reports fiberPhase: active, registering 16 model-facing tools, approval guards, heartbeats, and an interactive status panel. The panel appears in sidebar.panellist (id: dsh-den.status) and the main panel (key: dsh-den.status); the heartbeat period is 60 seconds.
The community catalog Plugin Plaza entry and the GitHub repository are indexed independently; the plaza is not an official DeepSeek / Hithink RoyalFlush app store. Installation and upgrades should follow the instructions on your DSH and the catalog page.
Core Features¶
Residency, Heartbeat, and Status Panel¶
The plugin resides within the host long-term, executing heartbeats on a 60-second beat. The status panel defaults to a compact form displaying autonomy status, controls, and an expandable “New” self-check entry. The README documents a UI adjustment: the dock should not host a permanent full-page form before expansion; using natural language in the conversation to add self-checks is recommended (see usage below).
Human-Bound Standing Autonomy¶
Autonomous action is not “one click and permanently unlocked.” Paths like den_set_autonomy bind authorization to a specific human message (boundToMessage), rather than an implicit switch detached from the conversation. Live verification in the README states: under the danger-full-access (implying approval: never) profile, den’s own tools must be correctly categorized as plugin tools; otherwise, the approval gate will block non-read-only capabilities.
Host-side audits and live probes confirm: Standing autonomy cannot be obtained directly from the live host; the approval gate is the only path to gaining permissions.
Self-Check, Scheduling, and Self-Awakening¶
Self-checks/schedules can be created for conversations: the panel-side schedules/create requires a real conversation; therefore, the form was previously placed in the dock but is now collapsed by default, though the capability still relies on conversation context.
The README documents a complete drill: after authorization, a self-check with a 300-second minimum limit was created. Upon expiry, the next heartbeat consumed the trigger and spoke (the ledger showed synchronized changes in turns, spoken, notices, and the host recorded a wake-spoke event). Triggers, authorization, and ledgers are persisted to disk; test/cold-start.test.mjs covers awakening after restart, but the README honestly notes that “live integration testing for awakening after restart” still relies on manual execution of npm run drill:before / drill:after for measurement.
Notifications and Silence Policy¶
The plugin emphasizes expiry-aware notices: notifications with expiration semantics remain silent when they are not worth interrupting for. The live probe includes checks for notification rules and scenario isolation (multiple probes on the verify:live chain).
Read-Only Reach and “No Writing”¶
The introduction aligns with the package description: it possesses read-only reach into personal sessions, the local machine, and work channels—used for reading context, drafting replies, or summarizing, rather than writing directly on your behalf outside the trust boundary. The specific host capabilities available depend on the registered den_* tools and your profile’s permission presets.
Freshness and Live Verification¶
To avoid false positives where “the code has updated but an old instance is still running,” the plugin provides status.freshness (calculating the latest source modification time vs. startup time upon request). The live script is guarded by tools/require-fresh-host.mjs. The maintainer provides npm test and npm run verify:live scripts in the repository for offline testing and probing of a running host.
Installation and Activation¶
-
Open dingchenhui0618-arch/dsh-den on the SkillHub Plugin Page and use “Send to DeepSeek Harness to install”: copy the installation prompt on the page and hand it to the current DSH session; the host will read the backend installation plan and execute the installation (as stated on the page).
The beginning of the prompt is visible on the catalog page, appearing as:
Please install the DSH plugin dingchenhui0618-arch/dsh-den. First read..
For the full content, refer to the plaza's "Copy Installation Prompt." Do not construct commands like `dsh plugin add github:…` that do not appear in the documentation.
-
Before installing, review the GitHub Repository source code and the MIT license. Confirm that changes to
cordis.patch.ymlanddsh.profile.bundlescomply with your profile strategy. The README records that it has been loaded in real bundles; your environment version must be compatible with the DSH host (the documentation instance is 0.2.0-rc.2). -
After enabling, you can open the dsh-den.status panel in the sidebar or main area to observe statuses such as heartbeats, pending notifications, and self-initiated turns for the day (specific fields depend on the running panel).
Typical Usage¶
Adding Self-Checks in Conversation¶
The README offers a lighter-weight path: directly state the intent in an existing conversation, for example, asking the assistant to “check CI every 30 minutes.” Den will add a self-check based on this, avoiding the need to keep a form for title, prompt, and interval open. When the form is needed, expand New in the panel dock to submit; the repository script check:ui requires zero input boxes and no submit button in the dock when collapsed, and the payload remains consistent with the original when expanded.
Granting Standing Autonomy¶
Generate a request via the panel and send the returned token as a human message; on success, den_set_autonomy records autonomy: true and boundToMessage points to that message ID. If unauthorized, the expiry trigger should remain silent (the negative path is noted in the documentation as still requiring live drill verification).
Maintainer Local Verification (Optional)¶
If you clone or participate in developing the repository locally (this documentation task does not require git clone), you can see examples in package.json:
npm test
npm run verify:live
The former runs unit tests; the latter executes the live probe chain when host freshness requirements are met. Regular users can simply rely on the installation and panel behavior within DSH.
Use Cases and Considerations¶
Who is it for?
- Those who already use Harness long-term in DSH desktop profiles and want an assistant with memory and scheduling that can “wake up and say something” according to rules when you are away, rather than manually opening a new session every time.
- Those who need cross-session read-only aggregation and drafting but want write operations and privilege escalation attempts to still go through host approval.
Important Notes
- The plugin runs with the same process permissions as DSH; review the source code, bundle patches, and license before installation. Do not enable presets like
danger-full-accessin production profiles without review. - The README clarifies: under
approval: neverconfiguration, the gatedaskis equivalent to never allowing passage; den relies on tool categorization and boundary design, rather than weakening upper-layer rules for shell, outbound connections, etc. - The plaza shows 0 Stars (as of the page index), indicating it is an early-stage community plugin; while restart awakening paths have offline tests and partial live verification, not every edge case has been fully tested in production.
- Ecosystem-wise, DSH advocates “everything is a plugin”; the catalog site and the official entity have no subordinate relationship. Version v0.1.0 is subject to the repository tag / package.
Conclusion¶
dsh-den encapsulates “residency, memory, human-bound autonomy, and expiry-only notifications” into a Harness plugin form. It uses heartbeats and panels to display status transparently, and uses approval and read-only reach to suppress risks of privilege escalation. To install or view metadata, visit the Plugin Plaza and GitHub: dingchenhui0618-arch/dsh-den.