signoff-cli 4.1.0 → 4.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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## 4.1.1
2
+
3
+ **修注册表归属校验:`package.json` 的 `mcpName` 还指向旧仓库名。**
4
+
5
+ - 现象:注册表返回 400 `Expected mcpName 'io.github.ayuanxx-max/signoff-cli', got 'io.github.ayuanxx-max/signoff'`。
6
+ - 修法:`mcpName` 跟随仓库改名;自测新增一条断言,`server.json#name` 与 `package.json#mcpName` 不一致即红。
7
+
1
8
  ## 4.1.0
2
9
 
3
10
  **仓库改名为 `ayuanxx-max/signoff-cli`,与 npm 包名对齐。**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "signoff-cli",
3
- "version": "4.1.0",
3
+ "version": "4.1.1",
4
4
  "description": "SignOff (落印) — five gates that make an agent's \"done\" provable: verify, coverage, queue, ledger, anti-slop.",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -52,5 +52,5 @@
52
52
  "type": "git",
53
53
  "url": "https://github.com/ayuanxx-max/signoff-cli"
54
54
  },
55
- "mcpName": "io.github.ayuanxx-max/signoff"
55
+ "mcpName": "io.github.ayuanxx-max/signoff-cli"
56
56
  }
package/test/selftest.js CHANGED
@@ -1162,6 +1162,7 @@ const srvj = require(path.join(__dirname, "..", "server.json"));
1162
1162
  check("server.json tracks the package version", srvj.version === pkgj.version, true);
1163
1163
  check("server.json package version tracks too", srvj.packages[0].version === pkgj.version, true);
1164
1164
  check("server.json names the package", srvj.packages[0].identifier === pkgj.name, true);
1165
+ check("server.json name matches mcpName", srvj.name === pkgj.mcpName, true);
1165
1166
 
1166
1167
  check("action runs signoff", /run: signoff \$\{\{ inputs.args \}\}/.test(action), true);
1167
1168
  check("integrations doc lists actions", /uses: ayuanxx-max\/signoff-cli/.test(fs.readFileSync(path.join(__dirname, "..", "docs", "integrations.md"), "utf8")), true);