@nk070281sjv/cli
v3.0.65
Published
OpenCode-only OCR CLI with process-agent review orchestration
Maintainers
Readme
@nk070281sjv/cli
CLI for the OpenCode-only OCR fork. It initializes .ocr/, runs process-agent
reviews through OpenCode, tracks session state, and provides review monitoring
commands.
Install
Requires Node.js >= 22.5.0.
npm install -g @nk070281sjv/cliQuick Start
cd your-project
ocr initocr review run-agents --fresh
ocr review status --session-id <session-id>
ocr review wait --session-id <session-id>What ocr init installs
.ocr/config.yaml.ocr/reviewers/*.md.ocr/reviewers-meta.json.ocr/sessions/
Main Commands
ocr init
Initialize OCR in the current project.
ocr init
ocr init --tools opencodeocr update
Refresh installed OCR assets after package upgrade.
ocr updatePreserves .ocr/config.yaml and reviewer customizations.
ocr doctor
Validate local OCR prerequisites and installation health.
ocr doctorocr review run-agents
Main OpenCode process-agent entrypoint.
ocr review run-agents --fresh
ocr review run-agents --session-id <session-id> --round <n>The CLI:
- prepares review context
- writes exact prompt snapshots
- starts all resolved reviewer processes in parallel
- runs
aggregation,validation,translation-uk - writes
final.mdandfinal.uk.md - stops on partial/invalid execution instead of fabricating missing work
ocr review status
Show current session status.
ocr review status --session-id <session-id>ocr review watch
Stream progress for a running session.
ocr review watch --session-id <session-id>ocr review wait
Block until a running review reaches terminal status.
ocr review wait --session-id <session-id>Other CLI commands
The current CLI also exposes operational commands such as:
ocr progressocr stateocr sessionocr modelsocr teamocr dbocr hostocr reviewers
These are helper/debug/runtime commands. The primary user workflow for this fork
is ocr init plus ocr review run-agents --fresh.
Review Artifacts
The CLI writes review data under:
.ocr/sessions/{session-id}/
discovered-standards.md
context.md
rounds/round-{n}/
prompts/
reviews/
aggregation.md
validation.md
final.canonical.md
final.md
final.uk.md