@joelbonito/mcp-server 5.0.1 → 5.1.1

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,7 +1,6 @@
1
- import { z } from "zod";
2
1
  export function registerPrompts(server, cache) {
3
2
  for (const [name, workflow] of cache.workflows) {
4
- server.prompt(name, workflow.meta.description || `Execute the /${name} workflow`, { topic: z.string().optional().describe("Topic or context for this workflow") }, ({ topic }) => ({
3
+ server.prompt(name, workflow.meta.description || `Execute the /${name} workflow`, () => ({
5
4
  messages: [
6
5
  {
7
6
  role: "assistant",
@@ -14,9 +13,7 @@ export function registerPrompts(server, cache) {
14
13
  role: "user",
15
14
  content: {
16
15
  type: "text",
17
- text: topic
18
- ? `Execute /${name} for: ${topic}`
19
- : `Execute /${name}`,
16
+ text: `Execute /${name}`,
20
17
  },
21
18
  },
22
19
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@joelbonito/mcp-server",
3
- "version": "5.0.1",
3
+ "version": "5.1.1",
4
4
  "description": "MCP server for Inove AI Framework — agents, skills, and workflows as MCP resources, tools and prompts",
5
5
  "license": "MIT",
6
6
  "author": "Inove AI <hello@inove.ai>",