dsh-auto-continue-inturn: Silent In-Turn Continuation on max-tokens Truncation
An introduction to dsh-auto-continue-inturn (v0.2.0, MIT), a DSH plugin maintained by imcaibaicai. When a model's output is truncated by hitting the output limit, the plugin seamlessly continues generation within the same turn—before the turn is closed—by leveraging agent/turn-stopping and steer, thereby eliminating the yellow warning bar and the need to manually send "continue." The article covers the division of responsibilities with a cross-turn fallback plugin, key configuration options such as maxInTurn and idleGiveUp, installation via node_modules and registration through cordis.patch.yml, as well as self-check procedures and real-environment verification checkpoints.
Read More