AlexKaiqi/dsh-temporary-workspace--packages-plugin0

dsh-temporary-workspace

为 DeepSeek Harness 中的每个临时任务创建隔离的临时工作区。

AI 分析

核心用途是为临时或一次性任务自动分配独立的目录空间。适合需要防止文件污染、保持主工作区整洁的沙盒化运行和测试任务。

包名
dsh-temporary-workspace
版本
0.1.0-rc.5
许可证
MIT
最近更新
2026年8月25日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:AlexKaiqi/dsh-temporary-workspace#68828bcd32b08be30eb61d55a333f98c93697799&path:packages/plugin

Configuration

root is the parent for generated Workspaces, not one Workspace shared by Sessions:

- insert:
    - id: temporary-workspace
      name: dsh-temporary-workspace
      config:
        root: !!js dshHomePath('temporary-workspaces')
        reservationRetentionMs: 3600000

The default is $DSH_HOME/temporary-workspaces, normally ~/.dsh/temporary-workspaces. It can also be edited live under Settings → Plugins → Temporary Workspace. Changes affect future creations only; existing Workspaces, Sessions, and files are not migrated or deleted.

The Settings namespace is temporary-workspace. reservationRetentionMs is the unadopted-directory grace period: one hour by default, with a one-minute minimum.