opencode-orchestrator 0.9.8 → 0.9.10
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 +22 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -18709,7 +18709,28 @@ function createChatMessageHandler(ctx) {
|
|
|
18709
18709
|
/\$ARGUMENTS/g,
|
|
18710
18710
|
parsed.args || PROMPTS.CONTINUE
|
|
18711
18711
|
);
|
|
18712
|
-
}
|
|
18712
|
+
}
|
|
18713
|
+
if (command && parsed.command === "task") {
|
|
18714
|
+
if (!sessions.has(sessionID)) {
|
|
18715
|
+
const now = Date.now();
|
|
18716
|
+
sessions.set(sessionID, {
|
|
18717
|
+
active: true,
|
|
18718
|
+
step: 0,
|
|
18719
|
+
timestamp: now,
|
|
18720
|
+
startTime: now,
|
|
18721
|
+
lastStepTime: now
|
|
18722
|
+
});
|
|
18723
|
+
state.missionActive = true;
|
|
18724
|
+
state.sessions.set(sessionID, {
|
|
18725
|
+
enabled: true,
|
|
18726
|
+
iterations: 0,
|
|
18727
|
+
taskRetries: /* @__PURE__ */ new Map(),
|
|
18728
|
+
currentTask: "",
|
|
18729
|
+
anomalyCount: 0
|
|
18730
|
+
});
|
|
18731
|
+
startSession(sessionID);
|
|
18732
|
+
log2("[chat-message-handler] Session registered for /task command", { sessionID, agent: agentName });
|
|
18733
|
+
}
|
|
18713
18734
|
parts[textPartIndex].text = command.template.replace(
|
|
18714
18735
|
/\$ARGUMENTS/g,
|
|
18715
18736
|
parsed.args || PROMPTS.CONTINUE
|
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": "0.9.
|
|
5
|
+
"version": "0.9.10",
|
|
6
6
|
"author": "agnusdei1207",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"repository": {
|