@ikhono/mcp 0.2.6 → 0.3.2
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/index.js +3 -2
- package/dist/server.js +3 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -99,7 +99,8 @@ function formatSearchResults(results) {
|
|
|
99
99
|
for (let i = 0; i < results.length; i++) {
|
|
100
100
|
const r = results[i];
|
|
101
101
|
const rating = r.avgRating > 0 ? `${r.avgRating.toFixed(1)}/5 (${r.ratingCount} rating${r.ratingCount === 1 ? "" : "s"})` : "no ratings yet";
|
|
102
|
-
|
|
102
|
+
const visibility = r.isPublic === false ? " [private]" : "";
|
|
103
|
+
lines.push(`${i + 1}. ${r.slug} (v${r.latestVersion})${visibility}`);
|
|
103
104
|
lines.push(` ${r.description}`);
|
|
104
105
|
lines.push(` ${rating} \xB7 ${r.totalUses} uses \xB7 ${r.pinCount} pins`);
|
|
105
106
|
lines.push("");
|
|
@@ -170,7 +171,7 @@ async function handleRate(client2, args2) {
|
|
|
170
171
|
// src/version.ts
|
|
171
172
|
import { createRequire } from "module";
|
|
172
173
|
function getVersion() {
|
|
173
|
-
if (true) return "0.2
|
|
174
|
+
if (true) return "0.3.2";
|
|
174
175
|
const require2 = createRequire(import.meta.url);
|
|
175
176
|
return require2("../package.json").version;
|
|
176
177
|
}
|
package/dist/server.js
CHANGED
|
@@ -21,7 +21,8 @@ function formatSearchResults(results) {
|
|
|
21
21
|
for (let i = 0; i < results.length; i++) {
|
|
22
22
|
const r = results[i];
|
|
23
23
|
const rating = r.avgRating > 0 ? `${r.avgRating.toFixed(1)}/5 (${r.ratingCount} rating${r.ratingCount === 1 ? "" : "s"})` : "no ratings yet";
|
|
24
|
-
|
|
24
|
+
const visibility = r.isPublic === false ? " [private]" : "";
|
|
25
|
+
lines.push(`${i + 1}. ${r.slug} (v${r.latestVersion})${visibility}`);
|
|
25
26
|
lines.push(` ${r.description}`);
|
|
26
27
|
lines.push(` ${rating} \xB7 ${r.totalUses} uses \xB7 ${r.pinCount} pins`);
|
|
27
28
|
lines.push("");
|
|
@@ -92,7 +93,7 @@ async function handleRate(client, args) {
|
|
|
92
93
|
// src/version.ts
|
|
93
94
|
import { createRequire } from "module";
|
|
94
95
|
function getVersion() {
|
|
95
|
-
if (true) return "0.2
|
|
96
|
+
if (true) return "0.3.2";
|
|
96
97
|
const require2 = createRequire(import.meta.url);
|
|
97
98
|
return require2("../package.json").version;
|
|
98
99
|
}
|