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.
@@ -72,6 +72,7 @@ function computeTrustScore(metadata, vulns) {
72
72
  const score = Math.min(100, Math.max(0, Math.round(weighted)));
73
73
  return { score, riskLevel: toRiskLevel(score) };
74
74
  }
75
+
75
76
  export {
76
77
  computeTrustScore
77
78
  };
@@ -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
@@ -3,7 +3,7 @@ import {
3
3
  getAllClientTypes,
4
4
  getClient,
5
5
  getInstalledClients
6
- } from "./chunk-QY22QTBR.js";
6
+ } from "./chunk-RMMEBP2J.js";
7
7
  export {
8
8
  getAllClientTypes,
9
9
  getClient,