@leeruu/agentguard 0.1.0 → 0.1.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.
Files changed (3) hide show
  1. package/NOTICE +22 -0
  2. package/README.md +4 -3
  3. package/package.json +12 -2
package/NOTICE ADDED
@@ -0,0 +1,22 @@
1
+ agentguard
2
+ Copyright (c) 2026 leeruu
3
+
4
+ 本作品首次提交于 2026-11-19,首次发布于 npm registry 于 2026-11-19
5
+ (@leeruu/agentguard@0.1.0)。
6
+
7
+ Licensed under the Apache License, Version 2.0 (the "License");
8
+ you may not use this file except in compliance with the License.
9
+ You may obtain a copy of the License at
10
+
11
+ http://www.apache.org/licenses/LICENSE-2.0
12
+
13
+ Unless required by applicable law or agreed to in writing, software
14
+ distributed under the License is distributed on an "AS IS" BASIS,
15
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ See the License for the specific language governing permissions and
17
+ limitations under the License.
18
+
19
+ ---
20
+
21
+ 保留此文件即可满足 Apache-2.0 第 4(d) 条的署名要求。
22
+ 转载、衍生或再分发时,请保留本文件与 LICENSE。
package/README.md CHANGED
@@ -12,6 +12,7 @@ npx -y @leeruu/agentguard@beta check # 看它会拦住什么,再决定接
12
12
 
13
13
  > 当前是 beta:命令里的 `@beta` 别去掉。正式版转正后这些命令会去掉 `@beta`。
14
14
  > `demo` 不需要任何 AI 客户端、不需要配置、不写审计——先看效果再决定装不装。
15
+ > 国内网络慢的话加 `--registry=https://registry.npmmirror.com`(实测 1.9 秒)。
15
16
 
16
17
  真实文件系统 server 过代理后,agent 侧看到的是:
17
18
 
@@ -58,11 +59,11 @@ npx -y @leeruu/agentguard@beta check # 看它会拦住什么,再决定接
58
59
 
59
60
  `init` 生成的 JSON 片段自己粘,三家的位置在下面的「客户端配置」里。
60
61
 
61
- > 为什么做成这样、它拦不住什么:见仓库里的 `docs/launch-article.md`。
62
- > (等仓库地址确定、`package.json` 补上 `repository` 之后,这里会换成可点击的链接)
62
+ > 为什么做成这样、它拦不住什么:见仓库里的 [`docs/launch-article.md`](docs/launch-article.md)。
63
63
 
64
- > 状态:**W10 完成**(代码、策略包、审计、打包边界、本地 git 基线)。以 `@leeruu/agentguard@beta` 发布中。
64
+ > 状态:**已发布** `@leeruu/agentguard@0.1.0`(beta)。`core` + `secrets` + `git` + `net` 四套策略包,323 条断言全绿。
65
65
  > 源码 2,477 行(14 个文件)+ 319 行策略包 YAML;运行时依赖 1 个(`yaml`);Node ≥ 20。
66
+ > 仓库:<https://github.com/MmUu001/agentguard> · npm:<https://www.npmjs.com/package/@leeruu/agentguard>
66
67
 
67
68
  ## 现状
68
69
 
package/package.json CHANGED
@@ -1,8 +1,17 @@
1
1
  {
2
2
  "name": "@leeruu/agentguard",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Local permission gateway for MCP agents: YAML policy, deterministic decisions, full audit trail.",
5
5
  "license": "Apache-2.0",
6
+ "author": "leeruu",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/MmUu001/agentguard.git"
10
+ },
11
+ "homepage": "https://github.com/MmUu001/agentguard#readme",
12
+ "bugs": {
13
+ "url": "https://github.com/MmUu001/agentguard/issues"
14
+ },
6
15
  "publishConfig": {
7
16
  "access": "public"
8
17
  },
@@ -15,7 +24,8 @@
15
24
  },
16
25
  "files": [
17
26
  "dist",
18
- "packs"
27
+ "packs",
28
+ "NOTICE"
19
29
  ],
20
30
  "scripts": {
21
31
  "build": "tsc -p tsconfig.json",