mcpman 0.3.0 → 0.4.0
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/{trust-scorer-LYC6KZCD.js → chunk-RGKHLY5G.js} +1 -0
- package/dist/{chunk-QY22QTBR.js → chunk-RMMEBP2J.js} +7 -0
- package/dist/{client-detector-SUIJSIYM.js → client-detector-UAP2EYZA.js} +1 -1
- package/dist/index.cjs +791 -219
- package/dist/index.js +763 -203
- package/dist/trust-scorer-G74WK25Q.js +7 -0
- package/package.json +1 -1
|
@@ -105,6 +105,12 @@ import path2 from "path";
|
|
|
105
105
|
function getHomedir() {
|
|
106
106
|
return os.homedir();
|
|
107
107
|
}
|
|
108
|
+
function getMcpmanDir() {
|
|
109
|
+
return path2.join(os.homedir(), ".mcpman");
|
|
110
|
+
}
|
|
111
|
+
function getConfigPath() {
|
|
112
|
+
return path2.join(getMcpmanDir(), "config.json");
|
|
113
|
+
}
|
|
108
114
|
function getAppDataDir() {
|
|
109
115
|
const home = getHomedir();
|
|
110
116
|
if (process.platform === "darwin") {
|
|
@@ -223,6 +229,7 @@ async function getInstalledClients() {
|
|
|
223
229
|
}
|
|
224
230
|
|
|
225
231
|
export {
|
|
232
|
+
getConfigPath,
|
|
226
233
|
getAllClientTypes,
|
|
227
234
|
getClient,
|
|
228
235
|
getInstalledClients
|