Skip to content

Commit 4a53c1e

Browse files
committed
chore(release): v1.7.9 —— 修复 Hermes 支持一直不生效(#45
版本号:7 份声明文件 1.7.8 -> 1.7.9。包内文件 109(无增减)。 内容见 RELEASE-NOTES.zh.md v1.7.9 条目。要点:我们从支持 Hermes 起就只装 项目级 .hermes/skills/,而 Hermes 只自动加载 ~/.hermes/skills/ —— 装了完全 不生效,比不支持更糟。改为全局推荐 + 项目级打印可粘贴的 external_dirs 配置。 修复代码本体见 441d024,本次为发版收尾。 顺带修掉发版工具的一个真问题:bump-version.sh 缺 jq 时不退出,逐文件打 "command not found" 后继续跑到 unbound variable —— 版本号一个没写,输出里 却有 "Done."。加前置检查挡住(本次发版即踩到)。 发版前门禁 - audit.sh 166 pass / 0 warn / 0 fail - verify-release.sh 90 pass / 0 fail - dry-run:1.7.9 / 109 文件
1 parent 441d024 commit 4a53c1e

11 files changed

Lines changed: 63 additions & 9 deletions

File tree

.claude-plugin/marketplace.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
{
1010
"name": "superpowers-zh",
1111
"description": "AI 编程超能力中文增强版:20 个 skills(14 翻译 + 4 中国原创 + 2 上游历史保留),支持 Claude Code / Hermes Agent / Cursor / Claw Code / Qoder 等 23 款工具",
12-
"version": "1.7.8",
12+
"version": "1.7.9",
1313
"source": "./",
1414
"author": {
1515
"name": "jnMetaCode",

.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "superpowers-zh",
33
"description": "AI 编程超能力中文增强版:20 个 skills(14 翻译 + 4 中国原创 + 2 上游历史保留),支持 Claude Code / Hermes Agent / Cursor / Claw Code / Qoder 等 23 款工具",
4-
"version": "1.7.8",
4+
"version": "1.7.9",
55
"author": {
66
"name": "jnMetaCode",
77
"url": "https://github.com/jnMetaCode"

.codex-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "superpowers-zh",
3-
"version": "1.7.8",
3+
"version": "1.7.9",
44
"description": "AI 编程超能力中文增强版:头脑风暴、subagent 驱动开发、规划、TDD、调试、代码审查、收尾工作流,附 4 个中文 skills 沉淀。",
55
"author": {
66
"name": "jnMetaCode",

.cursor-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "superpowers-zh",
33
"displayName": "Superpowers 中文版",
44
"description": "AI 编程超能力中文增强版:20 个 skills(14 翻译 + 4 中国原创 + 2 上游历史保留),支持 Cursor / Claude Code / Hermes Agent / Claw Code / Qoder 等 23 款工具",
5-
"version": "1.7.8",
5+
"version": "1.7.9",
66
"author": {
77
"name": "jnMetaCode",
88
"url": "https://github.com/jnMetaCode"

.kimi-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "superpowers-zh",
3-
"version": "1.7.8",
3+
"version": "1.7.9",
44
"description": "AI 编程超能力中文增强版:头脑风暴、subagent 驱动开发、规划、TDD、调试、代码审查、收尾工作流,附 4 个中文 skills 沉淀。",
55
"author": {
66
"name": "jnMetaCode",

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ Chinese community edition of [superpowers](https://github.com/obra/superpowers)
1616
>
1717
> 🌍 Also available in [English](https://aiolaola.com/en?utm_source=github&utm_campaign=superpowers) · [日本語](https://aiolaola.com/ja?utm_source=github&utm_campaign=superpowers) · [Español](https://aiolaola.com/es?utm_source=github&utm_campaign=superpowers) · [한국어](https://aiolaola.com/ko?utm_source=github&utm_campaign=superpowers) · [繁體中文](https://aiolaola.com/zh-Hant?utm_source=github&utm_campaign=superpowers)
1818
19-
> 🆕 **v1.7.8 更新亮点**[完整 Release Notes →](RELEASE-NOTES.zh.md)
19+
> 🆕 **v1.7.9 更新亮点**[完整 Release Notes →](RELEASE-NOTES.zh.md)
20+
> - 🐛 **Hermes 用户请重装** —— 之前我们只装项目级 `.hermes/skills/`,而 Hermes 根本不读那个目录,等于**装了完全不生效**。现在改用 `npx superpowers-zh --global --tool hermes` 装到 `~/.hermes/skills/`[#45](https://github.com/jnMetaCode/superpowers-zh/issues/45)
2021
> - 🔍 **定位核查** —— 逐层比对上游,修掉 5 处「不是增量」的偏离;新增 audit 检查强制 fork 增量必须显式声明
2122
> - 🆕 **新增 Crush**(工具数 22 → 23)—— 若你已为 CC / Cursor / Codex 装过,Crush 其实已经能读到,别重复装
2223
> - 🎯 **上游 v6.2.0 对齐完成** —— audit 的结构漂移告警清零;C 块盘点时发现其中 3 项不是风格改动而是实质新规则

README.zh-Hant.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ Chinese community edition of [superpowers](https://github.com/obra/superpowers)
1616
1717
> 📖 **免費配套學習**[從零學會 AI 編程](https://aiolaola.com/?utm_source=github&utm_campaign=superpowers):180 節免費實操課 + 《AI 編程實戰三卷書》線上閱讀 + 實戰社群 · superpowers 裝好後配上方法論效率翻倍 · 永久免費
1818
19-
> 🆕 **v1.7.8 更新亮點**[完整 Release Notes →](RELEASE-NOTES.zh.md)
19+
> 🆕 **v1.7.9 更新亮點**[完整 Release Notes →](RELEASE-NOTES.zh.md)
20+
> - 🐛 **Hermes 使用者請重裝** —— 之前我們只裝專案級 `.hermes/skills/`,而 Hermes 根本不讀那個目錄,等於**裝了完全不生效**。現在改用 `npx superpowers-zh --global --tool hermes` 裝到 `~/.hermes/skills/`[#45](https://github.com/jnMetaCode/superpowers-zh/issues/45)
2021
> - 🔍 **定位核查** —— 逐層比對上游,修掉 5 處「不是增量」的偏離;新增 audit 檢查強制 fork 增量必須顯式聲明
2122
> - 🆕 **新增 Crush**(工具數 22 → 23)—— 若你已為 CC / Cursor / Codex 裝過,Crush 其實已經能讀到,別重複裝
2223
> - 🎯 **上游 v6.2.0 對齊完成** —— audit 的結構漂移告警清零;C 塊盤點時發現其中 3 項不是風格改動而是實質新規則

RELEASE-NOTES.zh.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,48 @@
66
77
---
88

9+
## v1.7.9 (2026-08-11)
10+
11+
**如果你在用 Hermes Agent,请重新安装。** 本版本之前我们对 Hermes 的支持是**坏的** —— 不是"不好用",是装完完全不生效。
12+
13+
### 🐛 Hermes:我们一直装错了目录([#45](https://github.com/jnMetaCode/superpowers-zh/issues/45)
14+
15+
报告人说「项目级 `.hermes/skills/` 里的 20 个 skill 全部返回 404,必须手动复制到 `~/.hermes/skills/` 才被识别」。查[官方文档](https://hermes-agent.nousresearch.com/docs/user-guide/features/skills)核实,他是对的:
16+
17+
> Hermes 只自动加载 `~/.hermes/skills/`(原文称其为 "the primary directory and source of truth"),**项目级目录不会被自动发现**;外部目录必须写进 `~/.hermes/config.yaml``skills.external_dirs`
18+
19+
而我们从支持 Hermes 起就只装项目级 `.hermes/skills/` —— **那个目录 Hermes 根本不读**。装了 20 个 skill,一个都不生效,比不支持更糟:用户以为装好了。
20+
21+
**改法:**
22+
23+
- **全局成为推荐装法** —— `npx superpowers-zh --global --tool hermes` 装到 `~/.hermes/skills/`,装完即生效,`skills_list` 直接能看到 20 个 skill
24+
- **项目级保留**(skills 可以随仓库分发),但装完打印**可直接粘贴**的配置片段,带绝对路径:
25+
26+
```yaml
27+
skills:
28+
external_dirs:
29+
- /your/project/.hermes/skills
30+
```
31+
32+
**我们不替你改 `config.yaml`** —— 那是你的文件。文档里特意写明「配置里不存在的路径会被静默跳过」,所以写错不会报错、只会"没生效",这个坑值得先说。
33+
34+
**过程中拦住了一次自己猜路径:** 第一版全局实现把 `HERMES.md` 引导文件写到了 `$HOME` 根目录。Hermes 的用户级指令文件约定**没有公开文档** —— 那是在猜路径 + 污染用户主目录。已改为全局模式不写 bootstrap,并在文档里说明理由。实测:全局装完 `$HOME` 根目录 0 个新文件、卸载 0 残留。
35+
36+
### 🔧 发版工具:`bump-version.sh` 缺 jq 时会静默改错
37+
38+
本次发版时踩到:机器上没有 `jq`,脚本不报错退出,而是每个文件打一行 `command not found` 后**继续往下跑**,最后以 `unbound variable` 收场 —— 版本号一个都没写进去,但输出里混着 "Done."。已加前置检查:缺 `jq` 直接退出并给出安装命令。
39+
40+
### ℹ️ #45 的后半部分未动(说明理由)
41+
42+
#45 还提到 7 个 skill 文件里有 24 处硬编码的 Claude 工具名(`TodoWrite` / `Read` / `Bash` 等)。**本次不动**,理由:那属于行为塑造内容,且 `references/hermes-tools.md` 已有完整映射表。正确解法是强化「查映射表」的引用,而不是把正文改成某个 harness 专属的工具名 —— 那会伤到其余 22 款工具。
43+
44+
### ✅ 发版前门禁
45+
46+
- `audit.sh` 166 pass / 0 warn / 0 fail
47+
- `verify-release.sh` 90 pass / 0 fail(`--global` 支持清单 6 → 7 款,新增 hermes)
48+
49+
---
50+
951
## v1.7.8 (2026-08-08)
1052

1153
本版本源于一次**定位核查**:按「superpowers-zh 只是完整翻译上游 + 增加更多工具支持」这个定位,逐层比对我们与 [obra/superpowers](https://github.com/obra/superpowers) 的差异。结论是**定位基本站得住,但不完全** —— 查出 5 处偏离,全部修掉。

gemini-extension.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "superpowers-zh",
33
"description": "AI 编程超能力中文版 — TDD、调试、代码审查等经过实战验证的工作方法论",
4-
"version": "1.7.8",
4+
"version": "1.7.9",
55
"contextFileName": "GEMINI.md"
66
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "superpowers-zh",
3-
"version": "1.7.8",
3+
"version": "1.7.9",
44
"engines": {
55
"node": ">=20.0.0"
66
},

0 commit comments

Comments
 (0)