DeepSeek Harness 插件

dsh-workspace-drift

Record and compare project development environments without storing secret values.(英文原文)

跳到安装方式

来源信息

GitHub 仓库
Npaobi/dsh-workspace-drift
最近更新
2026年8月17日
分类
安全与权限
GitHub stars
0
载体类型
plugin
目录证据
上游声明已找到 dsh.bundle
证据路径
package.json#dsh.bundle
核对版本
0.1.0-rc.8
上游核对日期
2026-08-20

该证据由上游目录提供。本站没有安装、运行或安全审核这个插件。

安装

默认先复制一段 Prompt,让 Agent 读 GitHub 仓库和源码;需要自己装时再切到命令。

复制这段 Prompt,发给 DSH、Codex 或其他 Agent,让它先读 GitHub 仓库和源码。

请先不要安装或执行任何命令。阅读这个插件的 GitHub 仓库、README 和关键源码,然后用清楚、直接的方式回答以下问题,帮助我判断它是否适合我的需求:

1. 这个插件是什么,解决什么问题;
2. 适合哪些用户和典型使用场景;
3. 安装后如何使用,并给出一个最小使用示例;
4. 有哪些已知限制,以及隐私、安全、兼容性或维护风险;
5. 给出“推荐 / 有条件推荐 / 不推荐”的明确建议和理由。

请区分仓库明确说明、根据源码推断和未知信息。证据不足时请明确说明,不要猜测或照抄 README。

GitHub:https://github.com/Npaobi/dsh-workspace-drift
插件名:dsh-workspace-drift
作者:Npaobi

检查来源文件

安装前先看这个插件目录里的 README 和其他文件。

文件资源管理器2 个文件
README.md来源说明 · 只读预览

dsh-workspace-drift

dsh-workspace-drift is a DeepSeek Harness plugin for finding the environment differences that stop a project from running after it moves to another computer.

It records a project baseline, checks the current machine, and explains differences in plain language. It never saves the values of API keys, passwords, tokens, or .env files.

Install

Install the plugin into a DSH profile:

dsh plugin --profile web add dsh-workspace-drift

For a local checkout during development:

dsh plugin --profile web add .

Use

Ask the agent to use one of these tools with the absolute path to your project.

Record a baseline

environment_snapshot records the environment that currently works and writes it to:

<workspace>/.dsh/environment-baseline.json

Example request:

Record the development environment for E:\Project\my-app.

Check the current machine

environment_check inspects the workspace without changing files. It checks project type, installed runtimes, package manager, dependency-ready markers, common start scripts, and required configuration names.

Example request:

Check whether E:\Project\my-app has the environment needed to run.

Compare with the saved baseline

environment_compare compares the current workspace with the saved baseline and also performs the current-environment checks. Each finding states what differs, why that may block the project, and the next command or action to take.

Example request:

Compare E:\Project\my-app with its saved environment baseline.

What is collected

  • operating-system identifier;
  • Node.js, Python, Rust, and Go versions when those tools are installed;
  • project types detected from package.json, Python project files, Cargo.toml, and go.mod;
  • whether Node dependencies, Python virtual environments, Rust build output, and Go module checksums are present;
  • detected package manager and project lockfiles;
  • names of package scripts;
  • Git branch and commit identifier;
  • names from .env.example, without their values;
  • whether required names are set in the current process environment or local .env file, without retaining their values.

Privacy and limits

The plugin never stores or returns .env values, API keys, passwords, access tokens, private keys, or cookies. During a check it reads local .env assignments only long enough to determine whether each required name has a non-empty value. It only reads files inside the selected workspace. The first release reads package.json, .env.example, .env, and known lockfile names; it does not install dependencies or modify project files other than its own baseline.

Baseline format

Baselines use JSON format version 1. They contain the workspace path, collection time, plugin version, normalized environment facts, dependency-ready markers, and required configuration names, never secret values. The file is written through a temporary file and rename so an interrupted write does not replace the previous baseline with partial JSON. A malformed or unsupported baseline is rejected rather than silently treated as a match.

What a result means

An empty finding list means the plugin found no critical difference among the facts it can inspect. It does not prove that the project will start, build, connect to a service, or pass tests. The plugin never runs project commands or installs dependencies during a check.

Development

npm install
npm run typecheck
npm test
npm run build

The development rules and privacy contract are in [AGENTS.md](AGENTS.md).

Known limitations and deferred work

  • Python, Rust, and Go support checks only basic project markers and dependency readiness. It does not parse every ecosystem-specific dependency manager or prove a program can build.
  • A matching baseline is evidence of matching recorded facts, not proof that an application will run successfully.