@coda-console/review 2.12.0 → 2.13.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/.coda/workflows/pull-request.bpmn +1 -1
- package/README.md +1 -0
- package/package.json +8 -1
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<message id="ready" name="pull_request.ready_for_review" />
|
|
18
18
|
<message id="edited" name="pull_request.edited" />
|
|
19
19
|
<message id="closed" name="pull_request.closed" />
|
|
20
|
-
<process id="pull-request" name="PR 生命流程" isExecutable="true"
|
|
20
|
+
<process id="pull-request" name="PR 生命流程" isExecutable="true" coda:autoRun="=vars.review.autoRun"
|
|
21
21
|
coda:key='=lower case(if github.event.pull_request.html_url != null then github.event.pull_request.html_url
|
|
22
22
|
else if matches(inputs.pr, "^https://github[.]com/[a-z0-9_.-]+/[a-z0-9_.-]+/pull/[1-9][0-9]*$", "i") then inputs.pr else null)'
|
|
23
23
|
coda:title='PR {{if github.event.coda.heard = null then (if review.pr = null then inputs.pr else review.pr) else "#" + string(github.event.number) + " " + github.event.pull_request.title}}'>
|
package/README.md
CHANGED
|
@@ -29,6 +29,7 @@ prompts/principles/ 评审重点,一项一段,按设置取
|
|
|
29
29
|
|
|
30
30
|
| 设置 | 类型 | 默认 |
|
|
31
31
|
| --- | --- | --- |
|
|
32
|
+
| `review.autoRun` PR 自动运行 | 开关:会话开的 PR 新建或有新提交时是否自动开始;关掉后只能手动发起。会话或目录在「工作流」里单独设过的按它们的(流程的 `coda:autoRun`);不影响简易开发 | 开 |
|
|
32
33
|
| `review.reviewers` 评审组合 | 表格:作者匹配 → Agent 组合 | Claude 由 Codex 评审,Codex 由 Claude 评审,Kimi、Grok 由 Codex 评审,OpenCode 由 Claude 评审 |
|
|
33
34
|
| `review.blockingSeverity` 阻塞级别 | P0–P3 之一 | P2 |
|
|
34
35
|
| `review.principles` 评审重点 | 多选:`state` 状态与失败、`defense` 多余的防御、`architecture` 架构与腐化、`tests` 测试;勾选的那几段(`prompts/principles/` 下同名文件)放进提示词 | 都选 |
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"displayName": "PR 生命流程",
|
|
5
5
|
"description": "PR 从检查、评审到批准合并;简易开发",
|
|
6
6
|
"icon": { "symbol": "checkmark.bubble.fill", "color": "purple" },
|
|
7
|
-
"version": "2.
|
|
7
|
+
"version": "2.13.0",
|
|
8
8
|
"categories": [
|
|
9
9
|
"工作流程"
|
|
10
10
|
],
|
|
@@ -15,6 +15,13 @@
|
|
|
15
15
|
"configuration": {
|
|
16
16
|
"title": "PR 生命流程",
|
|
17
17
|
"properties": {
|
|
18
|
+
"review.autoRun": {
|
|
19
|
+
"title": "PR 自动运行",
|
|
20
|
+
"type": "boolean",
|
|
21
|
+
"order": 0,
|
|
22
|
+
"default": true,
|
|
23
|
+
"description": "会话开的 PR 新建或有新提交时自动开始 PR 生命流程。关掉后只能手动发起;会话或目录在「工作流」里单独设过的,按它们的。不影响简易开发。"
|
|
24
|
+
},
|
|
18
25
|
"review.reviewers": {
|
|
19
26
|
"title": "评审组合",
|
|
20
27
|
"type": "object",
|