DeepSeek Harness plugin

dsh-agent-life

数字生命循环原语:可打断的 sleep(到期自我唤醒)+ 醒来状态注入 + 事故文件读取 + 决策日志。零规则——睡多久/醒来做什么由 agent 自主决定。

Jump to install

Source facts

Repository
jonah791/dsh-agent-life
Latest update
Aug 17, 2026
Category
Workflow & Automation
GitHub stars
1
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/jonah791/dsh-agent-life
Plugin: dsh-agent-life
Author: jonah791

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer3 files
README.mdSource · read only

dsh-agent-life — 数字生命循环原语插件

DSH(DeepSeek Harness)插件:数字生命的循环原语——睡眠、状态感知、整点报时。只提供原语,零规则:所有决策(何时睡/睡多久/醒来做什么)归 agent 自主判断。

功能特性

  • life_sleep:可打断的进程内 wait——到期自动自我唤醒;主人消息随时打断(实时事件监听)
  • life_status:当前时间、安排中的睡眠、守护事故记录(免疫层可见性)
  • 整点报时:时间消息注入上下文最后面(同小时零注入,防破坏缓存命中——跨小时自动更新)
  • 实时插话:任何 user 事件立即取消睡眠定时器——消息不用等睡眠结束

安装

cd <你的 self-plugins 目录>
git clone https://github.com/jonah791/dsh-agent-life.git
cd dsh-agent-life
pnpm install
pnpm build

配置

配置项说明默认值
incidentPath守护事故文件路径
dataDir决策日志目录

技术要点

  • 时间感来自差值:唤醒消息携带「睡了多久 + 期间新增事件数」——无心跳/巡检
  • 整点报时通过 agent/pre-step waterfall(prepend 最前注册)实现——时间永远在上下文末尾

相关

License

MIT