dsh-new-session: Starting a New Session with /new in DSH Web

Preface

When performing multi-turn conversations or parallel tasks in DSH Web, you often need to open another Session within the current Workspace. The Workspace “+” button in the UI can do this, but if there is an unsent Composer draft already written in the input box, switching away to click the button and coming back can easily interrupt the current typing rhythm. DeepSeek Harness’s plugin mechanism allows extending input behavior in the Web client; below we introduce the client plugin dsh-new-session released by maintainer yoggu. It adds a /new command in the input area, opening a new Session in the current Workspace (or the most recently used Workspace) without submitting any unsent Composer draft.

What Is This

dsh-new-session is a client plugin for DSH Web: it registers /new in the Web input box, with an effect close to the + button next to the Workspace—launching and opening a new Session in the current Workspace; if there is no suitable Workspace context, it uses the most recently used Workspace. If there is already an empty Session, the plugin may reuse that Session instead of forcing a new one every time. The plugin belongs to yoggu/dsh-new-session and is categorized as “client” in the community directory SkillHub. The DSH ecosystem emphasizes “everything is a plugin”; SkillHub is an independent community directory with no official affiliation with DeepSeek / Hithink RoyalFlush.

Core Features

Based on the repository README and package.json descriptions, the verified capabilities are as follows:

  1. Slash command /new: used in the DSH Web input area to create and open a Session, with no additional configuration or credentials required.
  2. Workspace context: prioritizes the current Workspace; otherwise uses the most recently used Workspace.
  3. Isolation from Composer drafts: when executing /new, it does not submit the unsent Composer draft in the input box as a message.
  4. Empty Session reuse: may reuse an existing empty Session; the behavior is consistent with the analogy to the “+” button in the README.
  5. Runtime scope: the dsh.client.platform in package.json is web, targeting the DSH Web profile (--profile web).

Installation and Activation

The official recommendation is to install from a tagged GitHub release into the DSH Web profile. In the terminal, run:

dsh plugin --profile web add 'https://github.com/yoggu/dsh-new-session.git#v0.1.2'

If you maintain a local source checkout, the README also supports installing via link: pointing to a directory (the directory must remain present while the plugin is enabled); if the profile you actually use is not web, change it to match your runtime environment.

If the plugin’s effect is not visible in the input area after installation, first restart DSH Web, then refresh the page. The uninstall command is:

dsh plugin --profile web remove dsh-new-session

The current released version is 0.1.2, licensed under MIT. package.json requires Node >=22.19.0 and DSH engine ^0.1.7-rc.2 || ^0.2.0-rc.1. Before installation, it is recommended to review the repository source code and LICENSE to confirm it meets your environment and security policies—the plugin runs under the permissions of the current dsh process.

Typical Usage

  1. Complete the installation above and confirm that DSH Web has loaded the plugin.
  2. In the Web input box of the target Workspace, type /new and execute it (the specific trigger method is consistent with DSH Web’s interaction with slash commands).
  3. Observe whether the new Session opens in the current Workspace (or the most recent Workspace); any unsent draft in the input box should remain preserved and not be submitted.

The README does not describe any configuration or subcommands other than /new; no credentials need to be filled in.

Use Cases and Notes

Who it is for: DSH Web users who frequently open multiple Sessions within the same Workspace and want to stay within the input-box workflow; when you need to quickly “have another Session” without accidentally sending a Composer draft.

Notes:

  • Only targets the Web client profile; the installation method may differ from CLI or other profiles.
  • Empty Session reuse is a behavior explicitly mentioned in the README. If you rely on “a brand-new blank Session every time,” verify locally whether it meets expectations.
  • Information such as stars on the community directory page may change; choose the version based on the GitHub repository and release tags.

Closing

dsh-new-session consolidates “opening a new Session in the current Workspace” into the /new command in the input box, and avoids disturbing unsent drafts, making it a suitable lightweight client complement for DSH Web. For further information, visit the community directory https://www.skillhub.cn/plugins/yoggu/dsh-new-session and the source repository https://github.com/yoggu/dsh-new-session.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye