leonardoxr/dsh-auto-chat-titles
Semantic, configurable chat titles for DeepSeek Harness
Project Overview项目介绍
dsh-auto-chat-titles is a plugin for DeepSeek Harness that replaces the built-in session-title provider with semantic LLM-generated chat titles, moving beyond first-words truncation. It adds a dedicated title-model selector, a Regenerate title action, and configurable title length, context, byte, token, and timeout settings while preserving DSH's existing cancellation, normalization, persistence, pinning, and projection behavior. Use it when you want context-aware, accurate conversation titles on a web profile. Note: DSH supports only one async title provider at a time, so enabling multiple providers triggers an error.
dsh-auto-chat-titles 是面向 DeepSeek Harness 的插件。它通过替换内置的标题生成策略,用语义 LLM 生成会话标题,而非简单截取首词;提供标题模型选择器、Regenerate title、字数与上下文等可配置项,并复用 DSH 原有的取消、规范化、持久化、固定与投影行为。适用于需要更准确、上下文感知的聊天标题场景。需注意:仅支持一个异步标题提供程序,启用多个将报错。
请帮我了解并安装插件:【dsh-auto-chat-titles】【https://github.com/leonardoxr/dsh-auto-chat-titles】
Send this message to DSH in your current session. CLI install commands may not be accurate across systems — DSH will figure it out for you.把上面这条消息直接发给当前会话里的 DSH,让它帮你了解并安装。安装命令不一定准确,发给 DSH 更稳。
Or use CLI install (for developers)或使用命令行安装(适合开发者)
CLI Install命令行安装
dsh plugin --profile web add github:leonardoxr/dsh-auto-chat-titles
把 leonardoxr/dsh-auto-chat-titles 加入你的 DSH 配置(web profile)即可启用。
READMEREADME
dsh-auto-chat-titles
English | 简体中文
Semantic, configurable chat titles for DeepSeek Harness.
The plugin keeps DSH's durable session-title service and replaces only its built-in provider policy. It adds:
- semantic LLM titles instead of relying on the first-words fallback;
- a dedicated title-model selector in Settings → Plugins;
- Regenerate title in the conversation header;
- regeneration from recent human-message context;
- live title length, context, byte, token, and timeout settings;
- the existing DSH cancellation, normalization, persistence, provenance, pinning, and projection behavior.
Requirements
- DeepSeek Harness 0.1.1-rc.2 or newer compatible 0.1.x prerelease
- Node.js 22+
- Web profile with the standard session-title, settings, commands, and client runtime bundles
Install
Directly from GitHub:
dsh plugin --profile web add github:leonardoxr/dsh-auto-chat-titles
From a checkout while developing:
npm install
npm run check
dsh plugin --profile web add "C:/absolute/path/to/dsh-auto-chat-titles"
Host output is hot-reloaded via the active watcher. Browser client changes require rebuilding the client artifacts and refreshing the existing DSH Web page.
How it composes
The bundled cordis.patch.yml disables only the base session-title-llm row and inserts this plugin. It intentionally leaves the core session-title service enabled. DSH supports one asynchronous title provider at a time, so enabling both provider rows is an error.
Automatic generation uses the first eligible human message. Clicking Regenerate title calls the same durable service explicitly and uses up to the configured number of recent human messages. Manual rename continues to pin the title; explicit regeneration deliberately unpins and replaces it.
Settings
Open Settings → Plugins → Automatic chat titles.
- Title model — inherit the exact conversation route or choose any model advertised by the host catalog.
- Title length — target words for non-CJK languages.
- Regeneration context — number of recent human messages included in manual regeneration.
- Advanced generation limits — CJK length, framed input bytes, output tokens, and timeout.
The settings are stored in $DSH_HOME/settings.yaml under auto-chat-titles when the standard file settings provider is mounted.
Commands
The UI action invokes /regenerate-title. It can also be entered directly in the composer. The button confirms command admission; the conversation activity reports the eventual generation result. Command lifecycle events remain in the session audit log, and the generated title is persisted as DSH's standard session/title event.
Development
npm install
npm run typecheck
npm test
npm run build
node scripts/preflight.mjs
npm pack --dry-run
The host half compiles to lib/. The browser half compiles to the DSH lazy-CJS module in client/client.js.
License
MIT
liangmianya/dsh-synapse
alaliqing/claude-paper
omdsh-dev/dsh-annotation
Anionex/dsh-turn-rewind
hanshenmesen/dsh-turn-delete
qkycir-123/dsh-run2skill
Tyan66666/billion-context-dsh
PKUfudawei/dsh-capability-menu