@wonderwhy-er/desktop-commander 0.1.28 → 0.1.29

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.
@@ -40,8 +40,8 @@ export async function validatePath(requestedPath) {
40
40
  return await fs.realpath(absolute);
41
41
  }
42
42
  catch (error) {
43
- // Path doesn't exist, throw an error
44
- throw new Error(`Path does not exist: ${absolute}`);
43
+ // return path if it's not exist. This will be used for folder creation and many other file operations
44
+ return absolute;
45
45
  }
46
46
  /* Original implementation commented out for future reference
47
47
  const expandedPath = expandHome(requestedPath);
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const VERSION = "0.1.28";
1
+ export declare const VERSION = "0.1.29";
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.1.28';
1
+ export const VERSION = '0.1.29';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wonderwhy-er/desktop-commander",
3
- "version": "0.1.28",
3
+ "version": "0.1.29",
4
4
  "description": "MCP server for terminal operations and file editing",
5
5
  "license": "MIT",
6
6
  "author": "Eduards Ruzga",
@@ -70,6 +70,7 @@
70
70
  },
71
71
  "devDependencies": {
72
72
  "@types/node": "^20.17.24",
73
+ "nexe": "^5.0.0-beta.4",
73
74
  "nodemon": "^3.0.2",
74
75
  "shx": "^0.3.4",
75
76
  "typescript": "^5.3.3"