@c-d-cc/reap 0.2.1 → 0.2.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.
- package/README.ja.md +5 -1
- package/README.ko.md +5 -1
- package/README.md +5 -1
- package/README.zh-CN.md +5 -1
- package/dist/cli.js +1 -1
- package/dist/templates/commands/reap.help.md +1 -1
- package/dist/templates/hooks/reap-guide.md +4 -0
- package/dist/templates/hooks/session-start.sh +1 -1
- package/package.json +1 -1
package/README.ja.md
CHANGED
|
@@ -182,7 +182,7 @@ REAPはスラッシュコマンドとセッションフックを通じてAIエ
|
|
|
182
182
|
| `/reap.back` | 前のステージに回帰(micro loop) |
|
|
183
183
|
| `/reap.status` | 現在のGeneration状態とプロジェクト健全性を表示 |
|
|
184
184
|
| `/reap.sync` | ソースコードベースでGenomeを最新化 |
|
|
185
|
-
| `/reap.help` |
|
|
185
|
+
| `/reap.help` | 24+トピックのcontextual AIヘルプ(workflow, genome, backlog, strict, agents, hooks, config, evolve, regression, authorおよび全コマンド名) |
|
|
186
186
|
| `/reap.update` | REAPのアップデート確認と最新バージョンへのアップグレード |
|
|
187
187
|
| **`/reap.evolve`** | **1つのGeneration全体を最初から最後まで実行(推奨)** |
|
|
188
188
|
|
|
@@ -316,6 +316,10 @@ reap init my-project --preset bun-hono-react
|
|
|
316
316
|
| `migration` | 既存システムを参照しながら新規構築 |
|
|
317
317
|
| `adoption` | 既存コードベースにREAPを適用 |
|
|
318
318
|
|
|
319
|
+
## 作者
|
|
320
|
+
|
|
321
|
+
**HyeonIL Choi** — [hichoi@c-d.cc](mailto:hichoi@c-d.cc) | [c-d.cc](https://c-d.cc) | [LinkedIn](https://www.linkedin.com/in/hichoi-dev) | [GitHub](https://github.com/casamia918)
|
|
322
|
+
|
|
319
323
|
## ライセンス
|
|
320
324
|
|
|
321
325
|
MIT
|
package/README.ko.md
CHANGED
|
@@ -182,7 +182,7 @@ Slash command가 `.claude/commands/`에 설치되어 전체 워크플로우를
|
|
|
182
182
|
| `/reap.back` | 이전 stage로 복귀 (micro loop) |
|
|
183
183
|
| `/reap.status` | 현재 Generation 상태 및 프로젝트 건강 상태 표시 |
|
|
184
184
|
| `/reap.sync` | 소스 코드 기반 Genome 최신화 |
|
|
185
|
-
| `/reap.help` |
|
|
185
|
+
| `/reap.help` | 24+ 주제의 contextual AI 도움말 (workflow, genome, backlog, strict, agents, hooks, config, evolve, regression, author 및 모든 커맨드 이름) |
|
|
186
186
|
| `/reap.update` | REAP 업데이트 확인 및 최신 버전으로 업그레이드 |
|
|
187
187
|
| **`/reap.evolve`** | **한 Generation 전체를 처음부터 끝까지 실행 (권장)** |
|
|
188
188
|
|
|
@@ -316,6 +316,10 @@ reap init my-project --preset bun-hono-react
|
|
|
316
316
|
| `migration` | 기존 시스템을 참조하여 새로 구축 |
|
|
317
317
|
| `adoption` | 기존 코드베이스에 REAP을 적용 |
|
|
318
318
|
|
|
319
|
+
## 저자
|
|
320
|
+
|
|
321
|
+
**HyeonIL Choi** — [hichoi@c-d.cc](mailto:hichoi@c-d.cc) | [c-d.cc](https://c-d.cc) | [LinkedIn](https://www.linkedin.com/in/hichoi-dev) | [GitHub](https://github.com/casamia918)
|
|
322
|
+
|
|
319
323
|
## 라이선스
|
|
320
324
|
|
|
321
325
|
MIT
|
package/README.md
CHANGED
|
@@ -181,7 +181,7 @@ Slash commands are installed in `.claude/commands/` and drive the entire workflo
|
|
|
181
181
|
| `/reap.back` | Return to a previous stage (micro loop) |
|
|
182
182
|
| `/reap.status` | Show current generation state and project health |
|
|
183
183
|
| `/reap.sync` | Synchronize Genome with current source code |
|
|
184
|
-
| `/reap.help` | Contextual AI help
|
|
184
|
+
| `/reap.help` | Contextual AI help with 24+ topics (workflow, genome, backlog, strict, agents, hooks, config, evolve, regression, author, and all command names) |
|
|
185
185
|
| `/reap.update` | Check for REAP updates and upgrade to the latest version |
|
|
186
186
|
| **`/reap.evolve`** | **Run an entire generation from start to finish (recommended)** |
|
|
187
187
|
|
|
@@ -315,6 +315,10 @@ reap init my-project --preset bun-hono-react
|
|
|
315
315
|
| `migration` | Build anew while referencing an existing system |
|
|
316
316
|
| `adoption` | Apply REAP to an existing codebase |
|
|
317
317
|
|
|
318
|
+
## Author
|
|
319
|
+
|
|
320
|
+
**HyeonIL Choi** — [hichoi@c-d.cc](mailto:hichoi@c-d.cc) | [c-d.cc](https://c-d.cc) | [LinkedIn](https://www.linkedin.com/in/hichoi-dev) | [GitHub](https://github.com/casamia918)
|
|
321
|
+
|
|
318
322
|
## License
|
|
319
323
|
|
|
320
324
|
MIT
|
package/README.zh-CN.md
CHANGED
|
@@ -182,7 +182,7 @@ REAP通过斜杠命令和会话钩子与AI代理集成。当前支持的代理
|
|
|
182
182
|
| `/reap.back` | 回到前一个阶段(micro loop) |
|
|
183
183
|
| `/reap.status` | 显示当前Generation状态和项目健康度 |
|
|
184
184
|
| `/reap.sync` | 基于源代码同步Genome |
|
|
185
|
-
| `/reap.help` |
|
|
185
|
+
| `/reap.help` | 24+主题的上下文AI帮助(workflow, genome, backlog, strict, agents, hooks, config, evolve, regression, author及所有命令名) |
|
|
186
186
|
| `/reap.update` | 检查REAP更新并升级到最新版本 |
|
|
187
187
|
| **`/reap.evolve`** | **从头到尾运行一个完整的Generation(推荐)** |
|
|
188
188
|
|
|
@@ -316,6 +316,10 @@ reap init my-project --preset bun-hono-react
|
|
|
316
316
|
| `migration` | 参考现有系统进行新建 |
|
|
317
317
|
| `adoption` | 将REAP应用到现有代码库 |
|
|
318
318
|
|
|
319
|
+
## 作者
|
|
320
|
+
|
|
321
|
+
**HyeonIL Choi** — [hichoi@c-d.cc](mailto:hichoi@c-d.cc) | [c-d.cc](https://c-d.cc) | [LinkedIn](https://www.linkedin.com/in/hichoi-dev) | [GitHub](https://github.com/casamia918)
|
|
322
|
+
|
|
319
323
|
## 许可证
|
|
320
324
|
|
|
321
325
|
MIT
|
package/dist/cli.js
CHANGED
|
@@ -10133,7 +10133,7 @@ async function fixProject(projectRoot) {
|
|
|
10133
10133
|
|
|
10134
10134
|
// src/cli/index.ts
|
|
10135
10135
|
import { join as join8 } from "path";
|
|
10136
|
-
program.name("reap").description("REAP — Recursive Evolutionary Autonomous Pipeline").version("0.2.
|
|
10136
|
+
program.name("reap").description("REAP — Recursive Evolutionary Autonomous Pipeline").version("0.2.2");
|
|
10137
10137
|
program.command("init").description("Initialize a new REAP project (Genesis)").argument("[project-name]", "Project name (defaults to current directory name)").option("-m, --mode <mode>", "Entry mode: greenfield, migration, adoption", "greenfield").option("-p, --preset <preset>", "Bootstrap with a genome preset (e.g., bun-hono-react)").action(async (projectName, options) => {
|
|
10138
10138
|
try {
|
|
10139
10139
|
const cwd = process.cwd();
|
|
@@ -82,5 +82,5 @@ For command-name topics: read `reap.{name}.md` from the same directory as this f
|
|
|
82
82
|
- **regression** — `/reap.back`: 이전 stage 회귀. timeline + artifact에 Regression 섹션 기록.
|
|
83
83
|
- **minor-fix** — 5분 이내, 설계 변경 없는 수정. stage 전환 없이 현재 artifact에 기록.
|
|
84
84
|
- **compression** — 10,000줄 + 5세대 이상 시 lineage 자동 압축. L1(40줄), L2(60줄).
|
|
85
|
-
- **author** — HyeonIL Choi
|
|
85
|
+
- **author** — HyeonIL Choi. Email: hichoi@c-d.cc / Homepage: https://c-d.cc / LinkedIn: https://www.linkedin.com/in/hichoi-dev / GitHub: https://github.com/casamia918
|
|
86
86
|
- **start** / **objective** / **planning** / **implementation** / **validation** / **completion** / **next** / **back** / **sync** / **status** / **update** / **help** — Read `reap.{name}.md` from same directory, explain.
|
|
@@ -130,6 +130,10 @@ Only one of `command` or `prompt` should be set per entry.
|
|
|
130
130
|
|
|
131
131
|
Hooks are executed by the AI agent.
|
|
132
132
|
|
|
133
|
+
## Multi-Agent Support
|
|
134
|
+
|
|
135
|
+
REAP supports multiple AI agents simultaneously through the AgentAdapter abstraction. Currently supported: **Claude Code** and **OpenCode**. Detected agents are listed in `.reap/config.yml` under the `agents` field (managed by `reap init` / `reap update`). Slash commands and session hooks are installed to each detected agent's configuration directory.
|
|
136
|
+
|
|
133
137
|
## Role Separation
|
|
134
138
|
|
|
135
139
|
| Component | Role |
|
|
@@ -109,7 +109,7 @@ genome_stale_warning=""
|
|
|
109
109
|
if command -v git &>/dev/null && [ -d "$PROJECT_ROOT/.git" ]; then
|
|
110
110
|
last_genome_commit=$(git -C "$PROJECT_ROOT" log -1 --format="%H" -- ".reap/genome/" 2>/dev/null || echo "")
|
|
111
111
|
if [ -n "$last_genome_commit" ]; then
|
|
112
|
-
commits_since=$(git -C "$PROJECT_ROOT" rev-list --count "${last_genome_commit}..HEAD" 2>/dev/null || echo "0")
|
|
112
|
+
commits_since=$(git -C "$PROJECT_ROOT" rev-list --count "${last_genome_commit}..HEAD" -- src/ tests/ package.json tsconfig.json scripts/ 2>/dev/null || echo "0")
|
|
113
113
|
if [ "$commits_since" -gt 10 ]; then
|
|
114
114
|
genome_stale_warning="WARNING: Genome may be stale — ${commits_since} commits since last Genome update. Consider running /reap.sync to synchronize."
|
|
115
115
|
fi
|