imcaibaicai/dsh-auto-continue-inturn ↗★ 1

dsh-auto-continue-inturn

DSH companion plugin: silently continue within the same turn when the model is truncated by max-tokens, instead of stopping and asking the user to send 继续 适合经常运行长文本输出任务、不希望手动发送“继续”的用户。

패키지
dsh-auto-continue-inturn
호환성
미검증
Cordis peer 범위
^4.0.1
버전
0.2.0
라이선스
MIT
최근 업데이트
2026. 11. 14.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:imcaibaicai/dsh-auto-continue-inturn

配置

写在 profile 的 cordis.patch.yml 该条目 config 下:

字段默认说明
enabledtrue关掉后完全不注册行为
maxInTurn5单轮最多自动续写次数(正整数)
idleGiveUp2连续多少次「续了但毫无产出」就停手;0 关闭空转防护
text见下续写提示词
summary自动续写:紧接上文继续消息 source.summary,会话记录里可审计
logtrue是否输出 [dsh-auto-continue-inturn] 日志

默认 text:

上条回复因达到输出 token 上限被截断,请紧接末尾无缝继续输出,禁止重复上文。

非法配置一律 fail loud(抛错,而不是静默退回默认值)——配置写错时你立刻知道,而不是在长任务里发现行为不对。