opencode-swarm 7.75.0 → 7.76.0
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 +21 -3
- package/dist/hooks/repo-graph-injection.d.ts +1 -1
- package/dist/index.js +2382 -2224
- package/dist/tools/repo-graph/builder.d.ts +4 -0
- package/dist/tools/repo-graph/ontology.d.ts +10 -0
- package/dist/tools/repo-graph/query.d.ts +21 -0
- package/dist/tools/repo-graph/storage.d.ts +7 -0
- package/dist/tools/repo-graph/types.d.ts +102 -1
- package/dist/tools/repo-graph/validation.d.ts +1 -1
- package/dist/tools/repo-graph.d.ts +5 -2
- package/dist/utils/path-security.d.ts +2 -2
- package/package.json +8 -1
package/dist/cli/index.js
CHANGED
|
@@ -52,10 +52,17 @@ var package_default;
|
|
|
52
52
|
var init_package = __esm(() => {
|
|
53
53
|
package_default = {
|
|
54
54
|
name: "opencode-swarm",
|
|
55
|
-
version: "7.
|
|
55
|
+
version: "7.76.0",
|
|
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",
|
|
59
|
+
exports: {
|
|
60
|
+
".": {
|
|
61
|
+
types: "./dist/index.d.ts",
|
|
62
|
+
default: "./dist/index.js"
|
|
63
|
+
},
|
|
64
|
+
"./package.json": "./package.json"
|
|
65
|
+
},
|
|
59
66
|
bin: {
|
|
60
67
|
"opencode-swarm": "./dist/cli/index.js"
|
|
61
68
|
},
|
|
@@ -17493,7 +17500,7 @@ var init_tool_metadata = __esm(() => {
|
|
|
17493
17500
|
agents: ["critic_drift_verifier", "critic", "critic_oversight"]
|
|
17494
17501
|
},
|
|
17495
17502
|
repo_map: {
|
|
17496
|
-
description: "query the repo code graph: importers, dependencies, blast radius,
|
|
17503
|
+
description: "query the repo code graph: importers, dependencies, blast radius, localization, ontology facts, package boundaries, and heuristic preflight packets before refactoring; ontology findings are advisory, not formal proofs",
|
|
17497
17504
|
agents: [
|
|
17498
17505
|
"architect",
|
|
17499
17506
|
"critic_sounding_board",
|
|
@@ -57465,7 +57472,18 @@ function containsPathTraversal(str) {
|
|
|
57465
57472
|
return false;
|
|
57466
57473
|
}
|
|
57467
57474
|
function containsControlChars(str) {
|
|
57468
|
-
|
|
57475
|
+
for (const ch of str) {
|
|
57476
|
+
const code = ch.codePointAt(0);
|
|
57477
|
+
if (code === undefined)
|
|
57478
|
+
continue;
|
|
57479
|
+
if (code <= 31 || code >= 127 && code <= 159)
|
|
57480
|
+
return true;
|
|
57481
|
+
if (code >= 8234 && code <= 8238)
|
|
57482
|
+
return true;
|
|
57483
|
+
if (code >= 8294 && code <= 8297)
|
|
57484
|
+
return true;
|
|
57485
|
+
}
|
|
57486
|
+
return false;
|
|
57469
57487
|
}
|
|
57470
57488
|
var init_path_security = () => {};
|
|
57471
57489
|
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* avoid re-reading the JSON on every system prompt construction. The
|
|
16
16
|
* cache is bypassed if the file's mtime advances.
|
|
17
17
|
*/
|
|
18
|
-
import { type RepoGraph } from '../graph';
|
|
18
|
+
import { type RepoGraph } from '../tools/repo-graph';
|
|
19
19
|
/**
|
|
20
20
|
* Load the repo graph for `directory`, using a per-directory cache that
|
|
21
21
|
* invalidates on file mtime change. Returns null if no graph exists.
|