@gluztm/dsh-guard 2.4.0 → 2.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.en.md +19 -3
- package/README.md +19 -3
- package/lib/client.js +1078 -230
- package/lib/index.mjs +13 -2
- package/lib/inspector.mjs +22 -3
- package/package.json +2 -1
- package/screenshots.json +7 -0
package/README.en.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @gluztm/dsh-guard — Official Companion Plugin for DSHGuard
|
|
2
2
|
|
|
3
|
+
> **💡 Want the Full Windows Desktop Control Shell? (Companion + Desktop Pairing)**
|
|
4
|
+
>
|
|
5
|
+
> This plugin is the **cross-platform read-only companion** inside DSH (Web UI right sidebar, Agent tools, and `/guard` command). Full write-side features — **1-click service start/stop, 40+ plugin toggles, CC Switch credential & model library hub, and pre-write backup snapshots with 1-click rollback** — live in the desktop app **[DSHGuard (`DSHGuard.exe`)](https://github.com/gluztm/DSHGuard)**:
|
|
6
|
+
> - **[📥 Direct Download Windows Installer `DSHGuard-Setup-2.4.1.exe` (Non-Admin · Bundled Runtime Wizard)](https://github.com/gluztm/DSHGuard/releases/download/2.4.1/DSHGuard-Setup-2.4.1.exe)**
|
|
7
|
+
> - When `DSHGuard.exe` is installed on Windows, the sidebar automatically switches to a **1-click Launch DSHGuard** button; otherwise it surfaces a direct installer download card.
|
|
8
|
+
>
|
|
9
|
+
> <p align="center">
|
|
10
|
+
> <img src="../../docs/screenshots/241-companion-sidebar.png" alt="DSHGuard Companion 2.4.1 Sidebar Preview (Dark Missing-EXE Guide / Credentials Audit / Light Installed Snapshots)" width="100%" />
|
|
11
|
+
> </p>
|
|
12
|
+
> <p align="center">
|
|
13
|
+
> <img src="../../docs/screenshots/240-showcase.gif" alt="DSHGuard Desktop Showcase" width="100%" />
|
|
14
|
+
> </p>
|
|
15
|
+
|
|
3
16
|
[](../../LICENSE)
|
|
4
17
|
[](#install-into-dsh)
|
|
5
18
|
|
|
@@ -18,7 +31,7 @@
|
|
|
18
31
|
- `dsh_guard_open`: Locate or launch local Windows `DSHGuard.exe`, or return the official release link
|
|
19
32
|
- `/guard [status|snapshots|open]`: Quick slash-command access
|
|
20
33
|
|
|
21
|
-
> Scoped package note: the unscoped name `dsh-guard` is already taken by another author on npm, so this official companion package uses `@gluztm/dsh-guard` and distributes signed release `.tgz` tarballs directly via [GitHub Release 2.4.
|
|
34
|
+
> Scoped package note: the unscoped name `dsh-guard` is already taken by another author on npm, so this official companion package uses `@gluztm/dsh-guard` and distributes signed release `.tgz` tarballs directly via [GitHub Release 2.4.1](https://github.com/gluztm/DSHGuard/releases/tag/2.4.1) alongside `DSHGuard-Setup-2.4.1.exe`.
|
|
22
35
|
|
|
23
36
|
---
|
|
24
37
|
|
|
@@ -26,10 +39,13 @@
|
|
|
26
39
|
|
|
27
40
|
```powershell
|
|
28
41
|
# Add to DSH Web profile (Sidebar UI + Agent tools + /guard)
|
|
29
|
-
dsh plugin --profile web add https://github.com/gluztm/DSHGuard/releases/download/2.4.
|
|
42
|
+
dsh plugin --profile web add https://github.com/gluztm/DSHGuard/releases/download/2.4.1/dsh-guard-2.4.1.tgz
|
|
30
43
|
|
|
31
44
|
# Add to DSH Desktop profile
|
|
32
|
-
dsh plugin --profile desktop add https://github.com/gluztm/DSHGuard/releases/download/2.4.
|
|
45
|
+
dsh plugin --profile desktop add https://github.com/gluztm/DSHGuard/releases/download/2.4.1/dsh-guard-2.4.1.tgz
|
|
46
|
+
|
|
47
|
+
# Pair with the Windows Desktop Control Shell (Lifecycle / Credential Vault / Snapshots)
|
|
48
|
+
# https://github.com/gluztm/DSHGuard/releases/download/2.4.1/DSHGuard-Setup-2.4.1.exe
|
|
33
49
|
```
|
|
34
50
|
|
|
35
51
|
### Standalone CLI (Node.js >= 18)
|
package/README.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @gluztm/dsh-guard — DSH 守护壳官方伴生插件
|
|
2
2
|
|
|
3
|
+
> **💡 想用完整图形化管控桌面端?(Windows 推荐搭配)**
|
|
4
|
+
>
|
|
5
|
+
> 本插件是 **跨平台只读伴生面板**(提供 Web 右侧栏双轨体检、Agent 工具与 `/guard` 命令);**一键启停服务、40+ 插件开关、CC Switch 凭据与模型库托管、写入前自动快照/一键回滚** 均由桌面端主体 **[DSHGuard (`DSHGuard.exe`)](https://github.com/gluztm/DSHGuard)** 提供:
|
|
6
|
+
> - **[📥 直链下载 Windows 安装包 `DSHGuard-Setup-2.4.1.exe`(免管理员 · 自带运行环境向导)](https://github.com/gluztm/DSHGuard/releases/download/2.4.1/DSHGuard-Setup-2.4.1.exe)**
|
|
7
|
+
> - 已安装 `DSHGuard` 时,侧边栏顶部会自动切换为 **「启动 DSHGuard」** 一键拉起按钮;未安装时直接展示直链下载卡。
|
|
8
|
+
>
|
|
9
|
+
> <p align="center">
|
|
10
|
+
> <img src="../../docs/screenshots/241-companion-sidebar.png" alt="DSHGuard 伴生插件 2.4.1 侧边栏三态预览(深色未安装引导 / 凭据就绪审计 / 浅色已安装快照)" width="100%" />
|
|
11
|
+
> </p>
|
|
12
|
+
> <p align="center">
|
|
13
|
+
> <img src="../../docs/screenshots/240-showcase.gif" alt="DSHGuard 桌面端总览" width="100%" />
|
|
14
|
+
> </p>
|
|
15
|
+
|
|
3
16
|
[](../../LICENSE)
|
|
4
17
|
[](#安装到-dsh)
|
|
5
18
|
|
|
@@ -18,7 +31,7 @@
|
|
|
18
31
|
- `dsh_guard_open`:定位或唤起本机 Windows `DSHGuard.exe`(未安装时返回官方下载链接)
|
|
19
32
|
- `/guard [status|snapshots|open]`:聊天内直达命令
|
|
20
33
|
|
|
21
|
-
> 为什么包名是 `@gluztm/dsh-guard`?因为无作用域名称 `dsh-guard` 在 npm 上已被其他作者占用,为避免社区清单路由冲突,伴生插件统一采用 `@gluztm/dsh-guard` 命名并随 [GitHub Release 2.4.
|
|
34
|
+
> 为什么包名是 `@gluztm/dsh-guard`?因为无作用域名称 `dsh-guard` 在 npm 上已被其他作者占用,为避免社区清单路由冲突,伴生插件统一采用 `@gluztm/dsh-guard` 命名并随 [GitHub Release 2.4.1](https://github.com/gluztm/DSHGuard/releases/tag/2.4.1) 直接分发签名 `.tgz` 安装包;桌面端安装包 `DSHGuard-Setup-2.4.1.exe` 亦在同一 Release 页分发。
|
|
22
35
|
|
|
23
36
|
---
|
|
24
37
|
|
|
@@ -30,10 +43,13 @@
|
|
|
30
43
|
|
|
31
44
|
```powershell
|
|
32
45
|
# 安装到 DSH Web 版(包含右侧栏面板 + 工具 + /guard)
|
|
33
|
-
dsh plugin --profile web add https://github.com/gluztm/DSHGuard/releases/download/2.4.
|
|
46
|
+
dsh plugin --profile web add https://github.com/gluztm/DSHGuard/releases/download/2.4.1/dsh-guard-2.4.1.tgz
|
|
34
47
|
|
|
35
48
|
# 同步安装到 DSH 桌面版
|
|
36
|
-
dsh plugin --profile desktop add https://github.com/gluztm/DSHGuard/releases/download/2.4.
|
|
49
|
+
dsh plugin --profile desktop add https://github.com/gluztm/DSHGuard/releases/download/2.4.1/dsh-guard-2.4.1.tgz
|
|
50
|
+
|
|
51
|
+
# 配套安装 Windows 完整桌面端管控壳(含启停/凭据保险箱/自动快照回滚)
|
|
52
|
+
# https://github.com/gluztm/DSHGuard/releases/download/2.4.1/DSHGuard-Setup-2.4.1.exe
|
|
37
53
|
```
|
|
38
54
|
|
|
39
55
|
### 方式 B:从源码子包本地运行只读 CLI(Node.js >= 18)
|