oh-my-opencode 0.1.8 → 0.1.9

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/index.js CHANGED
@@ -4155,7 +4155,10 @@ async function detectComments(filePath, content, includeDocstrings = true) {
4155
4155
  }
4156
4156
  try {
4157
4157
  const Parser2 = (await Promise.resolve().then(() => __toESM(require_tree_sitter(), 1))).default;
4158
- await Parser2.init();
4158
+ const treeSitterWasmPath = __require.resolve("/home/runner/work/oh-my-opencode/oh-my-opencode/node_modules/web-tree-sitter/tree-sitter.wasm");
4159
+ await Parser2.init({
4160
+ locateFile: () => treeSitterWasmPath
4161
+ });
4159
4162
  const parser = new Parser2;
4160
4163
  let wasmPath;
4161
4164
  try {
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oh-my-opencode",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "OpenCode plugin - custom agents (oracle, librarian) and enhanced features",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",