@wonderwhy-er/desktop-commander 0.2.18-alpha.13 → 0.2.18-alpha.15
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/setup-claude-server.js +7 -5
- package/dist/setup.log +105 -0
- package/dist/test-setup.js +14 -0
- package/package.json +1 -1
|
@@ -641,17 +641,18 @@ 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
|
-
//
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
644
|
+
const versionArg = process.argv[3]; // argv[0]=node, argv[1]=script, argv[2]=version/tag
|
|
645
|
+
|
|
646
|
+
|
|
647
|
+
|
|
649
648
|
// Add tracking for setup function entry
|
|
650
649
|
await trackEvent('npx_setup_function_started');
|
|
651
650
|
|
|
652
651
|
const setupStep = addSetupStep('main_setup');
|
|
653
652
|
const debugMode = isDebugMode();
|
|
654
653
|
|
|
654
|
+
console.log("Args", process.argv);
|
|
655
|
+
|
|
655
656
|
// Print ASCII art for DESKTOP COMMANDER
|
|
656
657
|
console.log('\n');
|
|
657
658
|
console.log('██████╗ ███████╗███████╗██╗ ██╗████████╗ ██████╗ ██████╗ ██████╗ ██████╗ ███╗ ███╗███╗ ███╗ █████╗ ███╗ ██╗██████╗ ███████╗██████╗ ');
|
|
@@ -799,6 +800,7 @@ export default async function setup() {
|
|
|
799
800
|
// Standard configuration without debug
|
|
800
801
|
if (isNpx) {
|
|
801
802
|
const packageSpec = getPackageSpec(versionArg);
|
|
803
|
+
console.log("Command args: ", packageSpec);
|
|
802
804
|
serverConfig = {
|
|
803
805
|
"command": isWindows ? "npx.cmd" : "npx",
|
|
804
806
|
"args": [
|
package/dist/setup.log
CHANGED
|
@@ -82,3 +82,108 @@ 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
|
+
|
|
169
|
+
2025-10-23T10:23:37.739Z - ✅ Desktop Commander MCP v0.2.18-alpha.14 successfully added to Claude’s configuration.
|
|
170
|
+
2025-10-23T10:23:37.739Z - Configuration location: /Users/fiberta/Library/Application Support/Claude/claude_desktop_config.json
|
|
171
|
+
2025-10-23T10:23:40.846Z -
|
|
172
|
+
✅ Claude has been restarted automatically!
|
|
173
|
+
2025-10-23T10:23:40.867Z -
|
|
174
|
+
✅ Installation successfully completed! Thank you for using Desktop Commander!
|
|
175
|
+
|
|
176
|
+
2025-10-23T10:23:40.867Z -
|
|
177
|
+
The server is available as "desktop-commander" in Claude's MCP server list
|
|
178
|
+
2025-10-23T10:23:40.867Z - Future updates will install automatically — no need to run this setup again.
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
2025-10-23T10:23:40.867Z - 🤔 Need help or have feedback? Happy to jump on a quick call:
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
2025-10-23T10:23:40.867Z - https://calendar.app.google/SHMNZN5MJznJWC5A7
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
2025-10-23T10:23:40.867Z - or join our community: https://discord.com/invite/kQ27sNnZr7
|
|
188
|
+
|
|
189
|
+
|
|
@@ -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