You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: sync ocr scan documentation to localized READMEs
Commit 18797f8 added the ocr scan feature but only updated the English
README. This syncs all six categories of changes (intro paragraph, quick
start examples, commands table, --exclude flag, ocr scan flags section,
and scan usage examples) to zh-CN, ja-JP, ko-KR, and ru-RU.
Copy file name to clipboardExpand all lines: README.ja-JP.md
+44-2Lines changed: 44 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@
35
35
36
36
Open Code ReviewはAIを活用したコードレビューCLIツールです。もともとはAlibaba Group社内の公式AIコードレビューアシスタントとして誕生し、過去2年間で数万人の開発者にサービスを提供し、数百万件のコード欠陥を発見してきました。大規模な環境で徹底的に検証された後、コミュニティ向けのオープンソースプロジェクトとして公開されました。モデルのエンドポイントを設定するだけで使い始められます。
Copy file name to clipboardExpand all lines: README.ko-KR.md
+44-2Lines changed: 44 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@
35
35
36
36
Open Code Review는 AI 기반 코드 리뷰 CLI 도구입니다. Alibaba Group의 내부 공식 AI 코드 리뷰 어시스턴트에서 시작했으며, 지난 2년 동안 수만 명의 개발자에게 제공되어 수백만 건의 코드 결함을 찾아냈습니다. 대규모 환경에서 충분히 검증한 뒤 커뮤니티를 위해 오픈 소스 프로젝트로 공개했습니다. 모델 endpoint만 설정하면 바로 사용할 수 있습니다.
37
37
38
-
이 도구는 Git diff를 읽고, 변경 파일을 tool-use 기능을 가진 agent를 통해 설정 가능한 LLM으로 전달한 뒤, 라인 단위 위치 정보가 포함된 구조화된 리뷰 코멘트를 생성합니다. agent는 전체 파일 내용 읽기, 코드베이스 검색, 다른 변경 파일 확인 등을 통해 맥락을 확보하고 표면적인 diff 피드백이 아닌 깊이 있는 리뷰를 수행할 수 있습니다.
38
+
이 도구는 Git diff를 읽고, 변경 파일을 tool-use 기능을 가진 agent를 통해 설정 가능한 LLM으로 전달한 뒤, 라인 단위 위치 정보가 포함된 구조화된 리뷰 코멘트를 생성합니다. agent는 전체 파일 내용 읽기, 코드베이스 검색, 다른 변경 파일 확인 등을 통해 맥락을 확보하고 표면적인 diff 피드백이 아닌 깊이 있는 리뷰를 수행할 수 있습니다. diff 리뷰 외에도 `ocr scan`은 전체 파일을 리뷰할 수 있어, 익숙하지 않은 코드베이스를 감사하거나 의미 있는 diff가 없는 디렉터리를 검토하는 데 유용합니다.
39
39
40
40

41
41
@@ -227,6 +227,10 @@ ocr review --from main --to feature-branch
|`ocr config model`| - | 활성 provider의 대화형 model 선택 |
@@ -355,6 +360,7 @@ ocr review \
355
360
|`--from`| - | - | Source ref 예: `main`|
356
361
|`--to`| - | - | Target ref 예: `feature-branch`|
357
362
|`--commit`|`-c`| - | 리뷰할 단일 commit |
363
+
|`--exclude`| - | - | 건너뛸 파일의 쉼표 구분 gitignore 스타일 패턴; rule.json의 excludes와 병합 |
358
364
|`--preview`|`-p`|`false`| LLM 실행 없이 리뷰 대상 파일 미리보기 |
359
365
|`--format`|`-f`|`text`| Output format: `text` 또는 `json`|
360
366
|`--concurrency`| - |`8`| 최대 동시 파일 리뷰 수 |
@@ -367,6 +373,27 @@ ocr review \
367
373
|`--max-git-procs`| - | built-in | 최대 동시 git subprocess 수 |
368
374
|`--tools`| - | - | custom JSON tools config 경로 |
369
375
376
+
### `ocr scan` Flags
377
+
378
+
`ocr scan`은 diff가 아닌 전체 파일을 리뷰합니다 — 익숙하지 않은 코드베이스 감사, 마이그레이션 전 스캔, 의미 있는 diff가 없는 디렉터리 등에 유용합니다. 비-git 디렉터리에서도 작동합니다 (`.gitignore`를 따르는 파일 시스템 탐색으로 폴백).
379
+
380
+
| Flag | Shorthand | Default | Description |
381
+
|------|-----------|---------|-------------|
382
+
|`--path`| - | 전체 repo | 스캔할 쉼표 구분 디렉터리/파일 |
383
+
|`--exclude`| - | - | 건너뛸 파일의 쉼표 구분 gitignore 스타일 패턴; rule.json의 excludes와 병합 |
384
+
|`--preview`|`-p`|`false`| LLM 실행 없이 스캔 대상 파일 목록 표시 |
385
+
|`--max-tokens-budget`| - |`0` (무제한) | 총 토큰 사용량 제한; 초과 시 dispatch 중단 |
386
+
|`--no-plan`| - |`false`| 파일별 planning 사전 처리 건너뛰기 |
387
+
|`--no-dedup`| - |`false`| 배치별 유사 comment 중복 제거 건너뛰기 |
388
+
|`--no-summary`| - |`false`| 프로젝트 수준 요약 건너뛰기 |
389
+
|`--batch`| - |`by-language`| 배치 전략: `none`, `by-language`, 또는 `by-directory`|
0 commit comments