stultuss/dsh-clear-tool-results0

dsh-clear-tool-results

DeepSeek Harness host plugin: per-turn tool-result clearing with a /clear-tool-results on|off|status command.

AI Analysis

核心用途是控制会话上下文长度,防止历史工具输出干扰后续决策。适合频繁调用产生大量数据的工具、需要保持上下文干净的开发者。

Package
dsh-clear-tool-results
Version
0.1.3
License
MIT
Last updated
Aug 25, 2026

Install

This plugin has no verified bundle, or compatibility checks failed. Read the repository notes first. Read the full README ↗

使用

在聊天输入框输入:

命令效果
/clear-tool-results on开启:每轮结束后清除上一轮工具结果
/clear-tool-results off关闭:保留上一轮工具结果
/clear-tool-results status查看当前开关状态

开关状态文件:

// $DSH_HOME/clear-tool-results.json
{
  "enabled": true
}

文件缺失时视为开启。