skill-library-mcp 1.3.3 → 1.3.4

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skill-library-mcp",
3
- "version": "1.2.0",
3
+ "version": "1.3.3",
4
4
  "description": "On-demand access to 14,500+ curated skills for AI coding assistants via MCP",
5
5
  "owner": {
6
6
  "name": "modbender"
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "skill-library",
3
3
  "description": "On-demand access to 14,500+ curated skills for AI coding assistants. Search, browse categories, and load skills without polluting your context window.",
4
- "version": "1.2.0",
4
+ "version": "1.3.3",
5
5
  "author": {
6
6
  "name": "modbender"
7
7
  },
package/dist/index.js CHANGED
@@ -137,6 +137,7 @@ async function buildIndex(skillsDir2) {
137
137
 
138
138
  // src/server.ts
139
139
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
140
+ import { createRequire } from "module";
140
141
  import { z } from "zod";
141
142
 
142
143
  // src/search.ts
@@ -268,9 +269,11 @@ ${resourceContent}`;
268
269
  }
269
270
 
270
271
  // src/server.ts
272
+ var require2 = createRequire(import.meta.url);
273
+ var { version } = require2("../package.json");
271
274
  function createServer(index, skillsDir2) {
272
275
  const server = new McpServer(
273
- { name: "skill-library", version: "1.2.0" }
276
+ { name: "skill-library", version }
274
277
  );
275
278
  const lookupMap = /* @__PURE__ */ new Map();
276
279
  for (const entry of index.entries) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skill-library-mcp",
3
- "version": "1.3.3",
3
+ "version": "1.3.4",
4
4
  "description": "MCP server providing on-demand skill loading for AI coding assistants",
5
5
  "license": "MIT",
6
6
  "type": "module",