@c-d-cc/reap 0.15.0 → 0.15.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 +7 -4
- package/README.ko.md +7 -4
- package/README.md +7 -4
- package/README.zh-CN.md +7 -4
- package/dist/cli.js +1037 -323
- package/dist/templates/commands/reap.evolve.recovery.md +5 -0
- package/dist/templates/commands/reap.update-genome.md +5 -0
- package/dist/templates/hooks/genome-loader.cjs +50 -7
- package/dist/templates/hooks/onLifeCompleted.integrity-check.sh +14 -0
- package/dist/templates/hooks/reap-guide.md +7 -1
- package/dist/templates/hooks/session-start.cjs +13 -7
- package/package.json +1 -1
package/README.ja.md
CHANGED
|
@@ -84,8 +84,9 @@ reap init my-project
|
|
|
84
84
|
cd my-project
|
|
85
85
|
reap init
|
|
86
86
|
|
|
87
|
-
# 2. Claude Code
|
|
87
|
+
# 2. Claude Codeでナレッジを同期してからGeneration全体を実行
|
|
88
88
|
claude
|
|
89
|
+
> /reap.sync
|
|
89
90
|
> /reap.evolve "ユーザー認証の実装"
|
|
90
91
|
```
|
|
91
92
|
|
|
@@ -221,9 +222,9 @@ Machine A:
|
|
|
221
222
|
| `reap init <name>` | プロジェクト初期化。`.reap/`構造を作成 |
|
|
222
223
|
| `reap status` | 現在のGeneration状態を確認 |
|
|
223
224
|
| `reap update` | コマンド/テンプレート/hookを最新バージョンに同期 |
|
|
224
|
-
| `reap fix` | `.reap
|
|
225
|
+
| `reap fix` | `.reap/`構造の診断と修復(`--check`で読み取り専用モード) |
|
|
225
226
|
| `reap clean` | 対話式オプションでREAPプロジェクトをリセット |
|
|
226
|
-
| `reap destroy` | プロジェクトからすべてのREAP
|
|
227
|
+
| `reap destroy` | プロジェクトからすべてのREAPファイルを削除("yes destroy"の入力で確認) |
|
|
227
228
|
| `reap help` | CLIコマンド + スラッシュコマンド + ワークフロー概要を出力(バージョン + 最新状況表示) |
|
|
228
229
|
| `reap run <cmd>` | スラッシュコマンドのスクリプトを直接実行(1行`.md`ラッパーが内部的に使用) |
|
|
229
230
|
|
|
@@ -241,7 +242,7 @@ REAPはスラッシュコマンドとセッションフックを通じてAIエ
|
|
|
241
242
|
|
|
242
243
|
### Script Orchestratorアーキテクチャ
|
|
243
244
|
|
|
244
|
-
v0.11.0より、
|
|
245
|
+
v0.11.0より、31個のスラッシュコマンドが**1行`.md`ラッパー + TypeScriptスクリプト**構造に移行しました。各`.md`ファイルは`reap run <cmd>`を呼び出し、TSスクリプト(`src/cli/commands/run/`)がすべての決定論的ロジックを処理して、AIエージェントにstructured JSONで指示します。一貫性とテスト容易性が大幅に向上しました。
|
|
245
246
|
|
|
246
247
|
### 署名ベースロック(Signature-Based Locking) [↗](https://reap.cc/docs/advanced)
|
|
247
248
|
|
|
@@ -315,7 +316,9 @@ autoIssueReport: true # デフォルト: true(gh CLIがある場合)
|
|
|
315
316
|
| `/reap.report` | REAPプロジェクトにバグ/フィードバックを報告(プライバシー保護) |
|
|
316
317
|
| `/reap.help` | 24+トピックのcontextual AIヘルプ |
|
|
317
318
|
| `/reap.update` | REAPパッケージのアップグレード + コマンド/テンプレート/hook同期 |
|
|
319
|
+
| `/reap.update-genome` | Generationなしで保留中のgenome-change backlogを適用 |
|
|
318
320
|
| **`/reap.evolve`** | **1つのGeneration全体を最初から最後まで実行(推奨)** |
|
|
321
|
+
| **`/reap.evolve.recovery`** | **失敗/中断したGenerationからの復旧** |
|
|
319
322
|
| **`/reap.pull <branch>`** | **Fetch + マージGeneration全体を実行(分散版 `/reap.evolve`)** |
|
|
320
323
|
| **`/reap.merge <branch>`** | **ローカルブランチのマージGeneration全体を実行(fetchなし)** |
|
|
321
324
|
| `/reap.push` | REAP状態を検証して現在のブランチをpush |
|
package/README.ko.md
CHANGED
|
@@ -84,8 +84,9 @@ reap init my-project
|
|
|
84
84
|
cd my-project
|
|
85
85
|
reap init
|
|
86
86
|
|
|
87
|
-
# 2. Claude Code에서 한 Generation 전체 실행
|
|
87
|
+
# 2. Claude Code에서 지식 동기화 후 한 Generation 전체 실행
|
|
88
88
|
claude
|
|
89
|
+
> /reap.sync
|
|
89
90
|
> /reap.evolve "사용자 인증 구현"
|
|
90
91
|
```
|
|
91
92
|
|
|
@@ -221,9 +222,9 @@ Machine A:
|
|
|
221
222
|
| `reap init <name>` | 프로젝트 초기화. `.reap/` 구조 생성 |
|
|
222
223
|
| `reap status` | 현재 Generation 상태 확인 |
|
|
223
224
|
| `reap update` | 커맨드/템플릿/훅을 최신 버전으로 동기화 |
|
|
224
|
-
| `reap fix` | `.reap/` 구조 진단 및 복구 |
|
|
225
|
+
| `reap fix` | `.reap/` 구조 진단 및 복구 (`--check`로 읽기 전용 모드) |
|
|
225
226
|
| `reap clean` | 대화형 옵션으로 REAP 프로젝트 초기화 |
|
|
226
|
-
| `reap destroy` | 프로젝트에서 모든 REAP 파일 제거 (확인
|
|
227
|
+
| `reap destroy` | 프로젝트에서 모든 REAP 파일 제거 ("yes destroy" 입력으로 확인) |
|
|
227
228
|
| `reap help` | CLI 명령어 + 슬래시 커맨드 + 워크플로우 요약 출력 (버전 + 최신 여부 표시) |
|
|
228
229
|
| `reap run <cmd>` | 슬래시 커맨드의 스크립트를 직접 실행 (1줄 `.md` wrapper가 내부적으로 사용) |
|
|
229
230
|
|
|
@@ -241,7 +242,7 @@ REAP은 슬래시 커맨드와 세션 훅을 통해 AI 에이전트와 통합됩
|
|
|
241
242
|
|
|
242
243
|
### Script Orchestrator 아키텍처
|
|
243
244
|
|
|
244
|
-
v0.11.0부터
|
|
245
|
+
v0.11.0부터 31개 슬래시 커맨드가 **1줄 `.md` wrapper + TypeScript 스크립트** 구조로 전환되었습니다. 각 `.md` 파일은 `reap run <cmd>`를 호출하고, TS 스크립트(`src/cli/commands/run/`)가 모든 결정적 로직을 처리하여 AI에게 structured JSON으로 지시합니다. 일관성과 테스트 용이성이 크게 향상되었습니다.
|
|
245
246
|
|
|
246
247
|
### 서명 기반 잠금 (Signature-Based Locking) [↗](https://reap.cc/docs/advanced)
|
|
247
248
|
|
|
@@ -315,7 +316,9 @@ Slash command가 `.claude/commands/`에 설치되어 전체 워크플로우를
|
|
|
315
316
|
| `/reap.report` | REAP 프로젝트에 버그/피드백 보고 (개인정보 보호) |
|
|
316
317
|
| `/reap.help` | 24+ 주제의 contextual AI 도움말 |
|
|
317
318
|
| `/reap.update` | REAP 패키지 업그레이드 + 커맨드/템플릿/훅 동기화 |
|
|
319
|
+
| `/reap.update-genome` | Generation 없이 대기 중인 genome-change backlog 적용 |
|
|
318
320
|
| **`/reap.evolve`** | **한 Generation 전체를 처음부터 끝까지 실행 (권장)** |
|
|
321
|
+
| **`/reap.evolve.recovery`** | **실패/중단된 Generation에서 복구** |
|
|
319
322
|
| **`/reap.pull <branch>`** | **Fetch + 전체 머지 Generation 실행 (분산 `/reap.evolve`)** |
|
|
320
323
|
| **`/reap.merge <branch>`** | **로컬 브랜치 전체 머지 Generation 실행 (fetch 없음)** |
|
|
321
324
|
| `/reap.push` | REAP 상태 검증 후 현재 브랜치 push |
|
package/README.md
CHANGED
|
@@ -84,8 +84,9 @@ reap init my-project
|
|
|
84
84
|
cd my-project
|
|
85
85
|
reap init
|
|
86
86
|
|
|
87
|
-
# 2. Open Claude Code
|
|
87
|
+
# 2. Open Claude Code, sync knowledge, then run a full generation
|
|
88
88
|
claude
|
|
89
|
+
> /reap.sync
|
|
89
90
|
> /reap.evolve "Implement user authentication"
|
|
90
91
|
```
|
|
91
92
|
|
|
@@ -220,9 +221,9 @@ All distributed operations run through your AI agent:
|
|
|
220
221
|
| `reap init <name>` | Initialize project. Creates the `.reap/` structure |
|
|
221
222
|
| `reap status` | Check the current generation's status |
|
|
222
223
|
| `reap update` | Sync commands/templates/hooks to the latest version |
|
|
223
|
-
| `reap fix` | Diagnose and repair the `.reap/` structure |
|
|
224
|
+
| `reap fix` | Diagnose and repair the `.reap/` structure (`--check` for read-only mode) |
|
|
224
225
|
| `reap clean` | Reset REAP project with interactive options |
|
|
225
|
-
| `reap destroy` | Remove all REAP files from project (requires
|
|
226
|
+
| `reap destroy` | Remove all REAP files from project (requires typing "yes destroy" to confirm) |
|
|
226
227
|
| `reap help` | Print CLI commands, slash commands, and workflow summary |
|
|
227
228
|
| `reap run <cmd>` | Execute a slash command's script directly (used internally by 1-line `.md` wrappers) |
|
|
228
229
|
|
|
@@ -240,7 +241,7 @@ REAP integrates with AI agents through slash commands and session hooks. Current
|
|
|
240
241
|
|
|
241
242
|
### Script Orchestrator Architecture
|
|
242
243
|
|
|
243
|
-
Since v0.11.0, all
|
|
244
|
+
Since v0.11.0, all 31 slash commands follow a **1-line `.md` wrapper + TypeScript script** pattern. Each `.md` file simply calls `reap run <cmd>`, and the TS script (`src/cli/commands/run/`) handles all deterministic logic — returning structured JSON instructions for the AI agent. This ensures consistency and testability.
|
|
244
245
|
|
|
245
246
|
### Signature-Based Locking [↗](https://reap.cc/docs/advanced)
|
|
246
247
|
|
|
@@ -314,7 +315,9 @@ Slash commands are installed in `.claude/commands/` and drive the entire workflo
|
|
|
314
315
|
| `/reap.report` | Report a bug or feedback to the REAP project (privacy-safe) |
|
|
315
316
|
| `/reap.help` | Contextual AI help with 24+ topics |
|
|
316
317
|
| `/reap.update` | Upgrade REAP package + sync commands/templates/hooks |
|
|
318
|
+
| `/reap.update-genome` | Apply pending genome-change backlog without a generation |
|
|
317
319
|
| **`/reap.evolve`** | **Run an entire generation from start to finish (recommended)** |
|
|
320
|
+
| **`/reap.evolve.recovery`** | **Recover from a failed/interrupted generation** |
|
|
318
321
|
| **`/reap.pull <branch>`** | **Fetch + run full merge generation (distributed `/reap.evolve`)** |
|
|
319
322
|
| **`/reap.merge <branch>`** | **Run full merge generation for a local branch (no fetch)** |
|
|
320
323
|
| `/reap.push` | Validate REAP state and push current branch |
|
package/README.zh-CN.md
CHANGED
|
@@ -84,8 +84,9 @@ reap init my-project
|
|
|
84
84
|
cd my-project
|
|
85
85
|
reap init
|
|
86
86
|
|
|
87
|
-
# 2. 在Claude Code
|
|
87
|
+
# 2. 在Claude Code中同步知识后运行一个完整的Generation
|
|
88
88
|
claude
|
|
89
|
+
> /reap.sync
|
|
89
90
|
> /reap.evolve "实现用户认证"
|
|
90
91
|
```
|
|
91
92
|
|
|
@@ -221,9 +222,9 @@ Machine A:
|
|
|
221
222
|
| `reap init <name>` | 初始化项目。创建`.reap/`结构 |
|
|
222
223
|
| `reap status` | 查看当前Generation状态 |
|
|
223
224
|
| `reap update` | 将命令/模板/hook同步到最新版本 |
|
|
224
|
-
| `reap fix` | 诊断和修复`.reap
|
|
225
|
+
| `reap fix` | 诊断和修复`.reap/`结构(`--check`为只读模式) |
|
|
225
226
|
| `reap clean` | 通过交互式选项重置REAP项目 |
|
|
226
|
-
| `reap destroy` | 从项目中删除所有REAP
|
|
227
|
+
| `reap destroy` | 从项目中删除所有REAP文件(需输入"yes destroy"确认) |
|
|
227
228
|
| `reap help` | 输出CLI命令 + 斜杠命令 + 工作流摘要(显示版本 + 最新状态) |
|
|
228
229
|
| `reap run <cmd>` | 直接执行斜杠命令的脚本(由1行`.md` wrapper内部调用) |
|
|
229
230
|
|
|
@@ -241,7 +242,7 @@ REAP通过斜杠命令和会话钩子与AI代理集成。当前支持的代理
|
|
|
241
242
|
|
|
242
243
|
### Script Orchestrator架构
|
|
243
244
|
|
|
244
|
-
从v0.11.0开始,
|
|
245
|
+
从v0.11.0开始,31个斜杠命令全部采用**1行`.md` wrapper + TypeScript脚本**模式。每个`.md`文件仅调用`reap run <cmd>`,TS脚本(`src/cli/commands/run/`)处理所有确定性逻辑,以structured JSON形式指示AI代理。大幅提升了一致性和可测试性。
|
|
245
246
|
|
|
246
247
|
### 签名锁定(Signature-Based Locking) [↗](https://reap.cc/docs/advanced)
|
|
247
248
|
|
|
@@ -315,7 +316,9 @@ autoIssueReport: true # 默认值: true(检测到gh CLI时)
|
|
|
315
316
|
| `/reap.report` | 向REAP项目报告bug/反馈(隐私保护) |
|
|
316
317
|
| `/reap.help` | 24+主题的上下文AI帮助 |
|
|
317
318
|
| `/reap.update` | 升级REAP包 + 同步命令/模板/hook |
|
|
319
|
+
| `/reap.update-genome` | 无需Generation即可应用待处理的genome-change backlog |
|
|
318
320
|
| **`/reap.evolve`** | **从头到尾运行一个完整的Generation(推荐)** |
|
|
321
|
+
| **`/reap.evolve.recovery`** | **从失败/中断的Generation中恢复** |
|
|
319
322
|
| **`/reap.pull <branch>`** | **Fetch + 运行完整合并Generation(分布式 `/reap.evolve`)** |
|
|
320
323
|
| **`/reap.merge <branch>`** | **本地分支完整合并Generation(无需fetch)** |
|
|
321
324
|
| `/reap.push` | 验证REAP状态并push当前分支 |
|