@wonderwhy-er/desktop-commander 0.2.18-alpha.13 → 0.2.18-alpha.14

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.
@@ -641,17 +641,20 @@ async function restartClaude() {
641
641
  // Main function to export for ESM compatibility
642
642
  export default async function setup() {
643
643
  // Parse command line arguments for version/tag
644
- // Usage: npx @wonderwhy-er/desktop-commander setup alpha
645
- // npx @wonderwhy-er/desktop-commander setup latest
646
- // npx @wonderwhy-er/desktop-commander setup 0.2.18
647
- const versionArg = process.argv[3]; // argv[0]=node, argv[1]=script, argv[2]=setup, argv[3]=version/tag
648
-
644
+ // Usage: npx -y -p @wonderwhy-er/desktop-commander@alpha setup
645
+ // or: npx -y -p @wonderwhy-er/desktop-commander setup alpha
646
+ const versionArg = process.argv[2]; // argv[0]=node, argv[1]=script, argv[2]=version/tag
647
+
648
+
649
+
649
650
  // Add tracking for setup function entry
650
651
  await trackEvent('npx_setup_function_started');
651
652
 
652
653
  const setupStep = addSetupStep('main_setup');
653
654
  const debugMode = isDebugMode();
654
655
 
656
+ console.log("Args", process.argv);
657
+
655
658
  // Print ASCII art for DESKTOP COMMANDER
656
659
  console.log('\n');
657
660
  console.log('██████╗ ███████╗███████╗██╗ ██╗████████╗ ██████╗ ██████╗ ██████╗ ██████╗ ███╗ ███╗███╗ ███╗ █████╗ ███╗ ██╗██████╗ ███████╗██████╗ ');
package/dist/setup.log CHANGED
@@ -82,3 +82,87 @@ The server is available as "desktop-commander" in Claude's MCP server list
82
82
  2025-10-22T15:22:46.665Z - or join our community: https://discord.com/invite/kQ27sNnZr7
83
83
 
84
84
 
85
+ 2025-10-23T10:10:37.029Z - ✅ Desktop Commander MCP v0.2.18-alpha.13 successfully added to Claude’s configuration.
86
+ 2025-10-23T10:10:37.030Z - Configuration location: /Users/fiberta/Library/Application Support/Claude/claude_desktop_config.json
87
+ 2025-10-23T10:10:40.163Z -
88
+ ✅ Claude has been restarted automatically!
89
+ 2025-10-23T10:10:40.184Z -
90
+ ✅ Installation successfully completed! Thank you for using Desktop Commander!
91
+
92
+ 2025-10-23T10:10:40.184Z -
93
+ The server is available as "desktop-commander" in Claude's MCP server list
94
+ 2025-10-23T10:10:40.184Z - Future updates will install automatically — no need to run this setup again.
95
+
96
+
97
+ 2025-10-23T10:10:40.184Z - 🤔 Need help or have feedback? Happy to jump on a quick call:
98
+
99
+
100
+ 2025-10-23T10:10:40.184Z - https://calendar.app.google/SHMNZN5MJznJWC5A7
101
+
102
+
103
+ 2025-10-23T10:10:40.184Z - or join our community: https://discord.com/invite/kQ27sNnZr7
104
+
105
+
106
+ 2025-10-23T10:11:28.520Z - ✅ Desktop Commander MCP v0.2.18-alpha.13 successfully added to Claude’s configuration.
107
+ 2025-10-23T10:11:28.520Z - Configuration location: /Users/fiberta/Library/Application Support/Claude/claude_desktop_config.json
108
+ 2025-10-23T10:11:31.626Z -
109
+ ✅ Claude has been restarted automatically!
110
+ 2025-10-23T10:11:31.645Z -
111
+ ✅ Installation successfully completed! Thank you for using Desktop Commander!
112
+
113
+ 2025-10-23T10:11:31.645Z -
114
+ The server is available as "desktop-commander" in Claude's MCP server list
115
+ 2025-10-23T10:11:31.645Z - Future updates will install automatically — no need to run this setup again.
116
+
117
+
118
+ 2025-10-23T10:11:31.645Z - 🤔 Need help or have feedback? Happy to jump on a quick call:
119
+
120
+
121
+ 2025-10-23T10:11:31.645Z - https://calendar.app.google/SHMNZN5MJznJWC5A7
122
+
123
+
124
+ 2025-10-23T10:11:31.645Z - or join our community: https://discord.com/invite/kQ27sNnZr7
125
+
126
+
127
+ 2025-10-23T10:19:51.580Z - ✅ Desktop Commander MCP v0.2.18-alpha.13 successfully added to Claude’s configuration.
128
+ 2025-10-23T10:19:51.580Z - Configuration location: /Users/fiberta/Library/Application Support/Claude/claude_desktop_config.json
129
+ 2025-10-23T10:19:54.733Z -
130
+ ✅ Claude has been restarted automatically!
131
+ 2025-10-23T10:19:54.755Z -
132
+ ✅ Installation successfully completed! Thank you for using Desktop Commander!
133
+
134
+ 2025-10-23T10:19:54.755Z -
135
+ The server is available as "desktop-commander" in Claude's MCP server list
136
+ 2025-10-23T10:19:54.756Z - Future updates will install automatically — no need to run this setup again.
137
+
138
+
139
+ 2025-10-23T10:19:54.756Z - 🤔 Need help or have feedback? Happy to jump on a quick call:
140
+
141
+
142
+ 2025-10-23T10:19:54.756Z - https://calendar.app.google/SHMNZN5MJznJWC5A7
143
+
144
+
145
+ 2025-10-23T10:19:54.756Z - or join our community: https://discord.com/invite/kQ27sNnZr7
146
+
147
+
148
+ 2025-10-23T10:20:46.785Z - ✅ Desktop Commander MCP v0.2.18-alpha.13 successfully added to Claude’s configuration.
149
+ 2025-10-23T10:20:46.785Z - Configuration location: /Users/fiberta/Library/Application Support/Claude/claude_desktop_config.json
150
+ 2025-10-23T10:20:49.891Z -
151
+ ✅ Claude has been restarted automatically!
152
+ 2025-10-23T10:20:49.913Z -
153
+ ✅ Installation successfully completed! Thank you for using Desktop Commander!
154
+
155
+ 2025-10-23T10:20:49.913Z -
156
+ The server is available as "desktop-commander" in Claude's MCP server list
157
+ 2025-10-23T10:20:49.913Z - Future updates will install automatically — no need to run this setup again.
158
+
159
+
160
+ 2025-10-23T10:20:49.913Z - 🤔 Need help or have feedback? Happy to jump on a quick call:
161
+
162
+
163
+ 2025-10-23T10:20:49.913Z - https://calendar.app.google/SHMNZN5MJznJWC5A7
164
+
165
+
166
+ 2025-10-23T10:20:49.913Z - or join our community: https://discord.com/invite/kQ27sNnZr7
167
+
168
+
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env node
2
+
3
+ // Test what argv looks like when called as a bin script
4
+ console.log('=== Test Script Argv ===');
5
+ console.log('process.argv:');
6
+ process.argv.forEach((arg, index) => {
7
+ console.log(` ${index}: "${arg}"`);
8
+ });
9
+
10
+ const versionArg2 = process.argv[2];
11
+ const versionArg3 = process.argv[3];
12
+
13
+ console.log('\nUsing argv[2]:', versionArg2);
14
+ console.log('Using argv[3]:', versionArg3);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wonderwhy-er/desktop-commander",
3
- "version": "0.2.18-alpha.13",
3
+ "version": "0.2.18-alpha.14",
4
4
  "description": "MCP server for terminal operations and file editing",
5
5
  "mcpName": "io.github.wonderwhy-er/desktop-commander",
6
6
  "license": "MIT",