dsh-ai-session-rename: Rename DSH Sessions Based on Conversation Content

dsh-ai-session-rename is a DSH client plugin maintained by buaafish (v0.1.1, MIT). After installation via plugin_manager's install_bundle from npm, GitHub pre-built packages, or a local directory, users can right-click in the sidebar to "Rename Based on Conversation," or an agent can invoke session_rename_ai to modify only the current session. The plugin reads user messages and independently generates an 8–14 character Chinese title using the model from the session's most recent request, then writes it back via remote.session.rename. Once a user-sourced rename has been applied to a session, that session will no longer receive auto-generated titles. The plugin exposes adjustable constants such as MAX_MESSAGES and timeout, and documents known limitations including empty-message sessions and the absence of model routing.

Read More