@reinamaccredy/oh-my-opencode 3.0.0-beta.1 → 3.0.0-beta.3
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/cli/index.js
CHANGED
|
@@ -2253,7 +2253,7 @@ var require_picocolors = __commonJS((exports, module) => {
|
|
|
2253
2253
|
var require_package = __commonJS((exports, module) => {
|
|
2254
2254
|
module.exports = {
|
|
2255
2255
|
name: "@reinamaccredy/oh-my-opencode",
|
|
2256
|
-
version: "3.0.0-beta.
|
|
2256
|
+
version: "3.0.0-beta.3",
|
|
2257
2257
|
description: "Fork of oh-my-opencode with Maestro workflow integration - Multi-Model Orchestration, Parallel Background Agents, Design Phases, and TDD Methodology",
|
|
2258
2258
|
main: "dist/index.js",
|
|
2259
2259
|
types: "dist/index.d.ts",
|
package/dist/index.js
CHANGED
|
@@ -45799,7 +45799,8 @@ class BackgroundManager {
|
|
|
45799
45799
|
progress: {
|
|
45800
45800
|
toolCalls: 0,
|
|
45801
45801
|
lastUpdate: new Date
|
|
45802
|
-
}
|
|
45802
|
+
},
|
|
45803
|
+
parentAgent: input.parentAgent
|
|
45803
45804
|
};
|
|
45804
45805
|
this.tasks.set(task.id, task);
|
|
45805
45806
|
subagentSessions.add(input.sessionID);
|
|
@@ -45993,14 +45994,18 @@ class BackgroundManager {
|
|
|
45993
45994
|
this.concurrencyManager.release(task.concurrencyKey);
|
|
45994
45995
|
}
|
|
45995
45996
|
try {
|
|
45996
|
-
const
|
|
45997
|
+
const body = {
|
|
45998
|
+
parts: [{ type: "text", text: message }]
|
|
45999
|
+
};
|
|
46000
|
+
if (task.parentAgent !== undefined) {
|
|
46001
|
+
body.agent = task.parentAgent;
|
|
46002
|
+
}
|
|
46003
|
+
if (task.parentModel?.providerID && task.parentModel?.modelID) {
|
|
46004
|
+
body.model = { providerID: task.parentModel.providerID, modelID: task.parentModel.modelID };
|
|
46005
|
+
}
|
|
45997
46006
|
await this.client.session.prompt({
|
|
45998
46007
|
path: { id: task.parentSessionID },
|
|
45999
|
-
body
|
|
46000
|
-
agent: task.parentAgent,
|
|
46001
|
-
model: modelField,
|
|
46002
|
-
parts: [{ type: "text", text: message }]
|
|
46003
|
-
},
|
|
46008
|
+
body,
|
|
46004
46009
|
query: { directory: this.directory }
|
|
46005
46010
|
});
|
|
46006
46011
|
log("[background-agent] Successfully sent prompt to parent session:", { parentSessionID: task.parentSessionID });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reinamaccredy/oh-my-opencode",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.3",
|
|
4
4
|
"description": "Fork of oh-my-opencode with Maestro workflow integration - Multi-Model Orchestration, Parallel Background Agents, Design Phases, and TDD Methodology",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|