feat: add deep_dream_enabled config toggle

This commit is contained in:
zhayujie
2026-07-05 21:31:16 +08:00
parent 013960cd5a
commit a871c0437d
5 changed files with 61 additions and 0 deletions

View File

@@ -79,6 +79,22 @@ Deep Dream は以下の整理ルールに従います:
初回デプロイ後は `/memory dream 30` を一度実行して、すべての履歴日次記憶を MEMORY.md に蒸留することをお勧めします。
</Tip>
## 設定スイッチ
`config.json` の `deep_dream_enabled` で毎晩の自動蒸留を制御します:
```json
{
"deep_dream_enabled": true
}
```
| 設定項目 | 説明 | デフォルト |
| --- | --- | --- |
| `deep_dream_enabled` | 毎日の定期蒸留の有効化 | `true` |
デフォルトで有効になっており、既存の動作と互換性があります。無効にすると毎晩の自動蒸留が実行されなくなります。MEMORY.md を手動管理したい場合や LLM 呼び出しを 1 回節約したい場合に適しています(日次記憶の要約には影響しません)。手動コマンド `/memory dream` もこのスイッチの影響を受けず、いつでもトリガー可能です。
## 安全メカニズム
| メカニズム | 説明 |

View File

@@ -79,6 +79,22 @@ In addition to the automatic daily run, you can manually trigger distillation in
After first deployment, it's recommended to run `/memory dream 30` once to distill all historical daily memories into MEMORY.md.
</Tip>
## Config Toggle
Control the nightly automatic distillation via `deep_dream_enabled` in `config.json`:
```json
{
"deep_dream_enabled": true
}
```
| Key | Description | Default |
| --- | --- | --- |
| `deep_dream_enabled` | Enable the daily scheduled distillation | `true` |
Enabled by default to keep existing behavior. When disabled, the nightly distillation no longer runs — useful if you prefer to maintain MEMORY.md manually or want to save an LLM call (daily memory summarization is not affected). The manual `/memory dream` command is also unaffected and can still be triggered anytime.
## Safety Mechanisms
| Mechanism | Description |

View File

@@ -83,6 +83,22 @@ Deep Dream 遵循以下整理规则:
首次部署后可以手动执行一次 `/memory dream 30`,将历史天级记忆全量蒸馏到 MEMORY.md。
</Tip>
## 配置开关
通过 `config.json` 中的 `deep_dream_enabled` 控制每晚的自动蒸馏:
```json
{
"deep_dream_enabled": true
}
```
| 配置项 | 说明 | 默认值 |
| --- | --- | --- |
| `deep_dream_enabled` | 是否启用每日定时蒸馏 | `true` |
默认开启,保持与现有行为一致。关闭后每晚不再自动执行蒸馏,适合希望手动维护 MEMORY.md 或减少一次 LLM 调用的场景(每日记忆总结不受影响)。手动命令 `/memory dream` 也不受此开关影响,仍可随时触发。
## 安全机制
| 机制 | 说明 |