opencode-orchestrator 1.0.42 → 1.0.43
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/index.js +7 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -17290,7 +17290,7 @@ var TaskLauncher = class {
|
|
|
17290
17290
|
this.store.set(task.id, task);
|
|
17291
17291
|
taskWAL.log(WAL_ACTIONS.LAUNCH, task).catch(() => {
|
|
17292
17292
|
});
|
|
17293
|
-
|
|
17293
|
+
const promptPromise = this.client.session.prompt({
|
|
17294
17294
|
path: { id: task.sessionID },
|
|
17295
17295
|
body: {
|
|
17296
17296
|
agent: task.agent,
|
|
@@ -17306,6 +17306,12 @@ var TaskLauncher = class {
|
|
|
17306
17306
|
parts: [{ type: PART_TYPES.TEXT, text: task.prompt }]
|
|
17307
17307
|
}
|
|
17308
17308
|
});
|
|
17309
|
+
await Promise.race([
|
|
17310
|
+
promptPromise,
|
|
17311
|
+
new Promise(
|
|
17312
|
+
(_, reject) => setTimeout(() => reject(new Error("Session prompt execution timed out after 30s")), 3e4)
|
|
17313
|
+
)
|
|
17314
|
+
]);
|
|
17309
17315
|
log(`[task-launcher.ts] Task ${task.id} (${task.agent}) started running`);
|
|
17310
17316
|
} catch (error45) {
|
|
17311
17317
|
this.concurrency.release(task.agent);
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "opencode-orchestrator",
|
|
3
3
|
"displayName": "OpenCode Orchestrator",
|
|
4
4
|
"description": "Distributed Cognitive Architecture for OpenCode. Turns simple prompts into specialized multi-agent workflows (Planner, Coder, Reviewer).",
|
|
5
|
-
"version": "1.0.
|
|
5
|
+
"version": "1.0.43",
|
|
6
6
|
"author": "agnusdei1207",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"repository": {
|