openfused 0.5.1 → 0.5.3

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/store.js CHANGED
@@ -68,9 +68,14 @@ export class ContextStore {
68
68
  return existsSync(this.configPath);
69
69
  }
70
70
  async init(name, id) {
71
+ // Create dir before WASM init — WASI preopens require the directory to exist
72
+ const { mkdir } = await import("node:fs/promises");
73
+ await mkdir(this.root, { recursive: true });
71
74
  await this.core.init(name, id);
72
75
  }
73
76
  async initWorkspace(name, id) {
77
+ const { mkdir } = await import("node:fs/promises");
78
+ await mkdir(this.root, { recursive: true });
74
79
  await this.core.initWorkspace(name, id);
75
80
  }
76
81
  async readConfig() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openfused",
3
- "version": "0.5.1",
3
+ "version": "0.5.3",
4
4
  "mcpName": "io.github.openfused/openfuse-mcp",
5
5
  "description": "The file protocol for AI agent context. Encrypted, signed, peer-to-peer.",
6
6
  "license": "MIT",
Binary file