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 CHANGED
@@ -156,7 +156,7 @@ Run commands from OpenCode.
156
156
 
157
157
  - [Commands](docs/commands/index.md)
158
158
  - [Config](docs/config.md)
159
- - [Prompts](docs/prompts.md)
159
+ - [Prompts](docs/prompts/index.md)
160
160
 
161
161
  ## Contributing
162
162
 
@@ -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
  },
@@ -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: "rereview-close-reconsideration",
230
- customPath: input.repository.prompts.rereviewCloseReconsideration,
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-after-edit",
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-20260519062618",
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.