Skip to content

Releases

v1.0.0

Choose a tag to compare

@github-actions github-actions released this 02 Dec 15:38

首个公开版本:把 DSH Web 的 launch token 固定为环境变量(默认 DSH_LAUNCH_TOKEN)的值。

  • 变量存在且为 16–256 位 URL-safe 字符时替换 token;未设置/为空/格式非法时保持 DSH 每进程随机 token
  • 插件禁用、卸载或热重载时恢复原 token;DSH 缺少所需运行时字段时只告警,不阻断启动
  • 兼容 DSH >=0.2.2-rc.5 <0.3.0(Node.js ≥ 24),无第三方依赖、无构建步骤

安装(固定到本版本 commit):

dsh plugin --profile web add "github:schovest/dsh-launch-token-env#aaa362eb488f2e7f7f31fcb1d3f7f1d02cbb445b"

或使用本页 tarball(不需要 pnpm):

sha256sum -c SHA256SUMS.txt
tar xzf schovest-dsh-launch-token-env-1.0.0.tgz
sh package/install.sh --home /data --profile web