- Inicio
- Plugins
- Sesiones y mensajes
- dsh-turn-title
M
dsh-turn-title
mdalboni/dsh-turn-title
Auto-titles conversations after the first user+assistant exchange, with a chat header button to update or manually edit titles.
Instalar
dsh plugin --profile web add github:mdalboni/dsh-turn-titleREADME
dsh-turn-title
English | Português (Brasil) | 中文
A DeepSeek Harness (DSH) plugin that automatically generates conversation titles after the first full exchange (user prompt + assistant response) and adds an Update Title button directly in the chat header.
Features
- Turn-1 Auto-Titling: Replaces the stock prompt-only titler. It waits for the assistant's first response to complete, giving the model full context to produce accurate, descriptive titles.
- Chat Header Button: Adds a
✎ Update Titlebutton to the conversation header (conversation.session.header.actions).- Single Click: Re-evaluates conversation context and generates a fresh title with AI.
- Shift + Click (or Alt + Click): Opens a prompt dialog to enter a manual title.
- Multilingual & DSH Locale Aware: Automatically aligns UI labels and prompt instructions with the active DSH interface language (English, Portuguese, Chinese, etc.).
- Theme-Native: Uses DSH
--dsw-alias-*CSS variables, matching dark and light mode themes seamlessly. - Lightweight: Pure ESM, zero external runtime dependencies.
Installation
Via DSH Plugin Market (dshmarket)
Search for dsh-turn-title in the DSH Plugin Marketplace and click Install.
Via DSH CLI
dsh plugin --profile web add dsh-turn-title
From Local Source
git clone https://github.com/mdalboni/dsh-turn-title.git
dsh plugin --profile web add link:./dsh-turn-title
How It Works
- Host Event Hook: Listens to
session/eventforturn/endwhereturn === 1andreason.kind === 'completed'. If the session does not yet have a custom title, it invokesctx.llm.streamand updates the title viactx.sessionTitle.rename. - HTTP Endpoint: Registers
POST /api/session-title/updateonctx.webServer. Receives{ sessionId, title, locale }to either rename manually or trigger an AI title update. - Client UI Slot: Injects a button into
conversation.session.header.actionsusingctx.slots.inject, with localized text managed viactx.locale.
Testing
Run the included test suite with Node.js built-in test runner:
node --test test/index.test.js
License
MIT © Maxwell Dalboni
Plugins relacionados
Z
dsh-web-ui (dsh-chat-recovery)
zhu1090093659/dsh-web-ui
6.2khace 2 mesesSesiones y mensajesApache-2.0
R
billion-context
ranxianglei/billion-context
4.6khace 4 horasSesiones y mensajes
L
dsh-synapse
liangmianya/dsh-synapse
685hace 4 díasSesiones y mensajesMIT
M
dsh-archive-manager
michengai/dsh-archive-manager
310hace 3 díasSesiones y mensajesApache-2.0