opencode-swarm 7.46.4 → 7.46.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/dist/cli/index.js +1 -1
- package/dist/index.js +4 -3
- 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.46.
|
|
55
|
+
version: "7.46.5",
|
|
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",
|
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.46.
|
|
72
|
+
version: "7.46.5",
|
|
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",
|
|
@@ -103988,6 +103988,7 @@ var WRITE_EDIT_TOOLS = new Set([
|
|
|
103988
103988
|
"apply_patch",
|
|
103989
103989
|
"create_file"
|
|
103990
103990
|
]);
|
|
103991
|
+
var NEW_EXPORT_RE = /^\+(?:export)\s+(?:function|class|const|type|interface)\s+(\w{3,})/gm;
|
|
103991
103992
|
function countMatches(text, pattern) {
|
|
103992
103993
|
return (text.match(pattern) ?? []).length;
|
|
103993
103994
|
}
|
|
@@ -104049,7 +104050,7 @@ function checkDeadExports(content, projectDir, startTime) {
|
|
|
104049
104050
|
const hasPackageJson = fs68.existsSync(path106.join(projectDir, "package.json"));
|
|
104050
104051
|
if (!hasPackageJson)
|
|
104051
104052
|
return null;
|
|
104052
|
-
const exportMatches = content.matchAll(
|
|
104053
|
+
const exportMatches = content.matchAll(NEW_EXPORT_RE);
|
|
104053
104054
|
const newExports = [];
|
|
104054
104055
|
for (const match of exportMatches) {
|
|
104055
104056
|
if (match[1])
|
|
@@ -104142,7 +104143,7 @@ function checkStaleImports(content, threshold) {
|
|
|
104142
104143
|
};
|
|
104143
104144
|
}
|
|
104144
104145
|
function checkDuplicateUtility(content, projectDir, startTime, targetFile) {
|
|
104145
|
-
const exportMatches = content.matchAll(
|
|
104146
|
+
const exportMatches = content.matchAll(NEW_EXPORT_RE);
|
|
104146
104147
|
const newExports = [];
|
|
104147
104148
|
for (const match of exportMatches) {
|
|
104148
104149
|
if (match[1])
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-swarm",
|
|
3
|
-
"version": "7.46.
|
|
3
|
+
"version": "7.46.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",
|