@nathan33/nao-skill 0.17.3 → 0.18.2
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.
|
@@ -1673,7 +1673,7 @@ cmd_close() {
|
|
|
1673
1673
|
fi
|
|
1674
1674
|
warn "无法确认 $name 在线状态:宿主无 tmux/screen 句柄,且 pi-intercom 名册不可用"
|
|
1675
1675
|
warn " pi 启动后 argv 被改写为 \"pi\",进程扫描不可信 ⇒ 不做静默 no-op(本命令 exit 非 0)"
|
|
1676
|
-
warn " 请用 intercom list
|
|
1676
|
+
warn " 请用 intercom list 人工核对;确认已退出后忽略本提示"
|
|
1677
1677
|
return 1
|
|
1678
1678
|
fi
|
|
1679
1679
|
|
|
@@ -53,6 +53,7 @@ PM 在**立项 / 终签 / 发布**时读取;RD 在**起分支 / 开 PR / 合
|
|
|
53
53
|
|
|
54
54
|
- 版本号:SemVer,PM 按批次范围定(feat→MINOR / fix→PATCH / 破坏性→MAJOR);项目 `AGENTS.md` 有约定则从之。
|
|
55
55
|
- 门禁:AC 全过 + 验收闭环 + main 门禁全绿 + 工作区干净 + PR 已合并。
|
|
56
|
+
- **发布前置(严格闸门)**:若仓库提供 `test:t4:full` 脚本,发布前须先 `npm run test:t4:full` **rc=0**(判据 = **SKIP 计数与 DEGRADE 计数均为 0**,`SKIP`/`DEGRADE` 即 FAIL)。
|
|
56
57
|
- **优先 `gh`**:`gh release create <tag> --title "vX.Y.Z" --notes-file docs/releases/<version>.md`(**标题口径(强约束):@.agents/common/release-notes.md** —— 标题仅裸版本号,描述进正文首段)。
|
|
57
58
|
- 探测:`gh auth status` 按 **exit code** 判定(`keyring` 警告但 exit 0 **仍可用**,可 `gh api user` 复核);**不自动 `gh auth login`**(涉用户凭证)。
|
|
58
59
|
- release notes 落盘 `docs/releases/<version>.md`(**写作规范(强约束):@.agents/common/release-notes.md** —— 面向用户「本次更新」置顶、内部编号 / 文件名 / 属性名一律下沉「技术细节」、正文不用表格;骨架见 @.agents/templates/release-notes.md.example)。
|
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@ nao-skills 是一套 **角色卡 + 协作规矩 + 小工具**。装上以后,
|
|
|
24
24
|
|
|
25
25
|
```bash
|
|
26
26
|
cd 你的项目
|
|
27
|
-
pi install --local npm:@nathan33/nao-skill@0.
|
|
27
|
+
pi install --local npm:@nathan33/nao-skill@0.18.2 # 声明 pin + 把机制包物化到项目内 .pi/npm
|
|
28
28
|
npx @nathan33/nao-skill init # 写入转发 shim + 生成 AGENTS.md
|
|
29
29
|
```
|
|
30
30
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nathan33/nao-skill",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.2",
|
|
4
4
|
"description": "nao 多角色 AI 开发舰队:角色卡 / 技能 / 协作协议 / 工具链,一键接入项目(pi / Claude / 任意 Agent)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -39,9 +39,12 @@
|
|
|
39
39
|
"node": ">=18"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
|
-
"test": "
|
|
42
|
+
"test": "npm run test:agents && npm run test:t4",
|
|
43
|
+
"test:agents": "bash .agents/scripts/nao-fleet.sh check && npm run check:agents",
|
|
44
|
+
"test:t4": "bash tests/t4/run.sh",
|
|
45
|
+
"test:t4:full": "T4_ALLOW_MISSING=0 T4_REQUIRE_FULL=1 bash tests/t4/run.sh",
|
|
43
46
|
"check:agents": "tsc -p tsconfig.agents.json",
|
|
44
|
-
"prepack": "npm test"
|
|
47
|
+
"prepack": "npm run test:agents"
|
|
45
48
|
},
|
|
46
49
|
"devDependencies": {
|
|
47
50
|
"@types/node": "^20.19.0",
|