engine7 7.1.20 → 7.1.21

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/cli.mjs +3 -3
  2. package/package.json +1 -1
package/dist/cli.mjs CHANGED
@@ -326,9 +326,9 @@ async function doImport(opts) {
326
326
  process.exit(1);
327
327
  }
328
328
  const manifest = JSON.parse(fs.readFileSync(manifestPath, "utf-8"));
329
- const workspace = path.join(stateDir, "workspace");
330
- const engineHome = path.join(os.homedir(), ".openclaw");
331
- const dirs = { workspace, stateDir, engineHome };
329
+ const workspace = path.join(stateDir, "workspace").replace(/\\/g, "/");
330
+ const engineHome = path.join(os.homedir(), ".openclaw").replace(/\\/g, "/");
331
+ const dirs = { workspace, stateDir: stateDir.replace(/\\/g, "/"), engineHome };
332
332
  console.log(` \u7248\u672C: ${manifest.version}`);
333
333
  console.log(` \u521B\u5EFA: ${manifest.createdAt}`);
334
334
  console.log(` \u6587\u4EF6\u6570: ${manifest.fileCount}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "engine7",
3
- "version": "7.1.20",
3
+ "version": "7.1.21",
4
4
  "type": "module",
5
5
  "description": "Engine 7 — Self-hosted AI agent engine",
6
6
  "main": "dist/main.mjs",