opencode-swarm 7.59.0 → 7.59.1
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 +2 -2
- package/dist/index.js +6 -5
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -52,7 +52,7 @@ var package_default;
|
|
|
52
52
|
var init_package = __esm(() => {
|
|
53
53
|
package_default = {
|
|
54
54
|
name: "opencode-swarm",
|
|
55
|
-
version: "7.59.
|
|
55
|
+
version: "7.59.1",
|
|
56
56
|
description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
|
|
57
57
|
main: "dist/index.js",
|
|
58
58
|
types: "dist/index.d.ts",
|
|
@@ -36777,7 +36777,7 @@ var init_knowledge_validator = __esm(() => {
|
|
|
36777
36777
|
/\bmkfs\b/,
|
|
36778
36778
|
/\bdd\s+if=/,
|
|
36779
36779
|
/:\(\)\s*\{/,
|
|
36780
|
-
/\bchmod\s+-R\s+777\b
|
|
36780
|
+
/\bchmod\s+-R\s+777\b/i,
|
|
36781
36781
|
/\bdeltree\b/,
|
|
36782
36782
|
/\brmdir\s+\/s\b/,
|
|
36783
36783
|
/\bkill\s+-9\b/,
|
package/dist/index.js
CHANGED
|
@@ -69,7 +69,7 @@ var package_default;
|
|
|
69
69
|
var init_package = __esm(() => {
|
|
70
70
|
package_default = {
|
|
71
71
|
name: "opencode-swarm",
|
|
72
|
-
version: "7.59.
|
|
72
|
+
version: "7.59.1",
|
|
73
73
|
description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
|
|
74
74
|
main: "dist/index.js",
|
|
75
75
|
types: "dist/index.d.ts",
|
|
@@ -57805,7 +57805,7 @@ var init_knowledge_validator = __esm(() => {
|
|
|
57805
57805
|
/\bmkfs\b/,
|
|
57806
57806
|
/\bdd\s+if=/,
|
|
57807
57807
|
/:\(\)\s*\{/,
|
|
57808
|
-
/\bchmod\s+-R\s+777\b
|
|
57808
|
+
/\bchmod\s+-R\s+777\b/i,
|
|
57809
57809
|
/\bdeltree\b/,
|
|
57810
57810
|
/\brmdir\s+\/s\b/,
|
|
57811
57811
|
/\bkill\s+-9\b/,
|
|
@@ -92853,7 +92853,7 @@ async function readMergedKnowledge(directory, config3, context, opts) {
|
|
|
92853
92853
|
const retractionRecords = await readRetractionRecords(directory);
|
|
92854
92854
|
const suppressedLessons = new Set(retractionRecords.map((record3) => record3.normalized_lesson).filter((value) => typeof value === "string" && value.length > 0));
|
|
92855
92855
|
const scopeFilter = config3.scope_filter ?? ["global"];
|
|
92856
|
-
const filtered = merged.filter((entry) => (opts?.skipScopeFilter || scopeFilter.some((pattern) => (entry.scope ?? "global") === pattern)) &&
|
|
92856
|
+
const filtered = merged.filter((entry) => (opts?.skipScopeFilter || scopeFilter.some((pattern) => (entry.scope ?? "global") === pattern)) && entry.status !== QUARANTINED_STATUS && !suppressedLessons.has(normalize4(entry.lesson)));
|
|
92857
92857
|
const ranked = filtered.map((entry) => {
|
|
92858
92858
|
let categoryScore = 0;
|
|
92859
92859
|
if (context?.currentPhase) {
|
|
@@ -93025,12 +93025,11 @@ function scoreDirectiveAgainstContext(entry, ctx) {
|
|
|
93025
93025
|
score += 0.1;
|
|
93026
93026
|
return { triggerHit, actionHit, agentHit, score: Math.min(1, score) };
|
|
93027
93027
|
}
|
|
93028
|
-
var JACCARD_THRESHOLD2 = 0.6, HIVE_TIER_BOOST = 0.05, SAME_PROJECT_PENALTY = -0.05,
|
|
93028
|
+
var JACCARD_THRESHOLD2 = 0.6, HIVE_TIER_BOOST = 0.05, SAME_PROJECT_PENALTY = -0.05, QUARANTINED_STATUS = "quarantined";
|
|
93029
93029
|
var init_knowledge_reader = __esm(() => {
|
|
93030
93030
|
init_task_file();
|
|
93031
93031
|
init_logger();
|
|
93032
93032
|
init_knowledge_store();
|
|
93033
|
-
NORMAL_RETRIEVAL_STATUSES = new Set(["established", "promoted"]);
|
|
93034
93033
|
});
|
|
93035
93034
|
|
|
93036
93035
|
// src/hooks/search-knowledge.ts
|
|
@@ -93083,6 +93082,8 @@ async function searchKnowledge(params) {
|
|
|
93083
93082
|
});
|
|
93084
93083
|
const counterRollups = await readKnowledgeCounterRollups(directory);
|
|
93085
93084
|
candidates = candidates.filter((e) => {
|
|
93085
|
+
if (e.status === "archived")
|
|
93086
|
+
return false;
|
|
93086
93087
|
if (e.status === "quarantined")
|
|
93087
93088
|
return false;
|
|
93088
93089
|
if (tier === "hive" && e.tier !== "hive")
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-swarm",
|
|
3
|
-
"version": "7.59.
|
|
3
|
+
"version": "7.59.1",
|
|
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",
|