klarkxy/dsh-plugins--plugins-dsh-current-title ↗★ 0
dsh-current-title
保持 DeepSeek Harness 会话标题与当前任务对齐的插件。
AI 分析
核心用途是根据最近的对话内容自动更新并保持会话标题与当前任务一致。适合需要清晰整理会话列表、避免标题失效的用户。支持自定义最大消息数、语言及字数限制。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:klarkxy/dsh-plugins#09138fc3a0e484e30c94d6e628247d7aca1fab18&path:plugins/dsh-current-title说明文档
阅读完整 README ↗Configuration
Override the complete current-session-title-llm row in the profile patch when changing values:
| Key | Default | Meaning |
|---|---|---|
maxRecentMessages | 8 | Maximum recent human prompts considered. |
locale | auto | Type-label locale: auto, zh, or en. Auto uses the explicit DSH locale preference, then the recent message language. |
targetWords | 5 | Maximum non-CJK summary words. |
targetCjkCharacters | 10 | Maximum CJK summary code points. |
maxInputBytes | 4096 | Hard UTF-8 limit for the complete framed input. |
maxOutputTokens | 64 | Auxiliary response limit. |
timeoutMs | 60000 | End-to-end title request deadline. |
provider, model | inherited | Optional explicit route; set both or neither. |
The model returns stable semantic keys: feature, fix, optimize, refactor, test, docs, release, config, explore, and discuss. The plugin localizes those keys when it formats the title. English labels are Feature, Fix, Optimize, Refactor, Test, Docs, Release, Config, Explore, and Discussion.