StarPivotNet/dsh-plugins-public--packages-session-title ↗★ 0
@starpivot/dsh-session-title
Settings page for auto-title prompt and optional title model; host intercept of purpose=session-title LLM calls 适合需要自定义DSH对话自动命名规则和模型的用户。
설치
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:StarPivotNet/dsh-plugins-public#8d5d23bff5ac296c2fb545bd563761ae71ca6b3c&path:packages/session-title@starpivot/dsh-session-title
Settings → Session title: change the auto-title system prompt at any time, and optionally pin the title model.
The default prompt is a ticket-style Chinese instruction. An empty prompt keeps the DSH built-in English short instruction. Restore default writes only that prompt; it does not change the model choice.
Behavior
- Timing is still one title after the first eligible user message (human or Host Automation). Later messages do not retitle; a sidebar rename pins the title.
- The title model follows the current conversation route by default. The settings page can pin an installed model.
- If the pinned route is unavailable: fall back to the conversation route and warn on the host.
- The host intercepts LLM calls with
purpose: 'session-title'. FrozenGenerateOptionsare cloned before dispatch; the original object is not mutated. session/title-llm-requestmay still record the helper's original system/route; the dispatched envelope is the clone.
Install
dsh plugin --profile web add github:StarPivotNet/dsh-plugins-public#path:packages/session-title
# or
dsh plugin --profile web add @starpivot/dsh-session-title
Then restart dsh web. Refresh the page to see the settings section.
Verify
node scripts/policy.test.mjs