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.
@@ -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.0" }, { capabilities: { tools: {} } });
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
- for (const entry of readdirSync(dir, { withFileTypes: true })) {
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skillmds",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "SkillMD for agents: the `skillmds` MCP server + the `skillmd` CLI (lint, scan, search, install, publish Agent Skills) from skillmd.com.",
5
5
  "type": "module",
6
6
  "bin": {