@c-d-cc/reap 0.1.3 → 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 +15 -5
- package/README.ko.md +15 -5
- package/README.md +15 -5
- package/README.zh-CN.md +15 -5
- package/dist/cli.js +545 -259
- package/dist/templates/commands/reap.help.md +70 -45
- package/dist/templates/commands/reap.status.md +12 -2
- package/dist/templates/commands/reap.update.md +40 -0
- package/dist/templates/hooks/opencode-session-start.js +206 -0
- package/dist/templates/hooks/reap-guide.md +4 -0
- package/dist/templates/hooks/session-start.sh +46 -9
- package/package.json +2 -2
package/README.ja.md
CHANGED
|
@@ -49,7 +49,7 @@ npm install -g @c-d-cc/reap
|
|
|
49
49
|
bun install -g @c-d-cc/reap
|
|
50
50
|
```
|
|
51
51
|
|
|
52
|
-
> **要件**: [Node.js](https://nodejs.org) v18+、[Claude Code](https://claude.ai/claude-code) CLI。[Bun](https://bun.sh)はオプションです。
|
|
52
|
+
> **要件**: [Node.js](https://nodejs.org) v18+、[Claude Code](https://claude.ai/claude-code)または[OpenCode](https://opencode.ai) CLI。[Bun](https://bun.sh)はオプションです。
|
|
53
53
|
|
|
54
54
|
## クイックスタート
|
|
55
55
|
|
|
@@ -162,9 +162,9 @@ reap init my-project --preset bun-hono-react # プリセットでGenomeを初
|
|
|
162
162
|
reap update --dry-run # 変更のプレビュー
|
|
163
163
|
```
|
|
164
164
|
|
|
165
|
-
##
|
|
165
|
+
## エージェント連携
|
|
166
166
|
|
|
167
|
-
REAP
|
|
167
|
+
REAPはスラッシュコマンドとセッションフックを通じてAIエージェントと統合します。現在サポートされているエージェント:**Claude Code**、**OpenCode**。
|
|
168
168
|
|
|
169
169
|
### スラッシュコマンド
|
|
170
170
|
|
|
@@ -182,7 +182,8 @@ REAPはClaude Codeの2つのメカニズムで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
|
+
| `/reap.update` | REAPのアップデート確認と最新バージョンへのアップグレード |
|
|
186
187
|
| **`/reap.evolve`** | **1つのGeneration全体を最初から最後まで実行(推奨)** |
|
|
187
188
|
|
|
188
189
|
### SessionStart Hook
|
|
@@ -201,7 +202,12 @@ REAPはClaude Codeの2つのメカニズムでAIエージェントと統合し
|
|
|
201
202
|
|
|
202
203
|
```yaml
|
|
203
204
|
# .reap/config.yml
|
|
204
|
-
strict: true
|
|
205
|
+
strict: true # デフォルト: false
|
|
206
|
+
language: korean # 成果物とインタラクションの言語
|
|
207
|
+
autoUpdate: true # セッション開始時の自動アップデート
|
|
208
|
+
agents: # 検出されたエージェント(reap init/updateで管理)
|
|
209
|
+
- claude-code
|
|
210
|
+
- opencode
|
|
205
211
|
```
|
|
206
212
|
|
|
207
213
|
| 状況 | 動作 |
|
|
@@ -310,6 +316,10 @@ reap init my-project --preset bun-hono-react
|
|
|
310
316
|
| `migration` | 既存システムを参照しながら新規構築 |
|
|
311
317
|
| `adoption` | 既存コードベースにREAPを適用 |
|
|
312
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
|
+
|
|
313
323
|
## ライセンス
|
|
314
324
|
|
|
315
325
|
MIT
|
package/README.ko.md
CHANGED
|
@@ -49,7 +49,7 @@ npm install -g @c-d-cc/reap
|
|
|
49
49
|
bun install -g @c-d-cc/reap
|
|
50
50
|
```
|
|
51
51
|
|
|
52
|
-
> **요구사항**: [Node.js](https://nodejs.org) v18+, [Claude Code](https://claude.ai/claude-code) CLI. [Bun](https://bun.sh)은 선택사항.
|
|
52
|
+
> **요구사항**: [Node.js](https://nodejs.org) v18+, [Claude Code](https://claude.ai/claude-code) 또는 [OpenCode](https://opencode.ai) CLI. [Bun](https://bun.sh)은 선택사항.
|
|
53
53
|
|
|
54
54
|
## 빠른 시작
|
|
55
55
|
|
|
@@ -162,9 +162,9 @@ reap init my-project --preset bun-hono-react # 프리셋으로 Genome 초기화
|
|
|
162
162
|
reap update --dry-run # 변경사항 미리보기
|
|
163
163
|
```
|
|
164
164
|
|
|
165
|
-
##
|
|
165
|
+
## 에이전트 연동
|
|
166
166
|
|
|
167
|
-
REAP은
|
|
167
|
+
REAP은 슬래시 커맨드와 세션 훅을 통해 AI 에이전트와 통합됩니다. 현재 지원 에이전트: **Claude Code**, **OpenCode**.
|
|
168
168
|
|
|
169
169
|
### Slash Commands
|
|
170
170
|
|
|
@@ -182,7 +182,8 @@ 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
|
+
| `/reap.update` | REAP 업데이트 확인 및 최신 버전으로 업그레이드 |
|
|
186
187
|
| **`/reap.evolve`** | **한 Generation 전체를 처음부터 끝까지 실행 (권장)** |
|
|
187
188
|
|
|
188
189
|
### SessionStart Hook
|
|
@@ -201,7 +202,12 @@ Slash command가 `.claude/commands/`에 설치되어 전체 워크플로우를
|
|
|
201
202
|
|
|
202
203
|
```yaml
|
|
203
204
|
# .reap/config.yml
|
|
204
|
-
strict: true
|
|
205
|
+
strict: true # 기본값: false
|
|
206
|
+
language: korean # 산출물 및 상호작용 언어
|
|
207
|
+
autoUpdate: true # 세션 시작 시 자동 업데이트
|
|
208
|
+
agents: # 감지된 에이전트 (reap init/update에서 관리)
|
|
209
|
+
- claude-code
|
|
210
|
+
- opencode
|
|
205
211
|
```
|
|
206
212
|
|
|
207
213
|
| 상황 | 동작 |
|
|
@@ -310,6 +316,10 @@ reap init my-project --preset bun-hono-react
|
|
|
310
316
|
| `migration` | 기존 시스템을 참조하여 새로 구축 |
|
|
311
317
|
| `adoption` | 기존 코드베이스에 REAP을 적용 |
|
|
312
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
|
+
|
|
313
323
|
## 라이선스
|
|
314
324
|
|
|
315
325
|
MIT
|
package/README.md
CHANGED
|
@@ -49,7 +49,7 @@ npm install -g @c-d-cc/reap
|
|
|
49
49
|
bun install -g @c-d-cc/reap
|
|
50
50
|
```
|
|
51
51
|
|
|
52
|
-
> **Requirements**: [Node.js](https://nodejs.org) v18+, [Claude Code](https://claude.ai/claude-code) CLI. [Bun](https://bun.sh) is optional.
|
|
52
|
+
> **Requirements**: [Node.js](https://nodejs.org) v18+, [Claude Code](https://claude.ai/claude-code) or [OpenCode](https://opencode.ai) CLI. [Bun](https://bun.sh) is optional.
|
|
53
53
|
|
|
54
54
|
## Quick Start
|
|
55
55
|
|
|
@@ -161,9 +161,9 @@ reap init my-project --preset bun-hono-react # Initialize Genome with a preset
|
|
|
161
161
|
reap update --dry-run # Preview changes before applying
|
|
162
162
|
```
|
|
163
163
|
|
|
164
|
-
##
|
|
164
|
+
## Agent Integration
|
|
165
165
|
|
|
166
|
-
REAP integrates with
|
|
166
|
+
REAP integrates with AI agents through slash commands and session hooks. Currently supported agents: **Claude Code** and **OpenCode**.
|
|
167
167
|
|
|
168
168
|
### Slash Commands
|
|
169
169
|
|
|
@@ -181,7 +181,8 @@ 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
|
+
| `/reap.update` | Check for REAP updates and upgrade to the latest version |
|
|
185
186
|
| **`/reap.evolve`** | **Run an entire generation from start to finish (recommended)** |
|
|
186
187
|
|
|
187
188
|
### SessionStart Hook
|
|
@@ -200,7 +201,12 @@ When `strict: true` is set in `.reap/config.yml`, the AI agent is restricted fro
|
|
|
200
201
|
|
|
201
202
|
```yaml
|
|
202
203
|
# .reap/config.yml
|
|
203
|
-
strict: true
|
|
204
|
+
strict: true # default: false
|
|
205
|
+
language: korean # language for artifacts and interactions
|
|
206
|
+
autoUpdate: true # auto-update REAP on session start
|
|
207
|
+
agents: # detected agents (managed by reap init/update)
|
|
208
|
+
- claude-code
|
|
209
|
+
- opencode
|
|
204
210
|
```
|
|
205
211
|
|
|
206
212
|
| Context | Behavior |
|
|
@@ -309,6 +315,10 @@ reap init my-project --preset bun-hono-react
|
|
|
309
315
|
| `migration` | Build anew while referencing an existing system |
|
|
310
316
|
| `adoption` | Apply REAP to an existing codebase |
|
|
311
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
|
+
|
|
312
322
|
## License
|
|
313
323
|
|
|
314
324
|
MIT
|
package/README.zh-CN.md
CHANGED
|
@@ -49,7 +49,7 @@ npm install -g @c-d-cc/reap
|
|
|
49
49
|
bun install -g @c-d-cc/reap
|
|
50
50
|
```
|
|
51
51
|
|
|
52
|
-
> **要求**:[Node.js](https://nodejs.org) v18+,[Claude Code](https://claude.ai/claude-code) CLI。[Bun](https://bun.sh)是可选的。
|
|
52
|
+
> **要求**:[Node.js](https://nodejs.org) v18+,[Claude Code](https://claude.ai/claude-code)或[OpenCode](https://opencode.ai) CLI。[Bun](https://bun.sh)是可选的。
|
|
53
53
|
|
|
54
54
|
## 快速开始
|
|
55
55
|
|
|
@@ -162,9 +162,9 @@ reap init my-project --preset bun-hono-react # 使用预设初始化Genome
|
|
|
162
162
|
reap update --dry-run # 预览变更
|
|
163
163
|
```
|
|
164
164
|
|
|
165
|
-
##
|
|
165
|
+
## 代理集成
|
|
166
166
|
|
|
167
|
-
REAP
|
|
167
|
+
REAP通过斜杠命令和会话钩子与AI代理集成。当前支持的代理:**Claude Code**、**OpenCode**。
|
|
168
168
|
|
|
169
169
|
### 斜杠命令
|
|
170
170
|
|
|
@@ -182,7 +182,8 @@ REAP通过Claude Code的两种机制与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
|
+
| `/reap.update` | 检查REAP更新并升级到最新版本 |
|
|
186
187
|
| **`/reap.evolve`** | **从头到尾运行一个完整的Generation(推荐)** |
|
|
187
188
|
|
|
188
189
|
### SessionStart Hook
|
|
@@ -201,7 +202,12 @@ REAP通过Claude Code的两种机制与AI代理集成:
|
|
|
201
202
|
|
|
202
203
|
```yaml
|
|
203
204
|
# .reap/config.yml
|
|
204
|
-
strict: true
|
|
205
|
+
strict: true # 默认:false
|
|
206
|
+
language: korean # 产出物和交互的语言
|
|
207
|
+
autoUpdate: true # 会话开始时自动更新
|
|
208
|
+
agents: # 检测到的代理(由reap init/update管理)
|
|
209
|
+
- claude-code
|
|
210
|
+
- opencode
|
|
205
211
|
```
|
|
206
212
|
|
|
207
213
|
| 情境 | 行为 |
|
|
@@ -310,6 +316,10 @@ reap init my-project --preset bun-hono-react
|
|
|
310
316
|
| `migration` | 参考现有系统进行新建 |
|
|
311
317
|
| `adoption` | 将REAP应用到现有代码库 |
|
|
312
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
|
+
|
|
313
323
|
## 许可证
|
|
314
324
|
|
|
315
325
|
MIT
|