Plugin directory / Developer / dsh-agent-life
dsh-agent-life
Unverified jonah791
What it does
DSH plugin: dsh-agent-life
Unverified — not yet verified
DSH plugin: dsh-agent-life Not yet verified — install and test it yourself.
“Unverified” means our automated CI has not yet installed this plugin. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.
README
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-stepwaterfall(prepend 最前注册)实现——时间永远在上下文末尾
相关
License
MIT
Install
Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:
dsh plugin add dshbase-catalog Then say "install dsh-agent-life for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.
This plugin is GitHub source (not published to npm) — install it straight from the repo:
Web profile:
dsh plugin --profile web add github:jonah791/dsh-agent-life Headless (CLI) profile:
dsh plugin --profile headless add github:jonah791/dsh-agent-life Test report
Not yet L3-verified — see failure note below if we already ran it.