stultuss/dsh-clear-tool-results ↗★ 0
dsh-clear-tool-results
DeepSeek Harness host plugin: per-turn tool-result clearing with a /clear-tool-results on|off|status command.
AI Analysis
核心用途是控制会话上下文长度,防止历史工具输出干扰后续决策。适合频繁调用产生大量数据的工具、需要保持上下文干净的开发者。
Install
This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗
README
Read the full README ↗使用
在聊天输入框输入:
| 命令 | 效果 |
|---|---|
/clear-tool-results on | 开启:每轮结束后清除上一轮工具结果 |
/clear-tool-results off | 关闭:保留上一轮工具结果 |
/clear-tool-results status | 查看当前开关状态 |
开关状态文件:
// $DSH_HOME/clear-tool-results.json
{
"enabled": true
}
文件缺失时视为开启。