opencode-swarm 6.33.5 → 6.33.6
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 +12 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -55065,6 +55065,17 @@ async function rehydrateState(snapshot) {
|
|
|
55065
55065
|
window2.warningReason = "";
|
|
55066
55066
|
}
|
|
55067
55067
|
}
|
|
55068
|
+
session.revisionLimitHit = false;
|
|
55069
|
+
session.coderRevisions = 0;
|
|
55070
|
+
session.selfFixAttempted = false;
|
|
55071
|
+
session.lastGateFailure = null;
|
|
55072
|
+
session.architectWriteCount = 0;
|
|
55073
|
+
session.selfCodingWarnedAtCount = 0;
|
|
55074
|
+
session.pendingAdvisoryMessages = [];
|
|
55075
|
+
session.model_fallback_index = 0;
|
|
55076
|
+
session.modelFallbackExhausted = false;
|
|
55077
|
+
session.scopeViolationDetected = false;
|
|
55078
|
+
session.delegationActive = false;
|
|
55068
55079
|
swarmState.agentSessions.set(sessionId, session);
|
|
55069
55080
|
}
|
|
55070
55081
|
}
|
|
@@ -65297,7 +65308,7 @@ var OpenCodeSwarm = async (ctx) => {
|
|
|
65297
65308
|
if (session && activeAgent && activeAgent !== ORCHESTRATOR_NAME) {
|
|
65298
65309
|
const stripActive = stripKnownSwarmPrefix(activeAgent);
|
|
65299
65310
|
if (stripActive !== ORCHESTRATOR_NAME) {
|
|
65300
|
-
const staleDelegation = !session.delegationActive
|
|
65311
|
+
const staleDelegation = !session.delegationActive && Date.now() - session.lastAgentEventTime > 1e4;
|
|
65301
65312
|
if (staleDelegation) {
|
|
65302
65313
|
swarmState.activeAgent.set(input.sessionID, ORCHESTRATOR_NAME);
|
|
65303
65314
|
ensureAgentSession(input.sessionID, ORCHESTRATOR_NAME);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-swarm",
|
|
3
|
-
"version": "6.33.
|
|
3
|
+
"version": "6.33.6",
|
|
4
4
|
"description": "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|