opencode-swarm 7.65.2 → 7.65.3
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
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.65.
|
|
55
|
+
version: "7.65.3",
|
|
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",
|
|
@@ -39937,7 +39937,7 @@ async function skillPropagationGateBefore(directory, input, config3) {
|
|
|
39937
39937
|
}
|
|
39938
39938
|
let scoringSkipped = false;
|
|
39939
39939
|
let scored = [];
|
|
39940
|
-
if (skillsValue
|
|
39940
|
+
if (skillsValue.toLowerCase() !== "none" && availableSkills.length > 0) {
|
|
39941
39941
|
try {
|
|
39942
39942
|
const sessionEntries = _internals14.readSkillUsageEntriesTail(directory, {
|
|
39943
39943
|
sessionID
|
|
@@ -40063,7 +40063,7 @@ ${newSection}`;
|
|
|
40063
40063
|
const blockedMsg = `Blocked by skill propagation gate: Delegating to ${targetBase} without SKILLS field. ` + `Available skills: ${skillNames.join(", ")}. ` + `Add a SKILLS: field or set enforce: false in config.`;
|
|
40064
40064
|
return { blocked: true, reason: blockedMsg, recommendedSkills: undefined };
|
|
40065
40065
|
}
|
|
40066
|
-
return { blocked: false, reason: warningMsg, recommendedSkills:
|
|
40066
|
+
return { blocked: false, reason: warningMsg, recommendedSkills: scored };
|
|
40067
40067
|
}
|
|
40068
40068
|
async function skillPropagationTransformScan(directory, output, sessionID) {
|
|
40069
40069
|
if (!output?.messages)
|
|
@@ -40254,7 +40254,7 @@ var init_skill_propagation_gate = __esm(() => {
|
|
|
40254
40254
|
formatSkillIndexWithContext,
|
|
40255
40255
|
loadRoutingSkills: null
|
|
40256
40256
|
};
|
|
40257
|
-
COMPLIANCE_PATTERN = /SKILL_COMPLIANCE\s*:\s*(COMPLIANT|PARTIAL|VIOLATED)(?:\s*(?:\u2014|-)\s*(.*))
|
|
40257
|
+
COMPLIANCE_PATTERN = /SKILL_COMPLIANCE\s*:\s*(COMPLIANT|PARTIAL|VIOLATED)(?:\s*(?:\u2014|-)\s*(.*))? \s*$/i;
|
|
40258
40258
|
CODER_SKILLS_PATTERN = /SKILLS_USED_BY_CODER\s*:\s*(.+)/i;
|
|
40259
40259
|
_internals14.skillPropagationGateBefore = skillPropagationGateBefore;
|
|
40260
40260
|
_internals14.skillPropagationTransformScan = skillPropagationTransformScan;
|
|
@@ -123,8 +123,9 @@ export declare function extractTaskIdFromPrompt(prompt: string): string;
|
|
|
123
123
|
* SKILLS field.
|
|
124
124
|
*
|
|
125
125
|
* @returns { blocked: boolean; reason: string | null; recommendedSkills?: Array<{ skillPath: string; score: number; usageCount: number }> }
|
|
126
|
-
*
|
|
127
|
-
*
|
|
126
|
+
* `recommendedSkills` is populated (possibly `[]`) on both the happy path (SKILLS present)
|
|
127
|
+
* and the warn path (SKILLS missing or 'none'). It is `undefined` only on early-exit returns
|
|
128
|
+
* (unsupported tool/agent/target, no available skills in project, or enforce-blocked).
|
|
128
129
|
*/
|
|
129
130
|
export declare function skillPropagationGateBefore(directory: string, input: SkillGateInput, config: SkillPropagationConfig): Promise<{
|
|
130
131
|
blocked: boolean;
|
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.65.
|
|
72
|
+
version: "7.65.3",
|
|
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",
|
|
@@ -62854,7 +62854,7 @@ async function skillPropagationGateBefore(directory, input, config3) {
|
|
|
62854
62854
|
}
|
|
62855
62855
|
let scoringSkipped = false;
|
|
62856
62856
|
let scored = [];
|
|
62857
|
-
if (skillsValue
|
|
62857
|
+
if (skillsValue.toLowerCase() !== "none" && availableSkills.length > 0) {
|
|
62858
62858
|
try {
|
|
62859
62859
|
const sessionEntries = _internals25.readSkillUsageEntriesTail(directory, {
|
|
62860
62860
|
sessionID
|
|
@@ -62980,7 +62980,7 @@ ${newSection}`;
|
|
|
62980
62980
|
const blockedMsg = `Blocked by skill propagation gate: Delegating to ${targetBase} without SKILLS field. ` + `Available skills: ${skillNames.join(", ")}. ` + `Add a SKILLS: field or set enforce: false in config.`;
|
|
62981
62981
|
return { blocked: true, reason: blockedMsg, recommendedSkills: undefined };
|
|
62982
62982
|
}
|
|
62983
|
-
return { blocked: false, reason: warningMsg, recommendedSkills:
|
|
62983
|
+
return { blocked: false, reason: warningMsg, recommendedSkills: scored };
|
|
62984
62984
|
}
|
|
62985
62985
|
async function skillPropagationTransformScan(directory, output, sessionID) {
|
|
62986
62986
|
if (!output?.messages)
|
|
@@ -63171,7 +63171,7 @@ var init_skill_propagation_gate = __esm(() => {
|
|
|
63171
63171
|
formatSkillIndexWithContext,
|
|
63172
63172
|
loadRoutingSkills: null
|
|
63173
63173
|
};
|
|
63174
|
-
COMPLIANCE_PATTERN = /SKILL_COMPLIANCE\s*:\s*(COMPLIANT|PARTIAL|VIOLATED)(?:\s*(?:—|-)\s*(.*))
|
|
63174
|
+
COMPLIANCE_PATTERN = /SKILL_COMPLIANCE\s*:\s*(COMPLIANT|PARTIAL|VIOLATED)(?:\s*(?:—|-)\s*(.*))? \s*$/i;
|
|
63175
63175
|
CODER_SKILLS_PATTERN = /SKILLS_USED_BY_CODER\s*:\s*(.+)/i;
|
|
63176
63176
|
_internals25.skillPropagationGateBefore = skillPropagationGateBefore;
|
|
63177
63177
|
_internals25.skillPropagationTransformScan = skillPropagationTransformScan;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-swarm",
|
|
3
|
-
"version": "7.65.
|
|
3
|
+
"version": "7.65.3",
|
|
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",
|