zhaoguoqiang-hub/dsh-soul-engine ↗★ 0
dsh-soul-engine
「灵魂系统」状态面插件(DSH / DeepSeek Harness):14 个 soul_* 工具(记忆 / 目标 / 待办 / 反思 / 反馈 / 成本 / 日程)+ 每轮账本摘要注入 + 零 token 自维护定时器 + 心跳唤醒(复用已有会话,默认每天 ≤5 次)+ 用户状态信号层 + 右侧栏面板(概览 / 成本 / 记忆;展示为主,记忆可就地遗忘与撤销遗忘)。账本是明文 Markdown,可读、可版本化、可删除。桌面通知与日历 / 提醒事项桥接为 macOS 专属,其余平台核心功能可用。 适合需要AI具备长期记忆、任务规划及自维护定时唤醒的用户。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:zhaoguoqiang-hub/dsh-soul-engineREADME
Read the full README ↗配置
全部参数写在 cordis.patch.yml 的 config 里,改配置即可调,不必动代码。常用项:
| 键 | 默认 | 说明 |
|---|---|---|
dataFile | $DSH_HOME/soul-data/state.json | 账本位置 |
promptSection / promptMaxChars | true / 1000 | 轮首注入开关与字数上限 |
maintenance / maintenanceIntervalMs | true / 300000 | 自维护与 tick 间隔 |
heartbeat / heartbeatMaxPerDay / heartbeatMaxPerWeek | true / 5 / 15 | 心跳与频率闸 |
heartbeatMinGapMinutes / quietHours | 60 / true | 最小间隔 / 安静时段 |
dailyBudgetYuan / budgetPause | 0(关) / true | 预算看门狗与超预算是否自动刹车 |
consolidate / retainMax / retainDays | true / 400 / 180 | 叙事巩固 / 淘汰 |
notify | true | 桌面通知(macOS) |
quietWhenBusy / signalTtlHours | true / 3 | 忙时顺延 / 信号有效期 |
schedule / scheduleRefreshMinutes | true / 15 | 日历桥接与缓存刷新 |
环境变量:DSH_SOUL_DATA_FILE(账本路径)、DSH_SOUL_PROMPT=0(关注入)、DSH_SOUL_NOTIFY=0(关通知)、DSH_HOME、DSH_COST_LEDGER(成本账本路径)。