
DSH Proactive Heartbeat & Autonomous Daemon
A production-grade asynchronous heartbeat and persistent daemon runtime for DeepSeek Harness agents. Features declarative cron scheduling, session state persistence, and event-driven wakeups for autonomous background workflows.
Proactive · Daemon · Cron · Microkernel
$ pnpm add @john-walks-slow/dsh-proactiveArchitecture
Core Features
Declarative Cron Syntax: Standard crontab registration with second-level precision and live cancellation
Zero-Waste Session Sleep: Persists dormant stacks to storage, eliminating idle token burn
Quiet Hours & Rate Limiter: Enforces daily dispatch thresholds and quiet-hour windows to curb alerts
Distributed Lock Safeguard: Built-in Redis and file locks prevent duplicate execution across clusters
Core Workflow
Schedule Registration
Agent registers cron expressions and wakeup intent via strongly typed schema tools.
Session Hibernation
Cordis interceptor serializes stack frames to lightweight persistence, releasing runtime locks.
Timer Interrupt Delivery
Host daemon identifies target interval and broadcasts execution wakeup signal to the bus.
Context Rehydration & Inference
Restores session context and environment variables, advancing downstream autonomous actions.
Configuration Parameters Reference (YAML / JSON)
| Parameter | Type | Default | Description |
|---|---|---|---|
| minIdleSeconds | number | 60 | Minimum idle duration before state hibernation |
| quietHoursStart | string | 22:00 | Quiet window start timestamp (HH:mm) |
| dailyQuota | number | 50 | Global maximum limit on autonomous wakeups per day |
Recommended Plugins
DSH Superagent Autonomous Proactive Coding Suite
DSH Superagent is an open-source proactive coding agent prototype engineered by DeepSeek for DeepSeek Harness. Operating under a minimal human attention principle, it continuously monitors GitHub and Feishu event streams, autonomously launching isolated workspace sessions to inspect repositories, execute code modifications, submit pull requests, and deliver concise updates through an interactive human-in-the-loop dashboard.
Ruflo Swarm Distributed Agent Mesh
A high-performance multi-agent swarm orchestration framework for DeepSeek Harness. Features dynamic DAG task distribution, shared episodic memory pools, and deterministic consensus protocols.
DeepSeek Reasonix CoT Telemetry & Reflection Inspector
A dedicated diagnostic telemetry suite for DeepSeek-R1 and V3 reasoning models. Real-time visual tracking of `<think>` reflection streams, logical breakpoints, and hallucination alerts.