@peppermint-mcp/wizard 0.2.2 → 0.2.3
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 +3 -0
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -390,6 +390,9 @@ async function installClaudeCode(serverUrl, apiKey, dryRun) {
|
|
|
390
390
|
};
|
|
391
391
|
} catch (err) {
|
|
392
392
|
const message = err instanceof Error ? err.message : "claude mcp add failed";
|
|
393
|
+
if (message.includes("already exists")) {
|
|
394
|
+
return { success: true, message: "peppermint-memory already configured", needsRestart: false };
|
|
395
|
+
}
|
|
393
396
|
return { success: false, message, needsRestart: false };
|
|
394
397
|
}
|
|
395
398
|
}
|