AI Agent Hub
Back to plugins
🖥️

smart-session-title

Client Updated 2026.09.15

Run the following command in DeepSeek Harness:

dsh plugin install y2zyyr/smart-session-title

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install y2zyyr/smart-session-title in DeepSeek Harness to install this plugin; the full source is available at https://github.com/y2zyyr/smart-session-title .

About this plugin

DSH's built-in session-title provider hard-rejects any prompt larger than 4096 bytes and offers almost no knobs for style, language, or content. smart-session-title slots in as a drop-in replacement for that single provider while DSH Core keeps ownership of fallback titles, persistence, and cancellation, so the integration surface is small. Before calling the model it compresses oversized or code-heavy prompts into a digest the model can actually work with, and it waits past a bare greeting until a real task appears, so the title reflects substance rather than small talk.

Every tunable lives in the native settings page: a character cap, an optional date affix (prefix or suffix) in two formats, a style choice (action + object or short task name), and a language mode that either follows the task's dominant language or forces Chinese or English. An exclusion list lets you register customer names or internal codes; the terms are stripped from the prompt before generation and re-checked in the final output, with a last-resort delete so a surviving term never leaks into the sidebar. A lock button beside each title makes automatic generation, manual regeneration, and batch runs all skip that session, and the lock is stored in settings.yaml rather than browser storage, so it survives new windows and restarts.

The batch workspace is aimed at users with long session histories: select stored sessions from a list, watch a progress bar, and the run keeps going even after the settings page is closed. Combined with the exclusion list, it makes it straightforward to sweep sensitive names out of dozens of legacy titles in one pass. This plugin is well suited to DSH Desktop developers whose prompts run long, who care about sidebar legibility, and who want a consistent, controlled naming scheme without modifying DSH Core.

Use Cases

  • Prompts exceed 4096 bytes and the built-in provider rejects the call, so compression yields a readable title
  • You want to unify the style, language, or strip names from a batch of legacy session titles
  • You need concise, style-controlled, lockable session titles in the sidebar

Best For

  • DSH Desktop developers whose prompts are long and code-heavy
  • Long-term users with large session histories who need batch cleanup
  • Developers who demand clear, consistently styled titles in the sidebar