apherchin/dsh-rename-title-after-first-turn ↗★ 0

dsh-rename-title-after-first-turn

DSH host-only plugin: name a main session once, right after its first turn ends. Subagent and teammate sessions are left alone. 适合希望自动整理会话列表、根据首轮内容生成合适标题的整理控用户。

패키지
dsh-rename-title-after-first-turn
호환성
미검증
버전
0.1.0
라이선스
MIT
최근 업데이트
2026. 10. 4.

설치

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:apherchin/dsh-rename-title-after-first-turn

配置(profile 那条 insert 的 config,全部可选)

键默认允许范围含义
targetCjkCharacters121–60中文目标字数
targetWords61–30非中文目标词数
maxInputBytes8192256–1000000素材字节上限(分数向下取整)
maxOutputTokens204832–32000输出上限。别照抄官方的 64:本机路由关不掉思考,64 会被 reasoning 吃光(已实测:64 → status: incomplete、一个标题字都没有;1024 → 正常返回标题)
timeoutMs600001000–900000端到端超时;是硬边界(Promise.race),适配器不看 signal 也会返回
maxAttempts31–10每个会话最多尝试次数(1 = 只试第一轮)。含「无路由」那种没打到模型的尝试
maxTitleBytes808–512落库标题的 UTF-8 字节上限

非法/越界值一律回退缺省,不抛错。