opencode-magi 0.0.0-dev-20260519062618 → 0.0.0-dev-20260519071726
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/config/resolve.js +0 -1
- package/dist/prompts/compose.js +9 -9
- package/dist/prompts/templates/{close-reconsideration.md → review/close-reconsideration.md} +1 -2
- package/package.json +1 -1
- package/dist/prompts/templates/rereview-close-reconsideration.md +0 -6
- /package/dist/prompts/templates/{ci-classification-after-edit.md → merge/ci-classification.md} +0 -0
- /package/dist/prompts/templates/{edit.md → merge/edit.md} +0 -0
- /package/dist/prompts/templates/{ci-classification.md → review/ci-classification.md} +0 -0
- /package/dist/prompts/templates/{finding-validation.md → review/finding-validation.md} +0 -0
- /package/dist/prompts/templates/{rereview.md → review/rereview.md} +0 -0
- /package/dist/prompts/templates/{review.md → review/review.md} +0 -0
package/README.md
CHANGED
package/dist/config/resolve.js
CHANGED
|
@@ -114,7 +114,6 @@ export function resolveRepository(config) {
|
|
|
114
114
|
editGuidelines: config.merge?.prompts?.editGuidelines,
|
|
115
115
|
findingValidation: config.review?.prompts?.findingValidation,
|
|
116
116
|
rereview: config.review?.prompts?.rereview,
|
|
117
|
-
rereviewCloseReconsideration: config.review?.prompts?.closeReconsideration,
|
|
118
117
|
review: config.review?.prompts?.review,
|
|
119
118
|
reviewGuidelines: config.review?.prompts?.reviewGuidelines,
|
|
120
119
|
},
|
package/dist/prompts/compose.js
CHANGED
|
@@ -100,7 +100,7 @@ async function sessionContextBlocks(input) {
|
|
|
100
100
|
export async function composeReviewPrompt(input) {
|
|
101
101
|
const values = reviewValues(input);
|
|
102
102
|
const task = await taskBlock({
|
|
103
|
-
builtin: "review",
|
|
103
|
+
builtin: "review/review",
|
|
104
104
|
customPath: input.repository.prompts.review,
|
|
105
105
|
directory: input.directory,
|
|
106
106
|
values,
|
|
@@ -122,7 +122,7 @@ export async function composeReviewPrompt(input) {
|
|
|
122
122
|
export async function composeRereviewPrompt(input) {
|
|
123
123
|
const values = rereviewValues(input);
|
|
124
124
|
const task = await taskBlock({
|
|
125
|
-
builtin: "rereview",
|
|
125
|
+
builtin: "review/rereview",
|
|
126
126
|
customPath: input.repository.prompts.rereview,
|
|
127
127
|
directory: input.directory,
|
|
128
128
|
values,
|
|
@@ -150,7 +150,7 @@ export async function composeRereviewPrompt(input) {
|
|
|
150
150
|
export async function composeEditPrompt(input) {
|
|
151
151
|
const values = editValues(input);
|
|
152
152
|
const task = await taskBlock({
|
|
153
|
-
builtin: "edit",
|
|
153
|
+
builtin: "merge/edit",
|
|
154
154
|
customPath: input.repository.prompts.edit,
|
|
155
155
|
directory: input.directory,
|
|
156
156
|
values,
|
|
@@ -173,7 +173,7 @@ export async function composeEditPrompt(input) {
|
|
|
173
173
|
export async function composeFindingValidationPrompt(input) {
|
|
174
174
|
const values = { ...reviewValues(input), findings: input.findings };
|
|
175
175
|
const task = await taskBlock({
|
|
176
|
-
builtin: "finding-validation",
|
|
176
|
+
builtin: "review/finding-validation",
|
|
177
177
|
customPath: input.repository.prompts.findingValidation,
|
|
178
178
|
directory: input.directory,
|
|
179
179
|
values,
|
|
@@ -199,7 +199,7 @@ export async function composeCloseReconsiderationPrompt(input) {
|
|
|
199
199
|
closeReason: input.closeReason ?? "",
|
|
200
200
|
};
|
|
201
201
|
const task = await taskBlock({
|
|
202
|
-
builtin: "close-reconsideration",
|
|
202
|
+
builtin: "review/close-reconsideration",
|
|
203
203
|
customPath: input.repository.prompts.closeReconsideration,
|
|
204
204
|
directory: input.directory,
|
|
205
205
|
values,
|
|
@@ -226,8 +226,8 @@ export async function composeRereviewCloseReconsiderationPrompt(input) {
|
|
|
226
226
|
previousHeadSha: input.previousHeadSha,
|
|
227
227
|
};
|
|
228
228
|
const task = await taskBlock({
|
|
229
|
-
builtin: "
|
|
230
|
-
customPath: input.repository.prompts.
|
|
229
|
+
builtin: "review/close-reconsideration",
|
|
230
|
+
customPath: input.repository.prompts.closeReconsideration,
|
|
231
231
|
directory: input.directory,
|
|
232
232
|
values,
|
|
233
233
|
});
|
|
@@ -253,7 +253,7 @@ export async function composeCiClassificationPrompt(input) {
|
|
|
253
253
|
pr: String(input.pr),
|
|
254
254
|
};
|
|
255
255
|
const task = await taskBlock({
|
|
256
|
-
builtin: "ci-classification",
|
|
256
|
+
builtin: "review/ci-classification",
|
|
257
257
|
customPath: input.repository.prompts.ciClassification,
|
|
258
258
|
directory: input.directory,
|
|
259
259
|
values,
|
|
@@ -278,7 +278,7 @@ export async function composeCiClassificationAfterEditPrompt(input) {
|
|
|
278
278
|
worktreePath: input.worktreePath,
|
|
279
279
|
};
|
|
280
280
|
const task = await taskBlock({
|
|
281
|
-
builtin: "ci-classification
|
|
281
|
+
builtin: "merge/ci-classification",
|
|
282
282
|
customPath: input.repository.prompts.ciClassificationAfterEdit ??
|
|
283
283
|
input.repository.prompts.ciClassification,
|
|
284
284
|
directory: input.directory,
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
You requested CLOSE for pull request #{pr} in {owner}/{repo}, but the other reviewers did not.
|
|
2
|
-
Reconsider your decision and choose MERGE or CHANGES_REQUESTED instead.
|
|
3
|
-
Use the existing review session context.
|
|
2
|
+
Reconsider your decision using the existing session context and choose MERGE or CHANGES_REQUESTED instead.
|
|
4
3
|
Original close reason:
|
|
5
4
|
{closeReason}
|
|
6
5
|
Do not edit files or perform write operations.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-magi",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20260519071726",
|
|
4
4
|
"description": "Multi-agent PR review and merge orchestration plugin for OpenCode.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Hirotomo Yamada <hirotomo.yamada@avap.co.jp>",
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
You requested CLOSE while re-reviewing pull request #{pr} in {owner}/{repo}, but the other reviewers did not.
|
|
2
|
-
Reconsider your decision and choose MERGE or CHANGES_REQUESTED instead.
|
|
3
|
-
Use the existing re-review session context.
|
|
4
|
-
Original close reason:
|
|
5
|
-
{closeReason}
|
|
6
|
-
Do not edit files or perform write operations.
|
/package/dist/prompts/templates/{ci-classification-after-edit.md → merge/ci-classification.md}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|