serena-slim 0.0.1-slim.1.7 β 0.0.1-slim.1.8
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/bin/mcpslim-windows-x64.exe +0 -0
- package/index.js +5 -5
- package/package.json +1 -1
|
Binary file
|
package/index.js
CHANGED
|
@@ -117,15 +117,15 @@ async function interactiveSetup() {
|
|
|
117
117
|
case '3':
|
|
118
118
|
console.log('\nRun this command:\n');
|
|
119
119
|
if (REQUIRED_ENV_VARS.length > 0) {
|
|
120
|
-
console.log(` claude mcp add ${MCP_NAME} -s project ${envFlags} -- npx -y ${PACKAGE_NAME}\n`);
|
|
120
|
+
console.log(` claude mcp add ${MCP_NAME} -s project ${envFlags} -- npx -y ${PACKAGE_NAME}@latest\n`);
|
|
121
121
|
} else {
|
|
122
|
-
console.log(` claude mcp add ${MCP_NAME} -s project -- npx -y ${PACKAGE_NAME}\n`);
|
|
122
|
+
console.log(` claude mcp add ${MCP_NAME} -s project -- npx -y ${PACKAGE_NAME}@latest\n`);
|
|
123
123
|
}
|
|
124
124
|
console.log(' (Windows: use "cmd /c npx" instead of "npx")\n');
|
|
125
125
|
return true;
|
|
126
126
|
case '4':
|
|
127
127
|
console.log('\nRun this command:\n');
|
|
128
|
-
console.log(` code --add-mcp '{"name":"${MCP_NAME}","command":"npx","args":["-y","${PACKAGE_NAME}"]${envJson}}'\n`);
|
|
128
|
+
console.log(` code --add-mcp '{"name":"${MCP_NAME}","command":"npx","args":["-y","${PACKAGE_NAME}@latest"]${envJson}}'\n`);
|
|
129
129
|
return true;
|
|
130
130
|
case '5':
|
|
131
131
|
default:
|
|
@@ -145,7 +145,7 @@ function setupClaudeCode() {
|
|
|
145
145
|
if (REQUIRED_ENV_VARS.length > 0) {
|
|
146
146
|
cmd += ` ${envFlags}`;
|
|
147
147
|
}
|
|
148
|
-
cmd += ` -- ${npxCmd} -y ${PACKAGE_NAME}`;
|
|
148
|
+
cmd += ` -- ${npxCmd} -y ${PACKAGE_NAME}@latest`;
|
|
149
149
|
|
|
150
150
|
console.log(`\nπ§ Adding ${MCP_NAME} to Claude Code...\n`);
|
|
151
151
|
console.log(`Running: ${cmd}\n`);
|
|
@@ -183,7 +183,7 @@ function setupClient(client) {
|
|
|
183
183
|
|
|
184
184
|
const mcpConfig = {
|
|
185
185
|
command: 'npx',
|
|
186
|
-
args: ['-y', PACKAGE_NAME]
|
|
186
|
+
args: ['-y', PACKAGE_NAME + '@latest']
|
|
187
187
|
};
|
|
188
188
|
|
|
189
189
|
// νκ²½λ³μκ° νμν κ²½μ° env λΈλ‘ μΆκ° (νλ μ΄μ€νλ)
|