baosfeng/my-dsh-plugins--plugins-dsh-session-title-gen5

dsh-session-title-gen

DSH 会话标题自动生成插件:监听会话首条人类消息,用 LLM 生成类似 git commit 的结构化标题(先标明归属工作区,再写简要描述),经核心 session/title 事件写入(重启保留),失败自动回退核心标题机制。DSH web plugin: structured session titles like git commit messages (workspace first, then description), written through the core session/title event.

包名
dsh-session-title-gen
版本
0.1.0
最近更新
2026年9月12日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:baosfeng/my-dsh-plugins#cc837f22ecaa841de7d263346073dc44c55d50ee&path:plugins/dsh-session-title-gen

3. 可配置

配置项默认值说明
enabledtrue总开关(false 完全关闭,不监听任何事件)
template[{workspace}] {description}格式模板({workspace} / {description} 占位)
provider(缺省)LLM provider 覆盖(缺省用会话请求路由)
model(缺省)LLM model 覆盖(缺省用会话请求路由)
maxTitleBytes80标题 UTF-8 字节上限(与核心一致)
maxInputBytes4096送入 LLM 的消息 JSON 字节上限
maxOutputTokens64LLM 输出 token 上限
timeoutMs30000LLM 调用超时(超时静默回退)

配置示例