AI Agent Hub
Back to plugins
⚙️

dsh-temp-workspace

Workflow Updated 2026.09.02

Run the following command in DeepSeek Harness:

dsh plugin install wjj-8283/dsh-temp-workspace

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install wjj-8283/dsh-temp-workspace in your DeepSeek Harness terminal to install; the source is available at https://github.com/wjj-8283/dsh-temp-workspace

About this plugin

Kicking off a quick scratch conversation in DSH for a small experiment or a one-off question is easy; cleaning up afterward is not. dsh-temp-workspace adds a tiny hourglass icon right next to the sidebar Add workspace button. One click spawns a disposable workspace and opens a fresh conversation in it — no folder picking, no lingering registry clutter.

On the next Harness restart the plugin runs a four-step purge: it tears down any live sessions the host still holds in memory (agent cancel, pending-write flush, live-store detach), archives cold disk-only sessions so the sidebar drops them instantly, removes the on-disk session directories and the workspace registration record, and finally deletes the throwaway directory. Projection-cache rows and legacy cache files are swept in the same pass, so the workspace truly leaves no trace. If you prefer control, enable confirmBeforeDelete in Settings → Plugins and the host will hold the workspaces at boot, showing a dialog where you choose Delete or Keep temporarily.

The most practical twist is Permanent Keep. When a scratch conversation turns out worth saving, click the pin icon on its sidebar row, pick a real folder via the OS directory picker, and the plugin moves the files directly into that folder, rewrites the cwd in every session log header while preserving all event frames byte-for-byte, migrates the conversations, and then triggers a genuine host-level restart so the registry re-indexes. The temporary workspace is promoted to a permanent one, titled after the folder name.

Who is it for? DSH users who regularly need disposable workspaces for quick prototyping, ad-hoc debugging, or one-off Q&A — and want those fragments to vanish on their own without polluting their project directories.

Use Cases

  • Quick prototyping without manual cleanup afterward
  • Ad-hoc debugging that won't pollute project folders
  • Lightweight Q&A conversations that vanish on their own

Best For

  • DSH users who frequently need disposable workspaces
  • Developers who value a tidy directory structure
  • Users who prefer a zero-maintenance workflow for scratch tasks