@wonderwhy-er/desktop-commander 0.2.18-alpha.4 → 0.2.18-alpha.5
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 +10 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -837,12 +837,14 @@ export default async function setup() {
|
|
|
837
837
|
// Standard configuration without debug
|
|
838
838
|
if (isNpx) {
|
|
839
839
|
const packageSpec = getPackageSpec();
|
|
840
|
+
console.log('\n[SETUP] Creating config with package spec:', packageSpec);
|
|
840
841
|
serverConfig = {
|
|
841
842
|
"command": isWindows ? "npx.cmd" : "npx",
|
|
842
843
|
"args": [
|
|
843
844
|
packageSpec
|
|
844
845
|
]
|
|
845
846
|
};
|
|
847
|
+
console.log('[SETUP] serverConfig.args:', JSON.stringify(serverConfig.args));
|
|
846
848
|
await trackEvent('npx_setup_config_standard_npx', { packageSpec });
|
|
847
849
|
} else {
|
|
848
850
|
// For local installation, use absolute path to handle Windows properly
|
|
@@ -880,8 +882,16 @@ export default async function setup() {
|
|
|
880
882
|
// Add or update the terminal server config with the proper name "desktop-commander"
|
|
881
883
|
config.mcpServers["desktop-commander"] = serverConfig;
|
|
882
884
|
|
|
885
|
+
console.log('\n[SETUP] Writing config to Claude:');
|
|
886
|
+
console.log('[SETUP] desktop-commander args:', JSON.stringify(config.mcpServers["desktop-commander"].args));
|
|
887
|
+
|
|
883
888
|
// Write the updated config back
|
|
884
889
|
writeFileSync(claudeConfigPath, JSON.stringify(config, null, 2), 'utf8');
|
|
890
|
+
|
|
891
|
+
// Verify what was written
|
|
892
|
+
const writtenConfig = JSON.parse(readFileSync(claudeConfigPath, 'utf8'));
|
|
893
|
+
console.log('[SETUP] Verified written args:', JSON.stringify(writtenConfig.mcpServers["desktop-commander"].args));
|
|
894
|
+
|
|
885
895
|
updateSetupStep(updateConfigStep, 'completed');
|
|
886
896
|
await trackEvent('npx_setup_update_config');
|
|
887
897
|
} catch (updateError) {
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "0.2.18-alpha.
|
|
1
|
+
export declare const VERSION = "0.2.18-alpha.5";
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.2.18-alpha.
|
|
1
|
+
export const VERSION = '0.2.18-alpha.5';
|
package/package.json
CHANGED