@agentguardx/helper 0.3.92 → 0.3.94
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.md +1 -1
- package/bin/agentguard.cjs +4 -1
- package/lib/wizard.cjs +0 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ npx 即用不会创建全局 `agentguard` 命令;后续使用 `npx @agentguard
|
|
|
18
18
|
|
|
19
19
|
企业对话正文留存不要求员工告知或确认,向导不展示告知步骤、不提交已读;正常对话不会因告知流程被阻断。留存开启仍须独立双审,正文访问按当前角色与服务端审批结果执行,平台管理员可审核本人申请;正式环境默认关闭。
|
|
20
20
|
|
|
21
|
-
支持入口为 OpenCode、OpenClaw、Cursor 远程 MCP
|
|
21
|
+
支持入口为 OpenCode、OpenClaw、Cursor 远程 MCP 及 Cherry Studio 手动说明(Claude Desktop 向导不再提供,2026-10-23 用户决定);厂商原生实测范围以企业兼容记录为准。Codex 暂缓,Gemini、Claude Code、Claude Desktop 不接入。B15 为 OpenCode 同时注册本机安全 stdio MCP,并写入关闭自带本机工具的配置;仅经 ag_* 入口的调用由服务端逐次授权、执行上报和输出检查。其他厂商未验证关闭原生工具时,其自带本机终端、文件操作不受该 MCP 管控。客户端可被员工修改的边界不等同操作系统强制隔离。
|
|
22
22
|
|
|
23
23
|
启动器每次执行 Go 核心前,使用内置固定公钥验证 originless npm 清单的 RSA-3072/SHA-256 签名,再检查平台二进制与 macOS 钥匙串 helper 的大小和 SHA-256。验证失败拒绝执行,不下载替换公钥。
|
|
24
24
|
|
package/bin/agentguard.cjs
CHANGED
|
@@ -17,5 +17,8 @@ async function main() {
|
|
|
17
17
|
}
|
|
18
18
|
main().catch(error => {
|
|
19
19
|
const code = /^[a-z0-9_]+$/.test(error.message) ? error.message : 'helper_operation_failed';
|
|
20
|
-
process.stderr.write(`接入助手未完成:${code}\n`);
|
|
20
|
+
process.stderr.write(`接入助手未完成:${code}\n`);
|
|
21
|
+
// 平台包缺失或版本不一致,最常见的原因是国内镜像只同步了主包;npx 还会缓存这次不完整的安装。
|
|
22
|
+
if (code === 'npm_platform_package_missing' || code === 'npm_package_version_mismatch') process.stderr.write('本机平台包缺失或版本不一致,通常是 npm 镜像尚未同步完新版本。可改用官方仓库:npx --registry https://registry.npmjs.org/ @agentguardx/helper ;若仍报错,清理 npx 缓存(npm cache clean --force,或删除 ~/.npm/_npx 下含 @agentguardx 的目录)后重试。\n');
|
|
23
|
+
process.exitCode = 1;
|
|
21
24
|
});
|
package/lib/wizard.cjs
CHANGED
|
@@ -101,7 +101,6 @@ function supportedTools() {
|
|
|
101
101
|
{ label: 'OpenCode(模型与远程 MCP)', value: 'opencode', present: command('opencode'), install: 'npm i -g opencode-ai' },
|
|
102
102
|
{ label: 'OpenClaw(模型)', value: 'openclaw', present: command('openclaw'), install: '按 OpenClaw 官方说明安装' },
|
|
103
103
|
{ label: 'Cursor(远程 MCP)', value: 'cursor', present: command('cursor') || apps('Cursor.app', 'Programs/Cursor/Cursor.exe'), install: '从 cursor.com 下载安装' },
|
|
104
|
-
{ label: 'Claude Desktop(MCP 桥接)', value: 'claude-desktop', present: command('claude-desktop') || apps('Claude.app', 'AnthropicClaude/Claude.exe'), install: '从 claude.ai/download 下载安装' },
|
|
105
104
|
{ label: 'Cherry Studio(手动填写说明)', value: 'cherry-studio', present: apps('Cherry Studio.app', 'Programs/Cherry Studio/Cherry Studio.exe'), install: '从 cherry-ai.com 下载安装' },
|
|
106
105
|
];
|
|
107
106
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentguardx/helper",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.94",
|
|
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.
|
|
23
|
-
"@agentguardx/helper-darwin-arm64": "0.3.
|
|
24
|
-
"@agentguardx/helper-linux-x64": "0.3.
|
|
25
|
-
"@agentguardx/helper-linux-arm64": "0.3.
|
|
26
|
-
"@agentguardx/helper-win32-x64": "0.3.
|
|
27
|
-
"@agentguardx/helper-win32-arm64": "0.3.
|
|
22
|
+
"@agentguardx/helper-darwin-x64": "0.3.94",
|
|
23
|
+
"@agentguardx/helper-darwin-arm64": "0.3.94",
|
|
24
|
+
"@agentguardx/helper-linux-x64": "0.3.94",
|
|
25
|
+
"@agentguardx/helper-linux-arm64": "0.3.94",
|
|
26
|
+
"@agentguardx/helper-win32-x64": "0.3.94",
|
|
27
|
+
"@agentguardx/helper-win32-arm64": "0.3.94"
|
|
28
28
|
},
|
|
29
29
|
"publishConfig": {
|
|
30
30
|
"access": "public"
|