opencode-magi 0.0.0-dev-20260520145838 → 0.0.0-dev-20260520151133

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.
@@ -209,11 +209,11 @@ async function fetchIssueCandidate(exec, repository, number, whyCandidate) {
209
209
  return { ...data, whyCandidate };
210
210
  }
211
211
  export async function searchDuplicateIssues(exec, repository, issue, limit = 5) {
212
- const query = `${issue.title} repo:${repoSlug(repository)} is:issue -${issue.number}`;
212
+ const query = issue.title;
213
213
  const explicitCandidates = await Promise.all(duplicateReferences(issue.body)
214
214
  .filter((number) => number !== issue.number)
215
215
  .map((number) => fetchIssueCandidate(exec, repository, number, "Issue body explicitly references a duplicate target.")));
216
- const raw = await exec(`gh search issues ${shellQuote(query)} --json number,title,url,state,body --limit ${limit}`);
216
+ const raw = await exec(`gh search issues --repo ${shellQuote(repoSlug(repository))} --json number,title,url,state,body --limit ${limit} -- ${shellQuote(query)}`);
217
217
  const data = JSON.parse(raw);
218
218
  const candidates = new Map();
219
219
  for (const candidate of explicitCandidates) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-magi",
3
- "version": "0.0.0-dev-20260520145838",
3
+ "version": "0.0.0-dev-20260520151133",
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>",