opencode-magi 0.0.0-dev-20260630230943 → 0.0.0-dev-20260702001022
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 +2 -4
- package/package.json +1 -1
package/dist/magi.js
CHANGED
|
@@ -92,7 +92,6 @@ export class Magi {
|
|
|
92
92
|
await this.input.client.session.promptAsync({
|
|
93
93
|
parts: [{ synthetic: true, text, type: "text" }],
|
|
94
94
|
sessionID,
|
|
95
|
-
system: "Report the update to the user immediately.",
|
|
96
95
|
});
|
|
97
96
|
}
|
|
98
97
|
async clear(config) {
|
|
@@ -189,13 +188,12 @@ export class Magi {
|
|
|
189
188
|
await writeFile(join(state.output, "state.json"), `${JSON.stringify(state, null, 2)}\n`);
|
|
190
189
|
}
|
|
191
190
|
async createAgentFile(output, phase, id, content, attempt = 1, cycle) {
|
|
192
|
-
const segments = [
|
|
191
|
+
const segments = [id, phase];
|
|
193
192
|
if (isNumber(cycle))
|
|
194
193
|
segments.push(cycle.toString());
|
|
195
194
|
if (isNumber(attempt))
|
|
196
195
|
segments.push(attempt.toString());
|
|
197
|
-
const path = segments.join("
|
|
198
|
-
await mkdir(dirname(path), { recursive: true });
|
|
196
|
+
const path = join(output, segments.join("-") + ".md");
|
|
199
197
|
await writeFile(path, content);
|
|
200
198
|
}
|
|
201
199
|
async updateState(dir, next) {
|
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-20260702001022",
|
|
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>",
|