opencode-magi 0.0.0-dev-20260520195444 → 0.0.0-dev-20260520203020

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.
@@ -141,6 +141,7 @@ const TRIAGE_PROMPT_KEYS = new Set([
141
141
  "comment",
142
142
  "commentClassification",
143
143
  "create",
144
+ "createGuidelines",
144
145
  "duplicate",
145
146
  "existingPr",
146
147
  "question",
@@ -104,6 +104,10 @@ async function editGuidelinesBlock(input) {
104
104
  const body = (await readOptionalPrompt(input.directory, input.path, input.values)).trim();
105
105
  return body ? `<edit_guidelines>\n${body}\n</edit_guidelines>` : "";
106
106
  }
107
+ async function createGuidelinesBlock(input) {
108
+ const body = (await readOptionalPrompt(input.directory, input.path, input.values)).trim();
109
+ return body ? `<create_guidelines>\n${body}\n</create_guidelines>` : "";
110
+ }
107
111
  async function sessionContextBlocks(input) {
108
112
  return [
109
113
  input.includeSessionContext
@@ -387,6 +391,11 @@ export async function composeTriageCreatePrPrompt(input) {
387
391
  task,
388
392
  languageBlock(input.repository.language),
389
393
  personaBlock(persona),
394
+ await createGuidelinesBlock({
395
+ directory: input.directory,
396
+ path: input.repository.triage?.prompts.createGuidelines,
397
+ values,
398
+ }),
390
399
  triageCreatePrOutputContract,
391
400
  ]
392
401
  .filter(Boolean)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-magi",
3
- "version": "0.0.0-dev-20260520195444",
3
+ "version": "0.0.0-dev-20260520203020",
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>",
package/schema.json CHANGED
@@ -201,7 +201,8 @@
201
201
  "comment": { "type": "string" },
202
202
  "commentClassification": { "type": "string" },
203
203
  "reconsider": { "type": "string" },
204
- "create": { "type": "string" }
204
+ "create": { "type": "string" },
205
+ "createGuidelines": { "type": "string" }
205
206
  }
206
207
  },
207
208
  "triageCategory": {