dshbase

Plugin directory / Developer / dsh-env-manager

dsh-env-manager

Verified · install-tested on dsh uckkk

✓ Actively maintained Builds on 2 official DSH packages

View on GitHub ↗ ← Back to plugin directory

0Stars
0Forks
0Open issues
—Language
2026-08-19Last push
Cross-platformPlatform

What it does

环境变量管理:扫描代码引用与 .env 比对检测缺失/未使用,生成脱敏 .env.example

✅
Our take
Works — verified, early-stage project

环境变量管理:扫描代码引用与 .env 比对检测缺失/未使用,生成脱敏 .env.example It installs cleanly and boots without issues in our testing. It's early-stage but functional.

“Verified” means our automated CI actually ran dsh plugin add in a clean profile and it booted — nothing more. Feature descriptions and version compatibility are the author’s claims. This is not a security audit and not an endorsement of third-party code.

README

dsh-env-manager · 环境变量管理

扫描代码中引用的环境变量,与 .env 比对检测缺失/未使用;从 .env 生成脱敏的 .env.example。纯 Node 实现,无网络、无外部服务。

提供的工具

工具 作用
env_check 扫描代码引用的环境变量,与 .env 比对,返回「缺失」与「未使用」清单
env_example 从 .env 生成 .env.example(键保留、值脱敏)

安装

dsh plugin add dsh-env-manager

安装后在 profile 的 package.json 的 dsh.profile.bundles 中加入 "dsh-env-manager"。

用法示例

帮我检查这个项目有没有漏配置的环境变量
→ 调用 env_check(root="/workspace")

生成一份 .env.example
→ 调用 env_example(root="/workspace")

说明

  • 识别 process.env.X、process.env["X"]、import.meta.env.X、os.environ["X"]、os.getenv("X") 等常见写法。
  • 自动跳过 node_modules、.git、二进制/图片等文件。

安装

dsh plugin add github:uckkk/dsh-env-manager

安装即在本机运行第三方代码,请自行审阅源码。

安装

dsh plugin add github:uckkk/dsh-env-manager

使用

安装后在会话中调用该插件注册的工具即可。

许可

MIT

安装即在本机运行第三方代码,请自行审阅源码。

Install

🧩 Let your agent install it (recommended)

Install the catalog once, then DeepSeek Harness can find and install any plugin from this site automatically:

dsh plugin add dshbase-catalog

Then say "install dsh-env-manager for me" — your agent finds it in the directory and installs it. Docs: dshbase-catalog · verified packs.

This plugin is GitHub source (not published to npm) — install it straight from the repo:

Web profile:

dsh plugin --profile web add github:uckkk/dsh-env-manager

Headless (CLI) profile:

dsh plugin --profile headless add github:uckkk/dsh-env-manager

Test report

Verified: L1 install + L2 load + L3 runtime from GitHub source on dsh 0.1.0-rc.6.

Security: not yet scanned — our daily static scan will cover it shortly.

Share this badge

More in Developer

Browse all 7819 plugins →