xuedipiaofei/dsh-session-title-stamp ↗★ 1

dsh-session-title-stamp

DSH session titles in a DATE | CATEGORY | NAME template, with turn-aware auto-generation, a Generate title button, and hover cost/duration.

パッケージ
dsh-session-title-stamp
互換性
未検証
Harness ピア範囲
>=0.2.1-rc.3 <0.3.0
バージョン
0.4.3
ライセンス
MIT
最終更新
2026/10/31

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:xuedipiaofei/dsh-session-title-stamp

ドキュメント

README 全文を読む ↗

Configuration

Override the row in the profile's cordis.patch.yml:

- id: session-title-stamp
  config:
    refreshOnTurnEnd: true
    refreshMinIntervalMs: 120000
    refreshMaxTurns: 100
    categoryPreset: zh
    template: '{date} | {type} | {topic}'
    timeZone: Asia/Shanghai
    maxNameChars: 20
FieldDefaultMeaning
refreshOnTurnEndtrueRefresh after a completed turn; false falls back to retitleEvery
refreshMinIntervalMs120000Minimum gap between automatic refreshes; 0 disables the cooldown
refreshMaxTurns100Stop automatic refresh after this many user messages; 0 = no freeze
retitleEvery10Legacy message-count cadence, used only when refreshOnTurnEnd: false
backfillOnStartfalseOn startup, refresh live sessions whose title is still the fallback
backfillMaxSessions30Maximum sessions in one backfill pass
backfillIntervalMs2000Delay between backfill refreshes
template{date} | {type} | {topic}Title template; see the placeholders below
dateFormatMMDDUsed by {date}: MMDD (1028), YYMM (2610), or YYYYMMDD
timeZonehost localIANA zone used for date/time placeholders
categoryPresetzhBuilt-in category language: zh or en
categoriespresetExplicit category list; overrides categoryPreset
maxNameChars20Character cap before the byte cap applies
maxTitleBytesservice cap (80)Effective cap is the smaller of this and session-title's cap
recentMessages8First message plus this many recent messages are sent
maxInputBytes4096Input budget for one title request
maxOutputTokens4096Output cap, including reasoning tokens
timeoutMs90000End-to-end title-request deadline
provider / modelsession routeOptional pair to route title generation independently

Template placeholders

PlaceholderMeaning
{date}Date in dateFormat (1028, 2610, 20261028)
{YYYY} {YY} {MM} {DD} {HH} {mm} {ss}Date/time parts; concatenate freely ({YYYYMMDD}, {HHmm})
{type}Category; an empty value removes the segment and its separator
{topic}Name; an empty value removes the segment and its separator

An unknown placeholder is left verbatim ({MMDD} {bogus} keeps {bogus}), so a typo is visible instead of silently disappearing. The template owns the final format; maxTitleBytes still clips the result.

The default taxonomy is Chinese. categoryPreset: en switches it to Analysis / Build / Fix / Debug / QA / Deploy / Docs / Other; categories overrides either preset with any labels you want. The prompt lists the configured labels and the local fallback maps common keywords onto them.