@open-cr-agent/vcs-platform 0.3.0 → 0.5.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 +1 -1
- package/dist/render.js +9 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
# @open-cr-agent/vcs-platform
|
|
2
2
|
|
|
3
|
-
What the code review platform adapters of [Open-CR-Agent](https://github.com/jma49/Open-CR-Agent), the multi-agent code reviewer, share: the summary comment and the review state it carries, the text of inline comments, and the rules for who may override, dismiss or answer ocra. Most users want [`@open-cr-agent/cli`](https://www.npmjs.com/package/@open-cr-agent/cli), which provides the `ocra` command and installs this package; see the [manual](https://
|
|
3
|
+
What the code review platform adapters of [Open-CR-Agent](https://github.com/jma49/Open-CR-Agent), the multi-agent code reviewer, share: the summary comment and the review state it carries, the text of inline comments, and the rules for who may override, dismiss or answer ocra. Most users want [`@open-cr-agent/cli`](https://www.npmjs.com/package/@open-cr-agent/cli), which provides the `ocra` command and installs this package; see the [manual](https://ocracloud.com). All `@open-cr-agent` packages are released together at one version. Apache-2.0.
|
package/dist/render.js
CHANGED
|
@@ -129,8 +129,15 @@ export function renderSummary({ report, commented, state, text, unattributed = 0
|
|
|
129
129
|
lines.push(`- ${ICON[f.severity]} ${location(f)} **${safeMarkdown(f.title)}** _(${verification(f)}${f.lowConfidence ? ", low confidence" : ""})_: ${safeMarkdown(f.body.replaceAll("\n", " "))}`);
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
|
-
|
|
133
|
-
|
|
132
|
+
const fromRepository = report.remembered.filter((e) => e.source === "repository").length;
|
|
133
|
+
const fromAccount = report.remembered.length - fromRepository;
|
|
134
|
+
if (fromRepository > 0) {
|
|
135
|
+
lines.push("", `${fromRepository} finding(s) matched \`.ocra/memory.json\` and are not repeated.`);
|
|
136
|
+
}
|
|
137
|
+
// The reviewer's own account memory can hide findings too; say so, so a
|
|
138
|
+
// suppression nobody on the team chose is visible (ADR-0028).
|
|
139
|
+
if (fromAccount > 0) {
|
|
140
|
+
lines.push("", `${fromAccount} finding(s) matched the reviewing account's ocra Cloud memory and are not repeated.`);
|
|
134
141
|
}
|
|
135
142
|
const rereview = report.rereview;
|
|
136
143
|
if (rereview && rereview.fixed.length > 0) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-cr-agent/vcs-platform",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "What Open-CR-Agent's code review platform adapters share: the review summary, its state, and who may command ocra",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"code-review",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"merge-request"
|
|
9
9
|
],
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
|
-
"homepage": "https://
|
|
11
|
+
"homepage": "https://ocracloud.com",
|
|
12
12
|
"repository": {
|
|
13
13
|
"type": "git",
|
|
14
14
|
"url": "git+https://github.com/jma49/Open-CR-Agent.git",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"!dist/**/*.map"
|
|
39
39
|
],
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@open-cr-agent/core": "0.
|
|
41
|
+
"@open-cr-agent/core": "0.5.0",
|
|
42
42
|
"zod": "^4.6.5"
|
|
43
43
|
},
|
|
44
44
|
"publishConfig": {
|