@c-d-cc/reap 0.11.0 → 0.13.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/README.ja.md +23 -3
- package/README.ko.md +23 -3
- package/README.md +20 -0
- package/README.zh-CN.md +23 -3
- package/dist/cli.js +672 -157
- package/dist/templates/commands/reap.abort.md +1 -1
- package/dist/templates/commands/reap.back.md +1 -1
- package/dist/templates/commands/reap.config.md +5 -0
- package/dist/templates/commands/reap.help.md +1 -1
- package/dist/templates/commands/reap.merge.md +1 -1
- package/dist/templates/commands/reap.merge.start.md +1 -1
- package/dist/templates/commands/reap.next.md +1 -1
- package/dist/templates/commands/reap.pull.md +1 -1
- package/dist/templates/commands/reap.start.md +1 -1
- package/dist/templates/hooks/reap-guide.md +13 -12
- package/package.json +1 -1
package/README.ja.md
CHANGED
|
@@ -218,8 +218,8 @@ Machine A:
|
|
|
218
218
|
| コマンド | 説明 |
|
|
219
219
|
|----------|------|
|
|
220
220
|
| `reap init <name>` | プロジェクト初期化。`.reap/`構造を作成 |
|
|
221
|
-
| `reap status` | 現在のGeneration
|
|
222
|
-
| `reap update` | コマンド/テンプレート/hook
|
|
221
|
+
| `reap status` | 現在のGeneration状態を確認 |
|
|
222
|
+
| `reap update` | コマンド/テンプレート/hookを最新バージョンに同期 |
|
|
223
223
|
| `reap fix` | `.reap/`構造の診断と修復 |
|
|
224
224
|
| `reap help` | CLIコマンド + スラッシュコマンド + ワークフロー概要を出力(バージョン + 最新状況表示) |
|
|
225
225
|
| `reap run <cmd>` | スラッシュコマンドのスクリプトを直接実行(1行`.md`ラッパーが内部的に使用) |
|
|
@@ -251,6 +251,25 @@ autoSubagent: true # デフォルト: true
|
|
|
251
251
|
|
|
252
252
|
Subagentは完全なコンテキストを受け取り、すべてのステージを自律的に実行します。本当にブロックされた場合のみユーザーに確認を求めます。
|
|
253
253
|
|
|
254
|
+
### エラー時の自動Issue報告
|
|
255
|
+
|
|
256
|
+
`reap run`の実行中に予期しないエラーが発生した場合、`gh issue create`を通じてGitHub Issueを自動作成できます:
|
|
257
|
+
|
|
258
|
+
```yaml
|
|
259
|
+
# .reap/config.yml
|
|
260
|
+
autoIssueReport: true # デフォルト: true(gh CLIがある場合)
|
|
261
|
+
```
|
|
262
|
+
|
|
263
|
+
### AI Migration Agent
|
|
264
|
+
|
|
265
|
+
`reap update`の実行時にプロジェクトと最新REAPバージョン間の構造的な差分(不足しているconfigフィールド、古いテンプレートなど)が検出されると、AI支援のマイグレーションプロンプトが表示されます。エージェントが差分を分析し、対話的に変更を適用するため、手動マイグレーションは不要です。
|
|
266
|
+
|
|
267
|
+
`reap init`ではすべてのconfigフィールドを明示的に宣言し、`reap update`時に不足しているフィールドは自動的に補完されます。
|
|
268
|
+
|
|
269
|
+
### CLAUDE.md連携
|
|
270
|
+
|
|
271
|
+
`reap init`と`reap update`の実行時に、`.claude/CLAUDE.md`にREAP管理セクションを追加し、Claude Codeセッションに必要なプロジェクトコンテキストを提供します。
|
|
272
|
+
|
|
254
273
|
### スラッシュコマンド [↗](https://reap.cc/docs/command-reference)
|
|
255
274
|
|
|
256
275
|
スラッシュコマンドが`.claude/commands/`にインストールされ、ワークフロー全体を駆動します:
|
|
@@ -270,6 +289,7 @@ Subagentは完全なコンテキストを受け取り、すべてのステージ
|
|
|
270
289
|
| `/reap.sync` | GenomeとEnvironmentを同時に同期 |
|
|
271
290
|
| `/reap.sync.genome` | ソースコードベースでGenomeを最新化 |
|
|
272
291
|
| `/reap.sync.environment` | 外部環境依存関係の発見と文書化 |
|
|
292
|
+
| `/reap.config` | 現在のプロジェクト設定を表示 |
|
|
273
293
|
| `/reap.report` | REAPプロジェクトにバグ/フィードバックを報告(プライバシー保護) |
|
|
274
294
|
| `/reap.help` | 24+トピックのcontextual AIヘルプ |
|
|
275
295
|
| `/reap.update` | REAPパッケージのアップグレード + コマンド/テンプレート/hook同期 |
|
|
@@ -403,7 +423,7 @@ my-project/
|
|
|
403
423
|
~/.claude/
|
|
404
424
|
└── settings.json # SessionStart hookの登録
|
|
405
425
|
|
|
406
|
-
.claude/commands/ #
|
|
426
|
+
.claude/commands/ # プロジェクトレベルのスラッシュコマンド
|
|
407
427
|
└── reap.*.md # アクティブなスラッシュコマンド(`reap run <cmd>`を呼び出し)
|
|
408
428
|
```
|
|
409
429
|
|
package/README.ko.md
CHANGED
|
@@ -218,8 +218,8 @@ Machine A:
|
|
|
218
218
|
| 명령어 | 설명 |
|
|
219
219
|
|--------|------|
|
|
220
220
|
| `reap init <name>` | 프로젝트 초기화. `.reap/` 구조 생성 |
|
|
221
|
-
| `reap status` | 현재 Generation 상태 확인
|
|
222
|
-
| `reap update` | 커맨드/템플릿/훅을 최신 버전으로
|
|
221
|
+
| `reap status` | 현재 Generation 상태 확인 |
|
|
222
|
+
| `reap update` | 커맨드/템플릿/훅을 최신 버전으로 동기화 |
|
|
223
223
|
| `reap fix` | `.reap/` 구조 진단 및 복구 |
|
|
224
224
|
| `reap help` | CLI 명령어 + 슬래시 커맨드 + 워크플로우 요약 출력 (버전 + 최신 여부 표시) |
|
|
225
225
|
| `reap run <cmd>` | 슬래시 커맨드의 스크립트를 직접 실행 (1줄 `.md` wrapper가 내부적으로 사용) |
|
|
@@ -251,6 +251,25 @@ autoSubagent: true # 기본값: true
|
|
|
251
251
|
|
|
252
252
|
Subagent는 전체 컨텍스트를 받아 모든 stage를 자율적으로 실행하며, 정말로 막혔을 때만 사용자에게 확인을 요청합니다.
|
|
253
253
|
|
|
254
|
+
### 에러 시 자동 이슈 리포트
|
|
255
|
+
|
|
256
|
+
`reap run` 실행 중 예상치 못한 에러가 발생하면, `gh issue create`를 통해 GitHub Issue를 자동으로 생성할 수 있습니다:
|
|
257
|
+
|
|
258
|
+
```yaml
|
|
259
|
+
# .reap/config.yml
|
|
260
|
+
autoIssueReport: true # 기본값: true (gh CLI가 있을 때)
|
|
261
|
+
```
|
|
262
|
+
|
|
263
|
+
### AI Migration Agent
|
|
264
|
+
|
|
265
|
+
`reap update` 실행 시 프로젝트와 최신 REAP 버전 사이의 구조적 차이(누락된 config 필드, 오래된 템플릿 등)가 감지되면, AI 기반 마이그레이션 프롬프트를 제공합니다. 에이전트가 차이를 분석하고 대화형으로 변경을 적용하므로 수동 마이그레이션이 필요 없습니다.
|
|
266
|
+
|
|
267
|
+
`reap init`도 모든 config 필드를 명시적으로 선언하며, `reap update` 시 누락된 필드는 자동으로 채워집니다.
|
|
268
|
+
|
|
269
|
+
### CLAUDE.md 연동
|
|
270
|
+
|
|
271
|
+
`reap init`과 `reap update` 시 `.claude/CLAUDE.md`에 REAP 관리 섹션을 추가하여 Claude Code 세션에 필요한 프로젝트 컨텍스트를 제공합니다.
|
|
272
|
+
|
|
254
273
|
### Slash Commands
|
|
255
274
|
|
|
256
275
|
Slash command가 `.claude/commands/`에 설치되어 전체 워크플로우를 구동합니다:
|
|
@@ -270,6 +289,7 @@ Slash command가 `.claude/commands/`에 설치되어 전체 워크플로우를
|
|
|
270
289
|
| `/reap.sync` | Genome + Environment 동시 동기화 |
|
|
271
290
|
| `/reap.sync.genome` | 소스 코드 기반 Genome 최신화 |
|
|
272
291
|
| `/reap.sync.environment` | 외부 환경 의존성 탐색 및 문서화 |
|
|
292
|
+
| `/reap.config` | 현재 프로젝트 설정 표시 |
|
|
273
293
|
| `/reap.report` | REAP 프로젝트에 버그/피드백 보고 (개인정보 보호) |
|
|
274
294
|
| `/reap.help` | 24+ 주제의 contextual AI 도움말 |
|
|
275
295
|
| `/reap.update` | REAP 패키지 업그레이드 + 커맨드/템플릿/훅 동기화 |
|
|
@@ -403,7 +423,7 @@ my-project/
|
|
|
403
423
|
~/.claude/
|
|
404
424
|
└── settings.json # SessionStart hook 등록
|
|
405
425
|
|
|
406
|
-
.claude/commands/ # 프로젝트 레벨
|
|
426
|
+
.claude/commands/ # 프로젝트 레벨 슬래시 커맨드
|
|
407
427
|
└── reap.*.md # 활성 슬래시 커맨드 (`reap run <cmd>` 호출)
|
|
408
428
|
```
|
|
409
429
|
|
package/README.md
CHANGED
|
@@ -250,6 +250,25 @@ autoSubagent: true # default: true
|
|
|
250
250
|
|
|
251
251
|
The subagent receives the full context and runs autonomously through all stages, only surfacing when genuinely blocked.
|
|
252
252
|
|
|
253
|
+
### Auto Issue Report
|
|
254
|
+
|
|
255
|
+
When an unexpected error occurs during `reap run`, REAP can automatically create a GitHub Issue via `gh issue create`. This is controlled by:
|
|
256
|
+
|
|
257
|
+
```yaml
|
|
258
|
+
# .reap/config.yml
|
|
259
|
+
autoIssueReport: true # default: true (when gh CLI is available)
|
|
260
|
+
```
|
|
261
|
+
|
|
262
|
+
### AI Migration Agent
|
|
263
|
+
|
|
264
|
+
When `reap update` detects structural gaps between your project and the latest REAP version (e.g., missing config fields, outdated templates), it offers an AI-assisted migration prompt. The agent analyzes the differences and applies changes interactively — no manual migration needed.
|
|
265
|
+
|
|
266
|
+
`reap init` also ensures all config fields are explicitly declared, and `reap update` backfills any missing fields automatically.
|
|
267
|
+
|
|
268
|
+
### CLAUDE.md Integration
|
|
269
|
+
|
|
270
|
+
During `reap init` and `reap update`, REAP adds a managed section to `.claude/CLAUDE.md` containing essential project context for Claude Code sessions.
|
|
271
|
+
|
|
253
272
|
### Slash Commands [↗](https://reap.cc/docs/command-reference)
|
|
254
273
|
|
|
255
274
|
Slash commands are installed in `.claude/commands/` and drive the entire workflow:
|
|
@@ -269,6 +288,7 @@ Slash commands are installed in `.claude/commands/` and drive the entire workflo
|
|
|
269
288
|
| `/reap.sync` | Synchronize both Genome and Environment |
|
|
270
289
|
| `/reap.sync.genome` | Synchronize Genome with current source code |
|
|
271
290
|
| `/reap.sync.environment` | Discover and document external environment dependencies |
|
|
291
|
+
| `/reap.config` | Display current project configuration |
|
|
272
292
|
| `/reap.report` | Report a bug or feedback to the REAP project (privacy-safe) |
|
|
273
293
|
| `/reap.help` | Contextual AI help with 24+ topics |
|
|
274
294
|
| `/reap.update` | Upgrade REAP package + sync commands/templates/hooks |
|
package/README.zh-CN.md
CHANGED
|
@@ -218,8 +218,8 @@ Machine A:
|
|
|
218
218
|
| 命令 | 说明 |
|
|
219
219
|
|------|------|
|
|
220
220
|
| `reap init <name>` | 初始化项目。创建`.reap/`结构 |
|
|
221
|
-
| `reap status` | 查看当前Generation
|
|
222
|
-
| `reap update` | 将命令/模板/hook
|
|
221
|
+
| `reap status` | 查看当前Generation状态 |
|
|
222
|
+
| `reap update` | 将命令/模板/hook同步到最新版本 |
|
|
223
223
|
| `reap fix` | 诊断和修复`.reap/`结构 |
|
|
224
224
|
| `reap help` | 输出CLI命令 + 斜杠命令 + 工作流摘要(显示版本 + 最新状态) |
|
|
225
225
|
| `reap run <cmd>` | 直接执行斜杠命令的脚本(由1行`.md` wrapper内部调用) |
|
|
@@ -251,6 +251,25 @@ autoSubagent: true # 默认值: true
|
|
|
251
251
|
|
|
252
252
|
Subagent接收完整上下文后自主执行所有阶段,仅在确实遇到阻碍时才向用户确认。
|
|
253
253
|
|
|
254
|
+
### 错误时自动Issue报告
|
|
255
|
+
|
|
256
|
+
当`reap run`执行中发生意外错误时,可通过`gh issue create`自动创建GitHub Issue:
|
|
257
|
+
|
|
258
|
+
```yaml
|
|
259
|
+
# .reap/config.yml
|
|
260
|
+
autoIssueReport: true # 默认值: true(检测到gh CLI时)
|
|
261
|
+
```
|
|
262
|
+
|
|
263
|
+
### AI Migration Agent
|
|
264
|
+
|
|
265
|
+
`reap update`执行时,如果检测到项目与最新REAP版本之间的结构性差异(缺失的config字段、过时的模板等),会提供AI辅助的迁移提示。代理分析差异并交互式地应用变更,无需手动迁移。
|
|
266
|
+
|
|
267
|
+
`reap init`会明确声明所有config字段,`reap update`时自动补全缺失字段。
|
|
268
|
+
|
|
269
|
+
### CLAUDE.md集成
|
|
270
|
+
|
|
271
|
+
`reap init`和`reap update`执行时,会在`.claude/CLAUDE.md`中添加REAP管理段落,为Claude Code会话提供必要的项目上下文。
|
|
272
|
+
|
|
254
273
|
### 斜杠命令 [↗](https://reap.cc/docs/command-reference)
|
|
255
274
|
|
|
256
275
|
斜杠命令安装在`.claude/commands/`中,驱动整个工作流:
|
|
@@ -270,6 +289,7 @@ Subagent接收完整上下文后自主执行所有阶段,仅在确实遇到阻
|
|
|
270
289
|
| `/reap.sync` | 同时同步Genome和Environment |
|
|
271
290
|
| `/reap.sync.genome` | 基于源代码同步Genome |
|
|
272
291
|
| `/reap.sync.environment` | 发现和记录外部环境依赖 |
|
|
292
|
+
| `/reap.config` | 显示当前项目配置 |
|
|
273
293
|
| `/reap.report` | 向REAP项目报告bug/反馈(隐私保护) |
|
|
274
294
|
| `/reap.help` | 24+主题的上下文AI帮助 |
|
|
275
295
|
| `/reap.update` | 升级REAP包 + 同步命令/模板/hook |
|
|
@@ -403,7 +423,7 @@ my-project/
|
|
|
403
423
|
~/.claude/
|
|
404
424
|
└── settings.json # SessionStart hook注册
|
|
405
425
|
|
|
406
|
-
.claude/commands/ #
|
|
426
|
+
.claude/commands/ # 项目级斜杠命令
|
|
407
427
|
└── reap.*.md # 活跃斜杠命令(调用`reap run <cmd>`)
|
|
408
428
|
```
|
|
409
429
|
|