pm_compact
Compresses a full core memory layer into fewer consolidated judgments after explicit user consent, moving older entries out of residency while keeping them traceable.
Instructions
半衰期压缩:核心区太满、快要挤掉重要的东西时,把大部分印象交给梦做二次压缩,合并成更少的几条判断。必须先跟用户讲清楚(会丢掉一些细节)并得到同意,confirm=true 才执行。旧条目不删除,只是退出常驻,仍可追溯。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"confirm": "<confirm>"
},
"name": "pm_compact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | 用户是否已经明确同意压缩 |