opencode-swarm 5.1.4 → 5.1.5
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/README.md +3 -3
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<img src="https://img.shields.io/badge/version-5.1.
|
|
2
|
+
<img src="https://img.shields.io/badge/version-5.1.5-blue" alt="Version">
|
|
3
3
|
<img src="https://img.shields.io/badge/license-MIT-green" alt="License">
|
|
4
4
|
<img src="https://img.shields.io/badge/opencode-plugin-purple" alt="OpenCode Plugin">
|
|
5
5
|
<img src="https://img.shields.io/badge/agents-7-orange" alt="Agents">
|
|
6
|
-
<img src="https://img.shields.io/badge/tests-
|
|
6
|
+
<img src="https://img.shields.io/badge/tests-1034-brightgreen" alt="Tests">
|
|
7
7
|
</p>
|
|
8
8
|
|
|
9
9
|
<h1 align="center">🐝 OpenCode Swarm</h1>
|
|
@@ -564,7 +564,7 @@ bun test
|
|
|
564
564
|
bun test tests/unit/config/schema.test.ts
|
|
565
565
|
```
|
|
566
566
|
|
|
567
|
-
|
|
567
|
+
1034 tests across 45 files covering config, tools, agents, hooks, commands, state, guardrails, evidence, plan schemas, and circuit breaker race conditions. Uses Bun's built-in test runner — zero additional test dependencies.
|
|
568
568
|
|
|
569
569
|
## Troubleshooting
|
|
570
570
|
|
package/dist/index.js
CHANGED
|
@@ -30165,7 +30165,7 @@ var OpenCodeSwarm = async (ctx) => {
|
|
|
30165
30165
|
if (session && activeAgent && activeAgent !== ORCHESTRATOR_NAME) {
|
|
30166
30166
|
const stripActive = stripKnownSwarmPrefix(activeAgent);
|
|
30167
30167
|
if (stripActive !== ORCHESTRATOR_NAME) {
|
|
30168
|
-
const staleDelegation = !session.delegationActive || Date.now() - session.lastToolCallTime >
|
|
30168
|
+
const staleDelegation = !session.delegationActive || Date.now() - session.lastToolCallTime > 1e4;
|
|
30169
30169
|
if (staleDelegation) {
|
|
30170
30170
|
swarmState.activeAgent.set(input.sessionID, ORCHESTRATOR_NAME);
|
|
30171
30171
|
ensureAgentSession(input.sessionID, ORCHESTRATOR_NAME);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-swarm",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.5",
|
|
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",
|