dsh-temptask: DeepSeek Harness Temporary Task Plugin

Introduction

DeepSeek Harness (DSH) adopts a plugin-based architecture. During development, debugging, or temporary experimentation, developers often need an environment isolated from their long-term workspaces. The dsh-temptask plugin introduces a “Temporary Task” mode to DSH: creating isolated temporary working directories with a single click, ready to use immediately and discardable when finished. If a temporary task produces valuable results, it can be converted into a formal workspace using the “Promote” feature.

Installation and Activation

Installing the plugin requires using DSH’s package manager command.

# 安装插件
dsh plugin add @aeroscis/dsh-temptask

DSH must be restarted after installation for the plugin to take effect. A new “Temporary Task” entry will appear at the top of the sidebar (below “New Session”). Clicking the main area creates a new task, while the five buttons on the right are: Clean, Promote, Open Root Directory, Help, and Settings.

Note: desktop is a reserved profile name for Electron and cannot be managed via terminal commands. For the desktop version, please use the in-app plugin management interface.

Core Features

  1. One-Click Creation of Isolated Directories
    Creating a new task generates a directory under <DSH_HOME>/dsh-temptask/<timestamp>/ and starts a session there. The sidebar renders it as a standard workspace, supporting expansion, archiving, and searching.

  2. Automatic Session Title Summarization
    The workspace name defaults to the timestamp directory name. DSH automatically summarizes the session title based on the first message and displays it on the session row, eliminating the need for manual naming.

  3. Promote Feature
    When a temporary task needs to be retained for the long term, you can convert it into a formal workspace by clicking the ♥ button in the sidebar or using a command. This process moves and renames the directory, and replicates the conversation history into the new workspace.

  4. Cleanup Feature
    Supports deleting unneeded temporary tasks. The cleanup operation requires double confirmation, and by default, it only deletes the subdirectories under the task root directory; the root directory itself is untouched.

Commands and Usage

The plugin provides a complete command-line interface.

/temptask list                       列出全部任务
/temptask new                        新建任务并打开会话
/temptask open <ID|目录名|标题>      打开任务
/temptask promote <ID|目录名|标题> --dir <父目录> [--name <新名>] [--yes]
                                     转正任务:搬目录 + 建正式工作区
/temptask clean <ID|目录名|标题>     删除任务(需 --yes 确认)
/temptask clean --all --yes          清理全部任务

Configuration and Data

Plugin data is stored under the DSH configuration directory.

<DSH_HOME>/dsh-temptask/            ← 任务根目录(任务目录)
└── 2026-09-27-14-30-00/            ← 每个任务一个目录

<DSH_HOME>/plugin-data/dsh-temptask/
├── tasks.json                      ← 任务元数据
└── config.json                     ← 插件配置

Configuration options are located under “Settings → Plugins → Temporary Tasks”. Key settings include the task root directory, automatic cleanup days (cleaning up closed tasks older than N days), and how to handle sessions when deleting a task (archive or leave ungrouped).

Notes and Limitations

  • Sessions Cannot Be Truly Deleted:DSH does not provide the capability to delete sessions; the plugin can only archive them (logs remain on disk).
  • Promotion Limitations:The promotion feature only replicates “completed turns” of the conversation. If the last turn is incomplete, or there are no completed turns, the new session will be empty.
  • Target Directory Limitations:The target directory for promotion cannot be located inside the task root directory; otherwise, it would become a new temporary task.
  • Version Compatibility:This plugin has version requirements for DSH. If the version is incompatible, the DSH log will display skipping profile bundle, and the plugin entry will not appear in the sidebar.
羽毛球分组比赛记分
小程序二维码

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

Xiaoye