@agentguardx/helper 0.3.88 → 0.3.89

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.
Files changed (2) hide show
  1. package/lib/wizard.cjs +4 -1
  2. package/package.json +7 -7
package/lib/wizard.cjs CHANGED
@@ -148,7 +148,10 @@ async function init(runtime, args) {
148
148
  { label: '取消,不发送登录信息或令牌', value: false },
149
149
  { label: '我已了解明文风险,确认继续', value: true },
150
150
  ]);
151
- if (!answer) throw new Error('http_confirmation_required');
151
+ if (!answer) {
152
+ process.stdout.write('已取消,没有向该服务器发送任何登录信息。要继续,请重新运行并用 ↓ 选中“我已了解明文风险,确认继续”后回车。\n');
153
+ throw new Error('http_confirmation_required');
154
+ }
152
155
  }
153
156
  httpFlags = ['--allow-http'];
154
157
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentguardx/helper",
3
- "version": "0.3.88",
3
+ "version": "0.3.89",
4
4
  "description": "AgentGuard \u5458\u5de5\u63a5\u5165\u52a9\u624b",
5
5
  "license": "UNLICENSED",
6
6
  "engines": {
@@ -19,12 +19,12 @@
19
19
  "preuninstall": "node lib/preuninstall.cjs"
20
20
  },
21
21
  "optionalDependencies": {
22
- "@agentguardx/helper-darwin-x64": "0.3.88",
23
- "@agentguardx/helper-darwin-arm64": "0.3.88",
24
- "@agentguardx/helper-linux-x64": "0.3.88",
25
- "@agentguardx/helper-linux-arm64": "0.3.88",
26
- "@agentguardx/helper-win32-x64": "0.3.88",
27
- "@agentguardx/helper-win32-arm64": "0.3.88"
22
+ "@agentguardx/helper-darwin-x64": "0.3.89",
23
+ "@agentguardx/helper-darwin-arm64": "0.3.89",
24
+ "@agentguardx/helper-linux-x64": "0.3.89",
25
+ "@agentguardx/helper-linux-arm64": "0.3.89",
26
+ "@agentguardx/helper-win32-x64": "0.3.89",
27
+ "@agentguardx/helper-win32-arm64": "0.3.89"
28
28
  },
29
29
  "publishConfig": {
30
30
  "access": "public"