@itechmeat/open-code-review 1.13.6-fork.1 → 1.13.9-fork.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.md +3 -0
- package/package.json +7 -7
- package/scripts/install.js +8 -0
package/README.md
CHANGED
|
@@ -126,6 +126,9 @@ For other installation methods (install script, GitHub Release binary, from sour
|
|
|
126
126
|
|
|
127
127
|
If the Claude Code CLI (`claude`) is installed and logged in, no setup is needed: with nothing else configured, OCR reviews through the `claude-code` provider on your Claude subscription, with the `opus` model. Otherwise configure an LLM before reviewing code, unless you use [Delegation Mode](https://open-codereview.ai/docs/delegate).
|
|
128
128
|
|
|
129
|
+
- **OCR calls the model:** `ocr review`, the `/open-code-review:review` command, and the `open-code-review` skill use OCR's own provider configuration, not your Claude Code Team/Pro subscription login. Authentication requirements depend on the provider; see [Configuration](https://open-codereview.ai/docs/configuration).
|
|
130
|
+
- **The host agent calls the model:** the `/open-code-review:delegate-review` command and the `open-code-review-delegate` skill use the host agent's configured model and authentication. No separate LLM configuration or credentials are needed in OCR. See the [Claude Code install steps](plugins/open-code-review/README.md#claude-code).
|
|
131
|
+
|
|
129
132
|
```bash
|
|
130
133
|
ocr config provider # Select a built-in provider or add a custom one
|
|
131
134
|
ocr config model # Pick a model for the active provider
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itechmeat/open-code-review",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.9-fork.1",
|
|
4
4
|
"description": "OpenCodeReview CLI — AI-powered code review tool",
|
|
5
5
|
"bin": {
|
|
6
6
|
"ocr": "bin/ocr.js"
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
"checksumPattern": "https://github.com/itechmeat/open-code-review/releases/download/v{version}/sha256sum.txt"
|
|
32
32
|
},
|
|
33
33
|
"optionalDependencies": {
|
|
34
|
-
"@itechmeat/ocr-darwin-arm64": "1.13.
|
|
35
|
-
"@itechmeat/ocr-darwin-x64": "1.13.
|
|
36
|
-
"@itechmeat/ocr-linux-arm64": "1.13.
|
|
37
|
-
"@itechmeat/ocr-linux-x64": "1.13.
|
|
38
|
-
"@itechmeat/ocr-win32-arm64": "1.13.
|
|
39
|
-
"@itechmeat/ocr-win32-x64": "1.13.
|
|
34
|
+
"@itechmeat/ocr-darwin-arm64": "1.13.9-fork.1",
|
|
35
|
+
"@itechmeat/ocr-darwin-x64": "1.13.9-fork.1",
|
|
36
|
+
"@itechmeat/ocr-linux-arm64": "1.13.9-fork.1",
|
|
37
|
+
"@itechmeat/ocr-linux-x64": "1.13.9-fork.1",
|
|
38
|
+
"@itechmeat/ocr-win32-arm64": "1.13.9-fork.1",
|
|
39
|
+
"@itechmeat/ocr-win32-x64": "1.13.9-fork.1"
|
|
40
40
|
},
|
|
41
41
|
"engines": {
|
|
42
42
|
"node": ">=14"
|
package/scripts/install.js
CHANGED
|
@@ -169,6 +169,14 @@ async function main() {
|
|
|
169
169
|
|
|
170
170
|
const pkg = loadPackageJson();
|
|
171
171
|
const version = resolveVersion(pkg);
|
|
172
|
+
|
|
173
|
+
if (version === "0.0.0") {
|
|
174
|
+
info("Version 0.0.0 is a development checkout.");
|
|
175
|
+
info("No prebuilt binary will be downloaded.");
|
|
176
|
+
info("Run `make build` to compile the native binary before using the CLI.");
|
|
177
|
+
return;
|
|
178
|
+
}
|
|
179
|
+
|
|
172
180
|
const config = pkg.ocrConfig;
|
|
173
181
|
|
|
174
182
|
if (!fs.existsSync(binDir)) {
|