opencode-manifold 0.4.15 → 0.4.16

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.
Files changed (2) hide show
  1. package/dist/tui.js +7 -9
  2. package/package.json +1 -1
package/dist/tui.js CHANGED
@@ -2793,23 +2793,21 @@ var tui = async (api) => {
2793
2793
  });
2794
2794
  };
2795
2795
  async function copyMissingFiles(src, dest) {
2796
- const { existsSync: existsSync2, mkdir: mkdir2, writeFile: writeFile2, readdir: readdir2 } = await import("fs/promises");
2797
- const { join: join2 } = await import("path");
2798
- if (!existsSync2(src))
2796
+ if (!existsSync(src))
2799
2797
  return [];
2800
- await mkdir2(dest, { recursive: true });
2798
+ await mkdir(dest, { recursive: true });
2801
2799
  const copied = [];
2802
- const entries = await readdir2(src, { withFileTypes: true });
2800
+ const entries = await readdir(src, { withFileTypes: true });
2803
2801
  for (const entry of entries) {
2804
- const srcPath = join2(src, entry.name);
2805
- const destPath = join2(dest, entry.name);
2802
+ const srcPath = join(src, entry.name);
2803
+ const destPath = join(dest, entry.name);
2806
2804
  if (entry.isDirectory()) {
2807
2805
  const subCopied = await copyMissingFiles(srcPath, destPath);
2808
2806
  if (subCopied.length > 0) {
2809
2807
  copied.push(entry.name);
2810
2808
  }
2811
- } else if (!existsSync2(destPath)) {
2812
- await writeFile2(destPath, await readFile(srcPath));
2809
+ } else if (!existsSync(destPath)) {
2810
+ await writeFile(destPath, await readFile(srcPath));
2813
2811
  copied.push(entry.name);
2814
2812
  }
2815
2813
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-manifold",
3
- "version": "0.4.15",
3
+ "version": "0.4.16",
4
4
  "description": "Multi-agent development system for opencode with persistent knowledge",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",