@pennyclaw/idle-prune
v0.1.4
Published
OpenClaw plugin to prune tool_result content after idle
Readme
Idle Prune
Prunes old tool_result payloads after idle time by replacing content with a placeholder.
Install
openclaw plugins install @pennyclaw/idle-pruneUpdate
openclaw plugins update idle-pruneConfig
plugins: {
entries: {
"idle-prune": {
enabled: true,
config: {
idleMinutes: 15,
placeholder: "[pruned due to idle]"
}
}
}
}Defaults
If config is omitted, the plugin uses:
idleMinutes: 15placeholder: "[pruned due to idle]"
Notes
- Runs on
message_receivedto avoid extra LLM calls. - Keeps tool call IDs and metadata intact.
- Only rewrites the content of tool-result messages.
