@open-code-review/cli 1.2.0 → 1.3.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.md +23 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -63,12 +63,34 @@ Shows: current phase, elapsed time, reviewer status, finding counts, completion
|
|
|
63
63
|
|
|
64
64
|
### `ocr update`
|
|
65
65
|
|
|
66
|
-
Update OCR skills and commands to the latest version.
|
|
66
|
+
Update OCR skills and commands to the latest version after upgrading the package.
|
|
67
67
|
|
|
68
68
|
```bash
|
|
69
|
+
# Update everything
|
|
69
70
|
ocr update
|
|
71
|
+
|
|
72
|
+
# Preview changes first
|
|
73
|
+
ocr update --dry-run
|
|
74
|
+
|
|
75
|
+
# Update specific components
|
|
76
|
+
ocr update --commands # Commands only
|
|
77
|
+
ocr update --skills # Skills and references only
|
|
78
|
+
ocr update --inject # AGENTS.md/CLAUDE.md only
|
|
70
79
|
```
|
|
71
80
|
|
|
81
|
+
**What it does:**
|
|
82
|
+
|
|
83
|
+
1. Detects which AI tools you configured during `ocr init`
|
|
84
|
+
2. Updates `.ocr/skills/` (SKILL.md, workflow, discourse rules)
|
|
85
|
+
3. Updates tool-specific commands (`.windsurf/workflows/`, etc.)
|
|
86
|
+
4. Updates managed blocks in `AGENTS.md` / `CLAUDE.md`
|
|
87
|
+
|
|
88
|
+
**What is NOT modified:**
|
|
89
|
+
|
|
90
|
+
- `.ocr/config.yaml` — Your team composition and context are preserved
|
|
91
|
+
- `.ocr/skills/references/reviewers/` — All reviewers preserved (default and custom)
|
|
92
|
+
- `.ocr/sessions/` — Review history remains untouched
|
|
93
|
+
|
|
72
94
|
## Session Storage
|
|
73
95
|
|
|
74
96
|
The CLI reads session state from `.ocr/sessions/{date}-{branch}/`:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-code-review/cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"description": "CLI for Open Code Review - Multi-environment setup and progress tracking",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"commander": "^13.0.0",
|
|
35
35
|
"log-update": "^7.0.2",
|
|
36
36
|
"ora": "^8.1.1",
|
|
37
|
-
"@open-code-review/agents": "1.
|
|
37
|
+
"@open-code-review/agents": "1.3.0"
|
|
38
38
|
},
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|