superkit-mcp-server 1.2.1 → 1.2.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.
Files changed (2) hide show
  1. package/build/index.js +10 -0
  2. package/package.json +1 -1
package/build/index.js CHANGED
@@ -294,9 +294,19 @@ server.setRequestHandler(GetPromptRequestSchema, async (request) => {
294
294
  const content = await fs.readFile(safePath, "utf-8");
295
295
  const parsed = toml.parse(content);
296
296
  const promptText = parsed?.prompt || `Execute the ${promptName} command.`;
297
+ // Load SUPERKIT.md for systematic inclusion
298
+ const superKitPath = path.join(superKitRoot, "SUPERKIT.md");
299
+ const superKitContent = await fs.readFile(superKitPath, "utf-8");
297
300
  return {
298
301
  description: parsed?.description || `Loaded command: ${promptName}`,
299
302
  messages: [
303
+ {
304
+ role: "system", // Try standard system role if supported by the client
305
+ content: {
306
+ type: "text",
307
+ text: superKitContent,
308
+ },
309
+ },
300
310
  {
301
311
  role: "user",
302
312
  content: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "superkit-mcp-server",
3
- "version": "1.2.1",
3
+ "version": "1.2.2",
4
4
  "type": "module",
5
5
  "description": "An MCP server for exploring and loading Super-Kit AI agent resources.",
6
6
  "main": "build/index.js",