opencode-magi 0.0.0-dev-20260630051947 → 0.0.0-dev-20260630052048
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/dist/magi.js +3 -7
- package/package.json +1 -1
package/dist/magi.js
CHANGED
|
@@ -267,10 +267,8 @@ export class Magi {
|
|
|
267
267
|
const path = this.getPath(join(dir, number.toString(), id));
|
|
268
268
|
try {
|
|
269
269
|
await mkdir(dirname(path), { recursive: true });
|
|
270
|
-
await this.exec(command("git", "worktree", "add", quote(path)), {
|
|
271
|
-
|
|
272
|
-
});
|
|
273
|
-
await this.exec(command("gh", "pr", "checkout", number), {
|
|
270
|
+
await this.exec(command("git", "worktree", "add", "--detach", quote(path)), { signal });
|
|
271
|
+
await this.exec(command("gh", "pr", "checkout", number, "--detach"), {
|
|
274
272
|
cwd: path,
|
|
275
273
|
signal,
|
|
276
274
|
});
|
|
@@ -278,9 +276,7 @@ export class Magi {
|
|
|
278
276
|
cwd: path,
|
|
279
277
|
signal,
|
|
280
278
|
});
|
|
281
|
-
|
|
282
|
-
throw new Error("Failed to determine worktree branch");
|
|
283
|
-
return { branch, path };
|
|
279
|
+
return { branch: branch || undefined, path };
|
|
284
280
|
}
|
|
285
281
|
catch (e) {
|
|
286
282
|
try {
|
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-20260630052048",
|
|
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>",
|