skillmds 1.0.0 → 1.0.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/bin/skillmd-mcp.mjs +1 -1
- package/dist/cli.js +7 -1
- package/package.json +1 -1
- package/vendor/index.js +2 -7361
package/bin/skillmd-mcp.mjs
CHANGED
|
@@ -187,7 +187,7 @@ async function handleCall(name, args) {
|
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
const server = new Server({ name: "skillmd", version: "1.0.
|
|
190
|
+
const server = new Server({ name: "skillmd", version: "1.0.1" }, { capabilities: { tools: {} } });
|
|
191
191
|
server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: TOOLS }));
|
|
192
192
|
server.setRequestHandler(CallToolRequestSchema, async (req) => {
|
|
193
193
|
try {
|
package/dist/cli.js
CHANGED
|
@@ -275,7 +275,13 @@ import { join, basename, dirname } from "path";
|
|
|
275
275
|
var IGNORE_DIRS = /* @__PURE__ */ new Set(["node_modules", ".git", "dist", ".wrangler"]);
|
|
276
276
|
function findSkillFiles(dir) {
|
|
277
277
|
const out = [];
|
|
278
|
-
|
|
278
|
+
let entries;
|
|
279
|
+
try {
|
|
280
|
+
entries = readdirSync(dir, { withFileTypes: true });
|
|
281
|
+
} catch {
|
|
282
|
+
return out;
|
|
283
|
+
}
|
|
284
|
+
for (const entry of entries) {
|
|
279
285
|
if (entry.isDirectory()) {
|
|
280
286
|
if (IGNORE_DIRS.has(entry.name)) continue;
|
|
281
287
|
out.push(...findSkillFiles(join(dir, entry.name)));
|
package/package.json
CHANGED