opencode-swarm 7.51.2 → 7.51.4

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.
@@ -14,6 +14,14 @@ export declare const _internals: {
14
14
  locateFile: (scriptName: string) => string;
15
15
  }) => Promise<void>;
16
16
  };
17
+ /**
18
+ * Pure path resolver for the grammars directory given a base directory.
19
+ * Exported for unit testing; production code uses getGrammarsDirAbsolute().
20
+ *
21
+ * @param thisDir - The directory to resolve from (typically dirname of the module file)
22
+ * @returns Absolute path to the grammars directory
23
+ */
24
+ export declare function resolveGrammarsDir(thisDir: string): string;
17
25
  /**
18
26
  * Initialize a parser for the given language
19
27
  * Loads WASM from dist/lang/grammars/ (copied during build)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-swarm",
3
- "version": "7.51.2",
3
+ "version": "7.51.4",
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",