baosfeng/my-dsh-plugins--plugins-dsh-session-title-gen ↗★ 5
dsh-session-title-gen
利用LLM自动生成结构化的会话标题。
AI 分析
适合希望会话列表标题更规范、能自动体现工作区和简要描述的用户。
安裝
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:baosfeng/my-dsh-plugins#cc837f22ecaa841de7d263346073dc44c55d50ee&path:plugins/dsh-session-title-gen說明文件
閱讀完整 README ↗3. 可配置
| 配置项 | 默认值 | 说明 |
|---|---|---|
enabled | true | 总开关(false 完全关闭,不监听任何事件) |
template | [{workspace}] {description} | 格式模板({workspace} / {description} 占位) |
provider | (缺省) | LLM provider 覆盖(缺省用会话请求路由) |
model | (缺省) | LLM model 覆盖(缺省用会话请求路由) |
maxTitleBytes | 80 | 标题 UTF-8 字节上限(与核心一致) |
maxInputBytes | 4096 | 送入 LLM 的消息 JSON 字节上限 |
maxOutputTokens | 64 | LLM 输出 token 上限 |
timeoutMs | 30000 | LLM 调用超时(超时静默回退) |
配置示例