Skip to content
dsh.fish
Bundle

@cliven/dsh-tmp-wks

Sidebar "New temp session": create a throwaway workspace and start a session in it

Source
Trisia
License
MIT
Updated
Updated 8 days ago

Readme

# DeepSeek Harness Temporary Workspaces

[![DSH](https://img.shields.io/badge/Agent-DeepSeek%20Harness-4176e6)](https://www.deepseek.com/en/harness/)
[![npm](https://img.shields.io/npm/v/@cliven/dsh-tmp-wks?color=red)](https://www.npmjs.com/package/@cliven/dsh-tmp-wks)
[![Version](https://img.shields.io/github/v/release/Trisia/dsh-tmp-wks)](https://github.com/Trisia/dsh-tmp-wks/releases)
[![License](https://img.shields.io/badge/license-MIT-green)](LICENSE)
[![CI](https://github.com/Trisia/dsh-tmp-wks/actions/workflows/release.yml/badge.svg)](https://github.com/Trisia/dsh-tmp-wks/actions/workflows/release.yml)

**D**eep**S**eek **H**arness **T**emporary **W**ork**s**paces (dsh-tmp-wks)

![demo](docs/demo.en.gif)

English | [中文](README.zh.md)

## Why you need it

You just want to ask a quick question, but you have to leave DSH, create a folder, come back and point at that directory, then delete it by hand afterwards. Forget to clean one up, and several sessions start contaminating each other.

Temp workspaces collapse all of that into a single click:

- **One-click setup**: click once and a throwaway workspace is created on the spot, with a session already started in it.
- **Deletion under control**: deleting asks whether to delete the temp directory on disk too, and keeps the files by default. That prompt can be turned off.
- **Works on both clients**: available in DSH Web and the DSH desktop client, from a single install.

## Install

```sh
dsh plugin --profile web add @cliven/dsh-tmp-wks
```

A "New temp session" button then appears at the bottom of the sidebar; click it to create a temp workspace and start a session. Right-click the button to open the management panel, which handles the temp directories on disk.

Temp workspaces are created under `~/.dsh/tmp/` by default, for example:

```
~/.dsh/tmp/tmp-k7mq2z
```

Storage location, name prefix, and the delete confirmation are configurable on the **Plugins** page in the sidebar. The plugin only deletes directories it created.

## License

[MIT](LICENSE)

Install

dsh plugin --profile web add github:Trisia/dsh-tmp-wks

Profile: web

  • This package builds from source on install. pnpm will ask you to allow its build script — that is permission to run the package’s code on your machine, outside the agent sandbox. Only allow sources you trust.
  • This source has no pinned commit, so a later push upstream changes what installs. Prefer pinning a commit.
Source