dpskh/dsh-rewind

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

Install

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.

Add dpskh/dsh-rewind to your DSH config (web profile) to enable.

README

Expand full README Collapse

README is empty.