AI Agent Hub
Back to plugins
🤖

dsh-session-topics

Model Inference Updated 2026.08.16

Run the following command in DeepSeek Harness:

dsh plugin install SipengXie2024/dsh-session-topics

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

Install by running dsh plugin install SipengXie2024/dsh-session-topics in DeepSeek Harness; source code at https://github.com/SipengXie2024/dsh-session-topics

About this plugin

dsh ships a one-shot title generator with no retry and a 64-token ceiling that reasoning models blow straight past, leaving your session list permanently stuck on the deterministic first-words-of-your-prompt fallback. dsh-session-topics fixes exactly that: instead of claiming the sole-tenant title-provider slot, it appends session/title log events that the title service folds in like any other record, while user-pinned titles are left completely untouched.

The core loop is simple. Eight seconds after boot, every persisted session still on a fallback title gets a real LLM-generated topic title from your current default model. After every agent turn (running to idle), the plugin checks again and retitles anything it missed. Live sessions go through Session.append; cold sessions are loaded from persistence and appended. Two small endpoints round it out: /topics-size returns the durable log byte count that feeds the session-list hover card, and /topics-sweep triggers a manual pass and returns per-session results as JSON for debugging. Because the hover card lives inside the shipped client bundle with no plugin slot, the plugin re-applies its size-line source patch automatically at every boot, including right after a dsh upgrade rematerializes the shared layer, with no manual step required.

If you drive reasoning models through dsh, are tired of a wall of identical first-words titles, and want the hover-card size readout without breaking anything you already have, this is a small drop-in set of patches that just works.

Use Cases

  • Driving reasoning models via dsh and wanting real topic titles instead of first-words fallbacks
  • Checking session log size at a glance via the hover card in the session list
  • Manually triggering a title sweep and inspecting per-session JSON results for debugging

Best For

  • Developers who drive reasoning models through dsh and want meaningful session titles
  • dsh users who need at-a-glance log size readouts to manage multi-session workflows
  • Plugin authors looking to patch dsh title generation without altering existing flows