dsh-environment-tray: Manage environment variables and secrets in DSH Desktop

Preface

When running agents or local tools in DeepSeek Harness (DSH), API Keys, database connection strings, and model endpoints are often scattered across .env files, system environment variables, and session runtimes. Modifying or checking a single configuration often requires switching between terminals or editors. Furthermore, when these are out of sync with the desktop session, configurations are easily missed. The community plugin dsh-environment-tray (maintainer: songshuhuoban) consolidates the viewing and editing of environment variables, .env files, and secrets into an entry point in the top-right corner of the session interface, designed specifically for the DeepSeek Harness Desktop.

What is this

dsh-environment-tray is an “Environment Variable Manager” for DSH. It allows you to view and edit environment variables, .env files, and secrets within the Desktop version; on Windows, it also supports managing both user-level and system-level environment variables. The current version of the plugin is 0.1.3, officially supporting DeepSeek Harness 0.2.1-rc.2 and compatible with 0.2.0-rc.2.

The plugin is distributed via community directories such as SkillHub. The directory site has no official affiliation with DeepSeek or Quantta/High-Flyer. Before installation, it is recommended to review the GitHub repository source code and license yourself.

Core Features

The following capabilities are derived from the project’s README:

  • Unified management of environment variables, .env content, and credentials within the session page.
  • Search by variable name via the top search box.
  • View and copy variable values (eye / copy buttons); inline editing with Enter or leaving the row to save, and Esc to cancel.
  • Create new variables: select the save location, then fill in the name and value.
  • Delete variables: remove from the selected location after confirmation.
  • The interface displays the variable source and active status; if a restart is indicated after modifications, restart the Desktop version as prompted.
  • Windows: Support for both user-level and system-level environment variables.

Installation & Activation

Follow the README for installation steps. Installation is completed within the Desktop version; there is no need to manually construct CLI package name commands.

  1. Open the Desktop version and go to Plugins → Add Plugin on the left side.
  2. Enter the following in the Package Name or Address field:
dsh-environment-tray
  1. Click Install; once completed, click Enable Now. If a restart is prompted, restart the Desktop version as instructed.

Entry Point & Typical Usage

After installation and activation, return to the session page (either a new session or an existing one), and click the Environment Variables double-slider button in the top right corner to open the panel.

Find Variables: Enter the variable name in the top search box.

View and Copy: Click the eye or copy button next to the value.

Modify Value: Click the edit button at the end of the row; press Enter or leave the row to save, or press Esc to cancel.

Create Variable: Click the plus sign at the top, fill in the name and value, select the save location, and click “Create”.

Delete Variable: Click the delete button at the end of the row; confirm to delete the value from the selected location.

If the interface indicates a restart is required after modification, restart the Desktop version to apply the changes.

Use Cases & Notes

Target Audience: Developers who frequently debug agents in the DSH Desktop version, need to frequently change API Keys or .env files, and want to view both user-level and system-level variables simultaneously on Windows.

Permissions & Security: The plugin reads and writes environment variables and secret-related data under the permissions of the current DSH Desktop process. Before installation, you should read the repository source code and license to confirm you accept its scope of access. Do not casually enable capabilities that can write to system environment variables in untrusted environments.

Versions: Before use, confirm that the Desktop version is 0.2.1-rc.2 (or compatible 0.2.0-rc.2) as listed in the README, and the plugin version is 0.1.3, to avoid interface mismatches.

Links

Following the steps above allows for centralized management of environment configurations without leaving the session, reducing the need to switch back and forth between external editors and terminals.

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye