opencode-swarm 7.1.1 → 7.2.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 CHANGED
@@ -18909,7 +18909,7 @@ import * as path35 from "path";
18909
18909
  // package.json
18910
18910
  var package_default = {
18911
18911
  name: "opencode-swarm",
18912
- version: "7.1.1",
18912
+ version: "7.2.0",
18913
18913
  description: "Architect-centric agentic swarm plugin for OpenCode - hub-and-spoke orchestration with SME consultation, code generation, and QA review",
18914
18914
  main: "dist/index.js",
18915
18915
  types: "dist/index.d.ts",
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Creates .opencode/opencode-swarm.json in the given directory if it does not
3
+ * already exist. Uses an atomic exclusive write (flag 'wx') so concurrent
4
+ * plugin loads never double-write or corrupt the file.
5
+ *
6
+ * Non-fatal: any fs error (permissions, disk full, etc.) is swallowed so the
7
+ * plugin continues with its default or global config.
8
+ */
9
+ export declare function writeProjectConfigIfNew(directory: string, quiet?: boolean): void;
10
+ /**
11
+ * Writes .swarm/config.example.json on first plugin init for a given project.
12
+ * Creates .swarm/ if it does not yet exist. Non-fatal: all errors are silently
13
+ * ignored.
14
+ */
15
+ export declare function writeSwarmConfigExampleIfNew(projectDirectory: string): void;