slyplan-mcp 1.7.3 → 1.7.4
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/cli.js +4 -5
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -347,11 +347,10 @@ function mergeMcpJson(existing, auth) {
|
|
|
347
347
|
else if (auth.refreshToken) {
|
|
348
348
|
env.SLYPLAN_REFRESH_TOKEN = auth.refreshToken;
|
|
349
349
|
}
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
args: ['-y', 'slyplan-mcp@latest'],
|
|
353
|
-
env
|
|
354
|
-
};
|
|
350
|
+
const isWindows = process.platform === 'win32';
|
|
351
|
+
result.mcpServers.slyplan = isWindows
|
|
352
|
+
? { command: 'cmd', args: ['/c', 'npx', '-y', 'slyplan-mcp@latest'], env }
|
|
353
|
+
: { command: 'npx', args: ['-y', 'slyplan-mcp@latest'], env };
|
|
355
354
|
return result;
|
|
356
355
|
}
|
|
357
356
|
// Hooks go in .claude/settings.json
|