DeepSeek Harness plugin

dsh-session-topics

Session topic titles for DeepSeek Harness: LLM-generated titles for sessions stuck on the prompt-excerpt fallback, retry on every turn end, plus a /topics-size endpoint for the hover-card size patch

Jump to install

Source facts

Repository
SipengXie2024/dsh-session-topics
Latest update
Aug 15, 2026
Category
Memory
GitHub stars
0
Format
plugin
Catalog evidence
Upstream dsh.bundle evidence
Evidence path
package.json#dsh.bundle
Checked against
0.1.0-rc.8
Upstream check date
2026-08-20

This evidence comes from the upstream catalog. This site has not installed, run, or security-reviewed the plugin.

Install

Start with a prompt that asks an agent to review the GitHub repository and source. Switch to the command if you want to install it yourself.

Copy this prompt into DSH, Codex, or another agent and ask it to review the GitHub repository and source first.

Do not install or run any commands yet. Read this plugin's GitHub repository, README, and relevant source code. Then answer the questions below clearly and directly so I can decide whether it fits my needs:

1. What is this plugin, and what problem does it solve?
2. Who is it for, and what are its typical use cases?
3. How is it used after installation? Include one minimal example.
4. What known limitations or privacy, security, compatibility, or maintenance risks does it have?
5. Give a clear recommendation: recommend, conditionally recommend, or do not recommend, with reasons.

Distinguish statements documented by the repository, inferences from source code, and unknowns. If evidence is insufficient, say so explicitly. Do not guess or simply repeat the README.

GitHub: https://github.com/SipengXie2024/dsh-session-topics
Plugin: dsh-session-topics
Author: SipengXie2024

Check the source files

Read the README and other files from this plugin directory before installing.

File explorer4 files
README.mdSource · read only
README language

dsh-session-topics

中文文档

Session topic titles for DeepSeek Harness (dsh) — LLM-generated session titles that actually hold up, plus a hover-card size readout for the session list.

Why

dsh ships a title generator (session-title-first-prompt-llm), but it is one-shot, never retried, and its maxOutputTokens: 64 reliably loses to reasoning models — so sessions keep the deterministic "first words of your prompt" fallback titles. This plugin retries until every session gets a real topic title, like Claude Code and Codex do.

It never registers a title provider (the slot is sole-tenant); it appends session/title log events directly, which the title service folds like any other. User-renamed (pinned) titles are never touched.

Features

  • Startup sweep — 8s after boot, every persisted session still on a fallback title gets an LLM-generated title (current default model) written into its log. Live sessions go through Session.append; cold sessions through sessionPersistence.load + append.
  • Turn-end retry — on every agent running → idle, if that session's title is still the fallback, retitle it. Bundle-layer listeners cover all sessions.
  • GET /topics-size?id=<sessionId> — durable log byte size, feeding the hover-card patch below.
  • GET /topics-sweep — manually trigger a sweep and get per-session results as JSON (debugging).

Install

dsh plugin --profile web add .\dsh-session-topics-0.3.0.tgz   # tgz attached to the latest release
# restart dsh web

Reinstalling the same version is a no-op (pnpm dedupes by name+version) — bump the version before repacking.

Hover-card size patch (self-healing)

The session-list hover card belongs to the shipped dsh-client-ui-workspace bundle and exposes no plugin slot, so the size line is a source patch. Since 0.3.0 the plugin re-applies it automatically at every boot — including after dsh upgrades rematerialize the shared layer. No manual step. (Shared-layer files are pnpm store hardlinks, so the patch is written delete-then-rewrite.)

A manual entry point remains for machines without the plugin:

node scripts/patch-hover-size.mjs
  • Idempotent; exits loudly without touching anything if the anchors drift (new dsh version).
  • The size line stays hidden when this plugin is not running.

Verified

dsh 0.1.0-rc.6, web profile: 8 existing sessions retitled end-to-end (live append + cold persistence append), hover size served and rendered.