dpskh/dsh-rewind

将自上次检查点标记以来的所有内容折叠为一份自动生成的报告,在上下文中替换它,同时保留完整日志。

catalog 简介:Fold everything since the last checkpoint mark into an auto-generated report, replacing it in context while keeping the full log.

安装

Provider/model resolution order for the report call: configured overrides, then the session's last routed `request/header` config, then the agent's options. Missing all three fails loud.

The report call runs with thinking disabled when the route exposes an `off` reasoning effort — condensing an exploration is mechanical, and a reasoning model's thinking tokens otherwise compete with the report text under `maxTokens` (thinking can exhaust the budget before any text starts, leaving an empty completion). Empty completions retry up to `maxSummarizationRetries`; an exhausted budget rejects with a message carrying the finish reason and token usage, which the rejection message preserves.

## Working together

The fold needs a marker: mount both plugins so `rewind` can collapse the exploration anchored by a `checkpoint`. `rewind` alone has nothing to fold and fails with a no-checkpoint error; `checkpoint` alone records inert markers.

dpskh/dsh-rewind 加入你的 DSH 配置(web profile)即可启用。

README

展开完整 README 收起

README 内容为空。