@riconext/hermes-repo 0.13.2 → 0.14.0
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 +13 -0
- package/README.md +23 -4
- package/dist/cli.js +212 -137
- package/dist/cli.js.map +1 -1
- package/package.json +8 -2
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 0.14.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- e91087e: Add a local release workflow that versions with Changesets, updates the changelog, creates a matching git tag, and pushes the branch and tag for npm publishing.
|
|
8
|
+
|
|
9
|
+
## 0.13.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 当前发布基线。后续版本由 Changesets 维护版本号与 changelog。
|
package/README.md
CHANGED
|
@@ -58,7 +58,7 @@ npm:`@riconext/hermes-repo` · 灵感来自 [Hermes Agent](https://github.com/
|
|
|
58
58
|
|
|
59
59
|
- **个人开发者**:单仓库长期使用同一套 AI 助手,希望「项目记忆」跟着 repo 走
|
|
60
60
|
- **小团队**:约定、流程经 PR 审查后进入 `topics/` / `skills/`,新人 AI 也能对齐
|
|
61
|
-
- **多助手用户**:同一套 `.memory/` 可同时接入 Claude Code、Cursor、CodeBuddy(见下表)
|
|
61
|
+
- **多助手用户**:同一套 `.memory/` 可同时接入 Claude Code、Cursor、CodeBuddy、Codex(见下表)
|
|
62
62
|
|
|
63
63
|
---
|
|
64
64
|
|
|
@@ -70,7 +70,7 @@ hermes-repo 是挂在**你的 Git 项目**上的记忆层:不改变你平时
|
|
|
70
70
|
用户跑: npx @riconext/hermes-repo init
|
|
71
71
|
│
|
|
72
72
|
▼
|
|
73
|
-
交互:checkbox 多选编程助手(claude-code / cursor / codebuddy)
|
|
73
|
+
交互:checkbox 多选编程助手(claude-code / cursor / codebuddy / codex)
|
|
74
74
|
非交互:init -y [--tools id1,id2] 默认 assistants: [claude-code]
|
|
75
75
|
│ init -y --scan 可选冷启动:扫描仓库生成首批 semantic 捕获 + flush
|
|
76
76
|
▼
|
|
@@ -94,10 +94,11 @@ hermes-repo 是挂在**你的 Git 项目**上的记忆层:不改变你平时
|
|
|
94
94
|
│ ├── skill-usage.json # [个人] 技能引用统计(gitignore)
|
|
95
95
|
│ └── MEMORY.md # [团队] Level 0 摘要(≤约 2.2K 字符,inject 用)
|
|
96
96
|
├── AGENTS.md # 通用助手指令(init 合并 hermes 标记块)
|
|
97
|
-
└── 按 config.assistants[]
|
|
97
|
+
└── 按 config.assistants[] 写入助手配置:
|
|
98
98
|
.claude/settings.local.json # claude-code: SessionStart→inject, Stop→capture
|
|
99
99
|
.cursor/hooks.json # cursor: sessionStart→inject, stop→capture
|
|
100
100
|
.codebuddy/settings.local.json # codebuddy: SessionStart→inject, Stop→capture
|
|
101
|
+
.codex/config.toml # codex: AGENTS.md 项目指令锚点
|
|
101
102
|
|
|
102
103
|
────────────────── 运行时闭环(单仓库)──────────────────
|
|
103
104
|
|
|
@@ -315,7 +316,7 @@ npx @riconext/hermes-repo capture-llm --flush
|
|
|
315
316
|
| **Claude Code** | 已支持 | Stop / SessionStart hooks |
|
|
316
317
|
| **Cursor** | 已支持 | `hooks.json` 集成 |
|
|
317
318
|
| **CodeBuddy** | 已支持 | Stop / SessionStart hooks |
|
|
318
|
-
| OpenAI Codex |
|
|
319
|
+
| **OpenAI Codex** | 已支持 | `AGENTS.md` + `.codex/config.toml` 项目级引导 |
|
|
319
320
|
| VS Code Copilot / Copilot CLI | 规划中 | AGENTS.md 可先手写引导 |
|
|
320
321
|
|
|
321
322
|
---
|
|
@@ -331,6 +332,8 @@ npx @riconext/hermes-repo capture-llm --flush
|
|
|
331
332
|
| `stats` | 查看记忆健康度 |
|
|
332
333
|
| `ref` | 记录「这条记忆有用」(反馈) |
|
|
333
334
|
| `promote --pr` / `--apply` | 将个人捕获晋升到团队层(需评审) |
|
|
335
|
+
| `bun run changeset` | 记录下一次发布的变更说明 |
|
|
336
|
+
| `bun run changeset:version` | 生成版本号与 `CHANGELOG.md` |
|
|
334
337
|
|
|
335
338
|
Hook 场景下还会用到 `capture`、`inject`(一般由助手自动调用,无需手敲)。
|
|
336
339
|
|
|
@@ -356,6 +359,22 @@ npx @riconext/hermes-repo flush
|
|
|
356
359
|
|
|
357
360
|
---
|
|
358
361
|
|
|
362
|
+
## 发布流程
|
|
363
|
+
|
|
364
|
+
本仓库使用 Changesets 管理版本与 `CHANGELOG.md`。本地 `release` 脚本负责生成版本、创建 tag 并推送;GitHub Actions 只监听 `v*` tag 发布 npm 包。
|
|
365
|
+
|
|
366
|
+
```bash
|
|
367
|
+
# 有用户可见改动时,随代码提交 changeset
|
|
368
|
+
bun run changeset
|
|
369
|
+
|
|
370
|
+
# 发版:生成 CHANGELOG/version,提交,创建 tag,并推送分支与 tag
|
|
371
|
+
bun run release
|
|
372
|
+
```
|
|
373
|
+
|
|
374
|
+
发布前需在 GitHub Actions secrets 中配置 `NPM_TOKEN`。详细说明见 [.changeset/README.md](.changeset/README.md),npm 发布 workflow 见 [.github/workflows/publish-npm.yml](.github/workflows/publish-npm.yml)。
|
|
375
|
+
|
|
376
|
+
---
|
|
377
|
+
|
|
359
378
|
## 路线图
|
|
360
379
|
|
|
361
380
|
| 阶段 | 内容 |
|