@c-d-cc/reap 0.1.3 → 0.2.1
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 +10 -4
- package/README.ko.md +10 -4
- package/README.md +10 -4
- package/README.zh-CN.md +10 -4
- 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/session-start.sh +45 -8
- 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
|
|
|
@@ -183,6 +183,7 @@ REAPはClaude Codeの2つのメカニズムでAIエージェントと統合し
|
|
|
183
183
|
| `/reap.status` | 現在のGeneration状態とプロジェクト健全性を表示 |
|
|
184
184
|
| `/reap.sync` | ソースコードベースでGenomeを最新化 |
|
|
185
185
|
| `/reap.help` | 現在の状態に応じたcontextual AIヘルプ(topic: workflow, commands, strict, genome, backlog) |
|
|
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
|
| 状況 | 動作 |
|
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
|
|
|
@@ -183,6 +183,7 @@ Slash command가 `.claude/commands/`에 설치되어 전체 워크플로우를
|
|
|
183
183
|
| `/reap.status` | 현재 Generation 상태 및 프로젝트 건강 상태 표시 |
|
|
184
184
|
| `/reap.sync` | 소스 코드 기반 Genome 최신화 |
|
|
185
185
|
| `/reap.help` | 현재 상태에 따른 contextual AI 도움말 (topic: workflow, commands, strict, genome, backlog) |
|
|
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
|
| 상황 | 동작 |
|
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
|
|
|
@@ -182,6 +182,7 @@ Slash commands are installed in `.claude/commands/` and drive the entire workflo
|
|
|
182
182
|
| `/reap.status` | Show current generation state and project health |
|
|
183
183
|
| `/reap.sync` | Synchronize Genome with current source code |
|
|
184
184
|
| `/reap.help` | Contextual AI help based on current state (topic: workflow, commands, strict, genome, backlog) |
|
|
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 |
|
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
|
|
|
@@ -183,6 +183,7 @@ REAP通过Claude Code的两种机制与AI代理集成:
|
|
|
183
183
|
| `/reap.status` | 显示当前Generation状态和项目健康度 |
|
|
184
184
|
| `/reap.sync` | 基于源代码同步Genome |
|
|
185
185
|
| `/reap.help` | 基于当前状态的上下文AI帮助(topic: workflow, commands, strict, genome, backlog) |
|
|
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
|
| 情境 | 行为 |
|