@alibaba-group/open-code-review 1.2.6 → 1.3.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-JP.md CHANGED
@@ -296,6 +296,7 @@ ocr review \
296
296
  | `--concurrency` | — | `8` | ファイルレビューの最大同時実行数 |
297
297
  | `--timeout` | — | `10` | 同時実行タスクのタイムアウト(分) |
298
298
  | `--audience` | — | `human` | `human`(進捗を表示)または`agent`(サマリーのみ) |
299
+ | `--background` | `-b` | — | レビューのための任意の要件/ビジネスコンテキスト。`--commit`使用時に未指定の場合、コミットメッセージから自動取得 |
299
300
  | `--rule` | — | — | カスタムJSONレビュールールへのパス |
300
301
  | `--max-tools` | — | 組み込み値 | ファイルごとのツール呼び出しラウンドの上限。テンプレートのデフォルトより大きい場合のみ有効 |
301
302
  | `--max-git-procs` | — | 組み込み値 | gitサブプロセスの最大同時実行数 |
@@ -317,6 +318,9 @@ ocr review --from main --to my-feature --concurrency 4
317
318
  # 特定のコミットを詳細なJSON出力でレビュー
318
319
  ocr review --commit abc123 --format json --audience agent
319
320
 
321
+ # 要件コンテキストを提供してより的確なレビューを実施
322
+ ocr review --background "ログインAPIにレート制限を追加"
323
+
320
324
  # カスタムレビュールールを使用
321
325
  ocr review --rule /path/to/my-rules.json
322
326
 
package/README.ko-KR.md CHANGED
@@ -296,6 +296,7 @@ ocr review \
296
296
  | `--concurrency` | - | `8` | 최대 동시 파일 리뷰 수 |
297
297
  | `--timeout` | - | `10` | 동시 task timeout(분) |
298
298
  | `--audience` | - | `human` | `human`(progress 표시) 또는 `agent`(summary only) |
299
+ | `--background` | `-b` | - | 리뷰를 위한 선택적 요구사항/비즈니스 컨텍스트. `--commit` 사용 시 미지정이면 commit message에서 자동 추출 |
299
300
  | `--rule` | - | - | custom JSON review rules 경로 |
300
301
  | `--max-tools` | - | built-in | 파일별 최대 tool call round. template default보다 클 때만 적용 |
301
302
  | `--max-git-procs` | - | built-in | 최대 동시 git subprocess 수 |
@@ -317,6 +318,9 @@ ocr review --from main --to my-feature --concurrency 4
317
318
  # 특정 commit을 verbose JSON output으로 리뷰
318
319
  ocr review --commit abc123 --format json --audience agent
319
320
 
321
+ # 요구사항 컨텍스트를 제공하여 더 정확한 리뷰 수행
322
+ ocr review --background "로그인 API에 rate limiting 추가"
323
+
320
324
  # custom review rules 사용
321
325
  ocr review --rule /path/to/my-rules.json
322
326
 
package/README.md CHANGED
@@ -298,6 +298,7 @@ See the [`examples/`](./examples/) directory for integration examples:
298
298
  | `--concurrency` | — | `8` | Max concurrent file reviews |
299
299
  | `--timeout` | — | `10` | Concurrent task timeout in minutes |
300
300
  | `--audience` | — | `human` | `human` (show progress) or `agent` (summary only) |
301
+ | `--background` | `-b` | — | Optional requirement/business context for the review; auto-filled from commit message when using `--commit` |
301
302
  | `--rule` | — | — | Path to custom JSON review rules |
302
303
  | `--max-tools` | — | built-in | Max tool call rounds per file; only takes effect when greater than template default |
303
304
  | `--max-git-procs` | — | built-in | Max concurrent git subprocesses |
@@ -319,6 +320,9 @@ ocr review --from main --to my-feature --concurrency 4
319
320
  # Review a specific commit with verbose JSON output
320
321
  ocr review --commit abc123 --format json --audience agent
321
322
 
323
+ # Provide requirement context for more targeted review
324
+ ocr review --background "Adding rate limiting to the login API"
325
+
322
326
  # Use custom review rules
323
327
  ocr review --rule /path/to/my-rules.json
324
328
 
package/README.zh-CN.md CHANGED
@@ -296,6 +296,7 @@ ocr review \
296
296
  | `--concurrency` | — | `8` | 最大并发文件审查数 |
297
297
  | `--timeout` | — | `10` | 并发任务超时时间(分钟) |
298
298
  | `--audience` | — | `human` | `human`(显示进度)或 `agent`(仅输出摘要) |
299
+ | `--background` | `-b` | — | 可选的需求/业务背景信息;使用 `--commit` 时如未指定则自动从 commit message 中提取 |
299
300
  | `--rule` | — | — | 自定义 JSON 审查规则路径 |
300
301
  | `--max-tools` | — | 内置默认 | 每个文件的最大工具调用轮次;仅在大于模板默认值时生效 |
301
302
  | `--max-git-procs` | — | 内置默认 | 最大并发 git 子进程数 |
@@ -317,6 +318,9 @@ ocr review --from main --to my-feature --concurrency 4
317
318
  # 审查特定提交并以 JSON 格式输出详细信息
318
319
  ocr review --commit abc123 --format json --audience agent
319
320
 
321
+ # 提供需求背景以获得更有针对性的审查
322
+ ocr review --background "为登录 API 添加限流"
323
+
320
324
  # 使用自定义审查规则
321
325
  ocr review --rule /path/to/my-rules.json
322
326
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alibaba-group/open-code-review",
3
- "version": "1.2.6",
3
+ "version": "1.3.1",
4
4
  "description": "OpenCodeReview CLI — AI-powered code review tool",
5
5
  "bin": {
6
6
  "ocr": "bin/ocr.js"